Analog Devices ADSP-2185NKST-320, ADSP-2185NKCA-320, ADSP-2189NKST-320, ADSP-2189NKCA-320, ADSP-2189NBST-320 Datasheet

...
a
DSP Microcomputer
ADSP-218xN Series

PERFORMANCE FEATURES

12.5 ns Instruction Cycle Time @1.8 V (Internal), 80 MIPS Sustained Performance
Single-Cycle Instruction Execution Single-Cycle Context Switch 3-Bus Architecture Allows Dual Operand Fetches in
Every Instruction Cycle
Multifunction Instructions Power-Down Mode Featuring Low CMOS Standby
Power Dissipation with 200 CLKIN Cycle Recovery from Power-Down Condition
Low Power Dissipation in Idle Mode
INTEGRATION FEATURES ADSP-2100 Family Code Compatible (Easy to Use
Algebraic Syntax), with Instruction Set Extensions
Up to 256K Bytes of On-Chip RAM, Configured as
Up to 48K Words Program Memory RAM Up to 56K Words Data Memory RAM
Dual-Purpose Program Memory for Both Instruction and
Data Storage
Independent ALU, Multiplier/Accumulator, and Barrel
Shifter Computational Units
Two Independent Data Address Generators Powerful Program Sequencer Provides Zero Overhead
Looping Conditional Instruction Execution
Programmable 16-Bit Interval Timer with Prescaler 100-Lead LQFP and 144-Ball Mini-BGA
SYSTEM INTERFACE FEATURES Flexible I/O Allows 1.8 V, 2.5 V or 3.3 V Operation
All Inputs Tolerate up to 3.6 V Regardless of Mode
16-Bit Internal DMA Port for High-Speed Access to On-
Chip Memory (Mode Selectable)
4M-Byte Memory Interface for Storage of Data Tables
and Program Overlays (Mode Selectable)
8-Bit DMA to Byte Memory for Transparent Program and
Data Memory Transfers (Mode Selectable)
Programmable Memory Strobe and Separate I/O
Memory Space Permits “Glueless” System Design Programmable Wait State Generation Two Double-Buffered Serial Ports with Companding
Hardware and Automatic Data Buffering Automatic Booting of On-Chip Program Memory from
Byte-Wide External Memory, e.g., EPROM, or through
Internal DMA Port Six External Interrupts 13 Programmable Flag Pins Provide Flexible System
Signaling UART Emulation through Software SPORT
Reconfiguration ICE-Port™ Emulator Interface Supports Debugging in
Final Systems

FUNCTIONAL BLOCK DIAGRAM

POWER-DOWN
DATA ADDRESS
GENER ATORS DAG1
DAG2
b
p
i
h
c
t
r
e
s
n
I
ARITH MET IC UNI TS
ALU
ADSP-2100 BASE
ARCHITECTUR E
ICE-Port is a trademark of Analog Devices, Inc.
PROGRAM
SEQUENCER
a
i
d
k
c
o
l
SHIFTERMAC
r
g
PROGRAM
MEMORY
UP TO
48K  24-BIT
.
e
r
e
h
m
PROGRAM MEMORY ADDRESS
a
DATA MEMORY ADD RE SS
PROGRAM MEMORY DATA
DATA ME MORY DATA
SERIAL PORTS
SPORT0
REV. 0
Information furnished by Analog Devices is believed to be accurate and reli­able. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties that may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
CONTROL
MEMORY
DATA
MEMORY
UP TO
56K
16-BIT
 
SPORT1
One Technology Way, P.O.Box 9106, Norwood, MA 02062-9106, U.S.A. Tel:781/329-4700 http://www.analog.com Fax:781/326-8703 © Analog Devices, Inc., 2001
PROGRAMMABLE
I/O
AND
FLAGS
TIMER
FULL MEMORY MODE
EXTERNAL
ADDRESS
BUS
EXTERNAL
DATA
BUS
BYTE DMA
CONTROLL ER
OR
EXTERNAL
DATA
BUS
INTERNAL
DMA
PORT
HOST MODE
ADSP-218xN Series

GENERAL DESCRIPTION

The ADSP-218xN series consists of six single chip micro­computers optimized for digital signal processing applica­tions. The high-level block diagram for the ADSP-218xN series members appears on the previous page. All series members are pin-compatible and are differentiated solely by the amount of on-chip SRAM. This feature, combined with ADSP-21xx code compatibility, provides a great deal of flexibility in the design decision. Specific family members are shown in Table 1.

Table 1. ADSP-218xN DSP Microcomputer Family

Program Memory
Device
ADSP-2184N 4 4 ADSP-2185N 16 16 ADSP-2186N 8 8 ADSP-2187N 32 32 ADSP-2188N 48 56 ADSP-2189N 32 48
ADSP-218xN series members combine the ADSP-2100 family base architecture (three computational units, data address generators, and a program sequencer) with two serial ports, a 16-bit internal DMA port, a byte DMA port, a programmable timer, Flag I/O, extensive interrupt capa­bilities, and on-chip program and data memory.
ADSP-218xN series members integrate up to 256K bytes of on-chi p memor y con figure d as up to 48K words (24-bit) of program RAM, and up to 56K words (16-bit) of data RAM. Power-down circuitry is also provided to meet the low power needs of battery-operated portable equipment. The ADSP-218xN is available in a 100-lead LQFP package and 144-Ball Mini-BGA.
Fabricated in a high-speed, low-power, 0.18 µm CMOS process, ADSP-218xN series members operate with a
12.5 ns instruction cycle time. Every instruction can execute in a single processor cycle.
The ADSP-218xN’s flexible architecture and comprehen­sive instruction set allow the processor to perform multiple operations in parallel. In one pro cessor cycle, ADSP-218xN series members can:
• Generate the next program address
• Fetch the next instruction
• Perform one or two data moves
• Update one or two data address pointers
• Perform a computational operation
VisualDSP++ and EZ-KIT Lite are trademarks of Analog Devices, Inc.
(K Words)
Data Memory (K Words)
This takes place while the processor continues to:
• Receive and transmit data through the two serial ports
• Receive and/or transmit data through the internal DMA port
• Receive and/or transmit data through the byte DMA port
•Decrement timer

DEVELOPMENT SYSTEM

Analog Devices’ wide range of software and hardware development tools supports the ADSP-218xN series. The DSP tools include an integrated development environment, an evaluation kit, and a serial port emulator.
VisualDSP++™ is an integrated development environment, allowing for fast and easy development, debug, and deploy­ment. The VisualDSP++ projec t management environment lets programmers develop and debug an application. This environment includes an easy-to-use assembler that is based on an algebraic syntax; an archiver (librarian/library build­er); a linker; a PROM-splitter utility; a cycle-accurate, instruction-level simulator; a C compiler; and a C run-time library that includes DSP and mathematical functions.
Debugging both C and assembly programs with the VisualDSP++ debugger, programmers can:
• View mixed C and assembly code (interleaved source and object information)
• Insert break points
• Set conditional breakpoints on registers, memory, and stacks
• Trace instruction execution
• Fill and dump memory
• Source level debugging
The VisualDSP++ IDE lets programmers define and manage DSP software development. The dialog boxes and property pages let programmers configure and manage all of the ADSP-218xN development tools, including the syntax highlighting in the VisualDSP++ editor. This capa­bility controls how the development tools process inputs and generate outputs.
The ADSP-2189M EZ-KIT Lite™ provides developers with a cost-effective method for initial evaluation of the powerful ADSP-218xN DSP family architecture. The ADSP-2189M EZ-KIT Lite includes a stand-alone ADSP­2189M DSP board supported by an evaluation suite of VisualDSP++. With this EZ-KIT Lite, users can learn about DSP hardware and software development and evalu­ate potential applications of the ADSP-218xN series. The ADSP-2189M EZ-KIT Lite provides an evaluation suite of the VisualDSP++ development environment with the C compiler, assembler, and linker. The size of the DSP erxecutable that can be built using the EZ-KIT Lite tools is limited to 8K words.
–2– REV. 0
ADSP-218xN Series
The EZ-KIT Lite includes the following features:
• 75 MHz ADSP-2189M
• Full 16-Bit Stereo Audio I/O with AD73322 Codec
• RS-232 Interface
• EZ-ICE
• DSP Demonstration Programs
• Evaluation Suite of VisualDSP++ The ADSP-218x EZ-ICE
more cost-effective method for engineers to develop and optimize DSP systems, shortening product development cycles for faster time-to-market. ADSP-218xN series members integrate on-chip emulation suppor t with a 14-pin ICE-Port interface. This interface provides a simpler target board connection that requires fewer mechanical clearance considerations than other ADSP-2100 Family EZ-ICEs. ADSP-218xN series members need not be removed from the target system when using the EZ-ICE, nor are any adapt­ers needed. Due to the small footprint of the EZ-ICE con­nector, emulation can be supported in final board designs.The EZ-ICE performs a full range of functions, including:
•In-target operation
• Up to 20 breakpoints
• Single-step or full-speed operation
• Registers and memory values can be examined and altered
• PC upload and download functions
• Instruction-level emulation of program booting and execution
• Complete assembly and disassembly of instructions
• C source-level debugging

Additional Information

This data sheet provides a general overview of ADSP­218xN series functionality. For additional information on the architecture and instruction set of the processor, refer to the ADSP-218x DSP Hardware Reference and the ADSP- 218x DSP Instruction Set Reference.

ARCHITECTURE OVERVIEW

