![](http://datasheet.mmic.net.cn/30000/M32196F8UFP_datasheet_2359476/M32196F8UFP_912.png)
JTAG
21
21-8
32192/32195/32196 Group Hardware Manual
Rev.1.10 REJ09B0123-0110 Apr.06.07
JTCK
Select-DR-S
can
Select-IR-S
can
Capture-IR
Shift-IR
Exit1-IR
Update-IR
Run-T
est/Id
le
Run-T
est/Id
le
Don't Care
Instruction code (6 bits)
1
0
1
LSB value
MSB value
JTMS
TAP
states
JTDI
JTDO
High impedance
Shift output from the instruction
register is fixed to b'110001.
Finished storing instruction code in the
instruction register's shift register stage.
Instruction code is set in the parallel output
stage at fall of JTCK in the Update-IR state.
JTDI input is sampled at rise of
JTCK in the Shift-IR state.
JTDO is output at fall of
JTCK in the Shift-IR state.
Figure 21.4.3 IR Path Sequence
21.4 Basic Operation of JTAG
21.4.2 IR Path Sequence
Instruction code is set in the Instruction Register (JTAGIR) to select the data register to be accessed in the
subsequent DR path sequence. The IR path sequence is performed following the procedure described below.
(1) From the Run-Test/Idle state, apply JTMS = "H" for a period of 2 JTCK cycles to enter the Select-IR-
Scan state.
(2) Apply JTMS = "L" to enter the Capture-IR state. At this time, b’110001 (fixed value) is set in the Instruc-
tion Register’s shift register stage.
(3) Proceed and apply JTMS = "L" to enter the Shift-IR state. In the Shift-IR state, the value of the shift
register stage is shifted right one bit every cycle, and the data b’110001 (fixed value) that was set in (2)
is serially output from the JTDO pin. At the same time, instruction code is set in the shift register stage bit
by bit as it is serially fed from the JTDI pin. Because the instruction code is set in the Instruction Register
that consists of 6 bits, the Shift-IR state must be continued for a period of 6 JTCK cycles. To stop the
shift operation in the middle of the execution, enter the Pause-IR state via the Exit1-IR state (by setting
JTMS input from "H" to "L"). To return from the Pause-IR state, enter the Shift-IR state via the Exit2-IR
state (by setting JTMS input from "H" to "L").
(4) Apply JTMS = "H" to move from the Shift-IR state to the Exit1-IR state. This completes the shift operation.
(5) Proceed and apply JTMS = "H" to enter the Update-IR state. In the Update-IR state, the instruction code
that was set in the Instruction Register’s shift register stage is transferred to the Instruction Register’s
parallel output stage, and decoding of JTAG instruction is thereby started.
(6) Proceed and apply JTMS = "H" to enter the Select-DR-Scan state or JTMS = "L" to enter the Run-Test/
Idle state.