Appendix A: CGM Practical Aspects
68HC(9)12DG128 Rev 1.0
382
Appendix A: CGM Practical Aspects
MOTOROLA
Practical Aspects For The PLL Usage
Synthesized Bus
Frequency
Starting from a ceramic resonator or quartz crystal frequency F
XTAL
, if
‘refdv’ and ‘synr’ are the decimal content of the REFDV and SYNR
registers respectively, then the MCU bus frequency will simply be:
NOTE:
It is not allowed to synthesize a bus frequency that is lower than the
crystal frequency, as the correct functioning of some internal
synchronizers would be jeopardized (e.g. the MCLK and XCLK clock
generators).
Operation Under
Adverse
Environmental
Conditions
The normal operation for the PLL is the so-called ‘a(chǎn)utomatic bandwidth
selection mode’ which is obtained by having the AUTO bit set in the
PLLCR register. When this mode is selected and as the VCO frequency
approaches its target, the charge pump current level will automatically
switch from a relatively high value of around 40
μ
A to a lower value of
about 3
μ
A. It can happen that this low level of charge pump current is
not enough to overcome leakages present at the XFC pin due to adverse
environmental conditions. These conditions are frequently encountered
for uncoated PCBs in automotive applications. The main symptom for
this failure is an unstable characteristic of the PLL which in fact ‘hunts’
between acquisition and tracking modes. It is then advised for the
running software to place the PLL in manual, forced acquisition mode by
clearing both the AUTO and the ACQ bits in the PLLCR register. Doing
so will maintain the high current level in the charge pump constantly and
will permit to sustain higher levels of leakages at the XFC pin. This latest
revision of the Clock Generator Module maintains the lock detection
feature even in manual bandwidth control, offering then to the
application software the same flexibility for the clocking control as the
automatic mode.
F
BUS
F
VCO
F
XTAL
-----------------------------------------------
synr
+
1
+
(
)
refdv
1
(
)
=
=
synr
refdv
0,1,2,3...63}
0,1,2,3...7}
{
{
∈
∈
4-cgmpa