The ADSP-218xN series instruction set provides flexible data moves and multifunction (one or two data moves with a computation) instructions. Every instruction can be exe­cuted in a single processor cycle. The ADSP-218xN assem­bly language uses an algebraic syntax for ease of coding and readability. A comprehensive set of development tools sup­ports program development.
The functional block diagram is an overall block diagram of the ADSP-218xN series. The processor contains three in­dependent computational units: the ALU, the multiplier/ accumulator (MAC), and the shifter. The computational
Connector for Emulator Control
®
E m u la t o r p r o v i de s a n e a s ie r a n d
units process 16-bit data directly and have provisions to support multiprecision computations. The ALU performs a standard set of arithmetic and logic operations; division primitives are also supported. The MAC performs single­cycle multiply, multiply/add, and multiply/subtract opera­tions with 40 bits of accumulation. The shifter performs logical and arithmetic shifts, normalization, denormaliza­tion, and derive exponent operations.
The shifter can be used to efficiently implement numeric format control, including multiword and block floating­point representations.
The internal result (R) bus connects the computational units so that the output of any unit may be the input of any unit on the next cycle.
A powerful program sequencer and two dedicated data address generators ensure efficient delivery of operands to these computational units. The sequencer supports condi­tional jumps, subroutine calls, and returns in a single cycle. With internal loop counters and loop stacks, ADSP-218xN series members execute looped code with zero overhead; no explicit jump instructions are required to maintain loops.
Two data address generators (DAGs) provide addresses for simultaneous dual operand fetches (from data memory and program memory). Each DAG maintains and updates four address pointers. Whenever the pointer is used to access data (indirect addressing), it is post-modified by the value of one of four possible modify registers. A length value may be associated with each pointer to implement automatic modulo addressing for circular buffers.
Five internal buses provide efficient data transfer:
• Program Memory Address (PMA) Bus
• Program Memory Data (PMD) Bus
• Data Memory Address (DMA) Bus
• Data Memory Data (DMD) Bus
• Result (R) Bus The two address buses (PMA and DMA) share a single
external address bus, allowing memory to be expanded off­chip, and the two data buses (PMD and DMD) share a single external data bus. Byte memory space and I/O memory space also share the external buses.
Program memory can store both instructions and data, per­mitting ADSP-218xN series members to fetch two oper­ands in a single cycle, one from program memory and one from data memory. ADSP-218xN series members can fetch an operand from program memory and the next instruction in the same cycle.
In lieu of the address and data bus for external memory connection, ADSP-218xN series members may be config­ured for 16-bit Internal DMA port (IDMA port) connec­tion to external systems. The IDMA port is made up of 16
EZ-ICE is a registered trademark of Analog Devices, Inc.
–3–REV. 0
ADSP-218xN Series
data/address pins and five control pins. The IDMA port provides transparent, direct access to the DSP’s on-chip program and data RAM.
An interface to low-cost byte-wide memory is provided by the Byte DMA port (BDMA port). The BDMA port is bidirectional and can directly address up to four megabytes of external RAM or ROM for off-chip storage of program overlays or data tables.
The byte memory and I/O memory space interface supports slow memories and I/O memory-mapped peripherals with programmable wait state generation. External devices can gain control of external buses with bus request/grant signals
, BGH, and BG). One execution mode (Go Mode)
(BR allows the ADSP-218xN to continue running from on-chip memory. Normal execution mode requires the processor to halt while buses are granted.
ADSP-218xN series members can respond to eleven inter­rupts. There can be up to six external interrupts (one edge­sensitive, two level-sensitive, and three configurable) and seven internal interrupts generated by the timer, the serial ports (SPORT), the Byte DMA port, and the power-down circuitry. There is also a master RESET serial ports provide a complete synchronous serial interface with optional companding in hardware and a wide variety of framed or frameless data transmit and receive modes of operation.
Each port can generate an internal programmable serial clock or accept an external serial clock.
ADSP-218xN series members provide up to 13 general­purpose flag pins. The data input and output pins on SPORT1 can be alternatively configured as an input flag and an output flag. In addition, eight flags are programma­ble as inputs or outputs, and three flags are always outputs.
A programmable interval timer generates periodic inter­rupts. A 16-bit count register (TCOUNT) decrements every n processor cycle, where n is a scaling value stored in an 8-bit register (TSCALE). When the value of the count register reaches zero, an interrupt is generated and the count register is reloaded from a 16-bit period register (TPERIOD).
signal. The two
• SPORTs have independent framing for the receive and transmit sections. Sections run in a frameless mode or with frame synchronization signals internally or externally generated. Frame sync signals are active high or inverted, with either of two pulsewidths and timings.
• SPORTs support serial data word lengths from 3 to 16 bits and provide optional A-law and µ-law compand­ing, according to CCITT recommendation G.711.
• SPORT receive and transmit sections can generate unique interrupts on completing a data word transfer.
• SPORTs can receive and transmit an entire circular buffer of data with only one overhead cycle per data word. An interrupt is generated after a data buffer transfer.
• SPORT0 has a multichannel interface to selectively receive and transmit a 24 or 32 word, time-division mul­tiplexed, serial bitstream.
• SPORT1 can be configured to have two external inter­rupts (IRQ0 internally generated serial clock may still be used in this configuration.

PIN DESCRIPTIONS

ADSP-218xN series members are available in a 100-lead LQFP package and a 144-Ball Mini-BGA package. In order to maintain maximum functionality and reduce package size and pin count, some serial port, programmable flag, inter­rupt and external bus pins have dual, multiplexed function­ality. The external bus pins are configured during RESET only, while serial port pins are software configurable during program execution. Flag and interrupt functionality is retained concurrently on multiplexed pins. In cases where pin functionality is reconfigurable, the default state is shown in plain text in Table 2, while alternate functionality is shown in italics.
and IRQ1) and the FI and FO signals. The

Serial Ports

ADSP-218xN series members incorporate two complete synchronous serial ports (SPORT0 and SPORT1) for serial communications and multiprocessor communication.
Following is a brief list of the capabilities of the ADSP­218xN SPORTs. For additional information on Serial Ports, refer to the ADSP-218x DSP Hardware Reference.
• SPORTs are bidirectional and have a separate, double­buffered transmit and receive section.
• SPORTs can use an external serial clock or generate their own serial clock internally.
–4– REV. 0
ADSP-218xN Series
Table 2. Common-Mode Pins
Pin Name # of Pins I/O Function
RESET 1 I Processor Reset Input BR BG BGH DMS PMS IOMS BMS
CMS RD
WR IRQ2 PF7 I/O Programmable I/O pin IRQL1 PF6 I/O Programmable I/O Pin
IRQL0 PF5 I/O Programmable I/O Pin
IRQE PF4 I/O Programmable I/O Pin
Mode D 1 I Mode Select Input—Checked Only During RESET PF3 I/O Programmable I/O Pin During Normal Operation
Mode C 1 I Mode Select Input—Checked Only During RESET PF2 I/O Programmable I/O Pin During Normal Operation
Mode B 1 I Mode Select Input—Checked Only During RESET PF1 I/O Programmable I/O Pin During Normal Operation
Mode A 1 I Mode Select Input—Checked Only During RESET PF0 I/O Programmable I/O Pin During Normal Operation
CLKIN 1 I Clock Input XTAL 1 O Quartz Crystal Output CLKOUT 1 O Processor Clock Output SPORT0 5 I/O Serial Port I/O Pins SPORT1 5 I/O Serial Port I/O Pins IRQ1–0
, FI, FO Edge- or Level-Sensitive Interrupts, FI, FO PWD 1 I Power-Down Control Input PWDACK 1 O Power-Down Acknowledge Control Output FL0, FL1, FL2 3 O Output Flags V
DDINT
V
DDEXT
GND 10 I Ground (LQFP) V
DDINT
V
DDEXT
GND 20 I Ground (Mini-BGA) EZ-Port 9 I/O For Emulation Use
1
Interrupt/Flag pins retain both functions concurrently. If IMASK is set to enable the corresponding interrupts, the DSP will vector to the appropriate interrupt vector address when the pin is asserted, either by external devices or set as a programmable flag.
2
SPORT configuration determined by the DSP System Control Register. Software configurable.
1IBus Request Input 1 O Bus Grant Output 1 O Bus Grant Hung Output 1 O Data Memory Select Output 1OProgram Memory Select Output 1OMemory Select Output 1 O Byte Memory Select Output
1 O Combined Memory Select Output 1 O Memory Read Enable Output
1 O Memory Write Enable Output 1 I Edge- or Level-Sensitive Interrupt Request
1 I Level-Sensitive Interrupt Requests
1 I Level-Sensitive Interrupt Requests
1 I Edge-Sensitive Interrupt Requests
2IInternal V 4IExternal V
4IInternal V 7IExternal V
(1.8 V) Power (LQFP)
DD
(1.8 V, 2.5 V, or 3.3 V) Power (LQFP)
DD
(1.8 V) Power (Mini-BGA)
DD
(1.8 V, 2.5 V, or 3.3 V) Power (Mini-
DD
1
1
1
BGA)
1
2
–5–REV. 0
ADSP-218xN Series

Memory Interface Pins

ADSP-218xN series members can be used in one of two modes: Full Memor y Mode, which allows BDMA operation with full external overlay memory and I/O capability, or Host Mode, which allows IDMA operation with limited external addressing capabilities.
The operating mode is determined by the state of the Mode C pin during RESET
and cannot be changed while the
signals at specific pins of the DSP during either of the two operating modes (Full Memory or Host). A signal in one table shares a pin with a signal from the other table, with the active signal determined by the mode that is set. For the shared pins and their alternate signals (e.g., A4/IAD3), refer to the package pinouts in Table 27 on page 40 and Table 28
on page 42.
processor is running. Table 3 and Table 4 list the active

Table 3. Full Memory Mode Pins (Mode C = 0)

Pin Name # of Pins I/O Function
A13–0 14 O Address Output Pins for Program, Data, Byte, and I/O Spaces D23–0 24 I/O Data I/O Pins for Program, Data, Byte, and I/O Spaces (8 MSBs are also used
as Byte Memory Addresses.)
Table 4. Host Mode Pins (Mode C = 1)
Pin Name # of Pins I/O Function
IAD15–0 16 I/O IDMA Port Address/Data Bus A0 1 O Address Pin for External I/O, Program, Data, or Byte Access
1
D23–8 16 I/O Data I/O Pins for Program, Data, Byte, and I/O Spaces IWR IRD
1 I IDMA Write Enable
1 I IDMA Read Enable IAL 1 I IDMA Address Latch Pin IS IACK
1
In Host Mode, external peripheral addresses can be decoded using the A0, CMS, PMS, DMS, and IOMS signals.
1IIDMA Select
1 O IDMA Port Acknowledge Configurable in Mode D; Open Drain

Terminating Unused Pins

Table 5 shows the recommendations for terminating
unused pins.
Table 5. Unused Pin Terminations
I/O 3-State
2
(Z)
Pin Name
1
XTAL O O Float CLKOUT O O Float
Reset State Hi-Z
3
Caused By Unused Configuration
4
A13–1 or O (Z) Hi-Z BR, EBR Float IAD12– 0 I/O (Z) Hi-Z IS A0 O (Z) Hi-Z BR D23–8 I/O (Z) Hi-Z BR D7 or I/O (Z) Hi-Z BR IWR
I I High (Inactive) D6 or I/O (Z) Hi-Z BR IRD
IIBR, EBR High (Inactive)
, EBR Float , EBR Float , EBR Float
, EBR Float
Float
D5 or I/O (Z) Hi-Z Float IAL I I Low (Inactive) D4 or I/O (Z) Hi-Z BR IS
I I High (Inactive)
, EBR Float
–6– REV. 0
ADSP-218xN Series
Table 5. Unused Pin Terminations (Continued)
I/O 3-State
2
(Z)
Pin Name
1
D3 or I/O (Z) Hi-Z BR, EBR Float IACK
D2–0 or I/O (Z) Hi-Z BR IAD15–13 I/O (Z) Hi-Z IS PMS DMS BMS IOMS CMS RD WR BR BG BGH IRQ2
/PF7 I/O (Z) I Input = High (Inactive) or Program as
O (Z) O BR, EBR Float O (Z) O BR, EBR Float O (Z) O BR, EBR Float O (Z) O BR, EBR Float O (Z) O BR, EBR Float O (Z) O BR, EBR Float O (Z) O BR, EBR Float I I High (Inactive) O (Z) O EE Float OO Float
IRQL1/PF6 I/O (Z) I Input = High (Inactive) or Program as
IRQL0/PF5 I/O (Z) I Input = High (Inactive) or Program as
IRQE/PF4 I/O (Z) I Input = High (Inactive) or Program as
PWD II High SCLK0 I/O I Input = High or Low, Output = Float RFS0 I/O I High or Low DR0 I I High or Low TFS0 I/O I High or Low DT0 O O Float SCLK1 I/O I Input = High or Low, Output = Float RFS1/IRQ0
I/O I High or Low DR1/FI I I High or Low TFS1/IRQ1
I/O I High or Low DT1/FO O O Float EE I I Float EBR EBG ERESET EMS EINT
II Float
OO Float
II Float
OO Float
II Float ECLK I I Float ELIN I I Float ELOUT O O Float
1
CLKIN, RESET, and PF3 – 0/Mode D–A are not included in this table because these pins must be used.
2
All bidirectional pins have three-stated outputs. When the pin is configured as an output, the output is Hi-Z (high impedance) when inactive.
3
Hi-Z = High Impedance.
4
If the CLKOUT pin is not used, turn it OFF, using CLKODIS in SPORT0 autobuffer control register.
5
If the Interrupt/Programmable Flag pins are not used, there are two options: Option 1: When these pins are configured as INPUTS at reset and function as interrupts and input flag pins, pull the pins High (inactive). Option 2: Program the unused pins as OUTPUTS, set them to 1 prior to enabling interrupts, and let pins float.
Reset State Hi-Z
3
Caused By Unused Configuration
Float
, EBR Float
Float
Output, Set to 1, Let Float
Output, Set to 1, Let Float
Output, Set to 1, Let Float
Output, Set to 1, Let Float
5
5
5
5
–7–REV. 0
ADSP-218xN Series

Interrupts

The interrupt controller allows the processor to respond to the eleven possible interrupts and reset with minimum over­head. ADSP-218xN series members provide four dedicated external interrupt input pins: IRQ2
(shared with the PF7– 4 pins). In addition, SPORT1
IRQE may be reconfigured for IRQ0 of six external interrupts. The ADSP-218xN also supports internal interrupts from the timer, the byte DMA port, the two serial ports, software, and the power-down control cir­cuit. The interrupt levels are internally prioritized and indi­vidually maskable (except power-down and reset). The
, IRQ0, and IRQ1 input pins can be programmed to
IRQ2 be either level- or edge-sensitive. IRQL0 and IRQL1 are level-sensitive and IRQE and vector addresses of all interrupts are shown in Table 6.
Table 6. Interrupt Priority and Interrupt Vector Addresses
Source Of Interrupt
Reset (or Power-Up with PUCR = 1) Power-Down (Nonmaskable) IRQ2 IRQL1 IRQL0 SPORT0 Transmit 0x0010 SPORT0 Receive 0x0014 IRQE BDMA Interrupt 0x001C SPORT1 Transmit or IRQ1 SPORT1 Receive or IRQ0 Timer 0x0028 (Lowest Priority)
Interrupt routines can either be nested with higher priority interrupts taking precedence or processed sequentially. In­terrupts can be masked or unmasked with the IMASK reg­ister. Individual interrupt requests are logically ANDed with the bits in IMASK; the highest priority unmasked in­terrupt is then selected. The power-down interrupt is non­maskable.
ADSP-218xN series members mask all interrupts for one instruction cycle following the execution of an instruction that modifies the IMASK register. This does not affect serial port autobuffering or DMA transfers.
The interrupt control register, ICNTL, controls interrupt nesting and defines the IRQ0 interrupts to be either edge- or level-sensitive. The IRQE pin is an external edge-sensitive interrupt and can be forced and cleared. The IRQL0 sensitive interrupts.
is edge-sensitive. The priorities
and IRQL1 pins are external level
, IRQL0, IRQL1, and
, IRQ1, FI and FO, for a total
Interrupt Vector Address (Hex)
0x0000 (Highest Priority)
0x002C
0x0004 0x0008 0x000C
0x0018
0x0020
0x0024
, IRQ1, and IRQ2 external
The IFC register is a write-only register used to force and clear interrupts. On-chip stacks preserve the processor status and are automatically maintained during interrupt handling. The stacks are 12 levels deep to allow interrupt, loop, and subroutine nesting. The following instructions allow global enable or disable servicing of the interrupts (including power-down), regardless of the state of IMASK:
ENA INTS; DIS INTS;
Disabling the interrupts does not affect serial port auto­buffering or DMA. When the processor is reset, interrupt servicing is enabled.

LOW-POWER OPERATION

ADSP-218xN series members have three low-power modes that significantly reduce the power dissipation when the device operates under standby conditions. These modes are:
• Power-Down
•Idle
• Slow Idle The CLKOUT pin may also be disabled to reduce external
power dissipation.

Power-Down

ADSP-218xN series members have a low-power feature that lets the processor enter a very low-power dormant state through hardware or software control. Following is a brief list of power-down features. Refer to the ADSP-218x DSP Hardware Reference, “System Interf ace” chapter, for detailed information about the power-down feature.
• Quick recovery from power-down. The processor begins executing instructions in as few as 200 CLKIN cycles.
• Support for an externally generated TTL or CMOS processor clock. The external clock can continue running during power-down without affecting the lowest power rating and 200 CLKIN cycle recovery.
• Support for crystal operation includes disabling the oscil­lator to save power (the processor automatically waits approximately 4096 CLKIN cycles for the crystal oscilla­tor to start or stabilize), and letting the oscillator run to allow 200 CLKIN cycle start-up.
• Power-down is initiated by either the power-down pin (PWD
) or the software power-down force bit. Interrupt support allows an unlimited number of instructions to be executed before optionally powering down. The power­down interrupt also can be used as a nonmaskable, edge­sensitive interrupt.
• Context clear/save control allows the processor to continue where it left off or start with a clean context when leaving the power-down state.
–8– REV. 0
ADSP-218xN Series
•The RESET pin also can be used to terminate power­down.
• Power-down acknowledge pin (PWDACK) indicates when the processor has entered power-down.

Idle

When the ADSP-218xN is in the Idle Mode, the processor waits indefinitely in a low-power state until an interrupt occurs. When an unmasked interrupt occurs, it is serviced; execution then continues with the instruction following the IDLE instruction. In Idle mode IDMA, BDMA, and auto­buffer cycle steals still occur.

Slow Idle

The IDLE instruction is enhanced on ADSP-218xN series members to let the processor’s internal clock signal be slowed, further reducing power consumption. The reduced clock frequency, a programmable fraction of the normal clock rate, is specified by a selectable divisor given in the IDLE instruction.
The format of the instruction is:
IDLE (N);
where N = 16, 32, 64, or 128. This instruction keeps the processor fully functional, but operating at the slower clock rate. While it is in this state, the processor’s other internal clock signals, such as SCLK, CLKOUT, and timer clock, are reduced by the same ratio. The default form of the in­struction, when no clock divisor is given, is the standard IDLE instruction.
When the IDLE (n) instruction is used, it effectively slows down the processor’s internal clock and thus its response time to incoming interrupts. The one-cycle response time of the standard idle state is increased by n, the clock divisor. When an enabled interrupt is received, ADSP-218xN series members remain in the idle state for up to a maximum of n processor cycles (n = 16, 32, 64, or 128) before resuming normal operation.
When the IDLE (n) instruction is used in systems that have an externally generated serial clock (SCLK), the serial clock rate may be faster than the processor’s reduced internal clock rate. Under these conditions, interrupts must not be generated at a faster rate than can be serviced, due to the additional time the processor takes to come out of the idle state (a maximum of n processor cycles).

SYSTEM INTERFACE

Figure 1 shows typical basic system configurations with the
ADSP-218xN series, two serial devices, a byte-wide EPROM, and optional external program and data overlay memories (mode-selectable). Programmable wait state gen­eration allows the processor to connect easily to slow periph­eral devices. ADSP-218xN series members also provide four external interrupts and two serial ports or six external interrupts and one serial port. Host Memory Mode allows access to the full external data bus, but limits addressing to a single address bit (A0). Through the use of external hard­ware, additional system peripherals can be added in this mode to generate and latch address signals.
1/2X CLOCK
OR
CRYSTAL
SERIAL
DEVICE
SERIA L DEVICE
FULL MEMORY MODE
ADSP-218xN
CLKIN XTAL FL0–2
IRQ2/PF7 IRQE/PF4 IRQL0/PF5 IRQL1/PF6
MODE D/PF3 MODE C/PF2 MODE A/PF0 MODE B/PF1
SCLK1 RFS1 OR IRQ0 TFS1 OR IRQ1 DT1 OR FO DR1 OR FI
SPORT0
SCLK0 RFS0 TFS0 DT0 DR0
SPORT1
ADDR13–0
DATA23–0
BMS
WR
RD
IOMS
PMS
DMS
CMS
BR
BG BGH PWD
PWDACK
I
14
n
A13–0
m
A0–A21
DATA
CS
ADDR DATA
CS
c
a
f
r
e
t
ADDR
n
i
DATA
MEMORY
I/O SPACE
(PERIPHERALS)
a
r
2048 LOCATIONS
g
a
i
d
e
OVERLAY
MEMORY
TWO 8K
PM SEGMENTS
TW O 8K
DM SEGMENTS
BYTE
m
h
D23–16 D15–8
24
A10–0 D23–8
A13–0 D23–0
e
t
s
y
s
t
r
e
s

Figure 1. Basic System Interface

r
e
e
1/2X CLOCK
OR
CRYSTAL
SERIA L DEVICE
SERIA L DEVICE
SYSTEM
INTERFACE
OR
µCONTROLLER
HOST MEMORY MODE
ADSP-218xN
CLKIN
XTAL
FL0–2 IRQ2/PF7
16
IRQE/PF4 IRQL0/PF5
IRQL1/PF6 MODE D/P F3
MODE C/P F2 MODE A/P F0 MODE B/P F1
SPORT1
SCLK1 RFS1 OR IRQ0 TFS 1 OR IRQ1 DT1 OR FO DR1 OR FI
SPORT0
SCLK0 RFS0 TFS0 DT0 DR0
IDMA PO RT
IRD/D6
IWR/D7 IS/D4 IAL/D5
IACK/D3
IAD15-0
DATA23–8
PWDACK
BMS
WR
RD
IOMS
PMS DMS CMS
BR
BG BGH PWD
1
A0
16
–9–REV. 0
ADSP-218xN Series

Clock Signals

ADSP-218xN series members can be clocked by either a crystal or a TTL-compatible clock signal.
The CLKIN input cannot be halted, changed during oper­ation, nor operated below the specified frequency during normal operation. The only exception is while the processor is in the power-down state. For additional information, refer to the ADSP-218x DSP Hardware Reference, for detailed information on this power-down feature.
If an external clock is used, it should be a TTL-compatible signal running at half the instruction rate. The signal is connected to the processor’s CLKIN input. When an exter­nal clock is used, the XTAL pin must be left unconnected.
ADSP-218xN series members use an input clock with a frequency equal to half the instruction rate; a 40 MHz input clock yields a 12.5 ns processor cycle (which is equivalent to 80 MHz). Normally, instructions are executed in a single processor cycle. All device timing is relative to the internal instruction clock rate, which is indicated by the CLKOUT signal when enabled.
Because ADSP-218xN series members include an on-chip oscillator circuit, an external crystal may be used. The crystal should be connected across the CLKIN and XTAL pins, with two capacitors connected as shown in Figure 2. Capacitor values are dependent on crystal type and should be specified by the crystal manufacturer. A parallel­resonant, fundamental frequency, microprocessor-grade crystal should be used.
A clock output (CLKOUT) signal is generated by the pro­cessor at the processor’s cycle rate. This can be enabled and disabled by the CLKODIS bit in the SPORT0 Autobuffer Control Register.
CLKIN
DSP
CLKOUTXTAL

RESET

The RESET signal initiates a master reset of the ADSP­218xN. The RESET
signal must be asserted during the power-up sequence to assure proper initialization. RESET during initial power-up must be held long enough to allow the internal clock to stabilize. If RESET
is activated any time after power-up, the clock continues to run and does not require stabilization time.
The power-up sequence is defined as the total time required for the crystal oscillator circuit to stabilize after a valid V
DD
is applied to the processor, and for the internal phase-locked loop (PLL) to lock onto the specific crystal frequency. A minimum of 2000 CLKIN cycles ensures that the PLL has locked, but does not include the crystal oscillator start-up time. During this power-up sequence the RESET
signal should be held low. On any subsequent resets, the RESET signal must meet the minimum pulse-width specification
).
(t
RSP
The RESET RC circuit is used to generate the RESET
input contains some hysteresis; however, if an
signal, the use of
an external Schmitt trigger is recommended. The master reset sets all internal stack pointers to the empty
stack condition, masks all interrupts, and clears the MSTAT register. When RESET
is released, if there is no pending bus 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 completes.

POWER SUPPLIES

ADSP-218xN series members have separate power supply connections for the internal (V
) and external (V
DDINT
DDEXT
power supplies. The internal supply must meet the 1.8 V requirement. The external supply can be connected to a
1.8 V, 2.5 V, or 3.3 V supply. All external supply pins must be connected to the same supply. All input and I/O pins can tolerate input voltages up to 3.6 V, regardless of the external supply voltage. This feature provides maximum flexibility in mixing 1.8 V, 2.5 V, or 3.3 V components.
)

Figure 2. External Crystal Connections

–10– REV. 0
ADSP-218xN Series

MODES OF OPERATION

The ADSP-218xN series modes of operation appear in
Table 7.
Table 7. Modes of Operation
Mode D Mode C Mode B Mode A Booting Method
X000BDMA feature is used to load the first 32 program memory words
from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Full Memory
1
Mode.
X010No automatic boot operations occur. Program execution starts at
external memory location 0. Chip is configured in Full Memory Mode. BDMA can still be used, but the processor does not automat­ically use or wait for these operations.
0100BDMA feature is used to load the first 32 program memory words
from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Host Mode. IACK has active pull-down. (Requires additonal hardware.)
0101IDMA feature is used to load any internal memory as desired.
Program execution is held off until the host writes to internal program memory location 0. Chip is configured in Host Mode.
has active pull-down.
IACK
1100BDMA feature is used to load the first 32 program memory words
from the byte memory space. Program execution is held off until all 32 words have been loaded. Chip is configured in Host Mode; IACK requires external pull-down. (Requires additonal hardware.)
1101IDMA feature is used to load any internal memory as desired.
Program execution is held off until the host writes to internal program memory location 0. Chip is configured in Host Mode.
requires external pull-down.
IACK
1
Considered as standard operating settings. Using these configurations allows for easier design and better memory management.
1
1

Setting Memory Mode

Memory Mode selection for the ADSP-218xN series is made during chip reset through the use of the Mode C pin. This pin is multiplexed with the DSP’s PF2 pin, so care must be taken in how the mode selection is made. The two meth­ods for selecting the value of Mode C are active and passive.

Passive Configuration

Passive Configuration involves the use of a pull-up or pull­down 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 DSP application, a weak pull-up or pull­down resistance, on the order of 10 k, can be used. This value should be sufficient to pull the pin to the desired level and still allow the pin to operate as a programmable flag output without undue strain on the processor’s output driver. For minimum power consumption during power­down, reconfigure PF2 to be an input, as the pull-up or pull­down resistance will hold the pin in a known state, and will not switch.

Active Configuration

Active Configuration involves the use of a three-statable external driver connected to the Mode C pin. A driver’s output enable should be connected to the DSP’s RESET signal such that it only drives the PF2 pin when RESET is active (low). When RESET
is deasserted, the driver should be three-state, thus allowing full use of the PF2 pin as either an input or output. To minimize power consumption during power-down, configure the programmable flag as an output when connected to a three-stated buffer. This ensures that the pin will be held at a constant level, and will not oscillate should the three-state driver’s level hover around the logic switching point.

IDMA ACK Configuration

Mode D = 0 and in host mode: IACK is an active, driven signal and cannot be “wire ORed.” Mode D = 1 and in host mode: IACK pull-down, but multiple IACK
is an open drain and requires an external
pins can be “wire ORed”
together.
–11–REV. 0
ADSP-218xN Series

MEMORY ARCHITECTURE

The ADSP-218xN series provides a variety of memory and peripheral interface options. The key functional groups are Program Memory, Data Memory, Byte Memory, and I/O.
0X3FFF
0X2000 0X1FFF
0X0000
PROGRAM MEMORY
MODEB = 1
RESERVED
EXTERNAL PM
0X3FFF
0X2000 0X1FFF
0X1000
0X0FFF
0X0000
PROGRAM MEMORY
PM OVERLAY 1,2
(EXTERNAL PM) PM OVERLAY 0

Figure 3. ADSP-2184 Memory Architecture

0X3FFF
0X2000 0X1FFF
0X0000
PROGRAM MEMORY
MODEB = 1
RESERV E D
EXTERNAL PM
0X3FFF
0X2000 0X1FFF
0X0000
PROGRAM MEMORY
PM OVERLAY 1,2
(EXTERNAL PM) PM OVERLAY 0
Refer to Figure 3 through Figure 8, Table 8 on page 14, and
Table 9 on page 14 for PM an d DM memo ry alloca tions in
the ADSP-218xN series.
MODEB = 0
(RESERVED)
RESERVED
INTERNAL PM
MODEB = 0
(RESERVED)
INTERNAL PM
0X3FFF
0X3FE0 0X3FDF
0X3000
0X2FFF
0X2000 0X1FFF
0X0000
0X3FFF
0X3FE0 0X3FDF
0X2000 0X1FFF
0X0000
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
4064 RESERVED
WORDS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM)
DM OVERLAY 0
(RESERVED)
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM) DM OVERLAY 0
(INTERNAL DM)
0X3FFF
0X2000 0X1FFF
0X0000
PROGRAM MEMORY
MODEB = 1
RESERVED
EXTERNAL PM

