MCF548x Reference Manual, Rev. 3
23-6 Freescale Semiconductor

23.3.2.6 Boundary Scan Register

The boundary scan register is connected between TDI and TDO when the EXTEST or
SAMPLE/PRELOAD instruction is selected. It captures input pin data, forces fixed values on output pins,
and selects a logic value and direction for bidirectional pins or high impedance for tri-stated pins.
The boundary scan register contains bits for bonded-out and non bonded-out signals excluding JTAG
signals, analog signals, power supplies, compliance enable pins, and clock signals.

23.4 Functional Description

23.4.1 JTAG Module

The JTAG module consists of a TAP controller state machine, which is responsible for generating all
control signals that execute the JTAG instructions and read/write data registers.

23.4.2 TAP Controller

The TAP controller is a state machine that changes state based on the sequence of logical values on the
TMS pin. Figure 23-3 shows the machine’s states. The value shown next to each state is the value of the
TMS signal sampled on the rising edge of the TCK signal.
Asserting the TRST signal asynchronously resets the TAP controller to the test-logic-reset state. As
Figure 23-3 shows, holding TMS at logic 1 while clocking TCK through at least five rising edges also
causes the state machine to enter the test-logic-reset state, whatever the initial state.