| Electronic Components Datasheet Search |
|
AN1602 Datasheet(PDF) 18 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN1602 Datasheet(HTML) 18 Page - STMicroelectronics |
|
18 / 21 page ![]() 18/21 16-BIT TIMING OPERATIONS USING ST7262 OR ST7263B MCUs Figure 16. 16-bit PWM generation 2.1.1.3 Optimization method To get around the limitation imposed by the minimum PWM period, an optimization method has been implemented in the software. To generate a PWM signal with a duty cycle of 0504h , we have to generate 05 waves at high level (period = FFh) then the last wave with a period of 04 (see Figure 17) which is impossible ( generation of a signal with a period equal to 04 ) due to the time needed by the interrupt rou- tine . - Configure Time clock frequency - Enable PWM pin & Select Polarity Timer Interrupt DutyCycleHR #0 - Generate High Level (Period = FFh) - Decrement DutyCycleHR - Generate High Level ( The wave period depends on ARTARR value ) - Clear DutyCycleLR - Generate Low Level (Period = FFh) - Decrement LowLevelHR - Generate Low Level ( The wave period depends on ARTARR value ) - Clear Low LevelLR Reload All values: DutyCycleHR,DutyCycleLR, LowLevelHR, LowLevelLR. YES YES YES YES YES NO NO NO NO NO DutyCycleLR #0 LowLevelHR#0 LowLevelHR#0 |
|
|
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 |