Figure 4. ADSP-2185 Memory Architecture

PROGRAM MEMORY
MODEB = 0
0X3FFF
0X2000 0X1FFF
0X0000
PM OVERLAY 1,2
(EXTERNAL PM) PM OVERLAY 0
(RESERVED)
INTERNAL PM
0X3FFF
0X3FE0 0X3FDF
0X2000 0X1FFF
0X0000

Figure 5. ADSP-2186 Memory Architecture

–12– REV. 0
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM)
DM OVERLAY 0
(RESERVED)
ADSP-218xN Series
0X3FFF
0X2000 0X1FFF
0X0000
0x3FFF
0x2000 0x1FFF
0x0000
PROGRAM MEMORY
MODEB = 1
RESERVED
EXTERNAL PM

Figure 6. ADSP-2187 Memory Architecture

PROGRAM MEMORY
MODEB = 1
RESERVED
EXTERNAL PM
0X3FFF
0X2000 0X1FFF
0X0000
0x3FFF
0x2000 0x1FFF
0x0000
PROGRAM MEMORY
MODEB = 0
PM OVERLAY 1,2
(EXTERNAL PM)
PM OVERLAY 0,4,5
(INTERNAL PM)
INTERNAL PM
PROGRAM MEMORY
MODEB = 0
PM OVERLAY 1,2
(EXTERNAL PM)
PM OVERLAY
0,4,5,6,7
(INTERNAL PM)
INTERNAL PM
0X3FFF
0X3FE0 0X3FDF
0X2000 0X1FFF
0X0000
0x3FFF
0x3FE0 0x3FDF
0x2000 0x1FFF
0x0000
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM)
DM OVERLAY 0,4,5
(INTERNAL DM)
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM)
DM OVERLAY
0,4,5,6,7,8
(INTERNAL DM)
0X3FFF
0X2000 0X1FFF
0X0000

Figure 7. ADSP-2188 Memory Architecture

PROGRAM MEMORY
MODEB = 1
RESERV E D
EXTERNAL PM

Figure 8. ADSP-2189 Memory Architecture

0X3FFF
0X2000 0X1FFF
0X0000
PROGRAM MEMORY
MODEB = 0
PM OVERLAY 1,2
(EXTERNAL PM)
PM OVERLAY 0,4,5
(INTERNAL PM)
INTERNAL PM
–13–REV. 0
0X3FFF
0X3FE0 0X3FDF
0X2000 0X1FFF
0X0000
DATA MEMORY
32 MEMORY-MAPPED
CONTROL REGISTERS
INTERNAL DM
DM OVERLAY 1,2
(EXTERNAL DM)
DM OVERLAY
0,4,5,6,7
(INTERNAL DM)
ADSP-218xN Series

Program Memory

Program Memory (Full Memory Mode) is a 24-bit-wide space for storing both instruction opcodes and data. The ADSP-218xN series has up to 48K words of Program Memory RAM on chip, and the capability of accessing up to two 8K external memory overlay spaces, using the exter­nal data bus.

Table 8. PMOVLAY Bits

Processor PMOVLAY Memory A13 A12–0
ADSP-2184N No Internal
Overlay Region ADSP-2185N 0 Internal Overlay Not Applicable Not Applicable ADSP-2186N No Internal
Overlay Region ADSP-2187N 0, 4, 5 Internal Overlay Not Applicable Not Applicable ADSP-2188N 0, 4, 5, 6, 7 Internal Overlay Not Applicable Not Applicable ADSP-2189N 0, 4, 5 Internal Overlay Not Applicable Not Applicable All Processors 1 External Overlay 1 0 13 LSBs of Address Between 0x2000 and
All Processors 2 External Overlay 2 1 13 LSBs of Address Between 0x2000 and

