Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

SH79F166AP/044PR Datasheet(PDF) 74 Page - SINOWEALTH Electronic Ltd

Part # SH79F166AP/044PR
Description  Enhanced 8051 Microcontroller with 10bit ADC
PDF  113 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  SINOWEALTH [SINOWEALTH Electronic Ltd]
Direct Link  https://en.sinowealth.com
Logo SINOWEALTH - SINOWEALTH Electronic Ltd

SH79F166AP/044PR Datasheet(HTML) 74 Page - SINOWEALTH Electronic Ltd

Back Button SH79F166AP/044PR Datasheet HTML 70Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 71Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 72Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 73Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 74Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 75Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 76Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 77Page - SINOWEALTH Electronic Ltd SH79F166AP/044PR Datasheet HTML 78Page - SINOWEALTH Electronic Ltd Next Button
Zoom Inzoom in Zoom Outzoom out
 74 / 113 page
background image
SH79F166A
74
Programming Note:
(1) Set PWMLO register to 55H and select the PWM module system clock.
(2) Set the PWM period/duty cycle by writing proper value to the PWM period control register (PWMP) or PWM duty control
register (PWMD). First set the low Byte, then the high Byte.
(3) Select the PWM output mode of the duty cycle by writing the PWM0S bit in the PWM control register (PWMC).
(4) In order to output the desired PWM waveform, enable the PWM module by writing “1” to the EPWM bit in the PWM control
register (PWMC).
(5) If the PWM period cycle or duty cycle is to be changed, the writing flow should be followed as described in step b or step c.
Then the revised data are loaded into the re-load counter and the PWM module starts counting at next period.
(6) Change the data in PWMLO register not equal to 55h in order to enhance the anti-noise ability.
PWMn clock t
PWM
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 01 02 03 04 05 06 07 08
Write [PPn.11, PPn.0] = 0DH
Write [PDn.11, PDn.0] = 07H
PWMn output
(PWMnS = 0)
Period cycle = 0FH x t
PWM
Duty cycle
= 06H x t
PWM
Period cycle = 0DH x t
PWM
Duty cycle
= 06H x t
PWM
Duty cycle
= 07H x t
PWM
n = 0 or 1
PWM output Period or Duty cycle changing example
8.3.5 PWM01
Generally, PWM01 have a 180∘phase delay with PWM0 as shown below when there is no dead time inserted. It is
automatically generated by hardware when EPWM01 in PWM timer enable register is set.
PWM0 output
(PWM0S = 0)
PWM01 output
(PWM0S = 0)
Note:
(1) That even if PWM0 are not enabled, PWM01 can also work if enabled.
(2) If EFLT is set, When a valid event occurs on FLT pin, PWM01 and PWM0 are both LOW (PWMS = 0)or both HIGH (PWMS
= 1).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com