DS26900LN+ ,JTAG Multiplexer/SwitchApplications ♦ Operation Up to 50MHz MicroTCA® Chassis ♦ Signal Path Modification Options ATCA® Ch ..
DS26C31 ,CMOS Quad TRI-STATE Differential Line DriverElectrical Characteristics=V 5V ± 10% (unless otherwise specified) (Note 4)CCSymbol Parameter Condi ..
DS26C31E , CMOS QUAD TRI-STATE DIFFERENTIAL LINE DRIVER
DS26C31E , CMOS QUAD TRI-STATE DIFFERENTIAL LINE DRIVER
DS26C31M ,CMOS Quad TRI STATE Differential Line DriversFeaturesYTTL input compatibleThe DS26C31 is a quad differential line driver designed forYdigital da ..
DS26C31MJ/883 ,CMOS Quad TRI-STATE Differential Line DriverFeaturesDS26C31T meets all the requirements of EIA standardn TTL input compatibleRS-422 while retai ..
E53NA50 ,NABSOLUTE MAXIMUM RATINGSSymbol Parameter Value UnitV Drain-source Voltage (V =0) 500 VDS GSV 500 VD ..
EA2-12 ,COMPACT AND LIGHTWEIGHTAPPLICATIONSElectronic switching systems, PBX, key telephone systems, automatic test equipment and ..
EA2-12NU ,COMPACT AND LIGHTWEIGHTFEATURESª Low power consumptionª Compact and light weightª 2 form c contact arrangementª Low magnet ..
EA2-12S ,COMPACT AND LIGHTWEIGHTFEATURESª Low power consumptionª Compact and light weightª 2 form c contact arrangementª Low magnet ..
EA2-12TNU ,COMPACT AND LIGHTWEIGHTAPPLICATIONSElectronic switching systems, PBX, key telephone systems, automatic test equipment and ..
EA2-4.5NU ,COMPACT AND LIGHTWEIGHTAPPLICATIONSElectronic switching systems, PBX, key telephone systems, automatic test equipment and ..
DS26900LN+
JTAG Multiplexer/Switch
______________________________________________Maxim Integrated Products 1 DS26900 TAG Multiplexer/Switch
General Description The DS26900 is a JTAG signal multiplexer providing
connectivity between one of three master ports and
up to 18 (36 in cascade configuration) secondary
ports. The device is fully configurable from any one of
the three master ports. The DS26900 can
automatically detect the presence JTAG devices on
the secondary ports.
The DS26900 can be used in multiple configurations
including as a single device, two cascaded devices,
or two redundant devices.
All device control and configuration is accomplished
through standard JTAG operations via the selected
master port.
Applications MicroTCA® Chassis
ATCA® Chassis
AMC Carrier Cards
JSM Modules
System Level JTAG
MicroTCA JSM Functional Diagram
AMC1
DS26900
JTAG
SWITCH
AMC2
AMC3
AMC4
AMC18
AMCn
MCH1
MCH2
CRAFTMASTER1
MASTER3
MASTER2
atures ♦
Efficient Solution for Star Architecture JTAG ♦
Provides Transparent Communications
Between the Arbitrated Master and a Selected
Secondary Port ♦
Single-Package Solution Provides 18
Secondary Ports ♦
Two-Package Cascade Configuration
Provides 36 Secondary Ports ♦
Three Arbitrated Master Ports ♦
Autodetection of Port Presence ♦
Internal Pullup/Down Resistors ♦
Two 32-Bit Scratchpad Registers ♦
Four GPIO Pins for Read/Write Control and
Signaling Applications ♦
Operation Up to 50MHz ♦
Signal Path Modification Options ♦
Redundancy with High-Impedance Pin ♦
Independent Periphery JTAG ♦
Configuration Mode Uses IEEE 1149.1 TAP
Controller ♦
Supports Live Insertion/Withdrawal ♦
3.3V Operation ♦
Industrial Temperature Operation ♦
RoHS-Compliant Packaging
Ordering Information
PART TEMP RANGE PIN-PACKAGE DS26900LN+ -40°C to +85°C 144 LQFP
+Denotes a lead(Pb)-free/RoHS-compliant package.
19-5747; Rev 1; 2/11
MicroTCA and ATCA are registered trademarks of PICMG.
__________________________________________________________________________________________ DS26900
Table of Contents
1. BLOCK DIAGRAM ........................................................................................................................ 6
2. PIN DESCRIPTIONS ..................................................................................................................... 7
3. FUNCTIONAL DESCRIPTION .................................................................................................... 19
4. DETAILED DESCRIPTION .......................................................................................................... 20 4.1 MODES OF OPERATION ............................................................................................................... 20
4.1.1 Single-Package Mode ..................................................................................................................... 20
4.1.2 Cascade Configuration Modes ........................................................................................................ 21
4.1.3 Deselect Mode and Redundancy ..................................................................................................... 22
4.2 MASTER ARBITRATION ................................................................................................................ 23
4.2.1 Missing Test Master or Unused Test Master Port ............................................................................ 24
4.2.2 Detection of the Presence of Secondary Ports................................................................................. 24
4.2.3 Selection of the Secondary Port ...................................................................................................... 24
4.2.4 Master Port/Secondary Port Path Timing Description ...................................................................... 24
4.3 GPIO PINS—GENERAL-PURPOSE I/O ......................................................................................... 25
4.4 PROGRAMMABLE PULLUP/PULLDOWN RESISTORS ........................................................................ 25
4.5 SIGNAL PATH CONFIGURATION—INVERSIONS .............................................................................. 25
4.6 SWITCH CONFIGURATION BY EXTERNAL TEST MASTER ................................................................. 25
4.7 SWITCH CONFIGURATION BY TEST MASTER 1 OR TEST MASTER 2 ................................................. 26
5. RESETS ...................................................................................................................................... 27 5.1 GLOBAL RESET USAGE ............................................................................................................... 27
5.2 SECONDARY PORT RESETS ........................................................................................................ 27
6. CONFIGURATION MODE ........................................................................................................... 28 6.1 SWITCH TAP CONTROLLER ......................................................................................................... 28
6.1.1 Switch Instructions .......................................................................................................................... 28
7. DEVICE REGISTERS .................................................................................................................. 31
8. ADDITIONAL APPLICATION INFORMATION ............................................................................ 37 8.1 ACCESSING INDIVIDUAL DEVICE JTAG ON A BOARD ..................................................................... 37
8.2 USING LED INDICATORS ON THE SSPI, ACT AND MCI PINS .......................................................... 37
8.3 USING 2.7V AND 1.8V LOGIC LEVELS WITH THE DS26900 ............................................................ 37
8.4 SERIES TERMINATION RESISTORS ............................................................................................... 37
9. PERIPHERY JTAG...................................................................................................................... 38 9.1 PERIPHERY JTAG DESCRIPTION ................................................................................................. 38
9.2 JTAG TAP CONTROLLER STATE MACHINE DESCRIPTION ............................................................. 39
9.3 JTAG INSTRUCTION REGISTER AND INSTRUCTIONS ...................................................................... 41
9.3.1 SAMPLE/PRELOAD ....................................................................................................................... 41
9.3.2 EXTEST ......................................................................................................................................... 41
9.3.3 BYPASS ......................................................................................................................................... 41
9.3.4 IDCODE ......................................................................................................................................... 41
9.3.5 HIGHZ ............................................................................................................................................ 41
9.3.6 CLAMP ........................................................................................................................................... 42
9.4 JTAG TEST REGISTERS.............................................................................................................. 42
9.4.1 Bypass Register .............................................................................................................................. 42
9.4.2 Identification Register...................................................................................................................... 42
9.4.3 Boundary Scan Register ................................................................................................................. 42
__________________________________________________________________________________________ DS26900
10. OPERATING PARAMETERS ...................................................................................................... 43 10.1 THERMAL INFORMATION ........................................................................................................... 43
10.2 DC CHARACTERISTICS ............................................................................................................ 43
11. AC TIMING .................................................................................................................................. 44 11.1 SWITCH TAP CONTROLLER INTERFACE TIMING ......................................................................... 44
11.2 TRANSPARENT MODE MASTER/SLAVE PORT TIMING ................................................................. 45
11.3 PERIPHERY JTAG INTERFACE TIMING ...................................................................................... 46
12. PIN CONFIGURATION ................................................................................................................ 47
13. PACKAGE INFORMATION ......................................................................................................... 48
14. DOCUMENT REVISION HISTORY ............................................................................................. 49 __________________________________________________________________________________________ DS26900
List of Figures Figure 1-1. DS26900 Block Diagram ...................................................................................................................... 6
Figure 4-1. Configuration for 3 Masters, 18 Secondary Ports ................................................................................ 20
Figure 4-2. Configuration for 1 Master, 20 Secondary Ports.................................................................................. 20
Figure 4-3. Two Cascaded Devices...................................................................................................................... 21
Figure 4-4. Three Cascaded Devices Using External Select Logic ........................................................................ 22
Figure 9-1. Periphery JTAG Block Diagram .......................................................................................................... 38
Figure 9-2. JTAG TAP Controller State Machine .................................................................................................. 39
Figure 11-1. Switch TAP Controller Interface Timing Diagram .............................................................................. 44
Figure 11-2. Transparent Mode Master/Slave Port Timing Diagram ...................................................................... 45
Figure 11-3. Periphery JTAG Interface Timing Diagram ....................................................................................... 46
__________________________________________________________________________________________ DS26900
List of Tables Table 2-1. Pin Descriptions (Sorted by Function) .................................................................................................... 7
Table 2-2. Pin Description (Sorted by Pin Number) .............................................................................................. 13
Table 4-1. Mode Pins ........................................................................................................................................... 20
Table 4-2. Master Arbitration ................................................................................................................................ 23
Table 4-3. ACT Output States .............................................................................................................................. 24
Table 6-1. Switch TAP Instruction Codes ............................................................................................................. 28
Table 7-1. DS26900 List of Registers ................................................................................................................... 31
Table 7-2. Secondary Port Selection Bits and Indicator Pins................................................................................. 35
Table 9-1. Periphery JTAG Instruction Codes....................................................................................................... 41
Table 10-1. Thermal Characteristics ..................................................................................................................... 43
Table 10-2. Recommended DC Operating Conditions .......................................................................................... 43
Table 10-3. DC Electrical Characteristics ............................................................................................................. 43
Table 11-1. Switch TAP Controller Interface Timing ............................................................................................. 44
Table 11-2. Master/Slave Port Timing .................................................................................................................. 45
Table 11-3. Periphery JTAG Interface Timing ....................................................................................................... 46
__________________________________________________________________________________________ DS26900
1. Block Diagram Figure 1-1. DS26900 Block Diagram
SECONDARY 1
SECONDARY 2
SECONDARY 3
SECONDARY 4
SECONDARY 18
PORT
MUX
SWITCH
LOGIC
SWITCH
TAP
CONTROLLER
PERIPHERY
TAP
CONTROLLER
MASTER
ARBITER
REGISTER
BANK
EXTERNAL
TEST PORT
TEST MASTER
PORT 1
GPIO [3:0]
SSPI [4:0]
PROG
INVERSIONS
MODE [1:0]
JTAG5
ACTMCI
MGNT
TEST MASTER
PORT 2DS26900
__________________________________________________________________________________________ DS26900
2. Pin Descriptions
Table 2-1. Pin Descriptions (Sorted by Function)
NAME PIN TYPE FUNCTION ETCK 4 Ipd
External Test Master Clock. In configuration mode, a falling edge on this pin clocks data in on the ETDI pin. A falling edge on this pin clocks data out on the ETDO pin.
When PREN = VDD, a 20kΩ pulldown resistor is connected to this pin.
ETDI 2 Ipd
External Test Master Serial Data Input. In configuration mode, data is clocked in on this pin on the falling edge of ETCK.
When PREN = VDD, a 20kΩ pulldown resistor is connected to this pin.
ETDO 3
O/
High
Impedance
External Test Master Serial Data Out. (High Impedance) Data is clocked out on this pin on the falling edge of ETCK.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
ECFG 5 Ipu
External Test Master Configuration (Active Low). Asserting this pin low along with EREQ asserted low allows the External Test Master to configure the DS26900,
allowing access to the Switch TAP Controller. Toggling ECFG when EREQ is high has
no effect.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
ETMS 6 Ipu
External Test Master Test Mode Select. This pin is sampled on the rising edge of ETCK and is used to place the port into the various defined IEEE 1149.1 states.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
EREQ 1 Ipu
External Test Master Request (Active Low). (Internal 10kΩ Pullup) When active, this pin selects the external test port as the master. When switching EREQ, none of
the master clocks should be toggling.
MGNT0 144 O
Master Grant 0 (Active Low). Asserted low when the external test master is the arbitrated master.
TCK1 22 Ipd/O
Test Master 1 Test Port Clock Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TDI1 20 Ipu/O
Test Master 1 Test Port Serial Data Input Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TDO1 21 I/O
Test Master 1 Test Port Serial Data Out Master Mode = Output
Slave Mode = Input
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TRST1 23 Ipu/O
Test Master 1 Test Port Test Reset (Active Low). Asserting this pin low (when master) puts the DS26900 into configuration mode, allowing access to the Switch
TAP Controller. Toggling TRST1 when not the arbitrated master has no effect. This
pin does not directly affect secondary port resets.
Master Mode = TRST1 Input
Slave Mode = TRST1 Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION TMS1 24 Ipd/O
Test Master 1 Test Port Test Mode Select Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TMREQ1 19 Ipu
Test Master 1 Master Request (Active Low). (Internal 10kΩ Pullup) When EREQ is inactive and TMREQ1 is active, this pin selects the test master port 1 as the master.
When switching TMREQ1, none of the master clocks should be toggling.
MGNT1 18 O
Master Grant 1 (Active Low). Asserted low when Test Master 1 is the arbitrated master.
TCK2 30 Ipd/O
Test Master 2 Test Port Clock Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TDI2 28 Ipu/O
Test Master 2 Test Port Serial Data Input Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TDO2 29 I/O
Test Master 2 Test Port Serial Data Out Master Mode = Output
Slave Mode = Input
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TRST2 31 Ipu/O
Test Master 2 Test Port Test Reset (Active Low). Asserting this pin low (when master) puts the DS26900 into configuration mode, allowing access to the Switch
TAP Controller. Toggling TRST2 when not the arbitrated master has no effect. This
pin does not directly affect secondary port resets.
Master Mode = TRST2 Input
Slave Mode = TRST2 Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TMS2 32 Ipd/O
Test Master 2 Test Port Test Mode Select Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TMREQ2 27 Ipu
Test Master 2 Master Request (Active Low) (Internal 10kΩ Pullup) When EREQ and TMREQ1 are inactive and TMREQ2 is active, this pin selects the test master
port 2 as the master. When switching TMREQ2, none of the master clocks should be
toggling.
MGNT2 25 O
Master Grant 2 (Active Low). Asserted low when Test Master 2 is the arbitrated master.
STCK1 91 O
Secondary Port 1 Test Clock STDI1 92 O
Secondary Port 1 Serial Data In STDO1 93 Ipu
Secondary Port 1 Serial Data Out (Internal 10kΩ Pullup) STRST1 90 O
Secondary Port 1 Test Reset (Active Low) STMS1 89 O
Secondary Port 1 Test Mode Select (Internal 20kΩ Pulldown) STCK2 86 O
Secondary Port 2 Test Clock STDI2 87 O
Secondary Port 2 Serial Data Input
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
STMS2 84 O Secondary Port 2 Test Mode Select (Internal 20kΩ Pulldown)
STCK3 80 O Secondary Port 3 Test Clock
STDI3 81 O Secondary Port 3 Serial Data Input
STDO3 82 Ipu Secondary Port 3 Serial Data Out (Internal 10kΩ Pullup)
STRST3 79 O Secondary Port 3 Test Reset (Active Low)
STMS3 78 O Secondary Port 3 Test Mode Select (Internal 20kΩ Pulldown)
STCK4 75 O Secondary Port 4 Test Clock
STDI4 76 O Secondary Port 4 Serial Data Input
STDO4 77 Ipu Secondary Port 4 Serial Data Out (Internal 10kΩ Pullup)
STRST4 74 O Secondary Port 4 Test Reset (Active Low)
STMS4 73 O Secondary Port 4 Test Mode Select (Internal 20kΩ Pulldown)
STCK5 70 O Secondary Port 5 Test Clock
STDI5 71 O Secondary Port 5 Serial Data Input
STDO5 72 Ipu Secondary Port 5 Serial Data Out (Internal 10kΩ Pullup)
STRST5 69 O Secondary Port 5 Test Reset (Active Low)
STMS5 68 O Secondary Port 5 Test Mode Select (Internal 20kΩ Pulldown)
STCK6 65 O Secondary Port 6 Test Clock
STDI6 66 O Secondary Port 6 Serial Data Input
STDO6 67 Ipu Secondary Port 6 Serial Data Out (Internal 10kΩ Pullup)
STRST6 64 O Secondary Port 6 Test Reset (Active Low)
STMS6 63 O Secondary Port 6 Test Mode Select (Internal 20kΩ Pulldown)
STCK7 59 O Secondary Port 7 Test Clock
STDI7 60 O Secondary Port 7 Serial Data Input
STDO7 61 Ipu Secondary Port 7 Serial Data Out (Internal 10kΩ Pullup)
STRST7 58 O Secondary Port 7 Test Reset (Active Low)
STMS7 57 O Secondary Port 7 Test Mode Select (Internal 20kΩ Pulldown)
STCK8 54 O Secondary Port 8 Test Clock
STDI8 55 O Secondary Port 8 Serial Data Input
STDO8 56 Ipu Secondary Port 8 Serial Data Out (Internal 10kΩ Pullup)
STRST8 53 O Secondary Port 8 Test Reset (Active Low)
STMS8 52 O Secondary Port 8 Test Mode Select (Internal 20kΩ Pulldown)
STCK9 49 O Secondary Port 9 Test Clock
STDI9 50 O Secondary Port 9 Serial Data Input
STDO9 51 Ipu Secondary Port 9 Serial Data Out (Internal 10kΩ Pullup)
STRST9 47 O Secondary Port 9 Test Reset (Active Low)
STMS9 46 O Secondary Port 9 Test Mode Select (Internal 20kΩ Pulldown)
STCK10 43 O Secondary Port 10 Test Clock
STDI10 44 O Secondary Port 10 Serial Data Input
STDO10 45 Ipu Secondary Port 10 Serial Data Out (Internal 10kΩ Pullup)
STRST10 42 O
Secondary Port 10 Test Reset (Active Low)
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
STCK11 138 O Secondary Port 11 Test Clock
STDI11 139 O Secondary Port 11 Serial Data Input
STDO11 140 Ipu Secondary Port 11 Serial Data Out (internal 10k pullup)
STRST11 137 O Secondary Port 11 Test Reset (Active Low)
STMS11 136 O Secondary Port 11 Test Mode Select (Internal 20kΩ Pulldown)
STCK12 132 O Secondary Port 12 Test Clock
STDI12 134 O Secondary Port 12 Serial Data Input
STDO12 135 Ipu Secondary Port 12 Serial Data Out (Internal 10kΩ Pullup)
STRST12 131 O Secondary Port 12 Test Reset (Active Low)
STMS12 130 O Secondary Port 12 Test Mode Select (Internal 20kΩ Pulldown)
STCK13 127 O Secondary Port 13 Test Clock
STDI13 128 O Secondary Port 13 Serial Data Input
STDO13 129 Ipu Secondary Port 13 Serial Data Out (Internal 10kΩ Pullup)
STRST13 126 O Secondary Port 13 Test Reset (Active Low)
STMS13 125 O Secondary Port 13 Test Mode Select (Internal 20kΩ Pulldown)
STCK14 122 O Secondary Port 14 Test Clock
STDI14 123 O Secondary Port 14 Serial Data Input
STDO14 124 Ipu Secondary Port 14 Serial Data Out (Internal 10kΩ Pullup)
STRST14 121 O Secondary Port 14 Test Reset (Active Low)
STMS14 120 O Secondary Port 14 Test Mode Select (Internal 20kΩ Pulldown)
STCK15 116 O Secondary Port 15 Test Clock
STDI15 117 O Secondary Port 15 Serial Data Input
STDO15 118 Ipu Secondary Port 15 Serial Data Out (Internal 10kΩ Pullup)
STRST15 115 O Secondary Port 15 Test Reset (Active Low)
STMS15 114 O Secondary Port 15 Test Mode Select (Internal 20kΩ Pulldown)
STCK16 111 O Secondary Port 16 Test Clock
STDI16 112 O Secondary Port 16 Serial Data Input
STDO16 113 Ipu Secondary Port 16 Serial Data Out (internal 10k pullup)
STRST16 110 O Secondary Port 16 Test Reset (Active Low)
STMS16 109 O Secondary Port 16 Test Mode Select (Internal 20kΩ Pulldown)
STCK17 105 O Secondary Port 17 Test Clock
STDI17 106 O Secondary Port 17 Serial Data Input
STDO17 107 Ipu Secondary Port 17 Serial Data Out (Internal 10kΩ Pullup)
STRST17 104 O Secondary Port 17 Test Reset (Active Low)
STMS17 103 O Secondary Port 17 Test Mode Select (Internal 20kΩ Pulldown)
STCK18 100 O Secondary Port 18 Test Clock
STDI18 101 O Secondary Port 18 Serial Data Input
STDO18 102 Ipu Secondary Port 18 Serial Data Out (Internal 10kΩ Pullup)
STRST18 99 O Secondary Port 18 Test Reset (Active Low)
STMS18 98 O
Secondary Port 18 Test Mode Select (Internal 20kΩ Pulldown)
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
SSPI4 8 O
Selected Secondary Port Indicator Bit 4 (Active Low). Along with pins SSPI3,
SSPI2, SSPI1, and SSPI0, this pin provides a hardware indication of the selected
secondary port. See Table 7-2 for more information.
SSPI3 9 O
Selected Secondary Port Indicator Bit 3 (Active Low). Along with pins SSPI4,
SSPI2, SSPI1, and SSPI0, this pin provides a hardware indication of the selected
secondary port. See Table 7-2 for more information.
SSPI2 10 O
Selected Secondary Port Indicator Bit 2 (Active Low). Along with pins SSPI4,
SSPI3, SSPI1, and SSPI0, this provides a hardware indication of the selected
secondary port. See Table 7-2 for more information.
SSPI1 11 O
Selected Secondary Port Indicator Bit 1 (Active Low). Along with pins SSPI4,
SSPI3, SSPI2, and SSPI0, this pin provides a hardware indication of the selected
secondary port. See Table 7-2 for more information.
SSPI0 12 O
Selected Secondary Port Indicator Bit 0 (Active Low). Along with pins SSPI4,
SSPI3, SSPI2, and SSPI1, this pin provides a hardware indication of the selected
secondary port. See Table 7-2 for more information.
GPIO[3] 14 Ipd/O
General-Purpose Input/Output Bit 3. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
GPIO[2] 15 Ipd/O
General-Purpose Input/Output Bit 2. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
GPIO[1] 16 Ipd/O
General-Purpose Input/Output Bit 1. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
GPIO[0] 17 Ipd/O
General-Purpose Input/Output Bit 0. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
RST 33 Ipu
Global Reset (Active Low). (Internal 10kΩ Pullup) A low state on this pin provides
an asynchronous reset for global registers and logic. RST should be tied high for
normal operation.
TEST 62 Ipu Test Enable (Active Low). (Internal 10kΩ Pullup) Factory test input. TEST must be
tied high or unconnected for normal operation.
HIZ 143 I
Output High-Impedance Enable (Active Low). When this pin is asserted low,
internal pullup and pulldown resistors are disabled, all outputs are put into high-
impedance mode, and master request inputs (EREQ, TMREQ1, TMREQ2) are
disabled. PTRST must also be asserted logic 0.
M[1] 141 Ipd Mode Select Bit 1. (Internal 20kΩ Pulldown) Selects mode of operation of the device
(Single-Package, Cascade-Master, Cascade-Extension, or Deselect.
M[0] 142 Ipd Mode Select Bit 0. (Internal 20kΩ Pulldown) Selects mode of operation of the device
(Single-Package, Cascade-Master, Cascade-Extension, or Deselect).
MCI 34 O
Master Conflict Indicator (Active Low). Indicates that more than one device is
requesting to be master.
Asserted low when more than one of the EREQ, TMREQ1, or TMREQ2 signals is
asserted low.
DPDV 96 O Deselected Port Data Value. This pin directly indicates the state of the DPDV bit in
the Device Configuration Register (DCR).
PTCK 40 I Periphery JTAG Chain Test Clock. This input must be driven to a logic level during
normal operation.
PTDI 39 I Periphery JTAG Chain Serial Data Input. This input must be driven to a logic level
during normal operation.
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
PTRST 37 I Periphery JTAG Chain Test Reset (Active Low). During normal operation, this
signal is asserted low.
PTMS 35 Ipu Periphery JTAG Chain Test Mode Select. This input must be driven to a logic level
during normal operation.
ACT 97 O
Active (Active Low). Indicates that this device is active when low. An active device is
determined by the MSB of the instruction code and the state of the mode pins M0 and
M1.
PREN 7 I
Pull-Resistor Enable. When connected to VDD, the following pull resistors are
enabled:
20kΩ pulldown on TCK1, TCK2, ETDI, ETCK, TMS1, TMS2
10kΩ pullup on TDI1, TDI2, ETDO, TDO1, TDO2, TRST1, TRST2, ECFG, ETMS
When connected to VSS, the pull resistors on the signals above are disabled.
When multiple devices are connected in parallel only one device should have PREN
connected = VDD.
VDD 13, 36,
83, 119 P Positive Supply. 3.3V ±5%. All VDD signals should be tied together.
VSS
26, 48,
108,
133 Ground Reference. All VSS signals should be tied together.
Configuration Mode. The master is communicating with the Switch TAP Controller in the DS26900.
Transparent Mode. The master is communicating directly with the selected secondary port.
All pins are I/O in periphery JTAG mode except the TEST, TMREQ1, TMREQ2, EREQ, M1, M0, HIZ, RST, PTRST, PTCK, PTDI, PTDO, and
PTMS pins. All outputs are rated at 8mA.
Unused inputs must be tied to logic 1 or 0 if not used and a pullup/pulldown is not present.
O = Output
I = Input
Ipu = Input with an internal pullup
Ipd = Input with an internal pulldown
P = Power
__________________________________________________________________________________________ DS26900
Table 2-2. Pin Description (Sorted by Pin Number)
NAME PIN TYPE FUNCTION
EREQ 1 Ipu
External Test Master Request (Active Low). (Internal 10kΩ Pullup) When active,
this pin selects the external test port as the master. When switching EREQ, none of
the master clocks should be toggling.
ETDI 2 Ipd
External Test Master Serial Data Input. In configuration mode, data is clocked in on
this pin on the falling edge of ETCK.
When PREN = VDD, a 20kΩ pulldown resistor is connected to this pin.
ETDO 3
O/
High
Impedance
External Test Master Serial Data Out. (High Impedance) Data is clocked out on this
pin on the falling edge of ETCK.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
ETCK 4 Ipd
External Test Master Clock. In configuration mode, a falling edge on this pin clocks
data in on the ETDI pin. A falling edge on this pin clocks data out on the ETDO pin.
When PREN = VDD, a 20kΩ pulldown resistor is connected to this pin.
ECFG 5 Ipu
External Test Master Configuration (Active Low). Asserting this pin low along with
EREQ asserted low allows the External Test Master to configure the DS26900,
allowing access to the Switch TAP Controller. Toggling ECFG when EREQ is high has
no effect.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
ETMS 6 Ipu
External Test Master Test Mode Select. This pin is sampled on the rising edge of
ETCK and is used to place the port into the various defined IEEE 1149.1 states.
When PREN = VDD, a 10kΩ pullup resistor is connected to this pin.
PREN 7 I
Pull-Resistor Enable. When connected to VDD, the following pull resistors are
enabled:
20kΩ pulldown on TCK1, TCK2, ETDI, ETCK, TMS1, TMS2
10kΩ pullup on TDI1, TDI2, ETDO, TDO1, TDO2, TRST1, TRST2, ECFG, ETMS
When connected to VSS, the pull resistors on the signals above are disabled.
When multiple devices are connected in parallel only one device should have PREN
connected = VDD.
SSPI4 8 O
Selected Secondary Port Indicator Bit 4 (Active Low). Along with pins SSPI3,
SSPI2, SSPI1 and SSPI0, provides a hardware indication of the selected secondary
port. See Table 7-2 for more information.
SSPI3 9 O
Selected Secondary Port Indicator Bit 3 (Active Low). Along with pins SSPI4,
SSPI2, SSPI1 and SSPI0, provides a hardware indication of the selected secondary
port. See Table 7-2 for more information.
SSPI2 10 O
Selected Secondary Port Indicator Bit 2 (Active Low). Along with pins SSPI4, SSPI3, SSPI1 and SSPI0, provides a hardware indication of the selected secondary
port. See Table 7-2 for more information.
SSPI1 11 O
Selected Secondary Port Indicator Bit 1 (Active Low). Along with pins SSPI4,
SSPI3, SSPI2 and SSPI0, provides a hardware indication of the selected secondary
port. See Table 7-2 for more information.
SSPI0 12 O
Selected Secondary Port Indicator Bit 0 (Active Low). Along with pins SSPI4,
SSPI3, SSPI2 and SSPI1, provides a hardware indication of the selected secondary
port. See Table 7-2 for more information.
VDD 13, 36, 83,
119 P Positive Supply. 3.3V ±5%. All VDD signals should be tied together.
GPIO[3] 14 Ipd/O
General-Purpose Input/Output Bit 3. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
GPIO[2] 15 Ipd/O
General-Purpose Input/Output Bit 2. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
GPIO[1] 16 Ipd/O
General-Purpose Input/Output Bit 1. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
GPIO[0] 17 Ipd/O
General-Purpose Input/Output Bit 0. (Internal 20kΩ Pulldown) This pin is a general-
purpose input/output, which can be read or driven via a register bit. This pin is in input
mode after a global reset.
MGNT1 18 O Master Grant 1 (Active Low). Asserted low when Test Master 1 is the arbitrated
master.
TMREQ1 19 Ipu
Test Master 1 Master Request (Active Low). (Internal 10kΩ Pullup) When EREQ is
inactive and TMREQ1 is active, this pin selects the test master port 1 as the master.
When switching TMREQ1, none of the master clocks should be toggling.
TDI1 20 Ipu/O
Test Master 1 Test Port Serial Data Input
Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TDO1 21 I/O
Test Master 1 Test Port Serial Data Out
Master Mode = Output
Slave Mode = Input
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TCK1 22 Ipd/O
Test Master 1 Test Port Clock
Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TRST1 23 Ipu / O
Test Master 1 Test Port Test Reset (Active Low). Asserting this pin low (when
master) puts the DS26900 into configuration mode, allowing access to the Switch
TAP Controller. Toggling TRST1 when not the arbitrated master has no effect. This
pin does not directly affect secondary port resets.
Master Mode = TRST1 Input
Slave Mode = TRST1 Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TMS1 24 Ipd/O
Test Master 1 Test Port Test Mode Select
Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
MGNT2 25 O Master Grant 2 (Active Low). Asserted low when Test Master 2 is the arbitrated
master.
VSS 26, 48,
108, 133 P Ground Reference. All VSS signals should be tied together.
TMREQ2 27 Ipu
Test Master 2 Master Request (Active Low). (Internal 10kΩ Pullup) When EREQ
and TMREQ1 are inactive and TMREQ2 is active, this pin selects the test master
port 2 as the master. When switching TMREQ2, none of the master clocks should be
toggling.
TDI2 28 Ipu/O
Test Master 2 Test Port Serial Data Input
Master Mode = Input
Slave Mode = Output
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
TDO2 29 I/O
Test Master 2 Test Port Serial Data Out
Master Mode = Output
Slave Mode = Input
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TCK2 30 Ipd/O
Test Master 2 Test Port Clock
Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
TRST2 31 Ipu/O
Test Master 2 Test Port Test Reset (Active Low). Asserting this pin low (when
master) puts the DS26900 into configuration mode, allowing access to the Switch
TAP Controller. Toggling TRST2 when not the arbitrated master has no effect. This
pin does not directly affect secondary port resets.
Master Mode = TRST2 Input
Slave Mode = TRST2 Output
When PREN = VDD, an internal 10kΩ pullup resistor is connected to this pin.
TMS2 32 Ipd/O
Test Master 2 Test Port Test Mode Select
Master Mode = Input
Slave Mode = Output
When PREN = VDD, an internal 20kΩ pulldown resistor is connected to this pin.
RST 33 Ipu
Global Reset (Active Low). (Internal 10kΩ Pullup) A low state on this pin provides
an asynchronous reset for global registers and logic. RST should be tied high for
normal operation.
MCI 34 O
Master Conflict Indicator (Active Low). Indicates that more than one device is
requesting to be master.
Asserted low when more than one of the EREQ, TMREQ1, or TMREQ2 signals is
asserted low.
PTMS 35 Ipu Periphery JTAG Chain Test Mode Select. This input must be driven to a logic level
during normal operation.
PTRST 37 I Periphery JTAG Chain Test Reset (Active Low). During normal operation, this
signal is asserted low.
PTDO 38 O Periphery JTAG Chain Serial Data Out
PTDI 39 I Periphery JTAG Chain Serial Data Input. This input must be driven to a logic level
during normal operation.
PTCK 40 I Periphery JTAG Chain Test Clock. This input must be driven to a logic level during
normal operation.
STMS10 41 O Secondary Port 10 Test Mode Select (Internal 20kΩ Pulldown)
STRST10 42 O Secondary Port 10 Test Reset (Active Low)
STCK10 43 O Secondary Port 10 Test Clock
STDI10 44 O Secondary Port 10 Serial Data Input
STDO10 45 Ipu Secondary Port 10 Serial Data Out (Internal 10kΩ Pullup)
STMS9 46 O Secondary Port 9 Test Mode Select (Internal 20kΩ Pulldown)
STRST9 47 O Secondary Port 9 Test Reset (Active Low)
STCK9 49 O Secondary Port 9 Test Clock
STDI9 50 O Secondary Port 9 Serial Data Input
STDO9 51 Ipu Secondary Port 9 Serial Data Out (Internal 10kΩ Pullup)
STMS8 52 O
Secondary Port 8 Test Mode Select (Internal 20kΩ Pulldown)
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
STCK8 54 O Secondary Port 8 Test Clock
STDI8 55 O Secondary Port 8 Serial Data Input
STDO8 56 Ipu Secondary Port 8 Serial Data Out (Internal 10kΩ Pullup)
STMS7 57 O Secondary Port 7 Test Mode Select (Internal 20kΩ Pulldown)
STRST7 58 O Secondary Port 7 Test Reset (Active Low)
STCK7 59 O Secondary Port 7 Test Clock
STDI7 60 O Secondary Port 7 Serial Data Input
STDO7 61 Ipu Secondary Port 7 Serial Data Out (Internal 10kΩ Pullup)
TEST 62 Ipu Test Enable (Active Low). (Internal 10kΩ Pullup) Factory test input. TEST must be
tied high or unconnected for normal operation.
STMS6 63 O Secondary Port 6 Test Mode Select (Internal 20kΩ Pulldown)
STRST6 64 O Secondary Port 6 Test Reset (Active Low)
STCK6 65 O Secondary Port 6 Test Clock
STDI6 66 O Secondary Port 6 Serial Data Input
STDO6 67 Ipu Secondary Port 6 Serial Data Out (Internal 10kΩ Pullup)
STMS5 68 O Secondary Port 5 Test Mode Select (Internal 20kΩ Pulldown)
STRST5 69 O Secondary Port 5 Test Reset (Active Low)
STCK5 70 O Secondary Port 5 Test Clock
STDI5 71 O Secondary Port 5 Serial Data Input
STDO5 72 Ipu Secondary Port 5 Serial Data Out (Internal 10kΩ Pullup)
STMS4 73 O Secondary Port 4 Test Mode Select (Internal 20kΩ Pulldown)
STRST4 74 O Secondary Port 4 Test Reset (Active Low)
STCK4 75 O Secondary Port 4 Test Clock
STDI4 76 O Secondary Port 4 Serial Data Input
STDO4 77 Ipu Secondary Port 4 Serial Data Out (Internal 10kΩ Pullup)
STMS3 78 O Secondary Port 3 Test Mode Select (Internal 20kΩ Pulldown)
STRST3 79 O Secondary Port 3 Test Reset (Active Low)
STCK3 80 O Secondary Port 3 Test Clock
STDI3 81 O Secondary Port 3 Serial Data Input
STDO3 82 Ipu Secondary Port 3 Serial Data Out (Internal 10kΩ Pullup)
STMS2 84 O Secondary Port 2 Test Mode Select (Internal 20kΩ Pulldown)
STRST2 85 O Secondary Port 2 Test Reset (Active Low)
STCK2 86 O Secondary Port 2 Test Clock
STDI2 87 O Secondary Port 2 Serial Data Input
STDO2 88 Ipu Secondary port 2 Serial Data Out (Internal 10kΩ Pullup)
STMS1 89 O Secondary Port 1 Test Mode Select (Internal 20kΩ Pulldown)
STRST1 90 O Secondary Port 1 Test Reset (Active Low)
STCK1 91 O Secondary Port 1 Test Clock
STDI1 92 O Secondary Port 1 Serial Data In
STDO1 93 Ipu Secondary Port 1 Serial Data Out (Internal 10kΩ Pullup)
N.C. 94, 95 —
No Connection
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
ACT 97 O
Active (Active Low). Indicates that this device is active when low. An active device is
determined by the MSB of the instruction code and the state of the M0, M1 mode
pins.
STMS18 98 O Secondary Port 18 Test Mode Select (Internal 20kΩ Pulldown)
STRST18 99 O Secondary Port 18 Test Reset
STCK18 100 O Secondary Port 18 Test Clock
STDI18 101 O Secondary Port 18 Serial Data Input
STDO18 102 Ipu Secondary Port 18 Serial Data Out (Internal 10kΩ Pullup)
STMS17 103 O Secondary Port 17 Test Mode Select (Internal 20kΩ Pulldown)
STRST17 104 O Secondary Port 17 Test Reset (Active Low)
STCK17 105 O Secondary Port 17 Test Clock
STDI17 106 O Secondary Port 17 Serial Data Input
STDO17 107 Ipu Secondary Port 17 Serial Data Out (Internal 10kΩ Pullup)
STMS16 109 O Secondary Port 16 Test Mode Select (Internal 20kΩ Pulldown)
STRST16 110 O Secondary Port 16 Test Reset (Active Low)
STCK16 111 O Secondary Port 16 Test Clock
STDI16 112 O Secondary Port 16 Serial Data Input
STDO16 113 Ipu Secondary Port 16 Serial Data Out (Internal 10kΩ Pullup)
STMS15 114 O Secondary Port 15 Test Mode Select (Internal 20kΩ Pulldown)
STRST15 115 O Secondary Port 15 Test Reset (Active Low)
STCK15 116 O Secondary Port 15 Test Clock
STDI15 117 O Secondary Port 15 Serial Data Input
STDO15 118 Ipu Secondary Port 15 Serial Data Out (Internal 10kΩ Pullup)
STMS14 120 O Secondary Port 14 Test Mode Select (Internal 20kΩ Pulldown)
STRST14 121 O Secondary Port 14 Test Reset (Active Low)
STCK14 122 O Secondary Port 14 Test Clock
STDI14 123 O Secondary Port 14 Serial Data Input
STDO14 124 Ipu Secondary Port 14 Serial Data Out (Internal 10kΩ Pullup)
STMS13 125 O Secondary Port 13 Test Mode Select (Internal 20kΩ Pulldown)
STRST13 126 O Secondary Port 13 Test Reset (Active Low)
STCK13 127 O Secondary Port 13 Test Clock
STDI13 128 O Secondary Port 13 Serial Data Input
STDO13 129 Ipu Secondary Port 13 Serial Data Out (Internal 10kΩ Pullup)
STMS12 130 O Secondary Port 12 Test Mode Select (Internal 20kΩ Pulldown)
STRST12 131 O Secondary Port 12 Test Reset (Active Low)
STCK12 132 O Secondary Port 12 Test Clock
STDI12 134 O Secondary Port 12 Serial Data Input
STDO12 135 Ipu Secondary Port 12 Serial Data Out (Internal 10kΩ Pullup)
STMS11 136 O Secondary Port 11 Test Mode Select (Internal 20kΩ Pulldown)
STRST11 137 O Secondary Port 11 Test Reset (Active Low)
STCK11 138 O Secondary Port 11 Test Clock
STDI11 139 O
Secondary Port 11 Serial Data Input
__________________________________________________________________________________________ DS26900
NAME PIN TYPE FUNCTION
M[1] 141 Ipd Mode Select Bit 1. (Internal 20kΩ Pulldown) Selects mode of operation of the device
(Single-Package, Cascade-Master, Cascade-Extension, or Deselect).
M[0] 142 Ipd Mode Select Bit 0. (Internal 20kΩ Pulldown) Selects mode of operation of the device
(Single-Package, Cascade-Master, Cascade-Extension, or Deselect).
HIZ 143 I
Output High-Impedance Enable (Active Low). When this pin is asserted low,
internal pullup and pulldown resistors are disabled, all outputs are put into high
impedance mode, and master request inputs (EREQ, TMREQ1, TMREQ2) are
disabled. PTRST must also be asserted logic 0.
MGNT0 144 O Master Grant 0 (Active Low). Asserted low when the External Test Master is the
arbitrated master.
Configuration Mode. The master is communicating with the Switch TAP Controller in the DS26900.
Transparent Mode. The master is communicating directly with the selected secondary port.
All pins are I/O in periphery JTAG mode except the TEST, TMREQ1, TMREQ2, EREQ, M1, M0, HIZ, RST, PTRST, PTCK, PTDI, PTDO, and
PTMS pins. All outputs are rated at 8mA.
Unused inputs must be tied to logic 1 or 0 if not used and a pullup/pulldown is not present.
O = Output
I = Input
Ipu = Input with an internal pullup
Ipd = Input with an internal pulldown
P = Power
__________________________________________________________________________________________ DS26900
3. Functional Description
The DS26900 is a star (radial) configuration system-level JTAG signal multiplexer, which provides connectivity
between a master port and secondary ports. The master port, which has been granted control of the switch, can
also treat the unselected master ports as secondary ports.
There are three possible master ports: ETM (External Test Master), TM1 (Test Master 1), and TM2 (Test Master 2).
ETM functions as the primary master with TM1 and TM2 available as alternative masters. Direct arbitration
determines which of the three possible masters can control the switch. ETM has the highest priority whenever there
is a conflict over which master port can control the device. See Section 4.2 for more information on master port
arbitration.
JTAG connectivity is provided for up to 18 secondary ports per package as well as two additional secondary ports,
TM1 and TM2, when they are not functioning as a master. Two DS26900s can be cascaded to provide additional
secondary ports. The DS26900 can be in one of four modes: Single-Package Mode, Cascade-Master Mode,
Cascade-Extension Mode, and Deselect Mode.
The DS26900 contains two TAP controllers: one as part of the primary switch function and one to control the
traditional JTAG interface at the periphery of the device for manufacturing test purposes.
Configuration of the DS26900 is accomplished via the Switch TAP Controller. Configuration options include
sensing the presence of secondary ports, addressing the target secondary port, reading/writing scratchpad
registers, GPIO pin read/write, generating port resets, configuring path and signaling inversion options, and placing
the DS26900 in transparent mode for direct communications with the secondary port.
Communications with the DS26900 is accomplished via a master port while asserting the associated ports
configure signal (TRST1, TRST2, or ECFG) low. Connected ports (cards) are detected by sensing the port’s TMS
pullup resistor, and the results are available in the Port Detection Register (PDR). Selection of the desired port is
accomplished by setting the address in the Secondary Port Selection Register (SPSR). Once the destination port
selection bits are written, the Switch TAP Controller is returned to idle/reset state and the configuration signal
(TRST) is asserted high. The DS26900 routes the JTAG signal set (clock, data-in, data-out, mode select, and reset)
from the arbitrated master to the selected destination port with controlled timing relationships. A reset for the
secondary port can be generated by writing a register bit after a port address is selected. Test masters can be
swapped without affecting the logic state of the selected secondary port.
The DS26900 also contains traditional boundary scan circuitry at the periphery of the package for board
manufacturing tests. See Section 9. This periphery boundary scan circuitry is independent and has priority over the
operation of the master/slave multiplexer. It contains a separate TAP controller with a 3-bit wide instruction code
register. Signals associated with the periphery boundary scan circuitry are PTRST, PTMS, PTCK, PTDI, and PTDO.
The DS26900 switch is designed to work at clock rates up to 50MHz. The arbitrated master is the source of the
operating clock. However, the separate periphery JTAG function, as described above, operates at a maximum
frequency of 10MHz.
__________________________________________________________________________________________ DS26900
4. Detailed Description
4.1 Modes of Operation
The mode pins, M1 and M0, provide four modes of operation as described in Table 4-1.
Table 4-1. Mode Pins
M1 M0 MODE OF OPERATION DESCRIPTION 0 Single-Package 18 secondary ports, TM1 and TM2 slave ports when configuration bit
TM_SLAVE set to logic 1. 1 Cascade-Master First group of 18 secondary ports, TM1 and TM2 are slave ports. 0 Cascade-Extension Second group of 18 secondary ports. 1 Deselect Device is deselected (acts as if no master is present).
4.1.1 Single-Package Mode
Single-Package Mode allows access to 18 or 20 secondary ports. See Table 4-1 for M0 and M1 pin settings. If the
TM_SLAVE bit in the DCR register is set = 0, the device is configured for three master ports and 18 secondary
ports, as shown in Figure 4-1. If the TM_SLAVE bit in the DCR register is set = 1, the device is configured for one
master port and 20 secondary ports, as shown in Figure 4-2.. In this configuration, TM1 and TM2 are used as
secondary ports 19 and 20. If one or more master ports are unused, their REQ input pin(s) must be connected
= VDD and the remaining unused inputs must be connected = VDD or VSS, but cannot be left unconnected.
Figure 4-1. Configuration for 3 Masters, 18 Secondary Ports
DS26900ETM
TM1
TM2
SECONDARY 1
SECONDARY 18
PREN
M[1:0] = 00
VDD
EXTERNAL
TEST MASTER
TEST MASTER 1
TEST MASTER 2
INSTRUCTION CODE = "0xxxx"
Figure 4-2. Configuration for 1 Master, 20 Secondary Ports
DS26900ETM
SECONDARY 1
SECONDARY 18
PREN
M[1:0] = 00
VDD
EXTERNAL
TEST MASTER
SECONDARY 19
SECONDARY 20
__________________________________________________________________________________________ DS26900
DS26900ETM
TM1
TM2
SECONDARY 1
SECONDARY 18
PREN
M[1:0] = 10 (EXTENSION)
M[1:0] = 01 (MASTER)
VDD
EXTERNAL
TEST MASTER
TEST MASTER 1
TEST MASTER 2
ETM
TM1
TM2
PREN
SECONDARY 19
SECONDARY 36
DS26900
INSTRUCTION CODE = "0xxxx"
INSTRUCTION CODE = "1xxxx"
4.1.2 Cascade Configuration Modes
The cascade configuration allows two devices to be connected together, the cascade master and the cascade
extension device. This provides access to 36 secondary ports plus the TM1 and TM2 ports (as slave ports) of the
extension device without external control logic. The cascade master has its mode pins (M[1:0]) set = 01 and the
cascade extension has its mode pins (M[1:0]) set = 10. See Table 4-1 for M0 and M1 pin settings. In Figure 4-3,
secondary ports 1 to 18 or 19 to 36 are selected by the MSB of the instruction code. Each device has a 5-bit
instruction register. The lower four LSBs have common definitions between the cascade devices, but the MSB of
the 5-bit instruction register acts as an address bit. Instructions to be executed by the cascade master have their
MSB set to 0. Instructions to be executed by the cascade extension have their MSB set to 1. The same instructions
are loaded into each device, but only the appropriate device (determined by the mode pin setting) executes the
instruction. The PREN pin on the cascade master is connected = VDD to enable internal pullup/down resistors. On
the cascade extension device, PREN is connected = VSS to disable internal pullup/down resistors.
If one or more master ports are unused, their REQ input pin(s) must be connected = VDD and the remaining unused
inputs must be connected = VDD or VSS, but cannot be left unconnected.
Figure 4-3. Two Cascaded Devices
__________________________________________________________________________________________ DS26900
4.1.3 Deselect Mode and Redundancy
Deselect Mode allows multiple devices to be connected in parallel with the use of external logic controlling the
M[1:0] and PREN pins. Deselect Mode is enabled when the mode pins (M[1:0]) are both set high. This internally
forces the TMREQ1, TMREQ2, and EREQ signals to go high, causing the DS26900 to act as though no active
master is present. When both mode pins are set low via the external select logic, the device is selected and
operated in Single-Package Mode.
Applications requiring device redundancy can be achieved by asserting PTRST low and HIZ low. This causes
outputs to become high impedance and disables the pullups and pulldowns. During normal operation, PTRST is
asserted low and HIZ is asserted high.
A device that is deselected (M[1:0] = 11) internally acts as if an arbitrated master is not present. The Switch TAP
Controller goes into Test-Logic-Reset (and the instruction register is cleared). The other programmable registers
are left unchanged.
Figure 4-4. Three Cascaded Devices Using External Select Logic
DS26900
ETM
TM1
TM2
SECONDARY 1
SECONDARY 18
PREN
M[1:0] = 00/11
VDD
EXTERNAL
TEST MASTER
TEST MASTER 1
TEST MASTER 2
ETM
TM1
TM2
PREN
SECONDARY 1
SECONDARY 18
DS26900
INSTRUCTION CODE = "0xxxx"
INSTRUCTION CODE = "0xxxx"
ETM
TM1
TM2
PREN
SECONDARY 1
SECONDARY 18
DS26900
INSTRUCTION CODE = "0xxxx"
M[1:0] = 00/11
M[1:0] = 00/11
MODE
SELECT
LOGIC
__________________________________________________________________________________________ DS26900
4.2 Master Arbitration
The DS26900 can have one of three possible master ports: External Test Master (ETM), Test Master 1 (TM1), or
Test Master 2 (TM2). The TM1 and TM2 ports can be bidirectional based on the state of the configuration bit
TM_SLAVE. An application, which has less than three masters, can use any combination of master ports.
Table 4-2 lists the possible signal configurations and arbitrations for master. In the table, BLOCKED indicates that
the JTAG signals are ignored both to and from this port, SLAVE indicates that this port is a target for the JTAG
master, MASTER indicates the JTAG signal source port, CONFIG indicates the configuration mode for the
DS26900, and NORMAL indicates normal JTAG signal operation from master to slave.
Table 4-2. Master Arbitration
EREQ ECFG TMREQ1 TRST1 TMREQ2 TRST2 ACTIVE
MASTER MODE
TM1
INTERFACE
MODE
TM2
INTERFACE
MODE L L X L X ETM CONFIG BLOCKED BLOCKED H L X L X ETM NORMAL BLOCKED BLOCKED H L X H X ETM NORMAL BLOCKED SLAVE H H X L X ETM NORMAL SLAVE BLOCKED H H X H X ETM NORMAL SLAVE SLAVE X L L L X TM1 CONFIG MASTER BLOCKED X L H L X TM1 NORMAL MASTER BLOCKED X H X L L TM2 CONFIG SLAVE MASTER X H X L H TM2 NORMAL SLAVE MASTER X H X H X NONE INACTIVE SLAVE SLAVE
Note: Slave mode of TM1 and TM2 is affected by the state of the configuration bit TM_SLAVE.
L = Connect = VSS; H = Connect = VDD; X = Don’t care
Only one master is allowed at any time. A test master that is in slave mode has the sense of all the JTAG signals
reversed (outputs become inputs, inputs become outputs, and only TMREQ does not change), and it functions
identically to a secondary port. A test master that is blocked has its control signals ignored (the JTAG outputs are
blocked, JTAG inputs are set to a constant logic level, TMREQ is unaffected). Since the TM ports lack a separate
configuration signal, TRST functions as the configuration signal. To avoid glitches on the output secondary ports, all
the master signals (TMS, TDI, TDO, and CLK) should be set to logic 0 while switching the master to/from Test
Master 1 or Test Master 2. The TM1/TM2 slave interface mode will additionally be affected by the state of the
configuration bit TM_SLAVE.
If an active master is not present (EREQ, TMREQ1, and TMREQ2 are all logic 1), the Switch TAP Controller goes
into Test-Logic-Reset and the content of the instruction register is cleared. All other registers retain their values.
The MSB of the last instruction, before clearing, is always retained in a separate register unless global reset is
asserted. The port whose address is in the Secondary Port Selection Register (SPSR) is technically still selected,
and that port will not be affected by the state of the DPDV bit in the Device Configuration Register (DCR). If a
different master becomes the active master, communications can resume with the port whose address is in the
Secondary Port Selection Register and whose instruction register MSB is of the proper value. The Secondary Port
Selection Register should be written with all zeros once communications with secondary ports is completed.
A DS26900 in Deselect Mode disables detection of EREQ, TMREQ1, and TMREQ2, and the device therefore acts
as if an active master is not present. Deselect Mode is selected when the mode pins (M[1:0]) are both asserted
high.
__________________________________________________________________________________________ DS26900
The master grant signals, MGNT0, MGNT1, and MGNT2, are generated by the master arbitrator. These signals are
available to the appropriate master to indicate that it has control. The MCI output is asserted low to indicate this
possible conflict should more than one of the REQ signals be asserted low.
An active signal indicates the active (selected) device by asserting ACT low. The ACT pin is asserted low under the
conditions listed in Table 4-3.
Table 4-3. ACT Output States
M1 PIN M0 PIN INSTRUCTION REGISTER
VALUE
IS THERE AN
ACTIVE MASTER ACT
OUTPUT 0 0XXXX Yes 0 0 1XXXX Yes 1 1 0XXXX Yes 0 1 1XXXX Yes 1 0 0XXXX Yes 1 0 1XXXX Yes 0 1 XXXXX X 1 X XXXXX No 1
X = Don’t care
4.2.1 Missing Test Master or Unused Test Master Port
An unused or missing test master has its TMREQ signal tied high by the user (DS26900 has a pullup on that input
pin so the user can leave this pin unconnected), which puts that port into slave mode.
4.2.2 Detection of the Presence of Secondary Ports
The presence of secondary ports is detected by sensing the logic level present on the STMSn signal (the STMSn
signal on a port should have a pullup) on each secondary port and test master port. Logic 1 is latched into the
20-bit Port Detection Register (PDR) for each pullup that is sensed. The STMSn and TMSn signals are sensed and
the Port Detection Register (PDR) is updated each time the Switch TAP Controller passes out of the reset state.
(TMSn signals can only be sensed on TM1/TM2 slave-mode ports.)
4.2.3 Selection of the Secondary Port
Selection of the secondary port (“slave”) is accomplished by writing a 5-bit address into the Secondary Port
Selection Register (SPSR). Due to the star configuration, only one port can be selected at a time. Ports that are not
detected as being present by sensing the pullup on the secondary port’s TMS pin can still be selected, and the
signals will be sent to that port.
This 5-bit secondary port selection address is complemented and used to generate the selected slave port indicator
bits (SSPI[4:0]). These bits can be used as a visual indicator as to which slave port has been selected.
Once communications with a secondary port has been completed, the Secondary Port Selection Register (SPSR)
should be set to all zeros. If not, the selected port address will not respond to the DPDV bit of the Device
Configuration Register (DCR). This is true if an active master is present or not.
4.2.4 Master Port/Secondary Port Path Timing Description
__________________________________________________________________________________________ DS26900
(TDO) signals can each be individually inverted by setting an optional configuration bit. Figure 1-1 diagrams this
path in a simple form.
4.3 GPIO Pins—General-Purpose I/O
The general-purpose I/O (GPIO) are bidirectional pins that offer the user the ability to output logic levels or read
input logic levels. Each GPIO pin can be configured to output logic 1, logic 0, or to be an input. Configuration of the
GPIO pins for write or read operation is accomplished by writing the GPIO Configuration and Write Register
(GPIOCR) bits.
The reading the logic state of the GPIO pins can be accomplished by accessing the 4-bit GPIO Read Register
(GPIORR). Pins that are configured for read mode read the input logic state in the register. Pins that are configured
for output mode read back the logic state for which those pins are configured.
4.4 Programmable Pullup/Pulldown Resistors
A hardware configuration pin (PREN) is provided to enable/disable pull resistors on the input signal pins of the
three masters. PREN works such that when connected to VDD, the following signals have pull resistors enabled:
TCK1, TCK2, ETDI, ETCK, TMS1, TMS2—20kΩ pulldown
TDI1, TDI2, ETDO, TDO1, TDO2—10kΩ pullup
TRST1, TRST2, ECFG, ETMS—10kΩ pullup
When connected to VSS, the pull resistors on the signals above are disabled. PREN can be connected to VDD for
single device implementations or for one of the devices in a multiple-device implementation. Connecting PREN to
VDD on multiple devices, which are in parallel, would cause the pull resistors to be connected in parallel. This would
have the undesirable effect of halving the pull-resistor values.
4.5 Signal Path Configuration—Inversions
To help overcome possible timing issues, the JTAG signal path timing can be modified in limited ways in the
Device Configuration Register (DCR). Signal path timing changes are global and, once set, they apply to all
secondary ports until reconfigured. Figure 1-1 diagrams the relative placement of the signal path modifier logic.
There are several possible options: • The test clock (TCK) from the arbitrated master to a slave port can be inverted by setting the TCKi bit. • The test data from the arbitrated master to a slave port can be inverted by setting the TDIi bit. • The test data coming from the slave port to the arbitrated master can be inverted by setting the TDOi bit. • The TMS signal from the arbitrated master to a slave port can be inverted by setting the TMSi bit.
There is only one set of configuration bits. Switching from port to port does not change the configuration bits.
4.6 Switch Configuration by External Test Master
The External Test Master (ETM) has the highest priority in the master arbitration circuit, so asserting EREQ low
makes the ETM the master. The ETM accesses the configuration mode of the switch by asserting EREQ low and
ECFG low. Access is then provided to the Switch TAP Controller. While in configuration mode, the secondary slave
ports’ JTAG signals are asserted low (except STRSTn signals, which are high) and do not toggle. In configuration
mode, the master has access to the configuration registers in the Switch TAP Controller. When EREQ is asserted
low and a Secondary Port Selection Register (SPSR) address from 1 to 18 is selected, the selected secondary port
JTAG signal group follows the ETM signals.
The Switch TAP Controller operates as an IEEE 1149.1 TAP controller. Instructions can be written and registers