Data Memory

Data Memory (Full Memory Mode) is a 16-bit-wide space used for the storage of data variables and for memory­mapped control registers. The ADSP-218xN series has up to 56K words of Data Memory RAM on-chip. Part of this space is used by 32 memory-mapped registers. Support also exists for up to two 8K external memory overlay spaces through the external data bus. All internal accesses com-
Not Applicable Not Applicable Not Applicable
Not Applicable Not Applicable Not Applicable
Program Memory (Host Mode) allows access to all internal memory. External overlay access is limited by a single exter­nal address line (A0). External program execution is not available in host mode due to a restricted data bus that is only 16 bits wide.
0x3FFF
0x3FFF
plete in one cycle. Accesses to external memory are timed using the wait states specified by the DWAIT register and the wait state mode bit.
Data Memory (Host Mode) allows access to all internal memory. External overlay access is limited by a single exter­nal address line (A0).
Table 9. DMOVLAY Bits
Processor DMOVLAY Memory A13 A12–0
ADSP-2184N No Internal Overlay
Region ADSP-2185N 0 Internal Overlay Not Applicable Not Applicable ADSP-2186N No Internal Overlay
Region ADSP-2187N 0, 4, 5 Internal Overlay Not Applicable Not Applicable ADSP-2188N 0, 4, 5, 6, 7, 8 Internal Overlay Not Applicable Not Applicable ADSP-2189N 0, 4, 5, 6, 7 Internal Overlay Not Applicable Not Applicable All Processors 1 External Overlay 1 0 13 LSBs of Address
All Processors 2 External Overlay 2 1 13 LSBs of Address
Not Applicable Not Applicable Not Applicable
Not Applicable Not Applicable Not Applicable
Between 0x0000 and 0x1FFF
Between 0x0000 and 0x1FFF
–14– REV. 0
ADSP-218xN Series

Memory-Mapped Registers (New to the ADSP-218xM and N series)

ADSP-218xN series members have three memory-mapped registers that differ from other ADSP-21xx Family DSPs. The slight modifications to these registers (Wait State Con­trol, Programmable Flag and Composite Select Control, and System Control) provide the ADSP-218xN’s wait state and BMS
control features. Default bit values at reset are shown; if no value is shown, the bit is undefined at reset. Reserved bits are shown on a grey field. These bits should always be written with zeros.

I/O Space (Full Memory Mode)

ADSP-218xN series members support an additional exter­nal memory space called I/O space. This space is designed to support simple connections to peripherals (such as data converters and external registers) or to bus interface ASIC data registers. I/O space supports 2048 locations of 16-bit wide data. The lower eleven bits of the external address bus are used; the upper three bits are undefined.
Two instructions were added to the core ADSP-2100 Family instruction set to read from and write to I/O memory space. The I/O space also has four dedicated three-bit wait state registers, IOWAIT0–3 as shown in Figure 9, which in combination with the wait state mode bit, specify up to 15 wait states to be automatically generated for each of four regions. The wait states act on address ranges, as shown in Table 10.
Note: In Full Memory Mode, all 2048 locations of I/O space are directly addressable. In Host Memory Mode, only address pin A0 is available; therefore, additional logic is required externally to achieve complete addressability of the 2048 I/O space locations.

Table 10. Wait States

1514131211109876543210
1111111111111111
WAIT STATE MO DE SE LE CT 0 = NORMAL MO DE (PWA IT , DWA IT, IO WAI T 0–3 = N WAIT STAT ES,
RANGING FROM 0 TO 7)
1 = 2N + 1 MODE (PWAIT, DWAIT, IO WAIT0–3 = 2N + 1 WAIT STATES,
RANGING FROM 0 TO 15)
WAIT STATE CONTROL
o
r
t
DWAIT IOWAIT3 IOWAIT2 IOWAIT1 IOWAIT0
t
i
a
W
t
r
e
s
n
I
n
o
C
e
t
a
t
S
r
e
t
s
i
g
e
R
l
DM(0X3FFE)

Figure 9. Wait State Control Register

Composite Memory Select

ADSP-218xN series members have a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space. The CMS each of the individual memory select signals (PMS
signal is generated to have the same timing as
, DMS, BMS, IOMS) but can combine their functionality. Each bit in the CMSSEL register, when set, causes the CMS
signal to be asserted when the selected memory select is asserted. For example, to use a 32K word memory to act as both program and data memory, set the PMS the CMSSEL register and use the CMS select of the memory, and use either DMS
and DMS bits in
pin to drive the chip
or PMS as the
additional address bit. The CMS
pin functions like 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 selected memory select signal. All enable bits default to 1 at reset, except the BMS
bit.
See Figure 10 and Figure 11 for illustration of the program- mable flag and composite control register and the system control register.
Address Range Wait State Register
0x000–0x1FF IOWAIT0 and Wait State Mode
Select Bit
0x200–0x3FF IOWAIT1 and Wait State Mode
Select Bit
0x400–0x5FF IOWAIT2 and Wait State Mode
Select Bit
0x600–0x7FF IOWAIT3 and Wait State Mode
Select Bit
PROGRAM MABLE FLAG A ND COMPOSITE
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
1111101100000000
BMWA IT CMSSE L
SELECT CONTR O L
0 = DISABLE CMS 1 = ENABL E CMS
(WHERE BIT: 11-IOM, 10-BM, 9-DM, 8-PM)
PFTYPE 0 = INPUT 1 = OUTPUT
Figure 10. Programmable Flag and Composite Control Register
–15–REV. 0
DM(0X3FE6)
ADSP-218xN Series
SYSTEM CONTROL
1514131211109876543210
0000010000000111
RESERVED
SET TO 0
SPORT0 ENABLE 0 = DISABLE 1 = ENABLE
SPORT1 ENABL E 0 = DISABLE 1 = ENABLE
SPORT1 CONFIGURE 0 = FI, FO, IRQ0, IRQ1, SCL K 1 = SPORT1
NOTE: RESER VED B ITS ARE SHO WN O N A GRA Y F IELD. TH ESE BI TS
SHOULD ALWAYS BE WRI TTEN WIT H ZEROS.
RESERVED, A LWAYS
SET TO 0
DISABL E BMS 0 = ENABLE BMS 1 = DISABLE BMS
PWAIT PROGRAM MEMORY WAIT STATES
DM(0X3 FFF)
Figure 11. System Control Register

Byte Memory Select

The ADSP-218xN’s BMS disable feature combined with the CMS
pin allows use of multiple memories in the byte memory space. For example, an EPROM could be attached to the BMS to CMS
select, and a flash memory could be connected
. Because at reset BMS is enabled, the EPROM would be used for booting. After booting, software could disable BMS
and set the CMS signal to respond to BMS,
enabling the flash memory.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0000000000001000
BDMA CONTRO L
BMPAGE
BDMA
OVERLAY
BITS
(SEE TABLE 12)
DM (0x3FE3)
BTYPE
BDIR 0 = LOAD FROM BM
1 = STORE TO BM BCR 0 = RUN DURING BDMA 1 = HALT DURING BDMA

Figure 12. BDMA Control Register

The BDMA circuit supports four different data formats that are selected by the BTYPE register field. The appropriate number of 8-bit accesses are done from the byte memory space to build the word size selected. Table 11 shows the data formats supported by the BDMA circuit.

Table 11. Data Formats

Internal
BTYPE
00 Program
Memory Space Word Size Alignment
24 Full Word
Memory 01 Data Memory 16 Full Word 10 Data Memory 8 MSBs 11 Data Memory 8 LSBs

Byte Memory

The byte memory space is a bidirectional, 8-bit-wide, external memory space used to store programs and data. Byte memory is accessed using the BDMA feature. The byte memory space consists of 256 pages, each of which is 16K 8bits.
The byte memory space on the ADSP-218xN series sup­ports read and write operations as well as four different data formats. The byte memor y uses data bits 15 –8 for data. The byte memory uses data bits 23– 16 and address bits 13– 0 to create a 22-bit address. This allows up to a 4 meg  8 (32 megabit) ROM or RAM to be used without glue logic. All byte memory accesses are timed by the BMWAIT reg­ister and the wait state mode bit.

Byte Memory DMA (BDMA, Full Memory Mode)

The byte memory DMA controller (Figure 12) allows loading and storing of program instructions and data using the by te me mor y sp ace . T he BD MA cir cu it is ab le t o a cc es s the byte memory space while the processor is operating normally and steals only one DSP cycle per 8-, 16-, or 24­bit word transferred.
Unused bits in the 8-bit data memory formats are filled with 0s. The BIAD register field is used to specify the starting address for the on-chip memory involved with the transfer. The 14-bit BEAD register specifies the starting address for the external byte memory space. The 8-bit BMPAGE reg­ister specifies the starting page for the external byte memory space. The BDIR register field selects the direction of the transfer. Finally, the 14-bit BWCOUNT register specifies the number of DSP words to transfer and initiates the BDMA circuit transfers.
BDMA accesses can cross page boundaries during sequen­tial addressing. A BDMA interrupt is generated on the com­pletion of the number of transfers specified by the BWCOUNT register.
The BWCOUNT register is updated after each transfer so it can be used to check the status of the transfers. When it reaches zero, the transfers have finished and a BDMA interrupt is generated. The BMPAGE and BEAD registers must not be accessed by the DSP during BDMA operations.
The source or destination of a BDMA transfer will always be on-chip program or data memory.
When the BWCOUNT register is written with a nonzero value the BDMA circuit starts executing byte memory accesses with wait states set by BMWAIT. These accesses continue until the count reaches zero. When enough access­es have occurred to create a destination word, it is trans­ferred to or from on-chip memory. The transfer takes one
–16– REV. 0
ADSP-218xN Series
DSP cycle. DSP accesses to external memory have priority over BDMA byte memory accesses.
The BDMA Context Reset bit (BCR) controls whether the processor is held off while the BDMA accesses are occur­ring. Setting the BCR bit to 0 allows the processor to con­tinue operations. Setting the BCR bit to 1 causes the processor to stop execution while the BDMA accesses are occurring, to clear the context of the processor, and start execution at address 0 when the BDMA accesses have completed.
The BDMA overlay bits specify the OVLAY memory blocks to be accessed for internal memory. Set these bits as indi­cated in.
Note: BDMA cannot access external overlay memory regions 1 and 2.
The BMWAIT field, which has four bits on ADSP-218xN series members, allows selection up to 15 wait states for BDMA transfers.

Internal Memory DMA Port (IDMA Port; Host Memory Mode)

The IDMA Port provides an efficient means of communi­cation between a host system and ADSP-218xN series members. The port is used to access the on-chip program memory and data memory of the DSP with only one DSP cycle per word overhead. The IDMA port cannot, however, be used to write to the DSP’s memory-mapped control reg­isters. A typical IDMA transfer process is shown as follows:
1. Host starts IDMA transfer.
2. Host checks IACK busy.
3. Host uses IS DMA starting address (IDMAA) or the PM/DM OVLAY selection into the DSP’s IDMA control regis­ters. If Bit 15 = 1, the value of bits 7–0 represent the IDMA over lay; bi ts 1 4– 8 mus t be se t t o 0 . If Bi t 1 5 = 0 , the value of Bits 13–0 represent the starting address of internal memory to be accessed and Bit 14 reflects PM or DM for access. Set IDDMOVLAY and IDPMOVLAY bits in the IDMA overlay register as indicted in Table 12.
4. Host uses IS internal memory (PM or DM).
5. Host checks IACK the previous IDMA operation.
6. Host ends IDMA transfer.
control line to see if the DSP is
and IAL control lines to latch either the
and IRD (or IWR) to read (or write) DSP
line to see if the DSP has completed

Table 12. IDMA/BDMA Overlay Bits

IDMA/BDMA
Processor
ADSP-2184N ADSP-2185N ADSP-2186N ADSP-2187N ADSP-2188N ADSP-2189N 0, 4, 5 0, 4, 5, 6, 7
The IDMA port has a 16-bit multiplexed address and data bus and supports 24-bit program memory. The IDMA port is completely asynchronous and can be written while the ADSP-218xN is operating at full speed.
The DSP memory address is latched and then automatically incremented after each IDMA transaction. An external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block. This increases throughput as the address does not have to be sent for each memory access.
IDMA Port access occurs in two phases. The first is the IDMA Address Latch cycle. When the acknowledge is as­serted, a 14-bit address and 1-bit destination type can be driven onto the bus by an external device. The address spec­ifies an on-chip memory location, the destination type spec­ifies whether it is a DM or PM access. The falling edge of the IDMA address latch signal (IAL) or the missing edge of the IDMA select signal (IS IDMAA register.
Once the address is stored, data can be read from, or written to, the ADSP-218xN’s on-chip memory. Asserting the select line (IS and IWR ticular transaction is required. In either case, there is a one­processor-cycle delay for synchronization. The memory access consumes one additional processor cycle.
Once an access has occurred, the latched address is auto­matically incremented, and another access can occur.
Through the IDMAA register, the DSP can also specify the starting address and data format for DMA operation. Asserting the IDMA port select (IS enable (IAL) directs the ADSP-218xN to write the address onto the IAD14–0 bus into the IDMA Control Register (Figure 13). If Bit 15 is set to 0, IDMA latches the address. If Bit 15 is set to 1, IDMA latches into the OVLAY register. This register, also shown in Figure 13, is memory-mapped at address DM (0x3FE0). Note that the latched address (IDMAA) cannot be read back by the host.
When Bit 14 in 0x3FE7 is set to zero, short reads use the timing shown in Figure 34 on page 37. When Bit 14 in 0x3FE7 is set to 1, timing in Figure 35 on page 38 applies for short reads in short read only mode. Set IDDMOVLAY
respectively) signals the ADSP-218xN that a par-
PMOVLAY
0 0 0 0, 4, 5 0, 4, 5, 6, 7
) latches this value into the
) and the appropriate read or write line (IRD
IDMA/BDMA DMOVLAY
0 0 0 0, 4, 5 0, 4, 5, 6, 7, 8
) and address latch
–17–REV. 0
ADSP-218xN Series
and IDPMOVLAY bits in the IDMA overlay register as indicated in Table 12. Refer to the ADSP-218x DSP Hard- ware Reference for additional details.
Note: In full memory mode all locations of 4M-byte memory space are directly addressable. In host memory mode, only address pin A0 is available, requiring additional external logic to provide address information for the byte.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
000000000000000
0
RESERVED SET TO 0 IDDMOVLAY IDPMOVLAY
RESERVED SET TO 0
IDMA CONTROL (U = UNDEFINED AT RESET)
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0
UUUUUUUUUUUUUUU
RESERVED SET TO 0
NOTE: RESERVED BITS ARE SHOWN ON A GRAY FIELD. THESE
BITS SHOULD ALWAYS BE WRITTEN WITH ZEROS.
IDMA OVE RLAY
SHORT READ ONLY 0 = DISABL E 1 = ENABLE
IDMAA ADDRESS
IDMAD DESTINATION MEMORY TYPE 0 = PM 1 = DM
DM (0x3FE7)
(SEE TA BLE 1 2)
DM (0x3FE0)

