The ADSP-21161 (SHARC) processors contain 225 pins offered in either a 17 mm x 17 mm PBGA or
MBGA package. Many of these pins are only necessary for specific functions, such as the serial ports,
link ports or SPI signals. If your application does not make use of a peripheral feature, the associated
signals (pins) may still require a connection rather than be left floating (unconnected). This EE-Note
suggests recommended methods of handling the pins associated with unused functions. Compared to
previous SHARC DSPs, the ADSP-21161 has some modifications in the internal I/O drivers that the
DSP hardware designer should be aware of, especially if migrating from a previous SHARC-based
design. This information can aid in determining if series terminating, pull-up, or pull-down resisters
would be required when a system is designed.
The EE-Note is broken as follows: A table listing the I/O pins on the ADSP-21161, with a description
of which pins contain internal keeper latches and pull-up/pull-down resisters. This is followed by a
description of the internal keeper latch circuitry and the combined series resistance (internal & added
resistance) of all I/O pins are discussed. Finally, we will examine each peripheral grouping on the
ADSP-21161 and provide general recommendations for handling an unused pin in your system.
Copyright 2001, Analog Devices, Inc. All rights reserved. Analog Devices assumes no responsibility for customer product design or the use or application of customers’ prod ucts or
for any infringements of patents or rights of others which may result from Analog Devices assistance. All trademarks and logos are property of their respective holders. Information
furnished by Analog Devices Applications and Development Tools Engineers is believed to be accurate and reliable, however no responsibility is as sumed by Analog Devices
regarding the technical accuracy of the content provided in all Analog Devices’ Engineer-to-Engineer Notes.
1) When configured as DATA15-0, LKDATxy are I/O/T just like DATA47-16
2) ID=00X indicates the pull-ups and keeper latches are activated for processors hardwired as ID=0 in a single processor system or
ID=1 in a multiprocessor system
O
I/A
I/O
I/A
O(o/d)
I/A
O/T
I/O/S
O
I
I/S
I/O/T
I/O
I/O
I/O
I/O
I
I/O
I/O
I/O
I/O
I/O
I
I
I/O/T
I
O
I
I
O/T
I/A
I
I/S
I/S
O
I/A
O(o/d)
(1)
20K Pull-Up (Only for ID= 00X)
20K Pull-Up (Only for ID = 00X)
20K Pull-Up (Only for ID = 00X)
50K Pull-Up
50K Pull-Up
ADSP-21161 I/O Pins Include 50 Ohm Internal Resistance
The ADSP-21161 DSP has very fast drivers on all output pins, therefore the edge rates are steep, even at
low-speed clock rates (i.e., slow SCLK or SPICLK rates). To compensate for these faster edge rates
with smaller 0.18 micron CMOS geometries, the ADSP-21161 I/O drivers have been modified to reduce
undesirable transmission line effects when connecting to other devices. Unlike all previous SHARC
processors, the ADSP-21161 contains a total internal series resistance equivalent to 50 ohms on all
I/O drivers (EXCEPT for the CLKIN and XTAL pins). As shown in figure 1, the internal resistance
in the driver is 10 Ohms, therefore the inclusion of an additional 40 ohm series resister results in a total
resistance of 50 Ohms. This 50-Ohm resistance perfectly matches the characteristic impedance of a
transmission line. Notice that the ESD protection feedback path is only found in pins which are bidirectional. Pins listed as "O" (output) only, do not include this signal feedback (ESD protection) path.
EE-138 Page 2
Technical Notes on using Analog Devices’ DSP components and development tools
Figure 1: 50 Ohm Series Resistance in ADSP-21161 I/O Pins
The DSP hardware designer needs to be aware of the total 50 Ohm internal combined resistance of the
DSP I/O pins, which then can remove the need for the designer to add external series terminating
resisters in point-to-point DSP interconnections, such as the for link port signals between multiple
SHARC DSPs. Therefore, for traces longer than 6 inches, external series resisters on control, data,
clocks or frame sync pins are no longer required for point-to-point connections between SHARCs in
order to dampen reflections which result from transmission-line effects. If the connection is to another
device other than the ADSP-21161, then source termination is not required on the DSP pin, but a series
resister may still be required for the other device's pin, depending on it's internal driver resistance. Note
that for more complex trace interconnections (such as star configurations), termination techniques will
still need to be employed in order to reduce ringing and reflections.
ADSP-21161 I/O Pins With Keeper Latches
As indicated in Table, 1, keeper latches are used on some ADSP-21161 pins when their corresponding
ID2-0 pins are hardwired to either a 0 or a 1. A Keeper latch is a logic level hold circuit, and basically
consists of a two weak inverter connected back to back. The Figure 2 below shows the basic concept of
a keeper latch:
EE-138 Page 3
Technical Notes on using Analog Devices’ DSP components and development tools
The three-state buffer is much stronger driver than the weak inverters used in the keeper so that it always
drives the bus with the value that it intends to. But when the buffer is not driving, the weak inverter (A)
keeps the bus at the same logic level that the buffer drove it to. Thus, keeper latches are used in the
ADSP-21161 to ensure that the inputs of the TTL buffers do not float by simply keeping them to the last
state in which the pin was driven, either high or low.
The following section contains recommendations for handling unused input pins, and is broken down
into sections based on the ADSP-21161 SHARC DSP's peripheral functions. Within each catagory will
be a list of each pin associated with the particular section, and the general recommendation for handling
the pin if it will not be used in your system.
Link Ports
LxDAT
, LxCLK, LxACK: The link port data, clock and acknowledge lines all contain internal pull-
7-0
down resistors, therefore they can be left floating if unused.
Serial Ports
DxA, DxB, SCLKx: The serial port data and clock lines all contain 50 k-ohm internal pull-up resistors,
therefore they can be left floating if unused.
FSx: The frame sync lines should be pulled or tied high if unused. Pulling or tying frame sync signals
high will prevent unwanted power consumption if the serial ports are inadvertently enabled.
EE-138 Page 4
Technical Notes on using Analog Devices’ DSP components and development tools
SPICLK, MOSI, MISO, SPIDS~,: The serial peripheral interface clock (SPICLK), and data lines
(MISO, MOSI) all contain 50 k-ohm internal pull-up resistors, therefore they can be left floating if
unused.
SDRAM Interface
SDCLKx, SDCKE, SDWE~, CAS~, RAS~, DQM, SDA10: The SDRAM signals can be left floating
if unused.
External Port Interface
ADDR
, DATA
23-0
: The address, data and select lines can be left floating if unused.
47-16
REDY: The REDY line can be left floating because it is an output signal.
MS
~: The memory select lines in a single processor system can be left floating as they are always
3-0
outputs. In a multi-SHARC systems, the bus master drives the memory select lines, which are tracked
by the slave SHARCs, so all memory select lines should be connected together.
RD~, WR~ : In the unusual case no host is driving read or write and the SHARC is not bus master the
read and write lines should be pulled high. If the SHARC is the bus master the read and write lines can
be left floating. (The master drives the read and write lines.).
ACK: In multiprocessor systems, the ACK signal is an input to the DSP bus master and does not float
when it is not being driven. If the acknowledge signal will not be used, leave ACK floating. It is not
necessary to use an external pullup resister on the ACK line during booting or at any other time. The
ACK pin is pulled high internally with a 20 kOhm equivalent resister and is activated under the
following conditions:
- when the DSP is in reset (regardless of hardwired ID pin configuration)
- After reset, in a single processor system (ID2-0=000)
- After reset, in a multiprocessing system, the processor with it's ID2-0 pins = 001
BRST: If the sequential burst access signal will not be used, leave BRST floating.
HBR~, CS~: If there is no host processor, host bus request and chip select should be pulled or tied
high.
HBG~: In the unusual case the SHARC has an id greater than 1 and there is no bus master, the host bus
grant line should be pulled high. If id is 1 or less and there will be no arbitration for the bus, host bus
grant can be left floating.
EE-138 Page 5
Technical Notes on using Analog Devices’ DSP components and development tools
PA~: The core priority access pin can be left floating if unused. The PA is pulled high with an internal
pull-up resistor.
BMS~: If the EPROM boot select pin (EBOOT) is tied to ground making BMS~ an input pin, i.e.
EPROM boot is not selected, then the boot memory select pin must be tied low of high. If EBOOT is
tied high, then BMS~ is an output.
XTAL: The Crystal Oscillator Terminal 2 pin (used in conjunction with CLKIN when using external
crystals) must be left unconnected whenever an external clock oscillator is used (only CLKIN used). Do
not pull or tie this pin high or low if it is not connected to an external crystal.
CLKOUT: The Local Clock Out should always be left unconnected when not used. Bit #22 (COD,
CLKOUT disable) in the SYSCON register allows the user to three-state the CLKOUT pin.
NC: These pins are reserved and should always be left unconnected.
The remaining pins, which will be listed for completeness, are associated with functionality that must be
used. The pins either configure a booting mode, supply internal and external supply voltages, signal
grounds, input clock or reset. Please refer to the ADSP-21161 SHARC DSP Hardware ReferenceManual or the ADSP-21161 DSP Microcomputer Data Sheet for the proper connection of the following
pins: ID
, RPBA, EBOOT, LBOOT, CLK_CFG
2-0
, CLKDBL~, CLKIN, RESET~, VDDINT,
1-0
VDDEXT, AVDD, AGND and GND.
EE-138 Page 7
Technical Notes on using Analog Devices’ DSP components and development tools