| Zakładka z wyszukiwarką danych komponentów |
|
AN590 Arkusz danych(PDF) 6 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN590 Arkusz danych(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. |
|
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |