mc9s08dz32amlfr Freescale Semiconductor, Inc, mc9s08dz32amlfr Datasheet - Page 187

no-image

mc9s08dz32amlfr

Manufacturer Part Number
mc9s08dz32amlfr
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
reference can achieve a high-range maximum DCO output of 39.85 MHz with a multiplier of 1216. When
the DRS bit is clear, the 32.768 kHz reference can achieve a mid-range maximum DCO output of 19.92
MHz with a multiplier of 608.
In FBI and FEI modes, setting the DMX32 bit is not recommended. If the internal reference is trimmed to
a frequency above 32.768 kHz, the greater FLL multiplication factor could potentially push the
microcontroller system clock out of specification and damage the part.
8.5.3
When switching between operational modes of the MCG, certain configuration bits must be changed in
order to properly move from one mode to another. Each time any of these bits are changed (PLLS, IREFS,
CLKS, or EREFS), the corresponding bits in the MCGSC register (PLLST, IREFST, CLKST, or
OSCINIT) must be checked before moving on in the application software.
Additionally, care must be taken to ensure that the reference clock divider (RDIV) is set properly for the
mode being switched to. For instance, in PEE mode, if using a 4 MHz crystal, RDIV must be set to %001
(divide-by-2) or %010 (divide -by-4) in order to divide the external reference down to the required
frequency between 1 and 2 MHz.
If switching to FBE or FEE mode, first setting the DIV32 bit will ensure a proper reference frequency is
sent to the FLL clock at all times.
In FBE, FEE, FBI, and FEI modes, at any time, the application can switch the FLL multiplication factor
between 1024 and 512 with the DRS bit in MCGT. Writes to DRS will be ignored if LP=1 or PLLS=1.
The RDIV and IREFS bits should always be set properly before changing the PLLS bit so that the FLL or
PLL clock has an appropriate reference clock frequency to switch to. The table below shows MCGOUT
frequency calculations using RDIV, BDIV, and VDIV settings for each clock mode. The bus frequency is
equal to MCGOUT divided by 2.
Freescale Semiconductor
FEI (FLL engaged internal)
FEE (FLL engaged external)
FBE (FLL bypassed external)
FBI (FLL bypassed internal)
PEE (PLL engaged external)
PBE (PLL bypassed external)
BLPI (Bypassed low power internal)
BLPE (Bypassed low power external)
MCG Mode Switching
Clock Mode
Table 8-10. MCGOUT Frequency Calculation Options
MC9S08DZ128 Series Data Sheet, Rev. 1
(f
(f
f
f
[(f
f
f
f
ext
int
ext
int
ext
int
ext
ext
/ B
/ B
/ B
/ B
/ B
* F ) / B
/ R *F) / B
/ R) * M] / B
f
MCGOUT
1
Chapter 8 Multi-Purpose Clock Generator (S08MCGV2)
Typical f
immediately after reset.
f
31.25 kHz to 39.0625 kHz
f
31.25 kHz to 39.0625 kHz
Typical f
f
MHz to 2 MHz
f
MHz to 2 MHz
ext
ext
ext
ext
/ R must be in the range of
/ R must be in the range of
/ R must be in the range of 1
/ R must be in the range of 1
MCGOUT
int
= 32 kHz
Note
= 16 MHz
187

Related parts for mc9s08dz32amlfr