Zakładka z wyszukiwarką danych komponentów
  Polish  ▼
ALLDATASHEET.PL

X  

AN590 Arkusz danych(PDF) 3 Page - STMicroelectronics

Numer części AN590
Szczegółowy opis  PWM GENERATION WITH ST62 AUTO-RELOAD TIMER
PDF  7 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN590 Arkusz danych(HTML) 3 Page - STMicroelectronics

  AN590 Datasheet HTML 1Page - STMicroelectronics AN590 Datasheet HTML 2Page - STMicroelectronics AN590 Datasheet HTML 3Page - STMicroelectronics AN590 Datasheet HTML 4Page - STMicroelectronics AN590 Datasheet HTML 5Page - STMicroelectronics AN590 Datasheet HTML 6Page - STMicroelectronics AN590 Datasheet HTML 7Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 3 / 7 page
background image
3/7
PWM GENERATION WITH ST62 AUTO-RELOAD TIMER
Figure 2. PWM Timer Operation
Example 1 :
Target: Generate a 12kHz PWM signal with a duty cycle of 37%, using an oscillator frequency
of 4MHz:
We want to generate a periodic signal at a frequency of 12 kHz and a duty cycle of 37% .
The CPU frequency (quartz frequency) is 4 MHz.
Let’s try with a prescaler ratio of 3:
FIN = 4 MHz / 3 = 1333.33 kHz
12 kHz = 1333.33 kHz / (256d - RC)
gives RC = 144.889, rounded to 145
Resolution = 1 /(256 - 145) = 1 / 111
Duty cycle desired: 37%
0.37 = (CP - 145) / (256 - 145) yields CP = 186.07, rounded to 186.
Summary: prescaler = 3, RC = 145d, CP = 186d: these numbers yield a PWM frequency of
12.012 kHz, a duty cycle of 36.94 % and a resolution of 0.9 %, which is very close to the initial
goal.



Html Pages

1 2 3 4 5 6 7


Arkusz danych Pobierz

Go To PDF Page


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


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