Figure 13. IDMA OVLAY/Control Registers

Bootstrap Loading (Booting)

ADSP-218xN series members have two mechanisms to allow automatic loading of the internal program memory after reset. The method for booting is controlled by the Mode A, B, and C configuration bits.
When the mode pins specify BDMA booting, the ADSP­218xN initiates a BDMA boot sequence when reset is released.
The BDMA interface is set up during reset to the following defaults when BDMA booting is specified: the BDIR, BMPAGE, BIAD, and BEAD registers are set to 0, the BTYPE register is set to 0 to specify program memory 24­bit words, and the BWCOUNT register is set to 32. This causes 32 words of on-chip program memory to be loaded from byte memory. These 32 words are used to set up the BDMA to load in the remaining program code. The BCR bit is also set to 1, which causes program execution to be held off until all 32 words are loaded into on-chip program memory. Execution then begins at address 0.
The ADSP-2100 Family development software (Revision
5.02 and later) fully supports the BDMA booting feature and can generate byte memory space-compatible boot code.
The IDLE instruction can also be used to allow the proces­sor to hold off execution while booting continues through the BDMA interface. For BDMA accesses while in Host Mode, the addresses to boot memory must be constructed externally to the ADSP-218xN. The only memory address bit provided by the processor is A0.

IDMA Port Booting

ADSP-218xN series members can also boot programs through its Internal DMA port. If Mode C = 1, Mode B = 0, and Mode A = 1, the ADSP-218xN boots from the IDMA port. IDMA feature can load as much on-chip memory as desired. Program execution is held off until the host writes to on-chip program memory location 0.

BUS REQUEST AND BUS GRANT

ADSP-218xN series members can relinquish control of the data and address buses to an external device. When the external device requires access to memory, it asserts the Bus Request (BR an external memory access, it responds to the active BR
) signal. If the ADSP-218xN is not performing
input in the following processor cycle by:
• Three-stating the data and address buses and the PMS DMS
, BMS, CMS, IOMS, RD, WR output drivers,
• Asserting the bus grant (BG
) signal, and
• Halting program execution.
If Go Mode is enabled, the ADSP-218xN will not halt program execution until it encounters an instruction that requires an external memory access.
If an ADSP-218xN series member is performing an external memory access when the external device asserts the BR signal, it will not three-state the memory interfaces nor assert the BG
signal until the processor cycle after the access completes. The instruction does not need to be completed when the bus is granted. If a single instruction requires two external memory accesses, the bus will be granted between the two accesses.
When the BR
signal, re-enables the output drivers, and continues
BG
signal is released, the processor releases the
program execution from the point at which it stopped. The bus request feature operates at all times, including
when the processor is booting and when RESET The BGH
pin is asserted when an ADSP-218xN series
is active.
member requires the external bus for a memory or BDMA access, but is stopped. The other device can release the bus by deasserting bus request. Once the bus is released, the ADSP-218xN deasserts BG
and BGH and executes the
external memory access.

FLAG I/O PINS

ADSP-218xN series members have eight general-purpose programmable input/output flag pins. They are controlled by two memory-mapped registers. The PFTYPE register determines the direction, 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 configured as an input is synchronized to the ADSP-218xN’s clock. Bits that are pro­grammed as outputs will read the value being output. The PF pins default to input during reset.
,
–18– REV. 0
ADSP-218xN Series
In addition to the programmable flags, ADSP-218xN series members have five fixed-mode flags, FI, FO, FL0, FL1, and FL2. FL0–FL2 are dedicated output flags. FI and FO are available as an alternate configuration of SPORT1.
Note: Pins PF0, PF1, PF2, and PF3 are also used for device configuration during reset.

INSTRUCTION SET DESCRIPTION

The ADSP-218xN series assembly language instruction set has an algebraic syntax that was designed for ease of coding and readability. The assembly language, which takes full advantage of the processor’s unique architecture, offers the following benefits:
• The algebraic syntax eliminates the need to remember cryptic assembler mnemonics. For example, a typical arithmetic add instruction, such as AR = AX0 + AY0, resembles a simple equation.
• Every instruction assembles into a single, 24-bit word that can execute in a single instruction cycle.
• The syntax is a superset ADSP-2100 Family assembly language and is completely source and object code com­patible with other family members. Programs may need to be relocated to utilize on-chip memory and conform to the ADSP-218xN’s interrupt vector and reset vector map.
• Sixteen condition codes are available. For conditional jump, call, return, or arithmetic instructions, the condition can be checked and the operation executed in the same instruction cycle.
• Multifunction instructions allow parallel execution of an arithmetic instruction, with up to two fetches or one write to processor memory space, during a single instruc­tion cycle.

DESIGNING AN EZ-ICE-COMPATIBLE SYSTEM

ADSP-218xN series members have on-chip emulation support and an ICE-Port, a special set of pins that interface to the EZ-ICE. These features allow in-circuit emulation without replacing the target system processor by using only a 14-pin connection from the target system to the EZ-ICE. Target systems must have a 14-pin connector to accept the EZ-ICE’s in-circuit probe, a 14-pin plug.
Note: The EZ-ICE uses the same V voltage used for V
. Because the input pins of the
DDEXT
voltage as the VDD
DD
ADSP-218xN series members are tolerant to input voltages up to 3.6 V, regardless of the value of V
, the voltage
DDEXT
setting for the EZ-ICE must not exceed 3.3 V. Issuing the chip reset command during emulation causes
the DSP to perform a full chip reset, including a reset of its memory mode. Therefore, it is vital that the mode pins are set correctly PRIOR to issuing a chip reset command from the emulator user interface. If a passive method of maintain­ing mode information is being used (as discussed in Setting
Memory Mode on page 11), it does not matter that the
mode information is latched by an emulator reset. However,
if the RESET
pin is being used as a method of setting the value of the mode pins, the effects of an emulator reset must be taken into consideration.
One method of ensuring that the values located on the mode pins are those desired is to construct a circuit like the one shown in Figure 14. This circuit forces the value located on the Mode A pin to logic high, regardless of whether it is latched via the RESET

Figure 14. Mode A Pin/EZ-ICE Circuit

or ERESET pin.
ERESET RESET
ADSP-218xN
1k
MODE A/PF0
PROGRAMMABLE I/O
The ICE-Port interface consists of the following ADSP­218xN pins: EBR ELIN, EMS
, EINT, EE, EBG, ECLK, ERESET,
, and ELOUT.
These ADSP-218xN pins must be connected only to the EZ-ICE connector in the target system. These pins have no function except during emulation, and do not require pull­up or pull-down resistors. The traces for these signals between the ADSP-218xN and the connector must be kept as short as possible, no longer than 3 inches.
The following pins are also used by the EZ-ICE: BR RESET
, and GND.
, BG,
The EZ-ICE uses the EE (emulator enable) signal to take control of the ADSP-218xN in the target system. This causes the processor to use its ERESET pins instead of the RESET
, BR, and BG pins. The BG
, EBR, and EBG
output is three-stated. These signals do not need to be jumper-isolated in the system.
The EZ-ICE connects to the target system via a ribbon cable and a 14-pin female plug. The female plug is plugged onto the 14-pin connector (a pin strip header) on the target board.

Target Board Connector for EZ-ICE Probe

The EZ-ICE connector (a standard pin strip header) is shown in Figure 15. This connector must be added to the target board design to use the EZ-ICE. Be sure to allow enough room in the system to fit the EZ-ICE probe onto the 14-pin connector.
The 14-pin, 2-row pin strip header is keyed at the Pin 7 location—Pin 7 must be removed from the header. The pins must be 0.025 inch square and at least 0.20 inch in length.
–19–REV. 0
ADSP-218xN Series
1
GND
3
EBG
56
EBR
7
KEY (NO PIN)
ELOUT
RESET

910
11
EE
13 14

Figure 15. Target Board Connector for EZ-ICE

Pin spacing should be 0.10.1 inches. The pin strip header must have at least 0.15 inch clearance on all sides to accept the EZ-ICE probe plug.
Pin strip headers are available from vendors such as 3M, McKenzie, and Samtec.

Target Memory Interface

For the target system to be compatible with the EZ-ICE emulator, it must comply with the memory interface guide­lines listed below.
2
BG
4
BR
EINT
8
ELIN
ECLK
12
EMS
ERESET
TOP VIEW

Target System Interface Signals

When the EZ-ICE board is installed, the performance on some system signals changes. Design the system to be com­patible with the following system interface signal changes introduced by the EZ-ICE board:
• EZ-ICE emulation introduces an 8 ns propagation delay between the target circuitry and the DSP on the RESET
signal.
• EZ-ICE emulation introduces an 8 ns propagation delay between the target circuitry and the DSP on the BR signal.
• EZ-ICE emulation ignores RESET
and BR, when
single-stepping.
• EZ-ICE emulation ignores RESET
and BR when in
Emulator Space (DSP halted).
• EZ-ICE emulation ignores the state of target BR
in certain modes. As a result, the target system may take control of the DSP’s external memory bus only if bus grant (BG
) is
asserted by the EZ-ICE board’s DSP.

PM, DM, BM, IOM, and CM

Design the 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 timing requirements and switching characteris­tics as specified in this data sheet. The performance of the EZ-ICE may approach published worst-case specification for some memory access timing requirements and switching characteristics.
Note: If the target does not meet the worst-case chip spec­ification for memory access parameters, the circuitry may not be able to be emulated at the desired CLKIN frequency. Depending on the severity of the specification violation, the system may be difficult to manufacture, as DSP compo­nents statistically vary in switching characteristic and timing requirements, within published limits.
Restriction: All memory strobe signals on the ADSP­218xN (RD
, WR, PMS, DMS, BMS, CMS, and IOMS) used in the target system must have 10 k pull-up resistors connected when the EZ-ICE is being used. The pull-up resistors are necessary because there are no internal pull­ups to guarantee their state during prolonged three-state conditions resulting from typical EZ-ICE debugging ses­sions. These resistors may be removed when the EZ-ICE is not being used.
–20– REV. 0

SPECIFICATIONS

