Datasheet

Monitor ROM (MON)
MC68HC908AP Family Data Sheet, Rev. 4
120 Freescale Semiconductor
8.3.2 Data Format
Communication with the monitor ROM is in standard non-return-to-zero (NRZ) mark/space data format.
Transmit and receive baud rates must be identical.
Figure 8-3. Monitor Data Format
8.3.3 Break Signal
A start bit (logic 0) followed by nine logic 0 bits is a break signal. When the monitor receives a break signal,
it drives the PTA0 pin high for the duration of two bits and then echoes back the break signal.
Figure 8-4. Break Transaction
8.3.4 Baud Rate
The communication baud rate is controlled by the crystal frequency and the state of the PTB0 pin (when
IRQ1 is set to V
TST
) upon entry into monitor mode. When PTB0 is high, the divide by ratio is 1024. If the
PTB0 pin is at logic 0 upon entry into monitor mode, the divide by ratio is 512.
If monitor mode was entered with V
DD
on IRQ1, then the divide by ratio is set at 1024, regardless of PTB0.
This condition for monitor mode entry requires that the reset vector is blank.
Table 8-3 lists external frequencies required to achieve a standard baud rate of 9600 BPS. Other
standard baud rates can be accomplished using proportionally higher or lower frequency generators. If
using a crystal as the clock source, be aware of the upper frequency limit that the internal clock module
can handle.
Table 8-3. Monitor Baud Rate Selection
External
Frequency
IRQ1 PTB0
Internal
Frequency
Baud Rate
(BPS)
4.9152 MHz
V
TST
0 2.4576 MHz 9600
9.8304 MHz
V
TST
1 2.4576 MHz 9600
9.8304 MHz
V
DD
X 2.4576 MHz 9600
32.768 kHz
V
SS
X 2.4576 MHz 9600
BIT 5
START
BIT
BIT 0 BIT 1
NEXT
STOP
BIT
START
BIT
BIT 2 BIT 3 BIT 4 BIT 6 BIT 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
MISSING STOP BIT
2-STOP BIT DELAY BEFORE ZERO ECHO