Freescale Semiconductor MC68HC908MR32 Manuale Utente

Pagina di 282
CGM Registers
MC68HC908MR32 • MC68HC908MR16 Data Sheet, Rev. 6.1
Freescale Semiconductor
65
4.4.6  Crystal Output Frequency Signal (CGMXCLK)
CGMXCLK is the crystal oscillator output signal. It runs at the full speed of the crystal (f
XCLK
) and comes 
directly from the crystal oscillator circuit. 
 shows only the logical relation of CGMXCLK to OSC1 
and OSC2 and may not represent the actual circuitry. The duty cycle of CGMXCLK is unknown and may 
depend on the crystal and other external factors. Also, the frequency and amplitude of CGMXCLK can be 
unstable at startup.
4.4.7  CGM Base Clock Output (CGMOUT)
CGMOUT is the clock output of the CGM. This signal goes to the SIM, which generates the MCU clocks. 
CGMOUT is a 50 percent duty cycle clock running at twice the bus frequency. CGMOUT is software 
programmable to be either the oscillator output, CGMXCLK, divided by two or the VCO clock, CGMVCLK, 
divided by two.
4.4.8  CGM CPU Interrupt (CGMINT)
CGMINT is the interrupt signal generated by the PLL lock detector.
4.5  CGM Registers
These registers control and monitor operation of the CGM:
PLL control register (PCTL) — se
PLL bandwidth control register (PBWC) — see 
PLL programming register (PPG) — see 
 is a summary of the CGM registers.
Addr.
Register  Name
Bit  7
6
5
4
3
2
1
Bit  0
$005C
PLL Control Register
(PCTL)
Read:
PLLIE
PLLF
PLLON
BCS
1
1
1
1
Write:
R
R
R
R
R
Reset:
0
0
1
0
1
1
1
1
$005D
PLL Bandwidth Control Register
(PBWC)
Read:
AUTO
LOCK
ACQ
XLD
0
0
0
0
Write:
R
R
R
R
R
Reset:
0
0
0
0
0
0
0
0
$005E
PLL Programming Register
(PPG)
Read:
MUL7
MUL6
MUL5
MUL4
VRS7
VRS6
VRS5
VRS4
Write:
Reset:
0
1
1
0
0
1
1
0
R
= Reserved
Notes:
1. When AUTO = 0, PLLIE is forced to logic 0 and is read-only.
2. When AUTO = 0, PLLF and LOCK read as logic 0.
3. When AUTO = 1, ACQ is read-only.
4. When PLLON = 0 or VRS[7:4] = $0, BCS is forced to logic 0 and is read-only.
5. When PLLON = 1, the PLL programming register is read-only.
6. When BCS = 1, PLLON is forced set and is read-only.
Figure 4-4. CGM I/O Register Summary