RECOMMENDED OPERATING CONDITIONS
ADSP-218xN Series
Parameter
V
DDINT
V
DDEXT
V
INPUT
T
AMB
1
Specifications subject to change without notice.
2
The ADSP-218xN is 3.3 V tolerant (always accepts up to 3.6 V max VIH), but voltage compliance (on outputs, VOH) depends on the input V because V TFS0, TFS1, A13–A1, PF7–PF0) and input-only pins (CLKIN, RESET
1
2
(max) approximately equals V
OH
Min Max Min Max
1.71 1.89 1.8 2.0 V
1.71 3.6 1.8 3.6 V V
= – 0.3 V
IL
= + 3.6 V
IH
= – 0.3 VIH = + 3.6 V
IL
0 70–40 +85°C
(max). This 3.3 V tolerance applies to bidirectional pins (D23–D0, RFS0, RFS1, SCLK0, SCLK1,
DDEXT
, BR, DR0, DR1, PWD).
Unit
DDEXT
ELECTRICAL CHARACTERISTICS
Parameter1Description Test Conditions Min Typ Max Unit
K Grade (Commercial) B Grade (Industrial)
V
V
V
V
I
I
I
I
I
I
IH
IL
OH
OL
IH
IL
OZH
OZL
DD
DD
Hi-Level Input Voltage2,
3
@ V V
DDINT
@ V V
Lo-Level Input Voltage2,
3
DDINT
@ V V
DDINT
@ V V
DDINT
Hi-Level Output Voltage2, 4, 5@ V
I
OH
@ V = – 0.5 mA @ V = – 0.5 mA @ V I
OH
Lo-Level Output Voltage2, 4, 5@ V
I
10
OL
@ V V
IN
@ V V
IN
@ V V
IN
@ V V
IN
@ V t
CK
T
AMB
@ V t
CK
T
AMB
Hi-Level Input Current
Lo-Level Input Current
Three-State Leakage Current Three-State Leakage Current
7
7
Supply Current (Idle)
3
3
9
Supply Current (Dynamic)
= 1.71 to 2.0 V,
DDEXT
= max
= 2.1 to 3.6 V,
DDEXT
= max
2.0 V,
DDEXT
= min
2.0 V,
DDEXT
= min
= 1.71 to 2.0 V,
DDEXT
= – 0.5 mA
= 2.1 to 2.9 V, IOH
DDEXT
= 3.0 to 3.6 V, IOH
DDEXT
= 1.71 to 3.6 V,
DDEXT
= – 100 µA
DDEXT
6
= 1.71 to 3.6 V,
= 2.0 mA
= max,
DDINT
= 3.6 V
= max,
DDINT
= 0 V
= max,
DDEXT
= 3.6 V
DDEXT
= 0 V
DDINT
8
= max,
8
= 1.8 V,
= 12.5 ns,
= 25°C
= 1.8 V,
DDINT
= 12.5 ns11,
= 25°C
1.25 V
0.6
0.7
1.35
2.0
2.4
– 0.3
V
DDEXT
0.4 V 10 µA 10 µA 10 µA 10 µA
6mA
25 mA
,
V
V
V
V
V
V
–21–REV. 0
ADSP-218xN Series ELECTRICAL CHARACTERISTICS (CONTINUED)
Parameter1Description Test Conditions Min Typ Max Unit
I
DD
I
DD
I
DD
C
I
C
O
1
Specifications subject to change without notice.
2
Bidirectional pins: D23 – 0, RFS0, RFS1, SCLK0, SCLK1, TFS0, TFS1, A13–1, PF7–0.
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–FL0, BGH.
5
Although specified for TTL outputs, all ADSP-218xN outputs are CMOS-compatible and will drive to V
6
Guaranteed but not tested.
7
Three-statable pins: A13–A1, D23 –D 0, PMS, DMS, BMS, IOMS, CMS, RD, WR, DT0, DT1, SCLK0, SCLK1, TFS0, TFS1, RFS0, RFS1, PF7 – PF0.
8
0 V on BR.
9
Idle refers to ADSP-218xN state of operation during execution of IDLE instruction. Deasserted pins are driven to either VDD 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 values for supply currents, refer to Power Dissipation section.
12
See ADSP-218x DSP Hardware Reference for details.
13
Output pin capacitance is the capacitive load for any three-stated output pin.
Supply Current (Idle)
Supply Current (Dynamic)
Supply Current (Power-
12
Down)
Input Pin Capacitance3,
Output Pin Capacitance
6, 7, 12, 13
9
6
10
@ V t
CK
T
AMB
@ V t
CK
T
AMB
@ V T
AMB
= 1.9 V,
DDINT
= 12.5 ns,
= 25°C
= 1.9 V,
DDINT
= 12.5 ns11,
= 25°C
= 1.8 V,
DDINT
= 25°C
in Lowest Power Mode @ VIN = 1.8 V,
= 1.0 MHz,
f
IN
= 25°C
T
AMB
@ VIN = 1.8 V, f
= 1.0 MHz,
IN
= 25°C
T
AMB
6.5 mA
26 mA
100 µA
8pF
8pF
and GND, assuming no dc loads.
DDEXT

ABSOLUTE MAXIMUM RATINGS

Internal Supply Voltage (V External Supply Voltage (V Input Voltage Output Voltage Swing
2
. . . . . . . . . . . . . . . . . . . . . . –0.5 V to +4.0 V
3
. . . . . . . . . . .–0.5 V to V
)1. . . . . . . . – 0.3 V to +2.2 V
DDINT
) . . . . . . . . –0.3 V to +4.0 V
DDEXT
DDEXT
+0.5 V
Operating Temperature Range . . . . . . . . . . .–40ºC to +85ºC
Storage Temperature Range . . . . . . . . . . . . –65ºC to +150ºC
Lead Temperature (5 sec) LQFP . . . . . . . . . . . . . . . –280ºC
1
Stresses greater than those listed above may cause permanent damage to the device. These are stress ratings only. Functional operation of the device at these or any other conditions greater than those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating condi­tions for extended periods may affect device reliability.
2
Applies to Bidirectional pins (D23– 0, RFS0, RFS1, SCLK0, SCLK1, TFS0, TFS1, A13–1, PF7– 0) and Input only pins (CLKIN, RESET
).
PWD
3
Applies to Output pins (BG, PMS, DMS, BMS, IOMS, CMS, RD, WR, PWDACK, A0, DT0, DT1, CLKOUT, FL2–0, BGH
, BR, DR0, DR1,
).
–22– REV. 0

ESD SENSITIVITY

CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADSP-218xN features proprietary ESD protection circuitry, permanent damage may occur on devices subjected to high-energy electrostatic discharges. Therefore, proper ESD precautions are recommended to avoid perfor­mance degradation or loss of functionality.
ADSP-218xN Series

Power Dissipation

To determine total power dissipation in a specific applica­tion, the following equation should be applied for each output: C V
DD
2
f
where: C = load capacitance, f = output switching frequency. Example: In an application where external data memory
is used and no other outputs are active, power dissipation is calculated as follows:
Assumptions:
• External data memory is accessed every cycle with 50% of the address pins switching.
• External data memory writes occur every other cycle with 50% of the data pins switching.
• Each address and data pin has a 10 pF total load at the pin.
• Application operates at V
Total Power Dissipation = P P
INT
page 26.
(C V example in Table 13.

Table 13. Example Power Dissipation Calculation

Parameters # of Pins × C (pF) × V
Address 7 10 3.3 Data Output, WR
RD CLKOUT, DMS
910 110 210
Total power dissipation for this example is
+45.72 mW.
P
INT
= 3.3 V and tCK = 30 ns.
DDEXT
+ (C V
INT
DDEXT
2
f)
= internal power dissipation from Figure 20 on
2
f) is calculated for each output, as in the
DDEXT
2
(V) × f (MHz) PD (mW)
DDEXT
3.3
3.3
3.3
2
2 2
2
20.0 15.25
20.0 19.59
20.0 2.18
40.0 8.70
45.72
–23–REV. 0
ADSP-218xN Series
)
)

Environmental Conditions

Table 14. Thermal Resistance

