Professional Documents
Culture Documents
ADSP-2185 DSP Microcomputer: ICE-Port Is A Trademark of Analog Devices, Inc
ADSP-2185 DSP Microcomputer: ICE-Port Is A Trademark of Analog Devices, Inc
ADSP-2185
FEATURES FUNCTIONAL BLOCK DIAGRAM
PERFORMANCE
POWER-DOWN
30 ns Instruction Cycle Time 33 MIPS Sustained CONTROL FULL MEMORY
MODE
Performance DATA ADDRESS
MEMORY PROGRAMMABLE
16k 3 24 16k 3 16 I/O EXTERNAL
Single-Cycle Instruction Execution GENERATORS PROGRAM
SEQUENCER PROGRAM DATA AND ADDRESS
DAG 1 DAG 2 MEMORY MEMORY FLAGS BUS
Single-Cycle Context Switch
EXTERNAL
3-Bus Architecture Allows Dual Operand Fetches in PROGRAM MEMORY ADDRESS
DATA
BUS
Every Instruction Cycle DATA MEMORY ADDRESS
BYTE DMA
Multifunction Instructions CONTROLLER
PROGRAM MEMORY DATA
Power-Down Mode Featuring Low CMOS Standby OR
DATA MEMORY DATA
Power Dissipation with 100 Cycle Recovery from EXTERNAL
DATA
Power-Down Condition BUS
ARITHMETIC UNITS SERIAL PORTS
Low Power Dissipation in Idle Mode TIMER
INTERNAL
ALU MAC SHIFTER SPORT 0 SPORT 1 DMA
PORT
INTEGRATION ADSP-2100 BASE HOST MODE
ADSP-2100 Family Code Compatible, with Instruction ARCHITECTURE
Set Extensions
80K Bytes of On-Chip RAM, Configured as
16K Words On-Chip Program Memory RAM and Six External Interrupts
16K Words On-Chip Data Memory RAM 13 Programmable Flag Pins Provide Flexible System
Dual Purpose Program Memory for Both Instruction Signaling
and Data Storage UART Emulation through Software SPORT Reconfiguration
Independent ALU, Multiplier/Accumulator and Barrel ICE-Port™* Emulator Interface Supports Debugging
Shifter Computational Units in Final Systems
Two Independent Data Address Generators
Powerful Program Sequencer Provides GENERAL NOTE
Zero Overhead Looping Conditional Instruction This data sheet represents production grade specifications for
Execution the ADSP-2185 (5 V).
Programmable 16-Bit Interval Timer with Prescaler
100-Lead TQFP GENERAL DESCRIPTION
The ADSP-2185 is a single-chip microcomputer optimized for
SYSTEM INTERFACE
digital signal processing (DSP) and other high speed numeric
16-Bit Internal DMA Port for High Speed Access to
processing applications.
On-Chip Memory (Mode Selectable)
4 MByte Byte Memory Interface for Storage of Data The ADSP-2185 combines the ADSP-2100 family base archi-
Tables & Program Overlays tecture (three computational units, data address generators and
8-Bit DMA to Byte Memory for Transparent Program a program sequencer) with two serial ports, a 16-bit internal
and Data Memory Transfers (Mode Selectable) DMA port, a byte DMA port, a programmable timer, Flag I/O,
I/O Memory Interface with 2048 Locations Supports extensive interrupt capabilities and on-chip program and data
Parallel Peripherals (Mode Selectable) memory.
Programmable Memory Strobe & Separate I/O Memory The ADSP-2185 integrates 80K bytes of on-chip memory con-
Space Permits “Glueless” System Design figured as 16K words (24-bit) of program RAM and 16K words
(Mode Selectable) (16-bit) of data RAM. Power-down circuitry is also provided to
Programmable Wait State Generation meet the low power needs of battery operated portable equip-
Two Double-Buffered Serial Ports with Companding ment. The ADSP-2185 is available in 100-pin TQFP package.
Hardware and Automatic Data Buffering
In addition, the ADSP-2185 supports new instructions, which
Automatic Booting of On-Chip Program Memory from
include bit manipulations—bit set, bit clear, bit toggle, bit test—
Byte-Wide External Memory, e.g., EPROM, or
new ALU constants, new multiplication instruction (x squared),
Through Internal DMA Port
biased rounding, result free ALU operations, I/O memory trans-
fers and global interrupt masking, for increased flexibility.
*ICE-Port is a trademark of Analog Devices, Inc.
REV. 0
Information furnished by Analog Devices is believed to be accurate and
reliable. However, no responsibility is assumed by Analog Devices for its
use, nor for any infringements of patents or other rights of third parties One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A.
which may result from its use. No license is granted by implication or Tel: 617/329-4700 World Wide Web Site: http://www.analog.com
otherwise under any patent or patent rights of Analog Devices. Fax: 617/326-8703 © Analog Devices, Inc., 1997
ADSP-2185
Fabricated in a high speed, double metal, low power, 0.5 µm The EZ-ICE®* performs a full range of functions, including:
CMOS process, the ADSP-2185 operates with a 30 ns instruc- • In-target operation
tion cycle time. Every instruction can execute in a single proces- • Up to 20 breakpoints
sor cycle. • Single-step or full-speed operation
The ADSP-2185’s flexible architecture and comprehensive • Registers and memory values can be examined and altered
instruction set allow the processor to perform multiple opera- • PC upload and download functions
tions in parallel. In one processor cycle the ADSP-2185 can: • Instruction-level emulation of program booting and execution
• Complete assembly and disassembly of instructions
• generate the next program address
• C source-level debugging
• fetch the next instruction
• perform one or two data moves See Designing An EZ-ICE®*-Compatible Target System in the
• update one or two data address pointers ADSP-2100 Family EZ-Tools Manual (ADSP-2181 sections) as
• perform a computational operation well as the Target Board Connector for EZ-ICE®* Probe sec-
tion of this data sheet for the exact specifications of the EZ-ICE®*
This takes place while the processor continues to:
target board connector.
• receive and transmit data through the two serial ports
• receive and/or transmit data through the internal DMA port Additional Information
• receive and/or transmit data through the byte DMA port This data sheet provides a general overview of ADSP-2185
• decrement timer functionality. For additional information on the architecture and
instruction set of the processor, refer to the ADSP-2100 Family
Development System
User’s Manual. For more information about the development
The ADSP-2100 Family Development Software, a complete set
tools, refer to the ADSP-2100 Family Development Tools Data
of tools for software and hardware system development, sup-
Sheet.
ports the ADSP-2185. The System Builder provides a high level
method for defining the architecture of systems under develop-
ARCHITECTURE OVERVIEW
ment. The Assembler has an algebraic syntax that is easy to
The ADSP-2185 instruction set provides flexible data moves
program and debug. The Linker combines object files into an
and multifunction (one or two data moves with a computation)
executable file. The Simulator provides an interactive instruction-
instructions. Every instruction can be executed in a single pro-
level simulation with a reconfigurable user interface to display
cessor cycle. The ADSP-2185 assembly language uses an alge-
different portions of the hardware environment. A PROM
braic syntax for ease of coding and readability. A comprehensive
Splitter generates PROM programmer compatible files. The
set of development tools supports program development.
C Compiler, based on the Free Software Foundation’s GNU
C Compiler, generates ADSP-2185 assembly source code. The
POWER-DOWN
source code debugger allows programs to be corrected in the CONTROL FULL MEMORY
MODE
C environment. The Runtime Library includes over 100 ANSI- DATA ADDRESS
MEMORY PROGRAMMABLE
16k 3 24 16k 3 16 I/O EXTERNAL
standard mathematical and DSP-specific functions. GENERATORS PROGRAM
SEQUENCER PROGRAM DATA AND ADDRESS
DAG 1 DAG 2 MEMORY MEMORY FLAGS BUS
The EZ-KIT Lite is a hardware/software kit offering a complete EXTERNAL
development environment for the entire ADSP-21xx family: an PROGRAM MEMORY ADDRESS
DATA
BUS
ADSP-218x based evaluation board with PC monitor software DATA MEMORY ADDRESS
BYTE DMA
plus Assembler, Linker, Simulator and PROM Splitter software. PROGRAM MEMORY DATA
CONTROLLER
The ADSP-21xx EZ-KIT Lite is a low cost, easy to use hard- DATA MEMORY DATA
OR
ware platform on which you can quickly get started with your EXTERNAL
DATA
DSP software design. The EZ-KIT Lite includes the following ARITHMETIC UNITS SERIAL PORTS TIMER
BUS
–2– REV. 0
ADSP-2185
The internal result (R) bus connects the computational units so wide variety of framed or frameless data transmit and receive
the output of any unit may be the input of any unit on the next modes of operation.
cycle. Each port can generate an internal programmable serial clock or
A powerful program sequencer and two dedicated data address accept an external serial clock.
generators ensure efficient delivery of operands to these compu- The ADSP-2185 provides up to 13 general-purpose flag pins.
tational units. The sequencer supports conditional jumps, sub- The data input and output pins on SPORT1 can be alternatively
routine calls and returns in a single cycle. With internal loop configured as an input flag and an output flag. In addition,
counters and loop stacks, the ADSP-2185 executes looped code eight flags are programmable as inputs or outputs, and three
with zero overhead; no explicit jump instructions are required to flags are always outputs.
maintain loops.
A programmable interval timer generates periodic interrupts. A
Two data address generators (DAGs) provide addresses for 16-bit count register (TCOUNT) decrements every n processor
simultaneous dual operand fetches from data memory and pro- cycle, where n is a scaling value stored in an 8-bit register
gram memory. Each DAG maintains and updates four address (TSCALE). When the value of the count register reaches zero,
pointers. Whenever the pointer is used to access data (indirect an interrupt is generated and the count register is reloaded from
addressing), it is post-modified by the value of one of four pos- a 16-bit period register (TPERIOD).
sible modify registers. A length value may be associated with
Serial Ports
each pointer to implement automatic modulo addressing for
The ADSP-2185 incorporates two complete synchronous serial
circular buffers.
ports (SPORT0 and SPORT1) for serial communications and
Efficient data transfer is achieved with the use of five internal multiprocessor communication.
buses:
Here is a brief list of the capabilities of the ADSP-2185 SPORTs.
• Program Memory Address (PMA) Bus For additional information on Serial Ports, refer to the ADSP-
• Program Memory Data (PMD) Bus 2100 Family User’s Manual.
• Data Memory Address (DMA) Bus
• Data Memory Data (DMD) Bus • SPORTs are bidirectional and have a separate, double-buff-
• Result (R) Bus ered transmit and receive section.
The two address buses (PMA and DMA) share a single external • SPORTs can use an external serial clock or generate their own
address bus, allowing memory to be expanded off-chip, and the serial clock internally.
two data buses (PMD and DMD) share a single external data • SPORTs have independent framing for the receive and trans-
bus. Byte memory space and I/O memory space also share the mit sections. Sections run in a frameless mode or with frame
external buses. synchronization signals internally or externally generated.
Program memory can store both instructions and data, permit- Frame sync signals are active high or inverted, with either of
ting the ADSP-2185 to fetch two operands in a single cycle, one two pulse widths and timings.
from program memory and one from data memory. The ADSP- • SPORTs support serial data word lengths from 3 to 16 bits
2185 can fetch an operand from program memory and the next and provide optional A-law and µ-law companding according
instruction in the same cycle. to CCITT recommendation G.711.
When configured in host mode, the ADSP-2185 has a 16-bit • SPORT receive and transmit sections can generate unique
Internal DMA port (IDMA port) for connection to external interrupts on completing a data word transfer.
systems. The IDMA port is made up of 16 data/address pins
• SPORTs can receive and transmit an entire circular buffer of
and five control pins. The IDMA port provides transparent,
data with only one overhead cycle per data word. An interrupt
direct access to the DSPs on-chip program and data RAM.
is generated after a data buffer transfer.
An interface to low cost byte-wide memory is provided by the
• SPORT0 has a multichannel interface to selectively receive
Byte DMA port (BDMA port). The BDMA port is bidirectional
and transmit a 24 or 32 word, time-division multiplexed,
and can directly address up to four megabytes of external RAM
serial bitstream.
or ROM for off-chip storage of program overlays or data tables.
• SPORT1 can be configured to have two external interrupts
The byte memory and I/O memory space interface supports
(IRQ0 and IRQ1) and the Flag In and Flag Out signals. The
slow memories and I/O memory-mapped peripherals with
internally generated serial clock may still be used in this con-
programmable wait state generation. External devices can
figuration.
gain control of external buses with bus request/grant signals
(BR, BGH and BG). One execution mode (Go Mode) allows PIN DESCRIPTIONS
the ADSP-2185 to continue running from on-chip memory. The ADSP-2185 will be available in a 100-lead TQFP package.
Normal execution mode requires the processor to halt while In order to maintain maximum functionality and reduce pack-
buses are granted. age size and pin count, some serial port, programmable flag,
The ADSP-2185 can respond to eleven interrupts. There can be interrupt and external bus pins have dual, multiplexed function-
up to six external interrupts (one edge-sensitive, two level-sensitive ality. The external bus pins are configured during RESET only,
and three configurable) and seven internal interrupts generated while serial port pins are software configurable during program
by the timer, the serial ports (SPORTs), the Byte DMA port execution. Flag and interrupt functionality is retained concur-
and the power-down circuitry. There is also a master RESET rently on multiplexed pins. In cases where pin functionality is
signal. The two serial ports provide a complete synchronous reconfigurable, the default state is shown in plain text; alternate
serial interface with optional companding in hardware and a functionality is shown in italics.
REV. 0 –3–
ADSP-2185
Common-Mode Pins Memory Interface Pins
# Input/ The ADSP-2185 processor can be used in one of two modes,
Pin of Out- Full Memory Mode, which allows BDMA operation with full
Name(s) Pins put Function external overlay memory and I/O capability, or Host Mode,
which allows IDMA operation with limited external addressing
RESET 1 I Processor Reset Input capabilities. The operating mode is determined by the state of
BR 1 I Bus Request Input the Mode C pin during RESET and cannot be changed while
BG 1 O Bus Grant Output the processor is running.
BGH 1 O Bus Grant Hung Output Full Memory Mode Pins (Mode C = 0)
DMS 1 O Data Memory Select Output #
PMS 1 O Program Memory Select Output of Input/
IOMS 1 O Memory Select Output Pin Name Pins Output Function
BMS 1 O Byte Memory Select Output A13:0 14 O Address Output Pins for Pro-
CMS 1 O Combined Memory Select Output gram, Data, Byte and I/O
RD 1 O Memory Read Enable Output Spaces
WR 1 O Memory Write Enable Output D23:0 24 I/O Data I/O Pins for Program,
Data, Byte and I/O Spaces
IRQ2/ 1 I Edge- or Level-Sensitive
(8 MSBs Are Also Used as
Interrupt Request1
Byte Memory Addresses)
PF7 I/O Programmable I/O Pin
IRQL0/ 1 I Level-Sensitive Interrupt Requests1 Host Mode Pins (Mode C = 1)
PF5 I/O Programmable I/O Pin
#
IRQL1/ 1 I Level-Sensitive Interrupt Requests1
of Input/
PF6 I/O Programmable I/O Pin
Pin Name Pins Output Function
IRQE/ 1 I Edge-Sensitive Interrupt Requests1
PF4 I/O Programmable I/O Pin IAD15:0 16 I/O IDMA Port Address/Data Bus
PF3 1 I/O Programmable I/O Pin A0 1 O Address Pin for External I/O,
Mode C/ 1 I Mode Select Input—Checked Program, Data, or Byte Access
only During RESET D23:8 16 I/O Data I/O Pins for Program,
PF2 I/O Programmable I/O Pin During Data Byte and I/O Spaces
Normal Operation IWR 1 I IDMA Write Enable
Mode B/ 1 I Mode Select Input—Checked IRD 1 I IDMA Read Enable
only During RESET IAL 1 I IDMA Address Latch Pin
PF1 I/O Programmable I/O Pin During
IS 1 I IDMA Select
Normal Operation
IACK 1 O IDMA Port Acknowledge
Mode A/ 1 I Mode Select Input—Checked
only During RESET In Host Mode, external peripheral addresses can be decoded using the A0,
PF0 I/O Programmable I/O Pin During CMS, PMS, DMS, and IOMS signals
Normal Operation Setting Memory Mode
CLKIN, XTAL 2 I Clock or Quartz Crystal Input Memory Mode selection for the ADSP-2185 is made during
CLKOUT 1 O Processor Clock Output chip reset through the use of the Mode C pin. This pin is multi-
SPORT0 5 I/O Serial Port I/O Pins plexed with the DSP’s PF2 pin, so care must be taken in how
the mode selection is made. The two methods for selecting the
SPORT1/ 5 I/O Serial Port I/O Pins
value of Mode C are active and passive.
IRQ1:0 Edge- or Level-Sensitive Interrupts,
FI, FO Flag In, Flag Out2 Passive configuration involves the use a pull-up or pull-down
PWD 1 I Power-Down Control Input resistor connected to the Mode C pin. To minimize power
consumption, or if the PF2 pin is to be used as an output in the
PWDACK 1 O Power-Down Control Output
DSP application, a weak pull-up or pull-down, on the order of
FL0, FL1, FL2 3 O Output Flags 100 kΩ, can be used. This value should be sufficient to pull the
VDD and GND 16 I Power and Ground pin to the desired level and still allow the pin to operate as a
EZ-Port 9 I/O For Emulation Use programmable flag output without undue strain on the processor’s
output driver. For minimum power consumption during
NOTES
1 power-down, reconfigure PF2 to be an input as the pull-up or
Interrupt/Flag pins retain both functions concurrently. If IMASK is set to
enable the corresponding interrupts, the DSP will vector to the appropriate pull-down will hold the pin in a known state and will not switch.
interrupt vector address when the pin is asserted, either by external devices or Active configuration involves the use of a three-stateable exter-
set as a programmable flag.
2
SPORT configuration determined by the DSP System Control Register. Soft- nal driver connected to the Mode C pin. A driver’s output en-
ware configurable. able should be connected to the DSP’s RESET signal such that
it only drives the PF2 pin when RESET is active (low). After
–4– REV. 0
ADSP-2185
RESET is deasserted, the driver should three-state, thus allow- The IFC register is a write-only register used to force and clear
ing full use of the PF2 pin as either an input or output. interrupts.
To minimize power consumption during power-down, configure On-chip stacks preserve the processor status and are automati-
the programmable flag as an output when connected to a three- cally maintained during interrupt handling. The stacks are twelve
stated buffer. This ensures that the pin will be held at a constant levels deep to allow interrupt, loop and subroutine nesting.
level and not oscillate should the three-state driver’s level hover The following instructions allow global enable or disable servic-
around the logic switching point. ing of the interrupts (including power-down), regardless of the
Interrupts state of IMASK. Disabling the interrupts does not affect serial
The interrupt controller allows the processor to respond to the port autobuffering or DMA.
eleven possible interrupts and reset with minimum overhead. ENA INTS;
The ADSP-2185 provides four dedicated external interrupt
input pins, IRQ2, IRQL0, IRQL1 and IRQE (shared with the DIS INTS;
PF7:4 pins). In addition, SPORT1 may be reconfigured for When the processor is reset, interrupt servicing is enabled.
IRQ0, IRQ1, FLAG_IN and FLAG_OUT, for a total of six
external interrupts. The ADSP-2185 also supports internal LOW POWER OPERATION
interrupts from the timer, the byte DMA port, the two serial The ADSP-2185 has three low power modes that significantly
ports, software and the power-down control circuit. The inter- reduce the power dissipation when the device operates under
rupt levels are internally prioritized and individually maskable standby conditions. These modes are:
(except power-down and reset). The IRQ2, IRQ0 and IRQ1
• Power-Down
input pins can be programmed to be either level- or edge-sensitive.
IRQL0 and IRQL1 are level-sensitive and IRQE is edge-sensitive. • Idle
The priorities and vector addresses of all interrupts are shown in • Slow Idle
Table I.
The CLKOUT pin may also be disabled to reduce external
power dissipation.
Table I. Interrupt Priority & Interrupt Vector Addresses
Power-Down
Source Of Interrupt Interrupt Vector Address (Hex) The ADSP-2185 processor has a low power feature that lets the
processor enter a very low power dormant state through hard-
Reset (or Power-Up with
ware or software control. Here is a brief list of power-down
PUCR = 1) 0000 (Highest Priority)
features. Refer to the ADSP-2100 Family User’s Manual, “System
Power-down (Nonmaskable) 002C Interface” chapter, for detailed information about the power-
IRQ2 0004 down feature.
IRQL1 0008 • Quick recovery from power-down. The processor begins
IRQL0 000C executing instructions in as few as 100 CLKIN cycles.
SPORT0 Transmit 0010 • Support for an externally generated TTL or CMOS proces-
SPORT0 Receive 0014 sor clock. The external clock can continue running during
IRQE 0018 power-down without affecting the lowest power rating and
BDMA Interrupt 001C 100 CLKIN cycle recovery.
SPORT1 Transmit or IRQ1 0020 • Support for crystal operation includes disabling the oscillator
SPORT1 Receive or IRQ0 0024 to save power (the processor automatically waits approxi-
Timer 0028 (Lowest Priority) mately 4096 CLKIN cycles for the crystal oscillator to start
or stabilize), and letting the oscillator run to allow 100 CLKIN
Interrupt routines can either be nested, with higher priority cycle start-up.
interrupts taking precedence, or processed sequentially. Inter- • Power-down is initiated by either the power-down pin (PWD)
rupts can be masked or unmasked with the IMASK register. or the software power-down force bit.
Individual interrupt requests are logically ANDed with the bits • Interrupt support allows an unlimited number of instructions
in IMASK; the highest priority unmasked interrupt is then to be executed before optionally powering down. The power-
selected. The power-down interrupt is nonmaskable. down interrupt also can be used as a nonmaskable, edge-
The ADSP-2185 masks all interrupts for one instruction cycle sensitive interrupt.
following the execution of an instruction that modifies the • Context clear/save control allows the processor to continue
IMASK register. This does not affect serial port autobuffering where it left off or start with a clean context when leaving the
or DMA transfers. power-down state.
The interrupt control register, ICNTL, controls interrupt nest- • The RESET pin also can be used to terminate power-down.
ing and defines the IRQ0, IRQ1 and IRQ2 external interrupts to
be either edge- or level-sensitive. The IRQE pin is an external • Power-down acknowledge pin indicates when the processor
edge-sensitive interrupt and can be forced and cleared. The has entered power-down.
IRQL0 and IRQL1 pins are external level-sensitive interrupts.
REV. 0 –5–
ADSP-2185
Idle HOST MEMORY MODE
When the ADSP-2185 is in the Idle Mode, the processor waits ADSP-2185
indefinitely in a low power state until an interrupt occurs. When 1/2x CLOCK
OR
CLKIN
ADDR13-0
14 A13-0
an unmasked interrupt occurs, it is serviced; execution then CRYSTAL XTAL D23-16 A0-A21
IRQL1/PF6 A10-0
Slow Idle ADDR
MODE C/PF2 D23-8
The IDLE instruction is enhanced on the ADSP-2185 to let the MODE B/PF1 DATA
I/O SPACE
MODE A/PF0 (PERIPHERALS)
processor’s internal clock signal be slowed, further reducing IOMS CS 2048 LOCATIONS
power consumption. The reduced clock frequency, a program- A13-0
mable fraction of the normal clock rate, is specified by a select- SPORT1
SCLK1 D23-0
ADDR
OVERLAY
MEMORY
able divisor given in the IDLE instruction. The format of the SERIAL
DEVICE
RFS1 OR IRQ0
TFS1 OR IRQ1
DATA
TWO 8K
instruction is DT1 OR FO
DR1 OR FI
PMS
DMS
PM SEGMENTS
CMS TWO 8K
IDLE (n); SPORT0 DM SEGMENTS
SCLK0 BR
RFS0
where n = 16, 32, 64 or 128. This instruction keeps the proces- SERIAL
DEVICE TFS0
BG
BGH
DT0
sor fully functional, but operating at the slower clock rate. While DR0 PWD
PWDACK
it is in this state, the processor’s other internal clock signals,
such as SCLK, CLKOUT and timer clock, are reduced by the HOST MEMORY MODE
same ratio. The default form of the instruction, when no clock
ADSP-2185
divisor is given, is the standard IDLE instruction. 1/2x CLOCK CLKIN 1
OR A0
When the IDLE (n) instruction is used, it effectively slows down CRYSTAL XTAL
FL0-2
the processor’s internal clock and thus its response time to in- PF3 16
coming interrupts. The one-cycle response time of the standard IRQ2/PF7
DATA23-0
SPORT1 IOMS
When the IDLE (n) instruction is used in systems that have an SCLK1
RFS1 OR IRQ0
externally generated serial clock (SCLK), the serial clock rate SERIAL
DEVICE TFS1 OR IRQ1
DT1 OR FO
may be faster than the processor’s reduced internal clock rate. DR1 OR FI
–6– REV. 0
ADSP-2185
The ADSP-2185 uses an input clock with a frequency equal to MEMORY ARCHITECTURE
half the instruction rate; a 16.67 MHz input clock yields a 30 ns The ADSP-2185 provides a variety of memory and peripheral
processor cycle (which is equivalent to 33 MHz). Normally, interface options. The key functional groups are Program Memory,
instructions are executed in a single processor cycle. All device Data Memory, Byte Memory and I/O.
timing is relative to the internal instruction clock rate, which is Program Memory is a 24-bit-wide space for storing both
indicated by the CLKOUT signal when enabled. instruction opcodes and data. The ADSP-2185 has 16K words
Because the ADSP-2185 includes an on-chip oscillator circuit, of Program Memory RAM on chip, and the capability of access-
an external crystal may be used. The crystal should be con- ing up to two 8K external memory overlay spaces using the
nected across the CLKIN and XTAL pins, with two capacitors external data bus. Both an instruction opcode and a data value
connected as shown in Figure 3. Capacitor values are dependent can be read from on-chip program memory in a single cycle.
on crystal type and should be specified by the crystal manufac- Data Memory is a 16-bit-wide space used for the storage of
turer. A parallel-resonant, fundamental frequency, microproces- data variables and for memory-mapped control registers. The
sor-grade crystal should be used. ADSP-2185 has 16K words on Data Memory RAM on chip,
A clock output (CLKOUT) signal is generated by the proces- consisting of 16,352 user-accessible locations and 32 memory-
sor at the processor’s cycle rate. This can be enabled and mapped registers. Support also exists for up to two 8K external
disabled by the CLKODIS bit in the SPORT0 Autobuffer memory overlay spaces through the external data bus.
Control Register. Byte Memory (Full Memory Mode) provides access to an
8-bit wide memory space through the Byte DMA (BDMA) port.
The Byte Memory interface provides access to 4 MBytes of
memory by utilizing eight data lines as additional address lines.
CLKIN XTAL CLKOUT
This gives the BDMA Port an effective 22-bit address range. On
DSP power-up, the DSP can automatically load bootstrap code from
byte memory.
I/O Space (Full Memory Mode) allows access to 2048 loca-
tions of 16-bit-wide data. It is intended to be used to communi-
Figure 3. External Crystal Connections cate with parallel peripheral devices such as data converters and
Reset external registers or latches.
The RESET signal initiates a master reset of the ADSP-2185. Program Memory
The RESET signal must be asserted during the power-up The ADSP-2185 contains a 16K × 24 on-chip program RAM.
sequence to assure proper initialization. RESET during initial The on-chip program memory is designed to allow up to two
power-up must be held long enough to allow the internal clock accesses each cycle so that all operations can complete in a
to stabilize. If RESET is activated any time after power-up, the single cycle. In addition, the ADSP-2185 allows the use of 8K
clock continues to run and does not require stabilization time. external memory overlays.
The power-up sequence is defined as the total time required for The program memory space organization is controlled by the
the crystal oscillator circuit to stabilize after a valid VDD is Mode B pin and the PMOVLAY register. Normally, the ADSP-
applied to the processor, and for the internal phase-locked loop 2185 is configured with Mode B = 0 and program memory
(PLL) to lock onto the specific crystal frequency. A minimum of organized as shown in Figure 4.
2000 CLKIN cycles ensures that the PLL has locked, but does
not include the crystal oscillator start-up time. During this PROGRAM MEMORY ADDRESS
power-up sequence the RESET signal should be held low. On 0x3FFF
8K INTERNAL
any subsequent resets, the RESET signal must meet the mini- (PMOVLAY = 0,
mum pulse width specification, tRSP. MODE B = 0)
OR
EXTERNAL 8K
The RESET input contains some hysteresis; however, if you use (PMOVLAY = 1 or 2,
an RC circuit to generate your RESET signal, the use of an MODE B = 0)
0x2000
external Schmidt trigger is recommended. 0x1FFF
The master reset sets all internal stack pointers to the empty
8K INTERNAL
stack condition, masks all interrupts and clears the MSTAT
register. When RESET is released, if there is no pending bus 0x0000
request and the chip is configured for booting, the boot-loading
sequence is performed. The first instruction is fetched from
on-chip program memory location 0x0000 once boot loading Figure 4. Program Memory (Mode B = 0)
completes. There are 16K words of memory accessible internally when the
PMOVLAY register is set to 0. When PMOVLAY is set to some-
thing other than 0, external accesses occur at addresses 0x2000
through 0x3FFF. The external address is generated as shown in
Table II.
REV. 0 –7–
ADSP-2185
Table II. There are 16,352 words of memory accessible internally when
the DMOVLAY register is set to 0. When DMOVLAY is set to
PMOVLAY Memory A13 A12:0 something other than 0, external accesses occur at addresses
0 Internal Not Applicable Not Applicable 0x0000 through 0x1FFF. The external address is generated as
shown in Table III.
1 External 0 13 LSBs of Address
Overlay 1 Between 0x2000 Table III.
and 0x3FFF
2 External 1 13 LSBs of Address DMOVLAY Memory A13 A12:0
Overlay 2 Between 0x2000
and 0x3FFF 0 Internal Not Applicable Not Applicable
1 External 13 LSBs of Address
This organization provides for two external 8K overlay segments Overlay 1 0 Between 0x2000
using only the normal 14 address bits. This allows for simple and 0x3FFF
program overlays using one of the two external segments in 2 External 13 LSBs of Address
place of the on-chip memory. Care must be taken in using this Overlay 2 1 Between 0x2000
overlay space in that the processor core (i.e., the sequencer) and 0x3FFF
does not take into account the PMOVLAY register value. For
example, if a loop operation was occurring on one of the exter- This organization allows for two external 8K overlays using only
nal overlays and the program changes to another external over- the normal 14 address bits. All internal accesses complete in one
lay or internal memory, an incorrect loop operation could occur. cycle. Accesses to external memory are timed using the wait
In addition, care must be taken in interrupt service routines as states specified by the DWAIT register.
the overlay registers are not automatically saved and restored on I/O Space (Full Memory Mode)
the processor mode stack. The ADSP-2185 supports an additional external memory space
When Mode B = 1, booting is disabled and overlay memory is called I/O space. This space is designed to support simple con-
disabled (PMOVLAY must be 0). Figure 5 shows the memory nections to peripherals or to bus interface ASIC data registers.
map in this configuration. I/O space supports 2048 locations. The lower eleven bits of the
external address bus are used; the upper three bits are unde-
PROGRAM MEMORY ADDRESS fined. Two instructions were added to the core ADSP-2100
0x3FFF Family instruction set to read from and write to I/O memory
INTERNAL 8K space. The I/O space also has four dedicated 3-bit wait state
(PMOVLAY = 0,
MODE B = 1) registers, IOWAIT0-3, which specify up to seven wait states to
0x2000 be automatically generated for each of four regions. The wait
0x1FFF states act on address ranges as shown in Table IV.
8K EXTERNAL
Table IV.
0x0000
Address Range Wait State Register
Figure 5. Program Memory (Mode B = 1) 0x000–0x1FF IOWAIT0
Data Memory 0x200–0x3FF IOWAIT1
The ADSP-2185 has 16,352 16-bit words of internal data 0x400–0x5FF IOWAIT2
memory. In addition, the ADSP-2185 allows the use of 8K 0x600–0x7FF IOWAIT3
external memory overlays. Figure 6 shows the organization of
the data memory. Composite Memory Select (CMS)
The ADSP-2185 has a programmable memory select signal that
DATA MEMORY ADDRESS is useful for generating memory select signals for memories
0x3FFF mapped to more than one space. The CMS signal is generated
32 MEMORY–
MAPPED REGISTERS to have the same timing as each of the individual memory select
0x3FEO
signals (PMS, DMS, BMS, IOMS), but can combine their
0x3FDF
functionality.
INTERNAL
8160 WORDS When set, each bit in the CMSSEL register causes the CMS
0x2000 signal to be asserted when the selected memory select is as-
0x1FFF serted. For example, to use a 32K word memory to act as both
8K INTERNAL
(DMOVLAY = 0) program and data memory, set the PMS and DMS bits in the
OR
EXTERNAL 8K CMSSEL register and use the CMS pin to drive the chip select
(DMOVLAY = 1, 2)
0x0000 of the memory and use either DMS or PMS as the additional
address bit.
Figure 6. Data Memory The CMS pin functions as the other memory select signals, with
the same timing and bus request logic. A 1 in the enable bit
causes the assertion of the CMS signal at the same time as the
–8– REV. 0
ADSP-2185
selected memory select signal. All enable bits, except the BMS create a destination word, it is transferred to or from on-chip
bit, default to 1 at reset, memory. The transfer takes one DSP cycle. DSP accesses to
Byte Memory external memory have priority over BDMA byte memory
The byte memory space is a bidirectional, 8-bit-wide, external accesses.
memory space used to store programs and data. Byte memory is The BDMA Context Reset bit (BCR) controls whether the
accessed using the BDMA feature. The byte memory space processor is held off while the BDMA accesses are occurring.
consists of 256 pages, each of which is 16K × 8. Setting the BCR bit to 0 allows the processor to continue opera-
The byte memory space on the ADSP-2185 supports read and tions. Setting the BCR bit to 1 causes the processor to stop
write operations as well as four different data formats. The byte execution while the BDMA accesses are occurring, to clear the
memory uses data bits 15:8 for data. The byte memory uses context of the processor and to start execution at address 0
data bits 23:16 and address bits 13:0 to create a 22-bit address. when the BDMA accesses have completed.
This allows up to a 4 meg × 8 (32 megabit) ROM or RAM to be Internal Memory DMA Port (IDMA Port; Host Memory
used without glue logic. All byte memory accesses are timed by Mode)
the BMWAIT register. The IDMA Port provides an efficient means of communication
Byte Memory DMA (BDMA, Full Memory Mode) between a host system and the ADSP-2185. The port is used to
The Byte memory DMA controller allows loading and storing of access the on-chip program memory and data memory of the
program instructions and data using the byte memory space. DSP with only one DSP cycle per word overhead. The IDMA
The BDMA circuit is able to access the byte memory space port cannot, however, be used to write to the DSP’s memory-
while the processor is operating normally and steals only one mapped control registers.
DSP cycle per 8-, 16- or 24-bit word transferred. The IDMA port has a 16-bit multiplexed address and data bus
The BDMA circuit supports four different data formats, which and supports 24-bit program memory. The IDMA port is com-
are selected by the BTYPE register field. The appropriate num- pletely asynchronous and can be written to while the ADSP-
ber of 8-bit accesses are done from the byte memory space to 2185 is operating at full speed.
build the word size selected. Table V shows the data formats The DSP memory address is latched and then automatically
supported by the BDMA circuit. incremented after each IDMA transaction. An external device
can therefore access a block of sequentially addressed memory
Table V. by specifying only the starting address of the block. This in-
creases throughput as the address does not have to be sent for
Internal each memory access.
BTYPE Memory Space Word Size Alignment
IDMA Port access occurs in two phases. The first is the IDMA
00 Program Memory 24 Full Word Address Latch cycle. When the acknowledge is asserted, a 14-bit
01 Data Memory 16 Full Word address and 1-bit destination type can be driven onto the bus by
10 Data Memory 8 MSBs an external device. The address specifies an on-chip memory
11 Data Memory 8 LSBs location, the destination type specifies whether it is a DM or
PM access. The falling edge of the address latch signal latches
Unused bits in the 8-bit data memory formats are filled with 0s. this value into the IDMAA register.
The BIAD register field is used to specify the starting address for Once the address is stored, data can then be either read from or
the on-chip memory involved with the transfer. The 14-bit BEAD written to the ADSP-2185’s on-chip memory. Asserting the
register specifies the starting address for the external byte memory select line (IS) and the appropriate read or write line (IRD and
space. The 8-bit BMPAGE register specifies the starting page for IWR respectively) signals the ADSP-2185 that a particular
the external byte memory space. The BDIR register field selects transaction is required. In either case, there is a one-processor-
the direction of the transfer. Finally the 14-bit BWCOUNT cycle delay for synchronization. The memory access consumes
register specifies the number of DSP words to transfer and one additional processor cycle.
initiates the BDMA circuit transfers.
Once an access has occurred, the latched address is automati-
BDMA accesses can cross page boundaries during sequential cally incremented and another access can occur.
addressing. A BDMA interrupt is generated on the completion
of the number of transfers specified by the BWCOUNT register. Through the IDMAA register, the DSP can also specify the
The BWCOUNT register is updated after each transfer so it can starting address and data format for DMA operation.
be used to check the status of the transfers. When it reaches Bootstrap Loading (Booting)
zero, the transfers have finished and a BDMA interrupt is gener- The ADSP-2185 has two mechanisms to allow automatic load-
ated. The BMPAGE and BEAD registers must not be accessed ing of the internal program memory after reset. The method for
by the DSP during BDMA operations. booting is controlled by the Mode A, B and C configuration bits
The source or destination of a BDMA transfer will always be as shown in Table VI. These four states can be compressed into
on-chip program or data memory, regardless of the values of two-state bits by allowing an IDMA boot with Mode C = 1.
Mode B, PMOVLAY or DMOVLAY. However, three bits are used to ensure future compatibility with
parts containing internal program memory ROM.
When the BWCOUNT register is written with a nonzero value,
the BDMA circuit starts executing byte memory accesses with BDMA Booting
wait states set by BMWAIT. These accesses continue until the When the MODE pins specify BDMA booting, the ADSP-2185
count reaches zero. When enough accesses have occurred to initiates a BDMA boot sequence when RESET is released.
REV. 0 –9–
ADSP-2185
Table VI. Boot Summary Table IDMA Port Booting
The ADSP-2185 can also boot programs through its Internal
MODE C MODE B MODE A Booting Method DMA port. If Mode C = 1, Mode B = 0 and Mode A = 1, the
0 0 0 BDMA feature is used to load ADSP-2185 boots from the IDMA port. IDMA feature can load
the first 32 program memory as much on-chip memory as desired. Program execution is held
words from the byte memory off until on-chip program memory location 0 is written to.
space. Program execution is The ADSP-2100 Family development software (Revision 5.02
held off until all 32 words and later) can generate IDMA compatible boot code.
have been loaded. Chip is Bus Request & Bus Grant
configured in Full Memory The ADSP-2185 can relinquish control of the data and address
Mode. buses to an external device. When the external device requires
0 1 0 No Automatic boot opera- access to memory, it asserts the bus request (BR) signal. If the
tions occur. Program execu- ADSP-2185 is not performing an external memory access, it
tion starts at external memory responds to the active BR input in the following processor cycle
location 0. Chip is config- by:
ured in Full Memory Mode. • Three-stating the data and address buses and the PMS, DMS,
BDMA can still be used but BMS, CMS, IOMS, RD, WR output drivers,
the processor does not auto- • Asserting the bus grant (BG) signal and
matically use or wait for these
operations. • Halting program execution.
If Go Mode is enabled, the ADSP-2185 will not halt program
1 0 0 BDMA feature is used to load
execution until it encounters an instruction that requires an
the first 32 program memory
external memory access.
words from the byte memory
space. Program execution is If the ADSP-2185 is performing an external memory access
held off until all 32 words when the external device asserts the BR signal, then it will not
have been loaded. Chip is three-state the memory interfaces or assert the BG signal until
configured in Host Mode. the processor cycle after the access completes. The instruction
Additional interface hardware does not need to be completed when the bus is granted. If a
is required. single instruction requires two external memory accesses, the
bus will be granted between the two accesses.
1 0 1 IDMA feature is used to load
When the BR signal is released, the processor releases the BG
any internal memory as de-
signal, reenables the output drivers and continues program
sired. Program execution is
execution from the point where it stopped.
held off until internal pro-
gram memory location 0 is The bus request feature operates at all times, including when
written to. Chip is configured the processor is booting and when RESET is active.
in Host Mode. The BGH pin is asserted when the ADSP-2185 is ready to
execute an instruction but is stopped because the external bus is
The BDMA interface is set up during reset to the following de- already granted to another device. The other device can release
faults when BDMA booting is specified: the BDIR, BMPAGE, the bus by deasserting bus request. Once the bus is released, the
BIAD and BEAD registers are set to 0; the BTYPE register is ADSP-2185 deasserts BG and BGH and executes the external
set to 0 to specify program memory 24 bit words; and the memory access.
BWCOUNT register is set to 32. This causes 32 words of on-
chip program memory to be loaded from byte memory. These Flag I/O Pins
32 words are used to set up the BDMA to load in the remaining The ADSP-2185 has eight general purpose programmable input/
program code. The BCR bit is also set to 1, which causes pro- output flag pins. They are controlled by two memory mapped
gram execution to be held off until all 32 words are loaded into registers. The PFTYPE register determines the direction,
on-chip program memory. Execution then begins at address 0. 1 = output and 0 = input. The PFDATA register is used to read
and write the values on the pins. Data being read from a pin
The ADSP-2100 Family development software (Revision 5.02 configured as an input is synchronized to the ADSP-2185’s
and later) fully supports the BDMA booting feature and can clock. Bits that are programmed as outputs will read the value
generate byte memory space compatible boot code. being output. The PF pins default to input during reset.
The IDLE instruction can also be used to allow the processor to In addition to the programmable flags, the ADSP-2185 has five
hold off execution while booting continues through the BDMA fixed-mode flags, FLAG_IN, FLAG_OUT, FL0, FL1 and
interface. For BDMA accesses while in Host Mode, the ad- FL2. FL0-FL2 are dedicated output flags. FLAG_IN and
dresses to boot memory must be constructed externally to the FLAG_OUT are available as an alternate configuration of
ADSP-2185. The only memory address bit provided by the SPORT1.
processor is A0.
Note: Pins PF0, PF1 and PF2 are also used for device configu-
ration during reset.
–10– REV. 0
ADSP-2185
BIASED ROUNDING I/O Space Instructions
A mode is available on the ADSP-2185 to allow biased round- The instructions used to access the ADSP-2185’s I/O memory
ing in addition to the normal unbiased rounding. When the space are as follows:
BIASRND bit is set to 0, the normal unbiased rounding opera- Syntax: IO(addr) = dreg
tions occur. When the BIASRND bit is set to 1, biased round- dreg = IO(addr);
ing occurs instead of the normal unbiased rounding. When
operating in biased rounding mode all rounding operations with where addr is an address value between 0 and 2047 and dreg is
MR0 set to 0x8000 will round up, rather than only rounding up any of the 16 data registers.
odd MR1 values. Examples: IO(23) = AR0;
For example: AR1 = IO(17);
Description: The I/O space read and write instructions move
Table VII. data between the data registers and the I/O
memory space.
MR Value Biased Unbiased
Before RND RND Result RND Result DESIGNING AN EZ-ICE ®*-COMPATIBLE SYSTEM
00-0000-8000 00-0001-8000 00-0000-8000 The ADSP-2185 has on-chip emulation support and an
00-0001-8000 00-0002-8000 00-0002-8000 ICE-Port™*, a special set of pins that interface to the EZ-ICE®*.
00-0000-8001 00-0001-8001 00-0001-8001 These features allow in-circuit emulation without replacing the
00-0001-8001 00-0002-8001 00-0002-8001 target system processor by using only a 14-pin connection from
00-0000-7FFF 00-0000-7FFF 00-0000-7FFF the target system to the EZ-ICE®*. Target systems must have a
00-0001-7FFF 00-0001-7FFF 00-0001-7FFF 14-pin connector to accept the EZ-ICE®*’s in-circuit probe, a
14-pin plug. See the ADSP-2100 Family EZ-Tools data sheet for
This mode only has an effect when the MR0 register contains complete information on ICE products.
0x8000; all other rounding operations work normally. This The ICE-Port™* interface consists of the following ADSP-2185
mode allows more efficient implementation of bit-specified pins:
algorithms that use biased rounding, for example the GSM EBR
speech compression routines. Unbiased rounding is preferred
EBG
for most algorithms.
ERESET
Note: BIASRND bit is Bit 12 of the SPORT0 Autobuffer Con- EMS
trol register. EINT
Instruction Set Description ECLK
The ADSP-2185 assembly language instruction set has an alge- ELIN
braic syntax that was designed for ease of coding and readabil- ELOUT
ity. The assembly language, which takes full advantage of the EE
processor’s unique architecture, offers the following benefits: These ADSP-2185 pins must be connected only to the EZ-ICE®*
• The algebraic syntax eliminates the need to remember cryptic connector in the target system. These pins have no function
assembler mnemonics. For example, a typical arithmetic add except during emulation, and do not require pull-up or pull-down
instruction, such as AR = AX0 + AY0, resembles a simple resistors. The traces for these signals between the ADSP-2185
equation. and the connector must be kept as short as possible, no longer
than three inches.
• Every instruction assembles into a single, 24-bit word that
can execute in a single instruction cycle. The following pins are also used by the EZ-ICE®*:
• The syntax is a superset ADSP-2100 Family assembly lan- BR
guage and is completely source and object code compatible BG
with other family members. Programs may need to be relo- RESET
cated to use on-chip memory and conform to the ADSP- GND
2185’s interrupt vector and reset vector map. The EZ-ICE®* uses the EE (emulator enable) signal to take
• Sixteen condition codes are available. For conditional jump, control of the ADSP-2185 in the target system. This causes the
call, return or arithmetic instructions, the condition can be processor to use its ERESET, EBR and EBG pins instead of the
checked and the operation executed in the same instruction RESET, BR and BG pins. The BG output is three-stated.
cycle. These signals do not need to be jumper-isolated in your system.
• Multifunction instructions allow parallel execution of an The EZ-ICE®* connects to your target system via a ribbon cable
arithmetic instruction with up to two fetches or one write to and a 14-pin female plug. The female plug is plugged onto the
processor memory space during a single instruction cycle. 14-pin connector (a pin strip header) on the target board.
REV. 0 –11–
ADSP-2185
Target Board Connector for EZ-ICE ®* Probe Note: If your target does not meet the worst case chip specifica-
The EZ-ICE®* connector (a standard pin strip header) is shown tion for memory access parameters, you may not be able to
in Figure 7. You must add this connector to your target board emulate your circuitry at the desired CLKIN frequency. Depend-
design if you intend to use the EZ-ICE®*. Be sure to allow ing on the severity of the specification violation, you may have
enough room in your system to fit the EZ-ICE®* probe onto the trouble manufacturing your system as DSP components statisti-
14-pin connector. cally vary in switching characteristic and timing requirements
within published limits.
1 2 Restriction: All memory strobe signals on the ADSP-2185 (RD,
BG
GND WR, PMS, DMS, BMS, CMS and IOMS) used in your target
3 4 system must have 10 kΩ pull-up resistors connected when the
EBG BR
EZ-ICE®* is being used. The pull-up resistors are necessary
5 6 because there are no internal pull-ups to guarantee their state
EBR EINT
during prolonged three-state conditions resulting from typical
7 8 EZ-ICE®* debugging sessions. These resistors may be removed
KEY (NO PIN) × ELIN
at your option when the EZ-ICE®* is not being used.
9 10
ELOUT ECLK Target System Interface Signals
When the EZ-ICE®* board is installed, the performance on
11 12
EE EMS some system signals change. Design your system to be compat-
ible with the following system interface signal changes intro-
13 14
RESET ERESET duced by the EZ-ICE®* board:
• EZ-ICE®* emulation introduces an 8 ns propagation delay
TOP VIEW
between your target circuitry and the DSP on the RESET
signal.
Figure 7. Target Board Connector for EZ-ICE®*
• EZ-ICE®* emulation introduces an 8 ns propagation delay
The 14-pin, 2-row pin strip header is keyed at the Pin 7 loca- between your target circuitry and the DSP on the BR signal.
tion—you must remove Pin 7 from the header. The pins must
be 0.025 inch square and at least 0.20 inch in length. Pin spac- • EZ-ICE®* emulation ignores RESET and BR when single-
ing should be 0.1 × 0.1 inches. The pin strip header must have stepping.
at least 0.15 inch clearance on all sides to accept the EZ-ICE®* • EZ-ICE®* emulation ignores RESET and BR when in Emu-
probe plug. Pin strip headers are available from vendors such as lator Space (DSP halted).
3M, McKenzie and Samtec.
• EZ-ICE®* emulation ignores the state of target BR in certain
Target Memory Interface modes. As a result, the target system may take control of the
For your target system to be compatible with the EZ-ICE®* DSP’s external memory bus only if bus grant (BG) is asserted
emulator, it must comply with the memory interface guidelines by the EZ-ICE®* board’s DSP.
listed below.
PM, DM, BM, IOM and CM
Design your Program Memory (PM), Data Memory (DM), Byte
Memory (BM), I/O Memory (IOM) and Composite Memory
(CM) external interfaces to comply with worst case device tim-
ing requirements and switching characteristics as specified in
this DSP’s data sheet. The performance of the EZ-ICE®* may
approach published worst case specification for some memory
access timing requirements and switching characteristics.
–12– REV. 0
ADSP-2185
RECOMMENDED OPERATING CONDITIONS
K Grade B Grade
Parameter Min Max Min Max Unit
VDD 4.5 5.5 4.5 5.5 V
TAMB 0 +70 –40 +85 °C
ELECTRICAL CHARACTERISTICS
K/B Grades
Parameter Test Conditions Min Typ Max Unit
VIH Hi-Level Input Voltage1, 2 @ VDD = max 2.0 V
VIH Hi-Level CLKIN Voltage @ VDD = max 2.2 V
VIL Lo-Level Input Voltage1, 3 @ VDD = min 0.8 V
VOH Hi-Level Output Voltage1, 4, 5 @ VDD = min
IOH = –0.5 mA 2.4 V
@ VDD = min
IOH = –100 µA6 VDD – 0.3 V
VOL Lo-Level Output Voltage1, 4, 5 @ VDD = min
IOL = 2 mA 0.4 V
IIH Hi-Level Input Current3 @ VDD = max
VIN = VDDmax 10 µA
IIL Lo-Level Input Current3 @ VDD = max
VIN = 0 V 10 µA
IOZH Three-State Leakage Current7 @ VDD = max
VIN = VDDmax8 10 µA
IOZL Three-State Leakage Current7 @ VDD = max
VIN = 0 V8 10 µA
IDD Supply Current (Idle)9 @ VDD = 5.0 12.4 mA
IDD Supply Current (Dynamic)10 @ VDD = 5.0
TAMB = +25°C
tCK = 30 ns11 63 mA
CI Input Pin Capacitance3, 6, 12 @ VIN = 2.5 V,
fIN = 1.0 MHz, 8 pF
TAMB = +25°C
CO Output Pin Capacitance6, 7, 12, 13 @ VIN = 2.5 V,
fIN = 1.0 MHz,
TAMB = +25°C 8 pF
NOTES
1
Bidirectional pins: D0–D23, RFS0, RFS1, SCLK0, SCLK1, TFS0, TFS1, A1–A13, PF0-PF7.
2
Input only pins: RESET, BR, DR0, DR1, PWD.
3
Input only pins: CLKIN, RESET, BR, DR0, DR1, PWD.
4
Output pins: BG, PMS, DMS, BMS, IOMS, CMS, RD, WR, PWDACK, A0, DT0, DT1, CLKOUT, FL2-0, BGH.
5
Although specified for TTL outputs, all ADSP-2185 outputs are CMOS-compatible and will drive to V DD and GND, assuming no dc loads.
6
Guaranteed but not tested.
7
Three-statable pins: A0–A13, D0–D23, PMS, DMS, BMS, IOMS, CMS, RD, WR, DT0, DT1, SCLK0, SCLK1, TFS0, TFS1, RFS0, RSF1, PF0–PF7.
8
0 V on BR, CLKIN Inactive.
9
Idle refers to ADSP-2185 state of operation during execution of IDLE instruction. Deasserted pins are driven to either V DD or GND.
10
IDD measurement taken with all instructions executing from internal memory. 50% of the instructions are multifunction (types 1, 4, 5, 12, 13, 14), 30% are type 2
and type 6, and 20% are idle instructions.
11
VIN = 0 V and 3 V. For typical figures for supply currents, refer to Power Dissipation section.
12
Applies to TQFP package type.
13
Output pin capacitance is the capacitive load for any three-stated output pin.
Specifications subject to change without notice.
REV. 0 –13–
ADSP-2185
ABSOLUTE MAXIMUM RATINGS*
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
Input Voltage . . . . . . . . . . . . . . . . . . . . –0.3 V to VDD + 0.3 V
Output Voltage Swing . . . . . . . . . . . . . –0.3 V to VDD + 0.3 V
Operating Temperature Range (Ambient) . . –40°C to +85°C
Storage Temperature Range . . . . . . . . . . . . –65°C to +150°C
Lead Temperature (5 sec) TQFP . . . . . . . . . . . . . . . +280°C
*Stresses above those listed under Absolute Maximum Ratings may cause perma-
nent damage to the device. These are stress ratings only; functional operation of
the device at these or any other conditions above those indicated in the operational
sections of this specification is not implied. Exposure to absolute maximum rating
conditions for extended periods may affect device reliability.
ESD SENSITIVITY
The ADSP-2185 is an ESD (electrostatic discharge) sensitive device. Electrostatic charges readily
accumulate on the human body and equipment and can discharge without detection. Permanent WARNING!
damage may occur to devices subjected to high energy electrostatic discharges.
The ADSP-2185 features proprietary ESD protection circuitry to dissipate high energy discharges ESD SENSITIVE DEVICE
(Human Body Model) per method 3015 of MIL-STD-883. Proper ESD precautions are recom-
mended to avoid performance degradation or loss of functionality. Unused devices must be stored in
conductive foam or shunts, and the foam should be discharged to the destination before devices are
removed.
–14– REV. 0
ADSP-2185
ENVIRONMENTAL CONDITIONS 2185 POWER, INTERNAL1, 3, 4
440
Ambient Temperature Rating: 420
396mW
TAMB = TCASE – (PD x θCA) 400
VDD = 5.5V
TCASE = Case Temperature in °C 380
POWER (PINT) – mW
360 349mW
PD = Power Dissipation in W
340
θCA = Thermal Resistance (Case-to-Ambient) 320 315mW
θJA = Thermal Resistance (Junction-to-Ambient) 300 VDD = 5.0V
θJC = Thermal Resistance (Junction-to-Case) 280
277mW
260
243mW
240 VDD = 4.5V
Package uJA uJC uCA 220 214mW
200
TQFP 50°C/W 2°C/W 48°C/W 28 29 30 31 32 33 34
1/tCK – MHz
POWER, IDLE1, 2
POWER DISSIPATION 95
POWER (PIDLE) – mW
C × VDD2 × f
75
75mW
C = load capacitance, f = output switching frequency. 70
Example: 65
62mW
60 VDD = 5.0V
In an application where external data memory is used and no 56mW
other outputs are active, power dissipation is calculated as follows: 55
50
Assumptions: 45 VDD = 4.5V
45mW
40mW
• External data memory is accessed every cycle with 50% of the 40
28 29 30 31 32 33 34
address pins switching. 1/fCK – MHz
• External data memory writes occur every other cycle with POWER, IDLE n MODES3
75
50% of the data pins switching.
70
• Each address and data pin has a 10 pF total load at the pin. 65
62mW IDLE
POWER (PIDLEn) – mW
50
PINT = internal power dissipation from Power vs. Frequency
45
graph (Figure 8).
38mW
40
(C × VDD × f) is calculated for each output:
2 36mW IDLE (16)
IDLE (128)
35
36mW
34mW
# of 30
Pins 3 C 3 VDD2 3f 25
28 29 30 31 32 33 34
RD 1 × 10 pF × 52 V × 16.67 MHz = 4.2 mW 2IDLE REFERS TO ADSP-2185 STATE OF OPERATION DURING EXECUTION OF IDLE
INSTRUCTION. DEASSERTED PINS ARE DRIVEN TO EITHER VDD OR GND.
CLKOUT 1 × 10 pF × 52 V × 33.3 MHz = 8.3 mW 3TYPICAL POWER DISSIPATION AT 5.0V VDD AND 25°C EXCEPT WHERE SPECIFIED.
116.6 mW 4I MEASUREMENT TAKEN WITH ALL INSTRUCTIONS EXECUTING FROM INTERNAL
DD
MEMORY. 50% OF THE INSTRUCTIONS ARE MULTIFUNCTION (TYPES 1, 4, 5, 12, 13, 14),
30% ARE TYPE 2 AND TYPE 6, AND 20% ARE IDLE INSTRUCTIONS.
Total power dissipation for this example is PINT + 116.6 mW.
Figure 8. Power vs. Frequency
REV. 0 –15–
ADSP-2185
CAPACITIVE LOADING is calculated. If multiple pins (such as the data bus) are dis-
Figures 9 and 10 show the capacitive loading characteristics of abled, the measurement value is that of the last pin to stop
the ADSP-2185. driving.
30
T = +85°C
VDD = 4.5V INPUT 1.5V
25
RISE TIME (0.4V–2.4V) – ns
2.0V
20 OUTPUT 1.5V
0.3V
15
Figure 11. Voltage Reference Levels for AC Measure-
10 ments (Except Output Enable/Disable)
Output Enable Time
5 Output pins are considered to be enabled when they have made
a transition from a high-impedance state to when they start
0 driving. The output enable time (tENA) is the interval from when
0 50 100 150 200 250 300
CL – pF
a reference signal reaches a high or low voltage level to when the
output has reached a specified high or low trip point, as shown
in the Output Enable/Disable diagram. If multiple pins (such as
Figure 9. Typical Output Rise Time vs. Load Capacitance, the data bus) are enabled, the measurement value is that of the
CL (at Maximum Ambient Operating Temperature) first pin to start driving.
18
REFERENCE
16
SIGNAL
VALID OUTPUT DELAY OR HOLD – ns
14 tMEASURED
12 tENA
VOH tDIS VOH
10
(MEASURED) (MEASURED)
8 VOH (MEASURED) – 0.5V 2.0V
6 OUTPUT
VOL (MEASURED) +0.5V 1.0V
4 VOL VOL
tDECAY
2 (MEASURED) (MEASURED)
TEST CONDITIONS
Output Disable Time TO
OUTPUT +1.5V
Output pins are considered to be disabled when they have PIN
stopped driving and started a transition from the measured 50pF
CL × 0.5V
tDECAY =
iL
from which
tDIS = tMEASURED – tDECAY
–16– REV. 0
ADSP-2185
TIMING PARAMETERS
Parameter Min Max Unit
Clock Signals and Reset
Timing Requirements:
tCKI CLKIN Period 60 150 ns
tCKIL CLKIN Width Low 20 ns
tCKIH CLKIN Width High 20 ns
Switching Characteristics:
tCKL CLKOUT Width Low 0.5 tCK – 7 ns
tCKH CLKOUT Width High 0.5 tCK – 7 ns
tCKOH CLKIN High to CLKOUT High 0 20 ns
Control Signals
Timing Requirements:
tRSP RESET Width Low1 5 tCK ns
tMS Mode Setup Before RESET High 2 ns
tMH Mode Setup After RESET High 5 ns
NOTE
1
Applies after power-up sequence is complete. Internal phase lock loop requires no more than 2000 CLKIN cycles assuming stable CLKIN (not including crystal
oscillator start-up time).
tCKI
tCKIH
CLKIN
tCKIL
tCKCH
tCKH
CLKOUT
tCKL
PF(2:0)*
tMS tMH
RESET
REV. 0 –17–
ADSP-2185
tFOD
CLKOUT
tFOH
FLAG
OUTPUTS
tIFH
IRQx
FI
PFx
tIFS
–18– REV. 0
ADSP-2185
tBH
CLKOUT
BR
tBS
CLKOUT
PMS, DMS
BMS, RD
WR tSD tSEC
BG
tSDB
tSE
BGH
tSDBH
tSEH
REV. 0 –19–
ADSP-2185
CLKOUT
A0–A13
DMS, PMS,
BMS, IOMS,
CMS
tRDA
RD
tASR
tRP tRWR
tCRD
tRDD tRDH
tAA
WR
–20– REV. 0
ADSP-2185
CLKOUT
A0–A13
DMS, PMS,
BMS, CMS,
IOMS
tWRA
WR
tDW
tWDE
RD
REV. 0 –21–
ADSP-2185
CLKOUT
tCC tCC tSCK
SCLK
tSCP
tSCS tSCH tSCP
DR
TFSIN
RFSIN
tRD
tRH
RFSOUT
TFSOUT
tSCDD
tSCDV
tSCDH
tSCDE
DT
tTDE
tTDV
TFSOUT
ALTERNATE
FRAME MODE
tRDV
RFSOUT
MULTICHANNEL MODE,
FRAME DELAY 0
(MFD = 0)
tTDE
tTDV
TFSIN
ALTERNATE
FRAME MODE
tRDV
RFSIN
MULTICHANNEL MODE,
FRAME DELAY 0
(MFD = 0)
–22– REV. 0
ADSP-2185
IACK
tIKA
IAL
tIALP
IS
tIASU tIAH
IAD 15–0
tIALS
IRD OR
IWR
REV. 0 –23–
ADSP-2185
tIKW
IACK
tIKHW
IS
tIWP
IWR
tIDH
tIDSU
–24– REV. 0
ADSP-2185
tIKW
IACK
tIKHW
tIKLW
IS
IWR
tIKSU
tIKH
REV. 0 –25–
ADSP-2185
IACK
tIKHR
tIKR
IS
tIRP
IRD
PREVIOUS READ
IAD 15–0
DATA DATA
tIRDV tIKDD
tIRDH
–26– REV. 0
ADSP-2185
IACK
tIKR
tIKHR
IS
tIRP
IRD
tIRDE tIKDH
PREVIOUS
IAD 15–0
DATA
tIRDV tIKDD
REV. 0 –27–
ADSP-2185
100-Lead TQFP Package Pinout
94 PF0 [MODE A]
93 PF1 [MODE B]
89 PF2 [MODE C]
96 PWDACK
99 A2/IAD1
100 A3/IAD2
98 A1/IAD0
91 PWD
95 BGH
80 GND
92 GND
90 VDD
76 D16
77 D17
78 D18
82 D21
79 D19
83 D22
84 D23
85 FL2
88 PF3
81 D20
86 FL1
87 FL0
97 A0
A4/IAD3 1 75 D15
2 PIN 1 74 D14
A5/IAD4 IDENTIFIER
GND 3 73 D13
A6/IAD5 4 72 D12
A7/IAD6 5 71 GND
A8/IAD7 6 70 D11
A9/IAD8 7 69 D10
A10/IAD9 8 68 D9
A11/IAD10 9 67 VDD
A12/IAD11 10 66 GND
A13/IAD12 11 65 D8
GND 12 64 D7/IWR
ADSP-2185 63 D6/IRD
CLKIN 13
XTAL 14 TOP VIEW 62 D5/IAL
(Not to Scale)
VDD 15 61 D4/IS
CLKOUT 16 60 GND
GND 17 59 VDD
VDD 18 58 D3/IACK
WR 19 57 D2/IAD15
RD 20 56 D1/IAD14
BMS 21 55 D0/IAD13
DMS 22 54 BG
PMS 23 53 EBG
IOMS 24 52 BR
CMS 25 51 EBR
RFS1 39
DR1 40
GND 41
SCLK1 42
ERESET 43
EINT 50
RESET 44
EMS 45
EE 46
ECLK 47
IRQL0+PF5 27
ELOUT 48
GND 28
ELIN 49
IRQL1+PF6 29
IRQ2+PF7 30
DT0 31
TFS0 32
RFS0 33
DR0 34
SCLK0 35
VDD 36
DT1 37
TFS1 38
IRQE+PF4 26
–28– REV. 0
ADSP-2185
The ADSP-2185 package pinout is shown in the table below. Pin names in bold text replace the plain text named functions when
Mode C = 1. A + sign separates two functions when either function can be active for either major I/O mode. Signals enclosed in
brackets [ ] are state bits latched from the value of the pin at the deassertion of RESET.
REV. 0 –29–
ADSP-2185
ORDERING GUIDE
Ambient Instruction
Temperature Rate Package Package
Part Number Range (MHz) Description Option*
ADSP-2185KST-115 0°C to +70°C 28.8 100-Lead TQFP ST-100
ADSP-2185BST-115 –40°C to +85°C 28.8 100-Lead TQFP ST-100
ADSP-2185KST-133 0°C to +70°C 33.3 100-Lead TQFP ST-100
ADSP-2185BST-133 –40°C to +85°C 33.3 100-Lead TQFP ST-100
*ST = Plastic Thin Quad Flatpack (TQFP).
OUTLINE DIMENSIONS
Dimensions shown in inches and millimeters.
0.640 (16.25)
0.630 (16.00) TYP SQ
0.620 (15.75)
0.555 (14.05)
0.551 (14.00) TYP SQ
0.547 (13.90)
0.476 (12.10)
0.063 (1.60) MAX 0.474 (12.05) TYP SQ
0.472 (12.00)
0.024 (0.75)
0.022 (0.60) TYP
100 76
0.020 (0.50) 12° 1 75
TYP
SEATING
PLANE
TOP VIEW
(PINS DOWN)
0.004
(0.102)
MAX LEAD 25 51
COPLANARITY 26 50
6° ± 4°
0° – 10°
0.007 (0.177) 0.020 (0.50) 0.010 (0.27)
0.005 (0.127) TYP BSC
0.009 (0.22) TYP
0.003 (0.077) LEAD PITCH 0.006 (0.17)
LEAD WIDTH
–30– REV. 0
–31–
–32–
PRINTED IN U.S.A. C2993–10–3/97