| 数据搜索系统,热门电子元器件搜索 |
|
AN590 数据表(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN590 数据表(HTML) 6 Page - STMicroelectronics |
|
6 / 7 page ![]() 6/7 PWM GENERATION WITH ST62 AUTO-RELOAD TIMER The length of the loop “adc_loop” is the interval at which the duty cycle of the PWM signal will be updated. In this example, this loop lasts around 7 6µs, so the PWM duty cycle is updated every 2 or 3 PWM cycles. Calculation of the 8 0µs: - Instructions ldi, ld and jp last 4 cycles of 13 clock periods -> 4 x 4 x 13 8MHz periods = 26µs - Instruction jrr lasts as long as the A/D takes to do the conversion, which is around 50µs at 8MHz -> total length of adc_loop at 8 MHz = approx. 76µs This last example shows that, as requested, the CPU is not used to generate the PWM signal, but only to start/stop it and to update the duty cycle. |
|
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 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 |