1
Rating Description
Thermal Resistance
Symbol
θ
CA
(Case-to-Ambient) Thermal Resistance
θ
JA
(Junction-to-Ambient) Thermal Resistance
θ
JC
(Junction-to-Case)
1
Where the Ambient Temperature Rating (T
= T
T
AMB
T
CASE
PD = Power Dissipation in W
– (PD × θ
CASE
= Case Temperature in °C
CA
)

Tes t C on d i t i on s

INPUT
OUTPUT

Figure 16. Voltage Reference Levels for AC Measurements (Except Output Enable/Disable)

LQFP (°C/W)
48 63.3
50 70.7
27.4
) is:
AMB
1.5V
2.0V
1.5V
0.8V
I
OL
Mini­BGA (°C/W)
REFERENCE
SIGNAL
(MEASURED)
OUTPUT
(MEASURED)
t
t
DIS
V
OH
V
OL
OUTPUT ST O PS
MEASURED
V
(MEASURED) – 0.5V
OH
V
(MEASURED) + 0.5V
OL
t
DECAY
DRIVING
HIGH-IMPEDANCE STATE. TEST CONDITI ONS CAUSE
THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1.5V.
t
ENA
V
OH
(MEASURED
2.0V
1.0V V
OL
(MEASURED
OUTPUT STARTS
DRIVING

Figure 18. Output Enable/Disable

Output Disable Time

Output pins are considered to be disabled when they have stopped driving and started a transition from the measured output high or low voltage to a high impedance state. The output disable time (t
, as shown in Figure 18. The time is the interval from
t
DECAY
) is the difference of t
DIS
MEASURED
and
when a reference signal reaches a high or low voltage level t o w hen th e o ut p ut vo lt ag es ha ve ch an ge d b y 0 .5 V f ro m t he measured output high or low voltage.
The decay time, t
, and the current load, iL, on the output pin. It can be
C
L
, is dependent on the capacitive load,
DECAY
approximated by the following equation:
CL0.5V×
t
DECAY
-------------------------
=
i
L
TO
OUTPUT
PIN
50pF
IOH
1.5V

Figure 17. Equivalent Loading for AC Measurements (Including All Fixtures)

from which
t
DIStMEASUREDtDECAY
=
is calculated. If multiple pins (such as the data bus) are disabled, the measurement value is that of the last pin to stop driving.

Output Enable Time

Output pins are considered to be enabled when they have made a transition from a high-impedance state to when they start driving. The output enable time (t
) is the interval
ENA
from when 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 Figure 18. If multiple pins (such as the data bus) are enabled, the measurement value is that of the first pin to start driving.
–24– REV. 0
ADSP-218xN Series

TIMING SPECIFICATIONS

This section contains timing information for the DSP’s external signals.

General Notes

Use the exact timing information given. Do not attempt to derive parameters from the addition or subtraction of others. While addition or subtraction would yield meaning­ful results for an individual device, the values given in this data sheet reflect statistical variations and worst cases. Con­sequently, parameters cannot be added up meaningfully to derive longer times.

Timing Notes

Switching characteristics specify how the processor changes its signals. Designers have no control over this timing— circuitry external to the processor must be designed for compatibility with these signal characteristics. Switching characteristics tell what the processor will do in a given circumstance. Switching characteristics can also be used to ensure that any timing requirement of a device connected to the processor (such as memory) is satisfied.
Timing requirements apply to signals that are controlled by circuitry external to the processor, such as the data input for a read operation. Timing requirements guarantee that the processor operates correctly with other devices.
80
60
V
OH
40
A
V
DDEXT
m – T
20
N E R R
V
0
U C E C
–20
R U O S
–40
–60
–80
= 1.8V @ +85C
DDEXT
00.51.0
= 2.5V @ +85C
V
OL
SOURCE VOLTAGE – V
V
= 3.6V @ –40
DDEXT
V
V
= 3.6V @ –40C
DDEXT
V
V
DDEXT
DDEXT
V
DDEXT
1.5 2.0 2.5 3.0 3.5 4.0

C
= 3.3V @ +25C
DDEXT
= 1.8/2.5V @ +85C
= 1.8/2.5V @ +85C
= 3.3V @ +25C
Figure 19. Typical Output Driver Characteristics for V
at 3.6 V, 3.3 V, 2.5 V, and 1.8 V
DDEXT

Frequency Dependency For Timing Specifications

tCK is defined as 0.5 t
. The ADSP-218xN uses an input
CKI
clock with a frequency equal to half the instruction rate. For example, a 40 MHz input clock (which is equivalent to 25 ns) yields a 12.5 ns processor cycle (equivalent to 80 MHz). t
values within the range of 0.5 t
CK
period
CKI
should be substituted for all relevant timing parameters to obtain the specification value.
Example: t
= 0.5 tCK – 2 ns = 0.5 (12.5 ns) – 2 ns= 4.25 ns
CKH

Output Drive Currents

Figure 19 shows typical I-V characteristics for the output
drivers on the ADSP-218xN series.The cur ves represent the current drive capability of the output drivers as a function of output voltage.
Figure 21 shows the typical power-down supply current.

Capacitive Loading

Figure 22 and Figure 23 on page 26 show the capacitive
loading characteristics of the ADSP-218xN.
–25–REV. 0
ADSP-218xN Series
60
55
50
W m –
45
)
T
42mW
N
I
40
P
( R
E W
O P
W m –
)
E L D
I
P
( R
E W O
P
W m –
)
n
E L D
I
P
( R
E W
O P
NOTES
38mW
35
34mW 30mW
30
25 20
15.0
14.0
13.0
12.0
11.0
10.5 m W
10.0
9.5mW
9.0
8.5mW
8.0
7.5mW
7.0
6.0
5.0
12.0
10.0
9.5mW
8.5mW
8.0
6.0
4.2mW
4.0
3.8mW
3.4mW
2.0
0.0
VALID FOR ALL TEMPERATURE GRADES.
1
POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS.
2
TYPICAL POWER DISSIPATION AT 1.8V OR 1.9V V 25°C, EXCE PT W H ERE SPECIF I ED .
3
I
MEASUREMENT TAKEN WITH ALL INSTRUCTIONS
DD
EXECUTING FROM INTERNAL MEMORY. 50% OF THE INSTR UCTIONS ARE MULTIF UNC T I ON ( T Y P E S 1, 4, 5, 12, 13 ,
14), 30% ARE TYPE 2 AND TYPE 6, AND 20% ARE IDLE INSTRUCTIONS.
4
IDLE REFERS TO STATE OF OPERATION DURING EXECUTION OF IDLE INSTR UCTION. DEASSERTED PINS ARE DRIVEN TO EITHER V
POWER, INTERNAL
2
=
T
N
I
D
V
D
=
T
N
I
D
V
D
1
=
T
N
I
D
V
D
1
=
T
N
I
D
V
D
6055
65 70 75 80 85
t
– MHz
1/
CK
POWER , IDLE
=
T
N
I
D
V
D
=
T
N
I
D
V
D
=
T
N
I
D
V
D
=
T
N
I
V
D
D
6055 65 70 75 80 85
1/tCK – MHz
POWER, IDLE n MODES
VDD COR E = 1.9V VDD COR E = 1.8V
6055 65 70 75 80 85
OR GND.
DD
1/tCK – MHz
1, 2, 3
V
0
.
V
9
.
1
V
8
.
V
1
7
.
1, 2, 4
V
0
.
2
V
9
.
1
V
8
.
1
V
1
7
.
1
2
DDINT
Figure 20. Power vs. Frequency
55mW
50mW
45mW
40mW
13.5mW
12mW
10.5m W
9mW
12.0mW
10.5mW
5.2mW
4.9mW
4.7mW
4.3mW
AND
1000
A µ
– )
100
E L A C S
G O L
( T
10
N E R R U C
0
08525 55
NOTES
TEMPERATURE – °C
V V V V
DD DD DD DD
= 2.0V = 1.9V = 1.8V = 1.7V
1. REFL EC TS AD SP-218xN OPERATION IN LOWEST POWER MODE . (SEE THE "SYSTEM INTERFACE" CHAPTER OF THE ADSP-218x DSP HARDWAR E REFER ENCE FOR DETAILS.)
2. CURRENT REFLECTS DEVICE OPERATING WITH NO INPUT LOADS.
Figure 21. Typical Power-Down Current
30
T = 85C
= 0V TO 2.0V
V
DD
25
s n
– )
20
V 4
. 2 – V
15
4
.
0
( E M
I
10
T E
S
I R
5
0
50
100 150 200 250
3000
CL – pF
Figure 22. Typical Output Rise Time vs. Load Capacitance (at Maximum Ambient Operating Temperature)
18 16
s
14
n –
D
12
L O
10
H R
O Y
A L E D
T U P T U O
D
I L A V
NOMINAL
8 6
4 2
–2 –4 –6
0
50 100 150 250200
CL – pF
Figure 23. Typical Output Valid Delay or Hold vs. Load Capacitance, C
(at Maximum Ambient Operating
L
Temperature)
–26– REV. 0
ADSP-218xN Series

Clock Signals and Reset

Table 15. Clock Signals and Reset
Parameter Min Max Unit
Timing Requirements:
t
CKI
t
CKIL
t
CKIH
Switching Characteristics: t
CKL
t
CKH
t
CKOH
Control Signals Timing Requirements:
t
RSP
t
MS
t
MH
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).
CLKIN Period 25 40 ns CLKIN Width Low 8 ns CLKIN Width High 8 ns
CLKOUT Width Low 0.5tCK – 3 ns CLKOUT Width High 0.5tCK – 3 ns CLKIN High to CLKOUT High 0 8 ns
RESET Width Low 5t
CK
1
ns Mode Setup before RESET High 7 ns Mode Hold after RESET High 5 ns
t
CKI
t
CKIH
CLKIN
CLKOUT
MODE A D
RESET
t
CKIL
t
CKL
t
MS
t
RSP
t
CKOH
t
CKH
t
MH
Figure 24. Clock Signals and Reset
–27–REV. 0
ADSP-218xN Series

Interrupts and Flags

Table 16. Interrupts and Flags
Parameter Min Max Unit
Timing Requirements:
t
IFS
t
IFH
IRQx, FI, or PFx Setup before CLKOUT Low1, 2, 3, IRQx, FI, or PFx Hold after CLKOUT High1, 2, 3,
Switching Characteristics:
t
5
t
FOH
5
FOD
t
FOH
t
FOD
1
If IRQx and FI inputs meet t recognized on the following cycle. (Refer to “Interrupt Controller Operation” in the Program Control chapter of the ADSP-218x DSP Hardware Reference for further information on interrupt servicing.)
2
Edge-sensitive interrupts require pulsewidths greater than 10 ns; level-sensitive interrupts must be held low until serviced.
3
IRQx = IRQ0, IRQ1, IRQ2, IRQL0, IRQL1, IRQLE.
4
PFx = PF0, PF1, PF2, PF3, PF4, PF5, PF6, PF7.
5
Flag Outputs = PFx, FL0, FL1, FL2, FO.
Flag Output Hold after CLKOUT Low Flag Output Delay from CLKOUT Low
and t
IFS
setup/hold requirements, they will be recognized during the current clock cycle; otherwise the signals will be
IFH
CLKOUT
4
4
0.25tCK + 10 ns
0.25t
CK
ns
0.5tCK – 5 ns
0.5tCK + 4 ns
FLAG
OUTPUTS
IRQx
PFx
FI
Figure 25. Interrupts and Flags
t
IFH
t
IFS
–28– REV. 0
ADSP-218xN Series

Bus Request–Bus Grant

Table 17. Bus Request–Bus Grant
Parameter Min Max Unit
Timing Requirements:
t
BH
t
BS
BR Hold after CLKOUT High BR Setup before CLKOUT Low
Switching Characteristics:
t
SD
t
SDB
t
SE
t
SEC
t
SDBH
t
SEH
1
BR is an asynchronous signal. If BR meets the setup/hold requirements, it will be recognized during the current clock cycle; otherwise the signal will be recognized on the following cycle. Refer to the ADSP-2100 Family User’s Manual for BR
2
xMS = PMS, DMS, CMS, IOMS, BMS.
3
BGH is asserted when the bus is granted and the processor or BDMA requires control of the bus to continue.
CLKOUT High to xMS, RD, WR Disable xMS, RD, WR Disable to BG Low 0ns BG High to xMS, RD, WR Enable 0ns xMS, RD, WR Enable to CLKOUT High 0.25tCK – 3 ns xMS, RD, WR Disable to BGH Low BGH High to xMS, RD, WR Enable
CLKOUT
1
1
2
3 3
/BG cycle relationships.
t
BH
0.25tCK + 2 ns
0.25tCK + 8 ns
0.25tCK + 8 ns
0ns 0ns
CLKOUT
PMS, DMS
BMS, RD
CMS, WR,
IOMS
BGH
BG
BR
t
BS
t
SD
t
SDB
t
SDBH
t
SEC
t
SE
t
SEH
Figure 26. Bus Request–Bus Grant
–29–REV. 0
ADSP-218xN Series

Memory Read

Table 18. Memory Read
Parameter Min Max Unit
Timing Requirements:
t t t
RDD
AA
RDH
RD Low to Data Valid A13– 0, xMS to Data Valid Data Hold from RD High 0 ns
Switching Characteristics:
t
RP
t
CRD
t
ASR
t
RDA
t
RWR
1
w = wait states x tCK.
2
xMS = PMS, DMS, CMS, IOMS, BMS.
RD pulsewidth 0.5tCK – 3 + w ns CLKOUT High to RD Low 0.25tCK – 2 0.25tCK + 4 ns A13– 0, xMS Setup before RD Low 0.25tCK – 3 ns A13– 0, xMS Hold after RD Deasserted 0.25tCK – 3 ns RD High to RD or WR Low 0.5tCK – 3 ns
CLKOUT
A0–A13
1
2
0.5tCK – 5 + w ns
0.75tCK – 6 + w ns
DMS, PMS,
BMS, IOMS,
CMS
D0–D23
WR
t
RDA
RD
t
t
ASR
CRD
t
RP
t
t
AA
RDD
t
RDH
t
RWR
Figure 27. Memory Read
–30– REV. 0
ADSP-218xN Series

Memory Write

Table 19. Memory Write
Parameter Min Max Unit
Switching Characteristics:
t
DW
t
DH
t
WP
t
WDE
t
ASW
t
DDR
t
CWR
t
AW
t
WRA
t
WWR
1
w = wait states  tCK.
2
xMS = PMS, DMS, CMS, IOMS, BMS.
Data Setup before WR High Data Hold after WR High 0.25tCK – 1 ns WR pulsewidth 0.5tCK – 3 + w ns WR Low to Data Enabled 0ns A13– 0, xMS Setup before WR Low Data Disable before WR or RD Low 0.25tCK – 3 ns CLKOUT High to WR Low 0.25tCK – 2 0.25tCK + 4 ns A13– 0, xMS Setup before WR Deasserted 0.75tCK – 5 + w ns A13– 0, xMS Hold after WR Deasserted 0.25tCK – 1 ns WR High to RD or WR Low 0.5tCK – 3 ns
CLKOUT
A0–A 13
1
2
0.5tCK– 4 + w ns
0.25tCK – 3 ns
DMS, PM S, BMS, CMS,
IOMS
WR
D0–D23
RD
t
t
CWR
ASW
t
WDE
t
WP
t
AW
t
Figure 28. Memory Write
DW
t
WRA
t
WWR
t
DH
t
DDR
–31–REV. 0
ADSP-218xN Series

Serial Ports

Table 20. Serial Ports
Parameter Min Max Unit
Timing Requirements:
t
SCK
t
SCS
t
SCH
t
SCP
Switching Characteristics:
t
CC
t
SCDE
t
SCDV
t
RH
t
RD
t
SCDH
t
TDE
t
TDV
t
SCDD
t
RDV
SCLK Period 30 ns DR/TFS/RFS Setup before SCLK Low 4 ns DR/TFS/RFS Hold after SCLK Low 7 ns SCLKIN Width 12 ns
CLKOUT High to SCLKOUT 0.25t
CK
0.25tCK + 6 ns SCLK High to DT Enable 0 ns SCLK High to DT Valid 12 ns TFS/RFS TFS/RFS
Hold after SCLK High 0 ns
OUT
Delay from SCLK High 12 ns
OUT
DT Hold after SCLK High 0 ns TFS (Alt) to DT Enable 0 ns TFS (Alt) to DT Valid 12 ns SCLK High to DT Disable 12 ns RFS (Multichannel, Frame Delay Zero) to DT Valid 12 ns
CLKOUT
SCLK
TFS RFS
RFS
OUT
TFS
OUT
TFS
OUT
ALTERNATE
FRAME
MODE
RFS
MULTICHANNEL
MULTICHANNEL
OUT
MODE,
FRAME DELA Y 0
(MFD = 0)
TFSIN
ALTERNATE
FRAME
MODE
RFS
MODE,
FRAME DELA Y 0
(MFD = 0)
t
CC
DR
I
N
IN
t
t
RH
t
t
SCDE
DT
IN
t
TDE
t
TDE
RD
SCDV
t
TDV
t
RDV
t
TDV
t
RDV
t
CC
t
t
SCS
SCH
t
t
SCDH
SCDD
t
SCP
t
SCK
t
SCP
Figure 29. Serial Ports
–32– REV. 0
ADSP-218xN Series
R

IDMA Address Latch

Table 21. IDMA Address Latch
Parameter Min Max Unit
Timing Requirements:
t
IALP
t
IASU
t
IAH
t
IKA
t
IALS
t
IALD
1
Start of Address Latch = IS Low and IAL High.
2
End of Address Latch = IS High or IAL Low.
3
Start of Write or Read = IS Low and IWR Low or IRD Low.
Duration of Address Latch1, IAD15–0 Address Setup before Address Latch End IAD15–0 Address Hold after Address Latch End IACK Low before Start of Address Latch2, Start of Write or Read after Address Latch End2, Address Latch Start after Address Latch End1,
IACK
IAL
IS
2
2
2
3
3
2
t
IKA
t
IALP
t
IALD
t
IALP
10 ns 5ns 3ns 0ns 3ns 2ns
IAD15–0
IRD OR
IW
t
IASU
t
IAH
t
IASU
Figure 30. IDMA Address Latch
t
IAH
t
IALS
–33–REV. 0
ADSP-218xN Series

IDMA Write, Short Write Cycle

Table 22. IDMA Write, Short Write Cycle
Parameter Min Max Unit
Timing Requirements:
t
IKW
t
IWP
t
IDSU
t
IDH
IACK Low before Start of Write Duration of Write1,
2
IAD15–0 Data Setup before End of Write2, 3, IAD15–0 Data Hold after End of Write2, 3,
Switching Characteristic:
t
IKHW
1
Start of Write = IS Low and IWR Low.
2
End of Write = IS High or IWR High.
3
If Write Pulse ends before IACK Low, use specifications t
4
If Write Pulse ends after IACK Low, use specifications t
Start of Write to IACK High 10 ns
IACK
IS
IKSU
t
IKW
IDSU
1
4
4
, t
.
IDH
, t
.
IKH
t
IKHW
0ns 10 ns 3ns 2ns
IWR
IAD15–0
t
IWP
t
t
IDSU
IDH
DATA
Figure 31. IDMA Write, Short Write Cycle
–34– REV. 0
ADSP-218xN Series

IDMA Write, Long Write Cycle

Table 23. IDMA Write, Long Write Cycle
Parameter Min Max Unit
Timing Requirements:
t
IKW
t
IKSU
t
IKH
IACK Low before Start of Write IAD15–0 Data Setup before End of Write2, 3, IAD15–0 Data Hold after End of Write2, 3,
Switching Characteristics:
t
IKLW
t
IKHW
1
Start of Write = IS Low and IWR Low.
2
If Write Pulse ends before IACK Low, use specifications t
3
If Write Pulse ends after IACK Low, use specifications t
4
This is the earliest time for IACK Low from Start of Write. For IDMA Write cycle relationships, please refer to the ADSP-2100 Family User’s Manual.
Start of Write to IACK Low Start of Write to IACK High 10 ns
IACK
IS
4
t
IKW
IDSU
IKSU
1
4
4
, t
.
IDH
, t
.
IKH
t
IKHW
t
IKLW
0ns
0.5tCK + 5 ns 0ns
1.5t
CK
ns
IWR
IAD15–0
t
IKSU
DATA
t
IKH
Figure 32. IDMA Write, Long Write Cycle
–35–REV. 0
ADSP-218xN Series

IDMA Read, Long Read Cycle

Table 24. IDMA Read, Long Read Cycle
Parameter Min Max Unit
Timing Requirements:
t
IKR
t
IRK
IACK Low before Start of Read End of read after IACK Low
Switching Characteristics:
t
IKHR
t
IKDS
t
IKDH
t
IKDD
t
IRDE
t
IRDV
t
IRDH1
t
IRDH2
1
Start of Read = IS Low and IRD Low.
2
End of Read = IS High or IRD High.
3
DM read or first half of PM read.
4
Second half of PM read.
IACK High after Start of Read IAD15–0 Data Setup before IACK Low 0.5tCK – 3 ns IAD15 –0 Data Hold after End of Read IAD15–0 Data Disabled after End of Read IAD15–0 Previous Data Enabled after Start of Read 0 ns IAD15–0 Previous Data Valid after Start of Read 11 ns IAD15–0 Previous Data Hold after Start of Read (DM/PM1)32tCK – 5 ns IAD15– 0 Previous Data Hold after Start of Read (PM2)
1
2
1
2
2
4
0ns 2ns
10 ns
0ns
10 ns
tCK – 5 ns
IACK
IRD
IAD15–0
t
t
IKR
IS
t
IRDE
iKHR
t
IRDV
t
IRDH1 OR tIRDH2
PREVIOUS
DATA
t
IKDS
t
IRK
READ DATA
t
iKDD
t
IKDH
Figure 33. IDMA Read, Long Read Cycle
–36– REV. 0
ADSP-218xN Series

IDMA Read, Short Read Cycle

Table 25. IDMA Read, Short Read Cycle
Parameter
Timing Requirements:
t
IKR
t
IRP1
t
IRP2
Switching Characteristics:
t
IKHR
t
IKDH
t
IKDD
t
IRDE
t
IRDV
1
Short Read Only must be disabled in the IDMA overlay memory mapped register. This mode is disabled by clearing (=0) bit 14 of the IDMA overlay register, and is disabled by default upon reset.
2
Consider using the Short Read Only mode, instead, because Short Read mode is not applicable at high clock frequencies.
3
Start of Read = IS Low and IRD Low.
4
DM Read or first half of PM Read.
5
Second half of PM Read.
6
End of Read = IS High or IRD High.
1, 2
IACK Low before Start of Read Duration of Read (DM/PM1) Duration of Read (PM2)
5
IACK High after Start of Read IAD15–0 Data Hold after End of Read IAD15–0 Data Disabled after End of Read
3
4
3
6
6
Min Max Unit
0ns 10 2tCK – 5 ns 10 tCK – 5 ns
10 ns
0ns
10 ns IAD15–0 Previous Data Enabled after Start of Read 0 ns IAD15–0 Previous Data Valid after Start of Read 10 ns
IACK
IRD
IAD15–0
t
IKR
t
IS
t
IRDE
IKHR
t
iRDV
t
IRP
PREVIOUS
DATA
Figure 34. IDMA Read, Short Read Cycle
t
IKDD
t
IKDH
–37–REV. 0
ADSP-218xN Series

IDMA Read, Short Read Cycle in Short Read Only Mode

Table 26. IDMA Read, Short Read Cycle in Short Read Only Mode
Parameter
Timing Requirements:
t
IKR
t
IRP
Switching Characteristics:
t
IKHR
t
IKDH
t
IKDD
t
IRDE
t
IRDV
1
Short Read Only is enabled by setting Bit 14 of the IDMA overlay Register to 1 (0x3FE7). Short Read Only can be enabled by the processor core writing to the register or by an external host writing to the register. Disabled by default.
2
Start of Read = IS Low and IRD Low. Previous data remains until end of read.
3
End of Read = IS High or IRD High.
1
IACK Low before Start of Read Duration of Read
3
IACK High after Start of Read
2
2
IAD15–0 Previous Data Hold after End of Read IAD15–0 Previous Data Disabled after End of Read
3
3
Min Max Unit
0ns 10 ns
10 ns
0ns
10 ns IAD15–0 Previous Data Enabled after Start of Read 0 ns IAD15–0 Previous Data Valid after Start of Read 10 ns
IACK
IAD15– 0
LEGEND: I M P LIE S TH AT IS AND IRD CAN BE HELD INDEFINITELY BY HOST
IRD
t
IKR
t
IS
t
IRDE
IKH R
t
IRDV
t
IRP
PREVIOUS
DAT A
t
IKDD
t
IKD H
Figure 35. IDMA Read, Short Read Cycle in Short Read Only Mode
–38– REV. 0
ADSP-218xN Series

LQFP Package Pinout

The LQFP package pinout is shown in the illustration below and in Table 27. Pin names in bold text in the table 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

100-LEAD LQFP PIN CONFIGURATION

]
]
A
B
E
E
D
D
K
O
O
C
M
M
A
[
[
D
H G
W P
B
5
6
9
9
D
D
0
1
N
F
W
F
P
G
P
P
2
4
3
1
9
9
9
9
ADSP-218xN
TOP VIEW
(Not to Scale)
5
4
3
2
1
0
3
3
0
7
T
F
D
P +
2 Q R
I
3
3
3
3
0
0
0
0
R
S
K
S
F
D
L
F
R
T
C S
V
A4/IAD3 A5/IAD4
GND A6/IAD5 A7/IAD6 A8/IAD7 A9/IAD8
A10/IAD9 A11/IAD10 A12/IAD11 A13/IAD12
GND
CLKIN
XTAL
V
DDEXT
CLKOUT
GND
V
DDINT
WR
BMS DMS PMS
IOMS
CMS
0
1
2
D
D
D
A
A
A
I
I
I
/
/
/
1
2
3
0 A
A
A
A 0
8
7
9
0
9
9
9
1
1
PIN 1
2
IDENTIFIER
3 4 5 6 7 8 9
10 11
12 13 14 15 16 17 18 19
RD
20 21 22 23 24 25
9
7
8
6
2
2
2
2
5
4
6
D
F
F
F
N
P
P
P
G
+
+
+
0
1
E
L
L
Q
Q
Q
R
I
R
R
I
I
deassertion of RESET TFS1/IRQ1
, RFS1/IRQ0, and DR1/FI, are mode
. The multiplexed pins DT1/FO,
selectable by setting Bit 10 (SPORT1 configure) of the System Control Register. If Bit 10 = 1, these pins have serial port functionality. If Bit 10 = 0, these pins are the external interrupt and flag pins. This bit is set to 1 by default, upon reset.
]
]
D
C
E
E
D
D
O
O
T X
M
M
[
[
E D
3
2
D
F
V
P
0
9
9
8
6
7
3
3
T
O
X
F
E
/
D
1
D
T
D
2
0
1
F P
8
8
8
3
1 Q R
I
/ 1 S F T
3
2
L
L
L
D
F
F
F
6
7
5
4
8
8
8
8
0
1
9
2
4
4
3
4
I
1
0
D
F
/
K
N
Q
1
L
R
G
I
R
C
/
S
D
1 S F R
D
1
0
2
2
2
2
D
D
D
1
2
3
8
8
8
4
5
3
4
4
4
T
S
T
E
E
M
S
S
E
E
E
R
R E
7
6
8
9
N
1
1
1
1
G
D
D
D
D
7
0
9
8
6
7
8
7
7
7
75
D15
74
D14 D13
73
D12
72
GND
71 70
D11
69
D10
68
D9 V
67
DDEXT
66
GND
65
D8
64
D7/IWR
63
D6/IRD
62
D5/IAL
61
D4/IS
60
GND V
59
DDINT
58
D3/IACK
57
D2/IAD15
56
D1/IAD14
55
D0/IAD13
54
BG
53
EBG
52
BR
51
EBR
6
7
9
8
4 E
E
0
4
4
4
5
T
T
K
N
I
U
L
N
L
I
C
O
E
E
E
L E
–39–REV. 0
ADSP-218xN Series
Table 27. LQFP Package Pinout
Pin # Pin Name
1A4/IAD3 2A5/IAD4 3GND 4A6/IAD5 5A7/IAD6 6A8/IAD7 7A9/IAD8 8 A10/IAD9 9 A11/IAD10 10 A12/IAD11 11 A13/IAD12 12 GND 13 CLKIN 14 XTAL 15 V
DDEXT
16 CLKOUT 17 GND 18 V
DDINT
19 WR 20 RD 21 BMS 22 DMS 23 PMS 24 IOMS 25 CMS 26 IRQE + PF4 27 IRQL0 + PF5 28 GND 29 IRQL1
+ PF6 30 IRQ2 + PF7 31 DT0 32 TFS0 33 RFS0 34 DR0 35 SCLK0 36 V
DDEXT
37 DT1/FO 38 TFS1/IRQ1 39 RFS1/IRQ0 40 DR1/FI 41 GND 42 SCLK1 43 ERESET 44 RESET 45 EMS 46 EE 47 ECLK 48 ELOUT 49 ELIN 50 EINT 51 EBR
Table 27. LQFP Package Pinout (Continued)
Pin # Pin Name
52 BR 53 EBG 54 BG 55 D0/IAD13 56 D1/IAD14 57 D2/IAD15 58 D3/IACK 59 V
DDINT
60 GND 61 D4/IS 62 D5/IAL 63 D6/IRD 64 D7/IWR 65 D8 66 GND 67 V
DDEXT
68 D9 69 D10 70 D11 71 GND 72 D12 73 D13 74 D14 75 D15 76 D16 77 D17 78 D18 79 D19 80 GND 81 D20 82 D21 83 D22 84 D23 85 FL2 86 FL1 87 FL0 88 PF3 [Mode D] 89 PF2 [Mode C] 90 V
DDEXT
91 PWD 92 GND 93 PF1 [Mode B] 94 PF0 [Mode A] 95 BGH 96 PWDACK 97 A0 98 A1/IAD0 99 A2/IAD1 100 A3/IAD2
–40– REV. 0
ADSP-218xN Series

Mini-BGA Package Pinout

The Mini-BGA package pinout is shown in the illustration below and in Table 28. Pin names in bold text in the table 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

144-BALL MINI-BGA PACKAGE PINOUT (BOTTOM VIEW)

D23D20D18D17D16
D21D19D15NCD14
NCD13D12NCGND
V
DDEXT
V
DDEXT
PF2
[MODE C]
at the deassertion of RESET DT1/FO, TFS1/IRQ1
. The multiplexed pins
, RFS1/IRQ0, and DR1/FI, are mode selectable by setting Bit 10 (SPORT1 configure) of the System Control Register. If Bit 10 = 1, these pins have serial port functionality. If Bit 10 = 0, these pins are the external interrupt and flag pins. This bit is set to 1 by default upon reset.
23456789101112
A2/IAD1A1/IAD0GNDA0NCGNDNCNCNCD22GNDGND
A4/IAD3A3/IAD2GNDNCNCGND
PWDACKA6/IAD5RDA5/IAD 4A7/IAD6PWD
PF1
[MODE B]
1
A
B
C
NCWRNCBGHA9/IAD8
D
V
DDINT
GNDD10
V
DDINT
V
DDEXT
GNDGND
PF3
[MODE D]
FL2
DT0TFS0D2/IAD15D3/ IACKGNDNCGND
SCL K 0D0/IAD13RFS1/IRQ0BGD1/IAD14
PF0
[MODE A]
V
DDINT
V
DDEXT
V
DDEXT
IOMSGNDPM SDR0GNDRESETELINELOU TEIN T
A8/IAD7FL0
NC
IRQL1 + PF6
V
DDEXT
V
DDINT
V
A13/IAD12NCA12 /I AD11A11/IAD 10FL1NCNCD7 /IWRD11D8NCD9
CLKINGNDGNDGND
CLKOUT
IRQE + PF4NC
IRQL0 + PF5IRQ2 + PF7NCCMSGNDDT 1/FODR1/FIGNDNCEMSEEECLK
DDEXT
XTALNCGNDA10/IAD9NCNCNCD6/IRDD5/IALNCNCD4/IS
NCNCNCBMSDMSRFS0TFS1/IRQ1SCLK1ERESETEBRBREBG
E
F
G
H
J
K
L
M
–41–REV. 0
ADSP-218xN Series
Table 28. Mini-BGA Package Pinout
Ball # Pin Name
A01 A2/IAD1 A02 A1/IAD0 A03 GND A04 A0 A05 NC A06 GND A07 NC A08 NC A09 NC A10 D22 A11 GND A12 GND B01 A4/IAD3 B02 A3/IAD2 B03 GND B04 NC B05 NC B06 GND B07 V
DDEXT
B08 D23 B09 D20 B10 D18 B11 D17 B12 D16 C01 PWDACK C02 A6/IAD5 C03 RD C04 A5/IAD4 C05 A7/IAD6 C06 PWD C07 V
DDEXT
C08 D21 C09 D19 C10 D15 C11 NC C12 D14 D01 NC D02 WR D03 NC D04 BGH D05 A9/IAD8 D06 PF1 [MODE B] D07 PF2 [MODE C] D08 NC D09 D13 D10 D12 D11 NC D12 GND E01 V
E02 V
DDEXT
DDEXT
Table 28. Mini-BGA Package Pinout (Continued)
Ball # Pin Name
E03 A8/IAD7 E04 FL0 E05 PF0 [MODE A] E06 FL2 E07 PF3 [MODE D] E08 GND E09 GND E10 V
DDEXT
E11 GND E12 D10 F01 A13/IAD12 F02 NC F03 A12/IAD11 F04 A11/IAD10 F05 FL1 F06 NC F07 NC F08 D7/IWR F09 D11 F10 D8 F11 NC F12 D9 G01 XTAL G02 NC G03 GND G04 A10/IAD9 G05 NC G06 NC G07 NC G08 D6/IRD G09 D5/IAL G10 NC G11 NC G12 D4/IS H01 CLKIN H02 GND H03 GND H04 GND H05 V
DDINT
H06 DT0 H07 TFS0 H08 D2/IAD15 H09 D3/IACK H10 GND H11 NC H12 GND J01 CLKOUT J02 V
DDINT
J03 NC
V
J04 J05 V
DDEXT
DDEXT
–42– REV. 0
Table 28. Mini-BGA Package Pinout (Continued)
Ball # Pin Name
J06 SCLK0 J07 D0/IAD13 J08 RFS1/IRQ0 J09 BG J10 D1/IAD14 J11 V J12 V
DDINT
DDINT
K01 NC K02 NC K03 NC K04 BMS K05 DMS K06 RFS0 K07 TFS1/IRQ1 K08 SCLK1 K09 ERESET K10 EBR K11 BR K12 EBG L01 IRQE + PF4 L02 NC L03 IRQL1
+ PF6 L04 IOMS L05 GND L06 PMS L07 DR0 L08 GND L09 RESET L10 ELIN L11 ELOUT L12 EINT M01 IRQL0 + PF5 M02 IRQL2 + PF7 M03 NC M04 CMS M05 GND M06 DT1/FO M07 DR1/FI M08 GND M09 NC M10 EMS M11 EE M12 ECLK
ADSP-218xN Series
–43–REV. 0
ADSP-218xN Series

OUTLINE DIMENSIONS

Dimensions in outline dimension drawings are shown in millimeters.
144-BALL MINI-BGA
(CA-144)
10.10
10.00 SQ
9.90
TOP VIEW
1.40 MAX
NOTES:
1.
DIMENSIO NS IN MI L L IM ET ER S . ACTUAL POSITION OF THE BALL G RID IS
2. WITHIN 0.15 OF ITS IDEAL POSITION, RELATIVE TO THE PAC KAGE EDGES.
ACTUAL POSITI ON OF EACH BALL IS WIT HIN 0.08
3. OF ITS IDEAL POSITION, RELATIVE TO THE BALL GRID.
CENTER DIMENSIONS ARE NOMINAL.
4.
8.80
BSC
SQ
DETAIL A
0.43
0.25
0.80 BSC
BALL
PITCH
A1 CORNER I NDEX
TRIANG LE
12 1110 9 8 7 6 5 4 3 2 1
BOTTOM VIEW
0.55
0.50
0.45
BALL
DIAMETER
DETAIL A
0.10
MAX
A B C D E F G H J K L M
1.00
0.85
100-LEAD METRIC THIN PLASTIC QUAD FLATPACK (LQFP)
(ST-100)
16.20
16.00 SQ
15.80
14.05
14.00 SQ
13.95
12.00 TYP BSC
75
0.75
0.60 TYP
0.50
SEATING
PLANE
1.60 M AX
100 76
12
1
TYP
SEATING PLANE
TOP VIEW
(PINS DOWN)
0.08
MAX LEAD
COPLANARITY
0 - 7
0.15
NOTES:
DIMENSIONS IN MILLIMETERS.
1. THE ACTU A L POSITI ON OF EA CH LEAD IS WITHI N 0 .08 O F ITS
2. IDEAL POSITIO N, W HEN M EASURED I N THE L AT ERAL DI RECTI ON.
CENTER DIMENSIONS ARE NOM INAL.
3.
0.05
6 ± 4
25
26
0.50 BSC
(LEAD PITCH)
0.27
0.22 TYP
0.17
–44– REV. 0
51
50
(LEAD WI DT H)

Table 29. Ordering Guide

ADSP-218xN Series

ORDERING GUIDE

Part Number
ADSP-2184NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2184NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2185NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2185NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2186NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2186NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2187NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2187NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2188NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2188NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2189NKST-320 0ºC to 70ºC 80 100-Lead LQFP ST-100 ADSP-2189NBST-320 –40ºC to +85ºC 80 100-Lead LQFP ST-100 ADSP-2184NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2184NBCA-320 –40ºC to 85ºC 80 144-Ball MBGA CA-144 ADSP-2185NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2185NBCA-320 –40ºC to +85ºC 80 144-Ball MBGA CA-144 ADSP-2186NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2186NBCA-320 –40ºC to +85ºC 80 144-Ball MBGA CA-144 ADSP-2187NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2187NBCA-320 –40ºC to +85ºC 80 144-Ball MBGA CA-144 ADSP-2188NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2188NBCA-320 –40ºC to +85ºC 80 144-Ball MBGA CA-144 ADSP-2189NKCA-320 0ºC to 70ºC 80 144-Ball MBGA CA-144 ADSP-2189NBCA-320 –40ºC to +85ºC 80 144-Ball MBGA CA-144
Ambient Te m pe r a t u re Range
Instruction Rate (MHz)
Package Description
Package Option
–45–REV. 0
–46–
–47–
) 0
( 1 0
/ 0 1 – 1 – 6 6 6 2 0 C
–48–
.
A .
S .
U N
I D
E T N
I R P
Loading...