English
Language : 

MC908AP8CFBE Datasheet, PDF (117/324 Pages) Freescale Semiconductor, Inc – Microcontrollers
Functional Description
8.3.1 Entering Monitor Mode
Table 8-1 shows the pin conditions for entering monitor mode. As specified in the table, monitor mode
may be entered after a POR and will allow communication at 9600 baud provided one of the following
sets of conditions is met:
1. If $FFFE and $FFFF do not contain $FF (programmed state):
– The external clock is 4.9152 MHz with PTB0 low or 9.8304 MHz with PTB0 high
– IRQ1 = VTST
2. If $FFFE and $FFFF both contain $FF (erased state):
– The external clock is 9.8304 MHz
– IRQ1 = VDD (this can be implemented through the internal IRQ1 pullup
3. If $FFFE and $FFFF both contain $FF (erased state):
– The external clock is 32.768 kHz (crystal)
– IRQ1 = VSS (this setting initiates the PLL to boost the external 32.768 kHz to an internal bus
frequency of 2.4576 MHz
If VTST is applied to IRQ1 and PTB0 is low upon monitor mode entry (above condition set 1), the bus
frequency is a divide-by-two of the input clock. If PTB0 is high with VTST applied to IRQ1 upon monitor
mode entry, the bus frequency will be a divide-by-four of the input clock. Holding the PTB0 pin low when
entering monitor mode causes a bypass of a divide-by-two stage at the oscillator only if VTST is applied
to IRQ1. In this event, the CGMOUT frequency is equal to the CGMXCLK frequency, and the OSC1 input
directly generates internal bus clocks. In this case, the OSC1 signal must have a 50% duty cycle at
maximum bus frequency.
If entering monitor mode without high voltage on IRQ1 (above condition set 2, where applied voltage is
either VDD), then all port A pin requirements and conditions, including the PTB0 frequency divisor
selection, are not in effect. This is to reduce circuit requirements when performing in-circuit programming.
NOTE
If the reset vector is blank and monitor mode is entered, the chip will see an
additional reset cycle after the initial POR reset. Once the part has been
programmed, the traditional method of applying a voltage, VTST, to IRQ1
must be used to enter monitor mode.
The COP module is disabled in monitor mode based on these conditions:
• If monitor mode was entered as a result of the reset vector being blank (above condition set 2 or 3),
the COP is always disabled regardless of the state of IRQ1 or RST.
• If monitor mode was entered with VTST on IRQ1 (condition set 1), then the COP is disabled as long
as VTST is applied to either IRQ1 or RST.
The second condition states that as long as VTST is maintained on the IRQ1 pin after entering monitor
mode, or if VTST is applied to RST after the initial reset to get into monitor mode (when VTST was applied
to IRQ1), then the COP will be disabled. In the latter situation, after VTST is applied to the RST pin, VTST
can be removed from the IRQ1 pin in the interest of freeing the IRQ1 for normal functionality in monitor
mode.
Figure 8-2 shows a simplified diagram of the monitor mode entry when the reset vector is blank and just
VDD voltage is applied to the IRQ1 pin. An external oscillator of 9.8304 MHz is required for a baud rate of
9600, as the internal bus frequency is automatically set to the external frequency divided by four.
MC68HC908AP Family Data Sheet, Rev. 4
Freescale Semiconductor
117