ChipFind - документация

Электронный компонент: SCANPSC100FSC

Скачать:  PDF   ZIP
2000 Fairchild Semiconductor Corporation
DS010968
www.fairchildsemi.com
December 1991
Revised May 2000
SCANPSC100F
Em
bedd
ed Boundar
y
Sca
n
Cont
rol
l
er
(
I
EEE
1
149.
1 Suppor
t)
SCANPSC100F
Embedded Boundary Scan Controller
(IEEE 1149.1 Support)
General Description
The SCANPSC100F is designed to interface a generic par-
allel processor bus to a serial scan test bus. It is useful in
improving scan throughput when applying serial vectors to
system test circuitry and reduces the software overhead
that is associated with applying serial patterns with a paral-
lel processor. The SCANPSC100F operates by serializing
data from the parallel bus for shifting through the chain of
1149.1 compliant components (i.e., scan chain). Scan data
returning from the scan chain is placed on the parallel port
to be read by the host processor. Up to two scan chains
can be directly controlled with the SCANPSC100F via two
independent TMS pins. Scan control is supplied with user
specific patterns which makes the SCANPSC100F proto-
col-independent. Overflow and underflow conditions are
prevented by stopping the test clock. A 32-bit counter is
used to program the number of TCK cycles required to
complete a scan operation within the boundary scan chain
or to complete a SCANPSC100F Built-In Self Test (BIST)
operation. SCANPSC100F device drivers and 1149.1
embedded test application code are available with Fair-
child's SCAN Ease software tools.
Features
s
Compatible with IEEE Std. 1149.1 (JTAG) Test Access
Port and Boundary Scan Architecture
s
Supported by Fairchild's SCAN Ease (Embedded Appli-
cation Software Enabler) Software
s
Uses generic, asynchronous processor interface; com-
patible with a wide range of processors and PCLK fre-
quencies
s
Directly supports up to two 1149.1 scan chains
s
16-bit Serial Signature Compaction (SSC) at the Test
Data In (TDI) port
s
Automatically produces pseudo-random patterns at the
Test Data Out (TDO) port
s
Fabricated on FACT
1.5
m CMOS process
s
Supports 1149.1 test clock (TCK) frequencies up to
25 MHz
s
TTL-compatible inputs; full-swing CMOS outputs with
24 mA source/sink capability
Ordering Code:
Devices also available in Tape and Reel. Specify by appending the suffix letter "X" to the ordering code.
Connection Diagram
FACT
is a trademark of Fairchild Semiconductor Corporation.
Order Number
Package Number
Package Description
SCANPSC100FSC
M28B
28-Lead Small Outline Integrated Circuit (SOIC), JEDEC MS-013, 0.300 Wide
www.fairchildsemi.com
2
SCAN
PSC100
F
Pin Descriptions
Pin Name
Description
RST (Input)
The Reset pin is an asynchronous input that, when LOW, initializes the SCANPSC100. Mode bits,
Shifter/Buffer and CNT32 control logic, TCK Control, and the PPI are all initialized to defined states.
RST has hysteresis for improved noise immunity.
SCK (Input)
The System Clock drives all internal timing. The test clock, TCK, is a gated and buffered version of SCK.
SCK has hysteresis for improved immunity.
OE (Input)
Output Enable 3-STATEs all SSI outputs when HIGH. A 20 k
pull-up resistor is connected to
automatically 3-STATE these outputs when this signal is floating.
CE (Input)
Chip Enable, when LOW, enables the PPI for byte transfers. D(7:0) and RDY are 3-STATEd if CE is HIGH.
CE has hysteresis for improved noise immunity.
R/W (Input)
Read/Write defines a PPI cycle--Read when HIGH, Write when LOW.
R/W has hysteresis for improved noise immunity.
STB (Input)
Strobe is used for timing all PPI byte transfers. D(7:0) are 3-STATEd when STB is HIGH. All other PPI
inputs must meet specified setup and hold times with respect to this signal. STB has hysteresis for noise
improved immunity.
A(2:0) (Input)
The Address pins are used to select the register to be written to or read from.
D(7:0) (I/O)
Bidirectional pins used to transfer parallel data to and from the SCANPSC100.
INT (Output)
Interrupt is used to trigger a host interrupt for any of the defined interrupt events. INT is active HIGH.
RDY
(3-STATE Output)
Ready is used to synchronize asynchronous byte transfers between the host and the SCANPSC100.
When LOW, RDY signals that the addressed register is ready to be accessed RDY is enabled when
CE is LOW
TDO
(3-STATE Output)
Test Data Out is the serial scan output from the SCANPSC100. TDO is enabled when OE is LOW.
TMS(1:0)
(3-STATE Output)
The Test Mode Select pins are serial outputs used to supply control logic to the UUT.
TMS(1:0) are enabled when OE is LOW.
TCK
(3-STATE Output)
The Test Clock output is a buffered version of SCK for distribution in the UUT.
TCK Control logic starts and stops TCK to prevent overflow and underflow conditions.
TCK is enabled when OE is LOW.
TDI (Input)
Test Data In is the serial scan input to the SCANPSC100. A 20 k
pull-up resistor is connected to force
TDI to a logic 1 when the TDO line from the UUT is floating.
FRZ (Input)
The Freeze pin is used to asynchronously generate a user-specific pulse on TCK. If the FRZ Enable Mode
bit is set, TCK will be forced HIGH if FRZ goes HIGH. FRZ has hysteresis for improved noise immunity.
3
www.fairchildsemi.com
SCANPSC100F
Chip Architecture
The SCANPSC100 is designed to act together with a paral-
lel bus host as a serial test bus master. Parallel data is writ-
ten by the host to the SCANPSC100, which serializes the
data for application to a serial test bus. Serial data return-
ing from the target scan chain(s) is placed on the processor
port for parallel reads. Several features are included in the
SCANPSC100 which make scan test communication more
convenient and efficient.
Figure 1 shows the major functional blocks of the
SCANPSC100 design. The Parallel Processor Interface
(PPI) is an asynchronous, 8-bit parallel interface which is
used by the host processor to write and read data. The PPI
generates the necessary internal data, address, and con-
trol signals to complete internal write and read operations.
The Serial Scan Interface (SSI) consists of a bank of dou-
ble-buffered parallel/serial shift registers (i.e., a 2 x 8 bit
FIFO), or Shifter/Buffers. The double buffering improves
efficiency by allowing parallel writes or reads to/from one of
the two 8-bit FIFOs within the shifter/buffer while the other
FIFO is shifting data to/from the scan chain. Three Shifter/
Buffers are provided for outgoing serial data and one for
incoming serial data. Test Data Out (TDO) is for scanning
out test data while the two Test Mode Select signals
(TMS0/1) are used to provide user specific control data.
Test Data In (TDI) receives serial data from the scan chain.
A local control block is associated with each Shifter/Buffer
to provide shift and load control as well as providing full or
empty status. The SSI also provides Test Clock (TCK) Con-
trol. TCK is stopped and started depending on the status of
the Shifter/Buffers or the 32-bit Counter. By stopping and
starting TCK, scan operations will proceed only when the
enabled Shifter/Buffers are ready to send and/or receive
serial data.
The 32-bit Counter (CNT32) is a count-down binary
counter included to assist in controlling the SSI. The initial
state of CNT32 is loaded from the parallel port with four
consecutive writes to its address. When enabled, CNT32 is
used to program the number of TCKs applied by the SSI to
the boundary scan chain(s). The value of CNT32 can also
be used to generate interrupts (i.e., when CNT32 reaches
terminal count) and to trigger SCANPSC100 features, such
as, Auto TMS High (discussed later within this datasheet).
The Mode and Status Registers are used to control and
observe the operation of the SSI and CNT32. Each of the
Shifter/Buffers and CNT32 have an associated mode bit
which enables it for participation in on-going operations.
Status bits can be used for polling operations.
FIGURE 1. SCANPSC100 Block Diagram
www.fairchildsemi.com
4
SCAN
PSC100
F
Mode and Status Registers
MODE REGISTER 0 (MODE0)
This register is purely a mode register. All bits are writable
and readable. The value 00100000 is placed in this register
upon RST low or a synchronous reset operation.
Bit 7:
This bit enables the TDO shifter/buffer for shift
operations. If this bit is set, the TDO shifter/
buffer will cause TCK to stop if it is empty.
Bit 6:
This bit enables the TDI shifter/buffer for shift
operations. If this bit is set, the TDI shifter/
buffer will cause TCK to stop if it is full.
Bit 5:
This bit enables the 32-bit counter. If this bit is
set, the counter will cause TCK to stop if has
not been loaded or if it has reached terminal
count.
Bit 4:
This bit enables the TMS0 shifter/buffer for
shift operations. If this bit is set, the TMS0
shifter/buffer will cause TCK to stop if it is
empty.
Bit 3:
This bit enables the TMS1 shifter/buffer for
shift operations. If this bit is set, the TMS1
shifter/buffer will cause TCK to stop if it is
empty.
Bit 2:
This bit is reserved and should remain as a
logic 0 during all 'PSC100 operations.
Bit 1:
If this bit is set, TMS will be forced high when
the 32-bit counter is at state (00000001)h.
Bit 0:
This bit causes TDI to be connected directly
back through TDO for Loop-Around opera-
tions.
MODE REGISTER 1 (MODE1)
This register is purely a mode register. All bits are writable
and readable. The value 00000000 is placed in this register
upon RST low or a synchronous reset operation.
Bit 7:
If this bit is set and the TDO shifter/buffer is
not full (i.e., one or both 8-bit TDO FIFOs are
empty), the INT pin will go HIGH.
Bit 6:
If this bit is set and the TDI shifter/buffer is not
empty (i.e., one or both 8-bit TDI FIFOs are
full), the INT pin will go HIGH.
Bit 5:
If this bit is set, and the 32-bit counter is not
loaded or has reached terminal count, the INT
pin will go HIGH.
Bit 4:
This bit signifies that the TD0 shifter/buffer is
reconfigured as a 32-Bit Pseudo Random Pat-
tern Generator. If set, and MODE0 Bit 7 is set,
the TDO shifter/buffer will stop TCK until a
seed value has been written to all four of the
8-bit LFSR segments.
Bit 3:
This bit signifies that the TD1 shifter/buffer is
reconfigured as a 16-Bit Serial Signature
Compactor. If set, and MODE0 Bit 6 is set, the
TDI shifter/buffer will cause TCK to stop until
a seed value has been written to the two TDI
registers.
Bit 2:
If this bit is set, a high value on FRZ will force
TCK high (see TCK Control Section).
Bits 1 and 0: These bits are used to control Test Loop-
Back operations according to the following
table.
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TDO
TDI
CNT32
TMS0
TMS1
Auto TMS High
Loop-Around
Enable
Enable
Enable
Enable
Enable
Reserved
Enable
Enable
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TDO
TDI
CNT32
PRPG
SSC
Freeze
Test
Test
Interrupt
Interrupt
Interrupt
Enable
Enable
Pin
Loop-
Loop-
Enable
Enable
Enable
Enable
Back
Back
MODE1
MODE1
Function
Bit 1
Bit 0
0
0
Normal Operation
0
1
Loop-Back TDO to TDI
1
0
Loop-Back TMS0 to TDI
1
1
Loop Back TMS1 to TDI
5
www.fairchildsemi.com
SCANPSC100F
Mode and Status Registers
(Continued)
MODE REGISTER 2 (MODE2)
Write:
Read:
This register contains both mode and status bits. Bits 47
are status bits only. Bit 3 is a status bit during read opera-
tions and a mode bit during write operations. Bits 02 are
mode bits only. Upon RST low, or a synchronous reset, the
value placed in MODE2 is 10111000 (Read mode). Latches
used to update status bits 37 retain their last state upon
RST and are in an "unknown" state after power-up. To ini-
tialize the latches to a known state, they need to be
updated using the Update Status bit (bit 2) or continuous
update bit (bit 3).
Bit 7:
Set high if the TDO shifter/buffer is not full,
i.e., one or both 8-bit TDO FIFOs are ready to
be written to.
Bit 6:
Set high if the TDI shifter/buffer is not empty,
i.e., one or both 8-bit TDI FIFOs are ready to
be read from.
Bit 5:
Set high if the 32-bit counter has not been
loaded, or has reached terminal count.
Bit 4:
Set high if the TMS0 shifter/buffer is not full,
i.e., one or both 8-bit TMS0 FIFOs are ready
to be written to.
Bit 3
(Read Cycle):
Set high if the TMS1 shifter/buffer is not full,
i.e., one or both 8-bit TMS1 FIFOs are ready
to be written to.
Bit 3
(Write Cycle):
If set, will cause all status bits to be continu-
ously updated.
Bit 2
(Read Cycle):
Shows the state of the Continuous Update bit
during read operations (Bit 3 during writes).
Bit 2
(Write Cycle):
If set, will cause a pulse to be issued internally
that will update all status bits. This bit will be
reset upon completion of the pulse. The state
of this bit is not readable. It is reset upon RST
low.
Bit 1:
If set, will cause a synchronous reset of all
functions except the parallel interface. The
value of this bit will return to zero when the
reset operation is complete.
Bit 0:
If set, will cause the 32-bit counter to count for
one SCK cycle (no TCK cycle will be gener-
ated). The value of this bit will return to zero
when the single step operation is complete.
PROGRAMMING RESTRICTIONS
Because certain mode bits enable shift operations for cer-
tain functions, these mode bits should not be changed
when shift operations are in progress. The alignment of all
registers during shift operations is controlled by a 3-bit
counter in the TCK control block. Enabling or disabling a
function in the middle of a shift operation may disrupt the
logic necessary to keep all shifter/buffers byte-aligned.
For example, if the TDO shifter/buffer (already loaded) is
enabled while the 3-bit counter value is 3, the shifter/buffer
will only shift out only five bits of the first byte loaded.
The following bits should not be changed when shift opera-
tions are in progress, i.e., when TCK is enabled (see sec-
tion on TCK Control).
MODE0(7:3)
MODE1(4:3)
MODE2(0)
Parallel Processor Interface (PPI)
ADDRESS ASSIGNMENT
The following table defines which register is selected for
access with the address lines, A(2:0).
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
Not
Not
Not
Not
Continuous
Update
Single
Used
Used
Used
Used
Update
Status
Reset
Step
CNT32
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
TDO
TDI
CNT32
TMS0
TMS1
Continuous
Single
Status
Status
Status
Status
Status
Update
Reset
Step
CNT32
A2
A1
A0
R/W
Function
0
0
0
0
TDO Shifter/Buffer
0
0
0
1
Counter Register 1
0
0
1
0
TDI Shifter/Buffer
0
0
1
1
TDI Shifter/Buffer
0
1
0
0
TMS0 Shifter/Buffer
0
1
0
1
Counter Register 2
0
1
1
0
TMS1 Shifter/Buffer
0
1
1
1
Counter Register 3
1
0
0
0
32-Bit Counter
1
0
0
1
Counter Register 0
1
0
1
0
MODE0
1
0
1
1
MODE0
1
1
0
0
MODE1
1
1
0
1
MODE1
1
1
1
0
MODE2
1
1
1
1
MODE2