English
Language : 

DS4550 Datasheet, PDF (10/18 Pages) Dallas Semiconductor – I2C and JTAG Nonvolatile 9-Bit I/O Expander Plus Memory
I2C and JTAG Nonvolatile 9-Bit I/O
Expander Plus Memory
Test Access Port (TAP)
Controller State Machine
The TAP controller is a finite state machine that
responds to the logic level at TMS on the rising edge of
TCK (see Figure 4).
Test-Logic-Reset. Upon power-up, the TAP controller
is in the Test-Logic-Reset state. The Instruction
Register contains the IDCODE instruction. All system
logic of the device operates normally.
Run-Test/Idle. The Run-Test/Idle state is used between
scan operations or during specific tests. The Instruction
Register and test data registers remain idle.
Select-DR-Scan. All test data registers retain their previ-
ous state. With TMS LOW, a rising edge of TCK moves
the controller into the Capture-DR state and initiates a
scan sequence. TMS HIGH during a rising edge on TCK
moves the controller to the Select-IR-Scan state.
Capture-DR. Data can be parallel-loaded into the test
data registers selected by the current instruction. If the
instruction does not call for a parallel load or the select-
ed test data register does not allow parallel loads, the
test data register remains at its current value. On the
rising edge of TCK, the controller goes to the Shift-DR
state if TMS is LOW or it goes to the Exit1-DR state if
TMS is HIGH.
Shift-DR. The test data register selected by the current
instruction is connected between TDI and TDO and
shifts data one stage toward its serial output on each
rising edge of TCK while TMS is LOW. On the rising
edge of TCK, the controller goes to the Exit1-DR state if
TMS is HIGH.
Exit1-DR. While in this state, a rising edge on TCK
puts the controller in the Update-DR state. A rising
edge on TCK with TMS LOW puts the controller in the
Pause-DR state.
Pause-DR. Shifting of the test data registers is halted
while in this state. All test data registers retain their pre-
vious state. The controller remains in this state while
TMS is LOW. A rising edge on TCK with TMS HIGH
puts the controller in the Exit2-DR state.
Exit2-DR. A rising edge on TCK with TMS HIGH while in
this state puts the controller in the Update-DR state. A ris-
ing edge on TCK with TMS LOW enters the Shift-DR state.
1 TEST-LOGIC-RESET
0
1
0
RUN-TEST/IDLE
1
SELECT-DR-SCAN
0
1
CAPTURE-DR
0
SHIFT-DR
0
1
1
EXIT1-DR
0
PAUSE-DR
0
1
0
EXIT2-DR
1
UPDATE-DR
1
0
1
SELECT-IR-SCAN
0
1
CAPTURE-IR
0
SHIFT-IR
0
1
1
EXIT1-IR
0
PAUSE-IR
0
1
0
EXIT2-IR
1
UPDATE-IR
1
0
Figure 4. TAP Controller State Diagram
10 ____________________________________________________________________