Datasheet
SCANSTA101
www.ti.com
SNLS057J –MAY 2002–REVISED APRIL 2013
Structure Control registers.
6. If the Pre-shift TCK_SM Count is not zero, then enable TCK_SM and drive TMS_SM using the first seven
bits of the macro until the Pre-shift TCK_SM Count is zero. During pre-shift, TDO_SM will be driven with its
previous value.
7. If the macro type is State then,
(a) If the Macro Structure Bit 7 is enabled, set TMS_SM to the bit 7 value of the macro structure and drive
TDO_SM with its previous value.
(b) If the Macro Structure Bit 8 is enabled, set TMS_SM to the bit 8 value of the macro structure and drive
TDO_SM with it's previous value and then go to Step 10.
(c) If the sequencer is being used, then decrement the vector repeat count and return to Step 3E. If a vector
is being used, return to the Idle state.
8. If the macro type is BIST then,
(a) If the Macro Structure Bit 7 is enabled, set the count length, set TMS_SM to the bit 7 value of the macro
structure and drive TDO_SM with the default value (Setup register bit 6) until the count length is zero.
(b) If the Macro Structure Bit 8 is enabled, set TMS_SM to the bit 8 value of the macro structure and drive
TDO_SM with the default value (Setup register bit 6) and then go to Step 10.
(c) If the sequencer is being used then, decrement the vector repeat count and return to Step 3E. If a vector
is being used, return to the Idle state.
9. If the macro type is Shift or Shift with Capture then,
(a) If the macro type is Shift with Capture, enable TDI capture.
(b) If the Sync Bit Support Enable bit is set, fetch sync bit count, set the count length, set TMS_SM to the
loop bit and drive the TDO_SM high until sync bit count is zero.
(c) If the ScanBridge Support Initiate/Release bit is set, drive the TDO_SM with pre- PAD bit (high) and
while TMS_SM remains set to the loop bit. Repeat for each level of hierarchy.
(d) If the Use Data/Instruction Header is enabled, fetch the header length and data, set the count length, and
drive the TDO_SM with header data until the header length is zero and while TMS_SM remains set to
the loop bit.
(e) If the Compare or Mask/Compare is set, enable the comparator.
(f) Set the vector count length, and drive the TDO_SM with vector data until the count length is one and
while TMS_SM remains set to the loop bit. In the LotF mode if the count length is not zero and the TDO
buffer is empty, then gate TCK_SM until more data are available in the TDO buffer. When TCK_SM is
disabled TMS_SM and TDO_SM will be driven with their previous values.
(g) If the Use Data/Instruction Trailer is enabled, fetch the trailer length and data, set the count length, and
drive TDO_SM with trailer data until the trailer length is one and while TMS_SM remains set to the loop
bit.
(h) If the ScanBridge Support Initiate/Release bit is set:
(a) If the TAP tracker is in the Shift-IR state and the number of levels of hierarchy is greater than one,
set the count length to eight, and drive TDO_SM with post-shift pad bits (all high) until the count
length is zero for each level of hierarchy and while TMS_SM remains set to the loop bit.
(b) If the TAP tracker is in the Shift-DR state and the number of levels of hierarchy is greater than one,
drive TDO_SM with a post-shift pad bit (high) for each level of hierarchy and while TMS_SM remains
set to the loop bit.
(c) For the final level of hierarchy or if there is only one level of hierarchy, and if the TAP tracker is in the
Shift-IR state, set the count length to eight, and drive TDO_SM with post-shift pad bits (all high) until
the count length is one and while TMS_SM remains set to the loop bit.
(i) If the Sync Bit Support Enable is set, fetch sync bit count, set the count length, and drive the TDO_SM
high until sync bit count is one and while TMS_SM remains set to the loop bit.
(j) Set TMS_SM to bit 8 of the TMS_SM Macro Structure sequence and drive TDO_SM with the final vector
bit or trailer bit or post-shift pad bit or sync bit. After shifting out the final vector bit, disable the
comparator and register the comparison results.
10. If the post-shift TCK_SM Count is not zero, then enable TCK_SM and drive TMS_SM using the last seven
bits of the macro until the post-shift TCK_SM Count is zero.
11. If the Sequencer is being used,
(a) Decrement the sequence repeat count and return to Step 3C if the Compare or Mask/Compare is
enabled and the results of compare is a fail.
(b) Decrement the vector repeat count and return to Step 3E if the if the Compare or Mask/Compare is
enabled and the results of compare is a pass.
Copyright © 2002–2013, Texas Instruments Incorporated Submit Documentation Feedback 19
Product Folder Links: SCANSTA101