English
Language : 

MC9S12HY64 Datasheet, PDF (236/792 Pages) Freescale Semiconductor, Inc – S12 Microcontrollers
S12 Clock, Reset and Power Management Unit (S12CPMU) Block Description
7.3.2.2 S12CPMU Reference Divider Register (CPMUREFDIV)
The CPMUREFDIV register provides a finer granularity for the PLL multiplier steps when using the
external oscillator as reference.
0x0035
7
6
5
4
3
2
1
0
R
REFFRQ[1:0]
W
0
0
REFDIV[3:0]
Reset
0
0
0
0
1
1
1
1
Figure 7-5. S12CPMU Reference Divider Register (CPMUREFDIV)
Read: Anytime
Write: If PROT=0 (CPMUPROT register) and PLLSEL=1 (CPMUCLKS register), then write anytime.
Else write has no effect.
NOTE
Write to this register clears the LOCK and UPOSC status bits.
If OSCLCP is enabled (OSCE=1)
If OSCLCP is disabled (OSCE=0)
f REF = (---R----E----F-f---OD----S-I--V-C-----+-----1---)-
fREF = fIRC1M
The REFFRQ[1:0] bits are used to configure the internal PLL filter for optimal stability and lock time. For
correct PLL operation the REFFRQ[1:0] bits have to be selected according to the actual REFCLK
frequency as shown in Table 7-2.
If IRC1M is selected as REFCLK (OSCE=0) the PLL filter is fixed configured for the 1MHz <= fREF <=
2MHz range. The bits can still be written but will have no effect on the PLL filter configuration.
For OSCE=1, setting the REFFRQ[1:0] bits incorrectly can result in a non functional PLL (no locking
and/or insufficient stability).
Table 7-2. Reference Clock Frequency Selection if OSC_LCP is enabled
REFCLK Frequency Ranges
(OSCE=1)
1MHz <= fREF <= 2MHz
2MHz < fREF <= 6MHz
6MHz < fREF <= 12MHz
fREF >12MHz
REFFRQ[1:0]
00
01
10
11
MC9S12HY/HA-Family Reference Manual, Rev. 1.04
236
Freescale Semiconductor