MC68HC912B32MFU8 MOTOROLA [Motorola, Inc], MC68HC912B32MFU8 Datasheet - Page 118

no-image

MC68HC912B32MFU8

Manufacturer Part Number
MC68HC912B32MFU8
Description
16-Bit Microcontroller
Manufacturer
MOTOROLA [Motorola, Inc]
Datasheet
16.2.3 BDM Commands
118
MOTOROLA
SPEEDUP PULSE
BKGD PIN
START OF BIT TIME
BKGD PIN
DRIVE TO
Figure 29 shows the host receiving a logic zero from the target MC68HC912B32 MCU. Since the host
is asynchronous to the target MCU, there is a 0-to-1 cycle delay from the host-generated falling edge
on BKGD to the start of the bit time as perceived by the target MCU. The host initiates the bit time but
the target MC68HC912B32 finishes it. Since the target wants the host to receive a logic zero, it drives
the BKGD pin low for 13 E-clock cycles, then briefly drives it high to speed up the rising edge. The host
samples the bit level about ten cycles after starting the bit time.
All BDM command opcodes are eight bits long, and can be followed by an address and/or data, as in-
dicated by the instruction. These commands do not require the CPU to be in active BDM mode for ex-
ecution.
The host controller must wait 150 cycles for a non-intrusive BDM command to execute before another
command can be sent. This delay includes 128 cycles for the maximum delay for a dead cycle. For data
read commands, the host must insert this delay between sending the address and attempting to read
the data.
BDM logic retains control of the internal buses until a read or write is completed. If an operation can be
completed in a single cycle, it does not intrude on normal CPU operation. However, if an operation re-
quires multiple cycles, CPU clocks are frozen until the operation is complete.
E CLOCK
(TARGET
TARGET MCU
HOST
DRIVE AND
MCU)
PERCEIVED
Figure 29 BDM Target to Host Serial Bit Timing (Logic 0)
10 CYCLES
10 CYCLES
HIGH-IMPEDANCE
HOST SAMPLES
BKGD PIN
SPEEDUP PULSE
MC68HC912B32TS/D
HC12A4 BDM TARGET TO HOST TIM 0
MC68HC912B32
EARLIEST
START OF
NEXT BIT

Related parts for MC68HC912B32MFU8