| Electronic Components Datasheet Search |
|
SH79F024XU Datasheet(PDF) 50 Page - SINOWEALTH Electronic Ltd |
|
|
|||||||||||||||||||||||||||||
SH79F024XU Datasheet(HTML) 50 Page - SINOWEALTH Electronic Ltd |
|
50 / 92 page ![]() SH79F SH79F SH79F SH79F082 082 082 082 50 8.1.8 8.1.8 8.1.8 8.1.8 Note Note Note Note 1 Set PWMLO register to 0x55. 2 Select the PWM module clock and output mode by writing the PWM control register (PWMCON). 3 Set deadtime register1 and deadtime register2 if deadtime control is needed. Low byte first, then high byte. 4 Set the PWM period/duty cycle by writing proper value to the PWM period control register and PWM duty control register (PWMD). Low byte first, then high byte. 5 To output the desired PWM waveform, enable the PWM module by writing “1” to the PWMEN bit and PWMOEx bit in the PWM Enable register. 6 The PWM period, duty or deadtime registers also can be modified at any time after PWM module Enable, the revised data are not effect PWM output waveform immediately, they will become effective at next period. But the other control bits, such as PWMOE, PWMEN, PWMS or PWMCLK0/1, will take effect immediately. 7 Change the data in PWMLO register not equal to 0x55 in order to enhance the anti-noise ability. PWM clock t PWM PWM PWM 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 [PP.11, PP.0] = 0DH Write [PDn.1, PDn.0] = 07H Period cycle = 0FH x t PWM Period cycle = 0DH x t PWM PWMn output (PWMnS = 0) Duty cycle = 06H x t PWM Duty cycle = 06H x t PWM Duty cycle = 07H x t PWM PWM PWM PWM PWM output output output output Period Period Period Period or or or or Duty Duty Duty Duty cycle cycle cycle cycle changing changing changing changing example example example example Note: Note: Note: Note: PWMMOD bit can be changed only when PWMEN bit is clear to 0. So, PWM Mode must be selected before enable PWM module, if switch PWM mode is needed when PWM is running, you should disable PWM at first, then change PWMMOD bit, and then enable PWM again. |
|
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 |
| 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 |