at83c5122 ATMEL Corporation, at83c5122 Datasheet - Page 42

no-image

at83c5122

Manufacturer Part Number
at83c5122
Description
At83c5123 C51 Microcontroller With Usb And Smart Card Reader Interfaces
Manufacturer
ATMEL Corporation
Datasheet
Phase Lock Loop (PLL)
PLL Description
PLL Programming
42
AT8xC5122/23
CK_XTAL1
The AT8xC5122/23’s PLL is used to generate internal high frequency clock synchro-
nized with an external low-frequency. Figure 17 shows the internal structure of the PLL.
The PFLD block is the Phase Frequency Comparator and Lock Detector. This block
makes the comparison between the reference clock coming from the N divider and the
reverse clock coming from the R divider and generates some pulses on the Up or Down
signal depending on the edge position of the reverse clock. The PLLEN bit in PLLCON
register is used to enable the clock generation. When the PLL is locked, the bit PLOCK
in PLLCON register is set.
The CHP block is the Charge Pump that generates the voltage reference for the VCO by
injecting or extracting charges from the external filter connected on PLLF pin (see
Fig ur e 18 ). Va lu e of the filter co mp on e nts ar e de ta ile d in th e Sec tio n “D C
Characteristics”.
The VCO block is the Voltage Controlled Oscillator controlled by the voltage V
duced by the charge pump. It generates a square wave signal: the PLL clock. The
CK_PLL frequency is defined by the follwing formula:
F
Figure 17. PLL Block Diagram and Symbol
Figure 18. PLL Filter Value
The PLL must be programmed to work at 96 MHz frequency by means of PLLCON and
PLLDIV registers. As soon as the PLL is enabled, the firmware must wait for the lock bit
status to ensure that the PLL is ready.
PLLF
CK_PLL
= F
1 , 8
1 5 0 p F
N Divider
N3:0
CK_XTAL1
K
VSS
* (R+1) / (N+1)
VSS
3 3 p F
PLLCON.1
PLLCON.0
PLOCK
PLLEN
PFLD
Down
Up
R divider
R3:0
PLLF
CHP
V
REF
VCO
4202E–SCR–06/06
CK_PLL
REF
pro-

Related parts for at83c5122