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

X  

AN592 Arkusz danych(PDF) 2 Page - STMicroelectronics

Numer części AN592
Szczegółowy opis  PLL generation using ST62 auto-reload timer
PDF  5 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Producent  STMICROELECTRONICS [STMicroelectronics]
Strona internetowa  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN592 Arkusz danych(HTML) 2 Page - STMicroelectronics

  AN592 Datasheet HTML 1Page - STMicroelectronics AN592 Datasheet HTML 2Page - STMicroelectronics AN592 Datasheet HTML 3Page - STMicroelectronics AN592 Datasheet HTML 4Page - STMicroelectronics AN592 Datasheet HTML 5Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 2 / 5 page
background image
PLL Generation using ARTimer
2/5
Bit 0
Reg. SC1
PS2
PS1
PS0
PRESCALER
Ratio
0
000
1
0
001
2
0
010
4
0
011
8
0
100
16
0
101
32
0
110
64
0
111
128
1
000
3
1
001
6
1
010
12
1
011
24
1
100
48
1
101
96
1
110
192
1
111
384
Table 1. Prescaler Programming Ratio
The Figure 2 shows the TIMOUT signal gen-
erated in “load on external edge” mode,
given the above TIMIN signal: on TIMIN ris-
ing edge, the TC count register is loaded with
the value contained in RC register (160 in
this example). The timer will resume count-
ing from value 160. When the compare value
(210 in this example) is reached, the
TIMOUT signal goes down. The timer keeps
counting until the overflow (255) is reached.
At this point, signal TIMOUT rises again. The
timer keeps counting from 0 until next active
edge on TIMIN. At this time, TC is loaded
again with the RC value (160) and so on...
The delay from TIMIN edge to TIMOUT fall-
ing edge is given by CP-RC (multiplied by the
TC register clock period Fin). The low level
duration on TIMOUT is given by 255 - CP.
The remaining of the TIMOUT period is vari-
able, and will adjust to the TIMIN period:
small variations of TIMIN period will be ab-
sorbed by a variation of TVAR. The following
rule must be respected in order to get the
proper output signal:
The variable time Tvar must stay smaller
than CP, (otherwise the falling edge on
TIMOUT occurs before rising edge on
TIMIN) and larger than 0 (otherwise the ris-
ing edge on TIMOUT never occurs).
In other words, the period of input TIMIN
(TOT in terms of TC clock cycles) must meet
the following requirement:
255-RC<TOT<255-RC+CP
Figure 2. TIMOUT signal
Note: All numbers are decimal
Coming back to our example, let’s calculate
the timer settings:
The input period is Tin = 1/15 kHz = 66.7
μs
Calculation of the prescaler ratio:
We want the best possible resolution, e.g.
the smaller possible prescaler ratio: we
would like the TC counter to count up to the



Html Pages

1 2 3 4 5


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