9 / 44 page

CS5954AM
ADVANCE
INFORMATION
Document #: 38-08025 Rev. **
Page 9 of 44
4.4
Clock Generator
The CS5954AM has an option to use either a 48-MHz or 12-MHz external crystal or oscillator as its clock source. CS5954AM
includes an internal PLL that can be configured by software. At power-up, the CS5954AM BIOS default configuration sets the
processor clock to run at 2/3 of XIN (of the external provided clock).
Example 1 Changing CS5954AM CPU Speed
The default of the CS5954AM BIOS assumes a 48-MHz input clock, so the CS5954AM processor clock is (2/3)*48 MHz = 32
MHz. See example below.
mov
[0xC006],0x10
;clock = 2/3*XIN
mov
[0xC008],0
;CPU clock at 32 MHz
If the XIN input clock is 48 MHz, then the maximum speed of the CS5954AM processor can be set as follows:
mov
[0xC006],0
;clock = set up at XIN clock input
mov
[0xC008],0
;CPU clock at 48 MHz
If the XIN input clock is 12 MHz, then the maximum speed of the CS5954AM processor can be set to:
mov
[0xC006],0x40
;clock = 4*XIN
mov
[0xC008],0
;CPU clock at 48 MHz
XIN
Cbk
0.01
µF
Rf
1M
Rs
100
X1
48 MHz, series, 20-pF load
Cout
22 pF
XOUT
Lin
2.2 - 3.3
µH
Figure 4-1. 48-MHz Crystal Circuit