Datasheet ADSP-2109 Datasheet (ANALOG DEVICES)

Page 1
EXTERNAL
ADDRESS
BUS
DATA
MEMORY
PROGRAM
MEMORY
EXTERNAL
DATA
BUS
ARITHMETIC UNITS
SHIFTERMAC
ALU
MEMORY
SERIAL PORTS
SPORT 0 SPORT 1
DATA ADDRESS
GENERATORS DAG 1
DAG 2
PROGRAM
SEQUENCER
PROGRAM MEMORY ADDRESS
DATA MEMORY ADDRESS
PROGRAM MEMORY DATA
DATA MEMORY DATA
TIMER
a
Low Cost DSP Microcomputers
ADSP-2104/ADSP-2109
SUMMARY 16-Bit Fixed-Point DSP Microprocessors with
On-Chip Memory
Enhanced Harvard Architecture for Three-Bus
Performance: Instruction Bus & Dual Data Buses
Independent Computation Units: ALU, Multiplier/
Accumulator, and Shifter
Single-Cycle Instruction Execution & Multifunction
Instructions
On-Chip Program Memory RAM or ROM
& Data Memory RAM
Integrated I/O Peripherals: Serial Ports and Timer FEATURES
20 MIPS, 50 ns Maximum Instruction Rate Separate On-Chip Buses for Program and Data Memory Program Memory Stores Both Instructions and Data
(Three-Bus Performance)
Dual Data Address Generators with Modulo and
Bit-Reverse Addressing
Efficient Program Sequencing with Zero-Overhead
Looping: Single-Cycle Loop Setup
Automatic Booting of On-Chip Program Memory from
Byte-Wide External Memory (e.g., EPROM )
Double-Buffered Serial Ports with Companding Hardware,
Automatic Data Buffering, and Multichannel Operation Three Edge- or Level-Sensitive Interrupts Low Power IDLE Instruction PLCC Package
GENERAL DESCRIPTION
The ADSP-2104 and ADSP-2109 processors are single-chip microcomputers optimized for digital signal processing(DSP) and other high speed numeric processing applications. The ADSP-2104/ADSP-2109 processors are built upon a common core. Each processor combines the core DSP architecture— computation units, data address generators, and program sequencer—with differentiating features such ason-chip program and data memory RAM (ADSP-2109 contains 4K words of program ROM), a programmable timer, and two serial ports.
Fabricated in a high speed, submicron, double-layer metal CMOS process, the ADSP-2104/ADSP-2109 operates at 20 MIPS with a 50 ns instruction cycle time. The ADSP-2104L and ADSP-2109L are 3.3 volt versions which operate at
13.824 MIPS with a 72.3 ns instruction cycle time. Every instruction can execute in a single cycle. Fabrication in CMOS results in low power dissipation.
FUNCTIONAL BLOCK DIAGRAM
The ADSP-2100 Family’s flexible architecture and compre­hensive instruction set support a high degree of parallelism. In one cycle the ADSP-2104/ADSP-2109 can performall of the following operations:
Generate the next program address
Fetch the next instruction
Perform one or two data moves
Update one or two data address pointers
Perform a computation
Receive and transmit data via one or two serial ports
The ADSP-2104 contains 512 words of program RAM, 256 words of data RAM, an interval timer, and two serial ports. The ADSP-2104L is a 3.3 volt power supply version of the ADSP-2104; it is identical to the ADSP-2104 in all other characteristics.
The ADSP-2109 contains 4K words of program ROM and 256 words of data RAM, an interval timer, and two serial ports.
The ADSP-2109L is a 3.3 volt power supply version of the ADSP-2109; it is identical to the ADSP-2109 in all other characteristics.
REV. 0
Information furnished by Analog Devices is believed to be accurate and reliable. However, no responsibility is assumed by Analog Devices for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of Analog Devices.
© Analog Devices, Inc., 1996
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106, U.S.A. Tel: 617/329-4700 Fax: 617/326-8703
Page 2
ADSP-2104/ADSP-2109
The ADSP-2109 is a memory-variant version of the ADSP­2104 and contains factory-programmed on-chip ROM program memory.
The ADSP-2109 eliminates the need for an external boot EPROM in your system, and can also eliminate the need for any external program memory by fitting the entire application program in on-chip ROM. This device provides an excellent option for volume applications where board space and system cost constraints are of critical concern.
Development Tools
The ADSP-2104/ADSP-2109 processors are supported by a complete set of tools for system development. The ADSP-2100 Family Development Software includes C and assembly language tools that allow programmers to write code for any ADSP-21xx processor. The ANSI C compiler generates ADSP­21xx assembly source code, while the runtime C library provides ANSI-standard and custom DSP library routines. The ADSP­21xx assembler produces object code modules which the linker combines into an executable file. The processor simulators provide an interactive instruction-level simulation with a reconfigurable,
windowed user interface. A PROM splitter utility generates PROM programmer compatible files.
EZ-ICE
®
in-circuit emulators allow debugging of ADSP-2104 systems by providing a full range of emulation functions such as modification of memory and register values and execution breakpoints. EZ-LAB
®
demonstration boards are complete DSP
systems that execute EPROM-based programs. The EZ-Kit Lite is a very low cost evaluation/development
platform that contains both the hardware and software needed to evaluate the ADSP-21xx architecture.
Additional details and ordering information is available in the ADSP-2100 Family Software & Hardware Development Tools data sheet (ADDS-21xx-TOOLS). This data sheet can be requested from any Analog Devices sales office or distributor.
Additional Information
This data sheet provides a general overview of ADSP-2104/ ADSP-2109 processor functionality. For detailed design information on the architecture and instruction set, refer to the ADSP-2100 Family User’s Manual, available from Analog Devices.
EZ-ICE and EZ-LAB are registered trademarks of Analog Devices, Inc.
TABLE OF CONTENTS
GENERAL DESCRIPTION . . . . . . . . . . . . . . . . . . . . . . . . 1
Development Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
ARCHITECTURE OVERVIEW . . . . . . . . . . . . . . . . . . . . 3
Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Pin Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
SYSTEM INTERFACE . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Clock Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Program Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . 6
Program Memory Maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Data Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Data Memory Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Boot Memory Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Bus Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Low Power IDLE Instruction . . . . . . . . . . . . . . . . . . . . . . . 8
ADSP-2109 Prototyping . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Ordering Procedure for ADSP-2109 ROM Processors . . . . 9
Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
SPECIFICATIONS (ADSP-2104/ADSP-2109) . . . . . . . . 12
Recommended Operating Conditions . . . . . . . . . . . . . . . . 12
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Supply Current & Power . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Power Dissipation Example . . . . . . . . . . . . . . . . . . . . . . . . 14
Environmental Conditions . . . . . . . . . . . . . . . . . . . . . . . . . 14
Capacitive Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
SPECIFICATIONS (ADSP-2104L/ADSP-2109L) . . . . . . 16
Recommended Operating Conditions . . . . . . . . . . . . . . . . 16
Electrical Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Supply Current & Power . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Power Dissipation Example . . . . . . . . . . . . . . . . . . . . . . . . 18
Environmental Conditions . . . . . . . . . . . . . . . . . . . . . . . . . 18
Capacitive Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
TIMING PARAMETERS (ADSP-2104/ADSP-2109) . . . . . 20
Clock Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Interrupts & Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Bus Request–Bus Grant . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Memory Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Memory Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L) . . 27
Clock Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Interrupts & Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Bus Request–Bus Grant . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Memory Read . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Memory Write . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
PIN CONFIGURATIONS
68-Lead PLCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
PACKAGE OUTLINE DIMENSIONS
68-Lead PLCC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
ORDERING GUIDE . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
–2–
REV. 0
Page 3
ADSP-2104/ADSP-2109
DATA
ADDRESS
GENERATOR
#1
INPUT REGS
ALU
OUTPUT REGS
DATA
ADDRESS
GENERATOR
#2
24
PMD BUS
DMD BUS
16
PMA BUS
14
DMA BUS
14
INPUT REGS
MAC
OUTPUT REGS
INSTRUCTION
REGISTER
PROGRAM
SEQUENCER
INPUT REGS
SHIFTER
OUTPUT REGS
PROGRAM
MEMORY
SRAM
or ROM
BUS
EXCHANGE
16
R Bus
DATA
MEMORY
SRAM
TRANSMIT REG
RECEIVE REG
SERIAL PORT 0
5
1624
PMA BUS
DMA BUS
PMD BUS
DMD BUS
COMPANDING
CIRCUITRY
GENERATOR
TRANSMIT REG
Figure 1. ADSP-2104/ADSP-2109 Block Diagram
BOOT
ADDRESS
RECEIVE REG
SERIAL
PORT 1
5
TIMER
MUX
MUX
14
24
EXTERNAL ADDRESS BUS
EXTERNAL DATA BUS
ARCHITECTURE OVERVIEW
Figure 1 shows a block diagram of the ADSP-2104/ADSP-2109 architecture. The processor contains three independent compu­tational units: the ALU, the multiplier/accumulator (MAC), and the shifter. The computational 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 operations. The shifter performs logical and arithmetic shifts, normalization, denormalization, and derive exponent operations. The shifter can be used to efficiently implement numeric format control including multiword floating-point representations.
The internal result (R) bus directly connects the computational units so that the output of any unit may be used as the input of any unit on the next cycle.
A powerful program sequencer and two dedicated data address generators ensure efficient use of these computational units. The sequencer supports conditional jumps, subroutine calls, and returns in a single cycle. With internal loop counters and loop stacks, the ADSP-2104/ADSP-2109 executes looped code with zero overhead—no explicit jump instructions are required to maintain the loop. Nested loops are also supported.
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 modify registers. A length value may be associated with each pointer to implement automatic modulo addressing for
circular buffers. The circular buffering feature is also used by the serial ports for automatic data transfers to (and from) on­chip memory.
Efficient data transfer is achieved with the use of five internal buses:
• 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, DMA) share a single external
address bus, allowing memory to be expanded off-chip, and the two data buses (PMD, DMD) share a single external data bus. The
BMS, DMS, and PMS signals indicate which memory
space is using the external buses. Program memory can store both instructions and data, permit-
ting the ADSP-2104/ADSP-2109 to fetch two operands in a single cycle, one from program memory and one from data memory. The processor can fetch an operand from on-chip program memory and the next instruction in the same cycle.
The memory interface supports slow memories and memory­mapped peripherals with programmable wait state generation. External devices can gain control of the processor’s buses with the use of the bus request/grant signals (
BR, BG).
One bus grant execution mode (GO Mode) allows the ADSP­2104/ADSP-2109 to continue running from internal memory. A second execution mode requires the processor to halt while buses are granted.
REV. 0
–3–
Page 4
ADSP-2104/ADSP-2109
The ADSP-2104/ADSP-2109 can respond to several different interrupts. There can be up to three external interrupts, configured as edge- or level-sensitive. Internal interrupts can be generated by the timer and serial ports. There is also a master RESET signal.
Booting circuitry provides for loading on-chip program memory automatically from byte-wide external memory. After reset, three wait states are automatically generated. This allows, for example, the ADSP-2104 to use a 150 ns EPROM as external boot memory. Multiple programs can be selected and loaded from the EPROM with no additional hardware.
The data receive and transmit pins on SPORT1 (Serial Port 1) can be alternatively configured as a general-purpose input flag and output flag. You can use these pins for event signalling to and from an external device.
A programmable interval timer can generate periodic interrupts. A 16-bit count register (TCOUNT) is decremented every n cycles, where n–1 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).
Serial Ports
The ADSP-2104/ADSP-2109 processor includes two synchro­nous serial ports (“SPORTs”) for serial communications and multiprocessor communication.
The serial ports provide a complete synchronous serial interface with optional companding in hardware. A wide variety of framed or frameless data transmit and receive modes of opera­tion are available. Each SPORT can generate an internal programmable serial clock or accept an external serial clock.
Each serial port has a 5-pin interface consisting of the following signals:
Signal Name Function
SCLK Serial Clock (I/O) RFS Receive Frame Synchronization (I/O) TFS Transmit Frame Synchronization (I/O) DR Serial Data Receive DT Serial Data Transmit
The serial ports offer the following capabilities: Bidirectional—Each SPORT has a separate, double-buffered
transmit and receive function. Flexible Clocking—Each SPORT can use an external serial
clock or generate its own clock internally. Flexible Framing—The SPORTs have independent framing
for the transmit and receive functions; each function can run in a frameless mode or with frame synchronization signals inter­nally generated or externally generated; frame sync signals may be active high or inverted, with either of two pulse widths and timings.
Different Word Lengths—Each SPORT supports serial data word lengths from 3 to 16 bits.
Companding in Hardware—Each SPORT provides optional A-law and µ-law companding according to CCITT recommen- dation G.711.
Flexible Interrupt Scheme—Receive and transmit functions can generate a unique interrupt upon completion of a data word transfer.
Autobuffering with Single-Cycle Overhead—Each SPORT can automatically receive or transmit the contents of an entire circular data buffer with only one overhead cycle per data word; an interrupt is generated after the transfer of the entire buffer is completed.
Multichannel Capability (SPORT0 Only)—SPORT0 provides a multichannel interface to selectively receive or transmit a 24-word or 32-word, time-division multiplexed serial bit stream; this feature is especially useful for T1 or CEPT interfaces, or as a network communication scheme for multiple processors.
Alternate Configuration—SPORT1 can be alternatively configured as two external interrupt inputs ( the Flag In and Flag Out signals (FI, FO).
Interrupts
The interrupt controller lets the processor respond to interrupts with a minimum of overhead. Up to three external interrupt input pins, always available as a dedicated pin; alternately configured as part of Serial Port 1. The ADSP-2104/ ADSP-2109 also supports internal interrupts from the timer, and serial ports. The interrupts are internally prioritized and individually maskable (except for The edge-sensitivity. The interrupt priorities are shown in Table I.
ADSP-2104/ADSP-2109 Interrupt Interrupt Source Vector Address
RESET Startup 0x0000 IRQ2 0x0004 (High Priority)
SPORT0 Transmit 0x0008 SPORT0 Receive 0x000C SPORT1 Transmit or SPORT1 Receive or Timer 0x0018 (Low Priority)
The ADSP-2104/ADSP-2109 uses a vectored interrupt scheme: when an interrupt is acknowledged, the processor shifts program control to the interrupt vector address corresponding to the interrupt received. Interrupts can be optionally nested so that a higher priority interrupt can preempt the currently executing interrupt service routine. Each interrupt vector location is four instructions in length so that simple service routines can be coded entirely in this space. Longer service routines require an additional JUMP or CALL instruction.
Individual interrupt requests are logically ANDed with the bits in the IMASK register; the highest-priority unmasked interrupt is then selected.
IRQ0, IRQ1, and IRQ2, are provided. IRQ2 is
IRQ1 and IRQ0 may be
RESET which is nonmaskable).
IRQx input pins can be programmed for either level- or
Table I. Interrupt Vector Addresses & Priority
IRQ1 0x0010
IRQ0 0x0014
IRQ0, IRQ1) and
–4–
REV. 0
Page 5
ADSP-2104/ADSP-2109
The interrupt control register, ICNTL, allows the external interrupts to be set as either edge- or level-sensitive. Depending on bit 4 in ICNTL, interrupt service routines can either be nested (with higher priority interrupts taking precedence) or be processed sequentially (with only one interrupt service active at a time).
The interrupt force and clear register, IFC, is a write-only register that contains a force bit and a clear bit for each interrupt.
When responding to an interrupt, the ASTAT, MSTAT, and IMASK status registers are pushed onto the status stack and the PC counter is loaded with the appropriate vector address. The status stack is seven levels deep to allow interrupt nesting. The stack is automatically popped when a return from the interrupt instruction is executed.
Pin Definitions
Table II shows pin definitions for the ADSP-2104/ADSP-2109 processors. Any inputs not used must be tied to V
SYSTEM INTERFACE
DD
.
Figure 3 shows a typical system for the ADSP-2104/ADSP-2109, with two serial I/O devices, a boot EPROM, and optional external program and data memory. A total of 14.25K words of data memory and 14.5K words of program memory is addressable.
Table II. ADSP-2104/ADSP-2109 Pin Definitions
Programmable wait-state generation allows the processors to easily interface to slow external memories.
The ADSP-2104/ADSP-2109 also provides either: one external interrupt ( three external interrupts (
IRQ2) and two serial ports (SPORT0, SPORT1), or
IRQ2, IRQ1, IRQ0) and one serial
port (SPORT0).
Clock Signals
The ADSP-2104/ADSP-2109’s CLKIN input may be driven by a crystal or by a TTL-compatible external clock signal. The CLKIN input may not be halted or changed in frequency during operation, nor operated below the specified low frequency limit.
If an external clock is used, it should be a TTL-compatible signal running at the instruction rate. The signal should be connected to the processor’s CLKIN input; in this case, the XTAL input must be left unconnected.
Because the processor includes an on-chip oscillator circuit, an external crystal may also be used. The crystal should be con­nected across the CLKIN and XTAL pins, with two capacitors connected as shown in Figure 2. A parallel-resonant, fundamen­tal frequency, microprocessor-grade crystal should be used.
Pin # of Input / Name(s) Pins Output Function
Address 14 O Address outputs for program, data and boot memory.
1
Data
24 I/O Data I/O pins for program and data memories. Input only for
boot memory, with two MSBs used for boot memory addresses. Unused data lines may be left floating.
RESET 1 I Processor Reset Input IRQ2 1 I External Interrupt Request #2
2
BR
1 I External Bus Request Input
BG 1 O External Bus Grant Output PMS 1 O External Program Memory Select DMS 1 O External Data Memory Select BMS 1 O Boot Memory Select RD 1 O External Memory Read Enable WR 1 O External Memory Write Enable
MMAP 1 I Memory Map Select Input CLKIN, XTAL 2 I External Clock or Quartz Crystal Input CLKOUT 1 O Processor Clock Output V
DD
Power Supply Pins GND Ground Pins SPORT0 5 I/O Serial Port 0 Pins (TFS0, RFS0, DT0, DR0, SCLK0) SPORT1 5 I/O Serial Port 1 Pins (TFS1, RFS1, DT1, DR1, SCLK1) or Interrupts & Flags:
IRQ0 (RFS1) 1 I External Interrupt Request #0 IRQ1 (TFS1) 1 I External Interrupt Request #1
FI (DR1) 1 I Flag Input Pin FO (DT1) 1 O Flag Output Pin
NOTES
1
Unused data bus lines may be left floating.
2
BR must be tied high (to VDD) if not used.
REV. 0
–5–
Page 6
ADSP-2104/ADSP-2109
CLKIN CLKOUTXTAL
ADSP-2104/
ADSP-2109
Figure 2. External Crystal Connections
A clock output signal (CLKOUT) is generated by the processor, synchronized to the processor’s internal cycles.
Reset
The RESET signal initiates a complete reset of the processor. The
RESET signal must be asserted when the chip is powered up to assure proper initialization. If the during initial power-up, it must be held long enough to allow the processor’s internal clock to stabilize. If at any time after power-up and the input clock frequency does not change, the processor’s internal clock continues and does not require this stabilization time.
The power-up sequence is defined as the total time required for the crystal oscillator circuit to stabilize after a valid V applied to the processor and for the internal phase-locked loop (PLL) to lock onto the specific crystal frequency. A minimum of 2000 t
cycles will ensure that the PLL has locked (this does
CK
not, however, include the crystal oscillator start-up time). During this power-up sequence the held low. On any subsequent resets, the meet the minimum pulse width specification, t
To generate the
RESET signal, use either an RC circuit with an external Schmidt trigger or a commercially available reset IC. (Do not use only an RC circuit.)
RESET signal is applied
RESET is activated
is
DD
RESET signal should be
RESET signal must
.
RSP
RESET input resets all internal stack pointers to the empty
The stack condition, masks all interrupts, and clears the MSTAT register. When
RESET is released, the boot loading sequence is performed (provided there is no pending bus request and the chip is configured for booting, with MMAP = 0). The first instruction is then fetched from internal program memory location 0x0000.
Program Memory Interface
The on-chip program memory address bus (PMA) and on-chip program memory data bus (PMD) are multiplexed with the on­chip data memory buses (DMA, DMD), creating a single external data bus and a single external address bus. The external data bus is bidirectional and is 24 bits wide to allow instruction fetches from external program memory. Program memory may contain code and data.
The external address bus is 14 bits wide. The data lines are bidirectional. The program memory select
(
PMS) signal indicates accesses to program memory and can be used as a chip select signal. The write ( write operation and is used as a write strobe. The read (
WR) signal indicates a
RD)
signal indicates a read operation and is used as a read strobe or output enable signal.
The processor writes data from the 16-bit registers to 24-bit program memory using the PX register to provide the lower eight bits. When the processor reads 16-bit data from 24-bit program memory to a 16-bit data register, the lower eight bits are placed in the PX register.
The program memory interface can generate 0 to 7 wait states for external memory devices; default is to 7 wait states after RESET.
ADSP-2104
or
ADSP-2109
A
D
13-0
23-22
D
15-8
A
13-0
D
23-0
A
13-0
D
23-8
14
13-0
24
23-0
RD
WR
PMS
DMS
) ARE USED TO SUPPLY THE TWO MSBs OF THE
23-22
IRQ0 IRQ1
ADDR
DATA
1x CLOCK
or
CRYSTAL
SERIAL DEVICE
(OPTIONAL)
SERIAL DEVICE
(OPTIONAL)
THE TWO MSBs OF THE DATA BUS (D BOOT MEMORY EPROM ADDRESS. THIS IS ONLY REQUIRED FOR THE 27256 AND 27512.
CLKIN
XTAL
CLKOUT RESET IRQ2 BMS
BR BG
MMAP
SPORT 1
SCLK1
or
RFS1
or
TFS1
or
FO
DT1
or
FI
DR1
SPORT 0
SCLK0 RFS0 TFS0 DT0 DR0
Figure 3. ADSP-2104/ADSP-2109 System
ADDR
DATA
OE CS
ADDR
DATA
OE WE CS
ADDR
DATA
OE WE CS
BOOT
MEMORY
e.g. EPROM
27128 27256 27512
PROGRAM
MEMORY
(OPTIONAL)
DATA
MEMORY
&
PERIPHERALS
(OPTIONAL)
2764
–6–
REV. 0
Page 7
ADSP-2104/ADSP-2109
0x3900
0x0400
0x0000
1K EXTERNAL
DWAIT0
1K EXTERNAL
DWAIT1
10K EXTERNAL
DWAIT2
1K EXTERNAL
DWAIT3
0x0800
0x3000
256 WORDS
0x3C00
0x3FFF
1K EXTERNAL
DWAIT4
0x3400
0x3800
MEMORY-MAPPED
CONTROL REGISTERS
& RESERVED
EXTERNAL
RAM
INTERNAL
RAM
Program Memory Maps
Program memory can be mapped in two ways, depending on the state of the MMAP pin. Figure 4 shows the ADSP-2104 program memory maps. Figure 5 shows the program memory maps for the ADSP-2109.
INTERNAL RAM
512 WORDS
LOADED FROM
EXTERNAL
BOOT MEMORY
RESERVED
1.5K
EXTERNAL
14K
MMAP=0 MMAP=1
0x0000
0x01FF 0x0200
0x07FF 0x0800
0x3FFF
EXTERNAL
INTERNAL RAM
512 WORDS
RESERVED
No Booting
14K
1.5K
0x0000
0x37FF 0x3800
0x39FF 0x3A00
0x3FFF
Figure 4. ADSP-2104 Program Memory Maps
Data Memory Interface
The data memory address bus (DMA) is 14 bits wide. The bidirectional external data bus is 24 bits wide, with the upper 16 bits used for data memory data (DMD) transfers.
The data memory select ( memory and can be used as a chip select signal. The write (
DMS) signal indicates access to data
WR)
signal indicates a write operation and can be used as a write strobe. The read (
RD) signal indicates a read operation and can
be used as a read strobe or output enable signal. The ADSP-2104/ADSP-2109 processors support memory-
mapped I/O, with the peripherals memory-mapped into the data memory address space and accessed by the processor in the same manner as data memory.
Data Memory Map ADSP-2104
On-chip data memory RAM resides in the 256 words beginning at address 0x3800, also shown in Figure 6. Data memory locations from 0x3900 to the end of data memory at 0x3FFF are reserved. Control and status registers for the system, timer, wait-state configuration, and serial port operations are located in this region of memory.
ADSP-2104
When MMAP = 0, on-chip program memory RAM occupies 512 words beginning at address 0x0000. Off-chip program memory uses the remaining 14K words beginning at address 0x0800. In this configuration–when MMAP = 0–the boot loading sequence (described below in “Boot Memory Inter­face”) is automatically initiated when
When MMAP = 1, 14K words of off-chip program memory begin at address 0x0000 and on-chip program memory RAM is located in the 512 words between addresses 0x3800–0x39FF. In this configuration, program memory is not booted although it can be written to and read under program control.
REV. 0
0x0000
4K
INTERNAL
ROM
RESERVED
12K
EXTERNAL
MMAP=0 MMAP=1
0x0FF0
0x0FFF 0x1000
0x3FFF
EXTERNAL
INTERNAL
RESERVED
EXTERNAL
INTERNAL
2K
2K
ROM
10K
2K
ROM
0x0000
0x07FF 0x0800
0x0FF0
0x0FFF 0x1000
0x37FF 0x3800
0x3FFF
Figure 5. ADSP-2109 Program Memory Maps
RESET is released.
Figure 6. Data Memory Map
The remaining 14K of data memory is located off-chip. This external data memory is divided into five zones, each associated with its own wait-state generator. This allows slower peripherals to be memory-mapped into data memory for which wait states are specified. By mapping peripherals into different zones, you can accommodate peripherals with different wait-state require­ments. All zones default to seven wait states after
RESET.
–7–
Page 8
ADSP-2104/ADSP-2109
Boot Memory Interface
Boot memory is an external 16K by 8 space, divided into eight separate 2K by 8 pages. The 8-bit bytes are automatically packed into 24-bit instruction words by the processor, for loading into on-chip program memory.
Three bits in the processors’ System Control Register select which page is loaded by the boot memory interface. Another bit in the System Control Register allows the forcing of a boot loading sequence under software control. Boot loading from Page 0 after
The boot memory interface can generate zero to seven wait states; it defaults to three wait states after the ADSP-2104 to boot from a single low cost EPROM such as a 27C256. Program memory is booted one byte at a time and converted to 24-bit program memory words.
The
BMS and RD signals are used to select and to strobe the boot memory interface. Only 8-bit data is read over the data bus, on pins D8-D15. To accommodate up to eight pages of boot memory, the two MSBs of the data bus are used in the boot memory interface as the two MSBs of the boot memory address: D23, D22, and A13 supply the boot page number.
The ADSP-2100 Family Assembler and Linker allow the creation of programs and data structures requiring multiple boot pages during execution.
The
BR signal is recognized during the booting sequence. The bus is granted after loading the current byte is completed. during booting may be used to implement booting under control of a host processor.
Bus Interface
The ADSP-2104/ADSP-2109 can relinquish control of their data and address buses to an external device. When the external device requires control of the buses, it asserts the bus request signal ( memory access, it responds to the active cycle by:
Three-stating the data and address buses and the PMS,
DMS, BMS, RD, WR output drivers,
Asserting the bus grant (BG) signal,
and halting program execution.
If the Go mode is set, however, the ADSP-2104/ADSP-2109 will not halt program execution until it encounters an instruc­tion that requires an external memory access.
If the processor is performing an external memory access when the external device asserts the the memory interfaces or assert the after the access completes (up to eight cycles later depending on
RESET is initiated automatically if MMAP = 0.
RESET. This allows
BR
BR). If the processor is not performing an external
BR input in the next
BR signal, it will not three-state
BG signal until the cycle
the number of wait states). The instruction does not need to be completed when the bus is granted; the processor will grant the bus in between two memory accesses if an instruction requires more than one external memory access.
When the signal, re-enables the output drivers and continues program execution from the point where it stopped.
The bus request feature operates at all times, including when the processor is booting and when feature is not used, the
Low Power IDLE Instruction
The IDLE instruction places the processor in low power state in which it waits for an interrupt. When an interrupt occurs, it is serviced and execution continues with instruction following IDLE. Typically this next instruction will be a JUMP back to the IDLE instruction. This implements a low-power standby loop.
The IDLE n instruction is a special version of IDLE that slows the processor’s internal clock signal to further reduce power consumption. The reduced clock frequency, a programmable fraction of the normal clock rate, is specified by a selectable divisor, n, given in the IDLE instruction. The syntax of the instruction is:
where n = 16, 32, 64, or 128. The instruction leaves the chip in an idle state, operating at the
slower rate. While it is in this state, the processor’s other internal clock signals, such as SCLK, CLKOUT, and the timer clock, are reduced by the same ratio. Upon receipt of an enabled interrupt, the processor will stay in the IDLE state for up to a maximum of n CLKIN cycles, where n is the divisor specified in the instruction, before resuming normal operation.
When the IDLE n instruction is used, it slows the processor’s internal clock and thus its response time to incoming interrupts– the 1-cycle response time of the standard IDLE state is in­creased by n, the clock divisor. When an enabled interrupt is received, the ADSP-21xx will remain in the IDLE state for up to a maximum of n CLKIN cycles (where 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 CLKIN cycles).
BR signal is released, the processor releases the BG
RESET is active. If this
BR input should be tied high (to VDD).
IDLE n;
–8–
REV. 0
Page 9
ADSP-2104/ADSP-2109
ADSP-2109 Prototyping
You can prototype your ADSP-2109 system with the ADSP-
2104 RAM-based processor. When code is fully developed and
debugged, it can be submitted to Analog Devices for conversion
into a ADSP-2109 ROM product.
The ADSP-2101 EZ-ICE emulator can be used for develop-
ment of ADSP-2109 systems. For the 3.3 V ADSP-2109, a
voltage converter interface board provides 3.3 V emulation.
Additional overlay memory is used for emulation of ADSP-2109
systems. It should be noted that due to the use of off-chip
overlay memory to emulate the ADSP-2109, a performance loss
may be experienced when both executing instructions and
fetching program memory data from the off-chip overlay
memory in the same cycle. This can be overcome by locating
program memory data in on-chip memory.
Ordering Procedure for ADSP-2109 ROM Processor
To place an order for a custom ROM-coded ADSP-2109, you
must:
1. Complete the following forms contained in the ADSP ROM Ordering Package, available from your Analog Devices sales representative:
ADSP-2109 ROM Specification Form ROM Release Agreement
ROM NRE Agreement & Minimum Quantity Order (MQO) Acceptance Agreement for Pre-Production ROM Products
2. Return the forms to Analog Devices along with two copies of the Memory Image File (.EXE file) of your ROM code. The files must be supplied on two 3.5" or 5.25" floppy disks for the IBM PC (DOS 2.01 or higher).
3. Place a purchase order with Analog Devices for nonrecurring engineering changes (NRE) associated with ROM product development.
After this information is received, it is entered into Analog Devices’ ROM Manager System which assigns a custom ROM model number to the product. This model number will be branded on all prototype and production units manufactured to these specifications.
To minimize the risk of code being altered during this process, Analog Devices verifies that the .EXE files on both floppy disks are identical, and recalculates the checksums for the .EXE file entered into the ROM Manager System. The checksum data, in the form of a ROM Memory Map, a hard copy of the .EXE file, and a ROM Data Verification form are returned to you for inspection.
A signed ROM Verification Form and a purchase order for production units are required prior to any product being manufactured. Prototype units may be applied toward the minimum order quantity.
Upon completion of prototype manufacture, Analog Devices will ship prototype units and a delivery schedule update for production units. An invoice against your purchase order for the NRE charges is issued at this time.
There is a charge for each ROM mask generated and a mini­mum order quantity. Consult your sales representative for details. A separate order must be placed for parts of a specific package type, temperature range, and speed grade.
REV. 0
–9–
Page 10
ADSP-2104/ADSP-2109
Instruction Set
The ADSP-2104/ADSP-2109 assembly language uses an algebraic syntax for ease of coding and readability. The sources and destinations of computations and data movements are written explicitly in each assembly statement, eliminating cryptic assembler mnemonics.
Every instruction assembles into a single 24-bit word and executes in a single cycle. The instructions encompass a wide
operational parallelism. There are five basic categories of instructions: data move instructions, computational instruc­tions, multifunction instructions, program flow control instruc­tions and miscellaneous instructions. Multifunction instructions perform one or two data moves and a computation.
The instruction set is summarized below. The ADSP-2100 Family Users Manual contains a complete reference to the instruction set.
variety of instruction types along with a high degree of
ALU Instructions
[IF cond] AR|AF = xop + yop [+ C] ; Add/Add with Carry
= xop – yop [+ C– 1] ; Subtract X – Y/Subtract X – Y with Borrow = yop – xop [+ C– 1] ; Subtract Y – X/Subtract Y – X with Borrow = xop AND yop ; AND = xop OR yop ; OR = xop XOR yop ; XOR = PASS xop ; Pass, Clear = – xop ; Negate = NOT xop ; NOT = ABS xop ; Absolute Value = yop + 1 ; Increment = yop – 1 ; Decrement = DIVS yop, xop ; Divide = DIVQ xop ;
MAC Instructions
[IF cond] MR|MF = xop * yop ; Multiply
IF MV SAT MR ; Conditional MR Saturation
= MR + xop * yop ; Multiply/Accumulate = MR – xop * yop ; Multiply/Subtract = MR ; Transfer MR =0 ; Clear
Shifter Instructions
[IF cond] SR = [SR OR] ASHIFT xop ; Arithmetic Shift [IF cond] SR = [SR OR] LSHIFT xop ; Logical Shift
[IF cond] SE = EXP xop ; Derive Exponent [IF cond] SB = EXPADJ xop ; Block Exponent Adjust [IF cond] SR = [SR OR] NORM xop ; Normalize
SR = [SR OR] ASHIFT xop BY <exp>; Arithmetic Shift Immediate SR = [SR OR] LSHIFT xop BY <exp>; Logical Shift Immediate
Data Move Instructions
reg = reg ; Register-to-Register Move reg = <data> ; Load Register Immediate reg = DM (<addr>) ; Data Memory Read (Direct Address) dreg = DM (Ix , My) ; Data Memory Read (Indirect Address) dreg = PM (Ix , My) ; Program Memory Read (Indirect Address) DM (<addr>) = reg ; Data Memory Write (Direct Address) DM (Ix , My) = dreg ; Data Memory Write (Indirect Address) PM (Ix , My) = dreg ; Program Memory Write (Indirect Address)
Multifunction Instructions
<ALU>|<MAC>|<SHIFT> , dreg = dreg ; Computation with Register-to-Register Move <ALU>|<MAC>|<SHIFT> , dreg = DM (Ix , My) ; Computation with Memory Read <ALU>|<MAC>|<SHIFT> , dreg = PM (Ix , My) ; Computation with Memory Read DM (Ix , My) = dreg , <ALU>|<MAC>|<SHIFT> ; Computation with Memory Write PM (Ix , My) = dreg , <ALU>|<MAC>|<SHIFT> ; Computation with Memory Write dreg = DM (Ix , My) , dreg = PM (Ix , My) ; Data & Program Memory Read <ALU>|<MAC> , dreg = DM (Ix , My) , dreg = PM (Ix , My) ; ALU/MAC with Data & Program Memory Read
–10–
REV. 0
Page 11
ADSP-2104/ADSP-2109
Program Flow Instructions
DO <addr> [UNTIL term] ; Do Until Loop [IF cond] JUMP (Ix) ; Jump [IF cond] JUMP <addr>; [IF cond] CALL (Ix) ; Call Subroutine [IF cond] CALL <addr>; IF [NOT ] FLAG_IN JUMP <addr>; Jump/Call on Flag In Pin IF [NOT ] FLAG_IN CALL <addr>; [IF cond] SET|RESET|TOGGLE FLAG_OUT [, ...] ; Modify Flag Out Pin [IF cond] RTS ; Return from Subroutine [IF cond] RTI ; Return from Interrupt Service Routine IDLE [(n)] ; Idle
Miscellaneous Instructions
NOP ; No Operation MODIFY (Ix , My); Modify Address Register [PUSH STS] [, POP CNTR] [, POP PC] [, POP LOOP] ; Stack Control ENA|DIS SEC_REG [, ...] ; Mode Control
BIT_REV AV_LATCH AR_SAT M_MODE TIMER G_MODE
Notation Conventions
Ix Index registers for indirect addressing My Modify registers for indirect addressing <data> Immediate data value <addr> Immediate address value <exp> Exponent (shift value) in shift immediate instructions (8-bit signed number) <ALU> Any ALU instruction (except divide) <MAC> Any multiply-accumulate instruction <SHIFT> Any shift instruction (except shift immediate) cond Condition code for conditional instruction term Termination code for DO UNTIL loop dreg Data register (of ALU, MAC, or Shifter) reg Any register (including dregs) ; A semicolon terminates the instruction , Commas separate multiple operations of a single instruction [ ] Optional part of instruction [, ...] Optional, multiple operations of an instruction option1 | option2 List of options; choose one.
Assembly Code Example
The following example is a code fragment that performs the filter tap update for an adaptive filter based on a least-mean-squared algorithm. Notice that the computations in the instructions are written like algebraic equations.
MF=MX0*M Y1(RND), MX0=DM(I2,M1); { M F=error*beta} MR=MX0*M F (RND), AY0=PM(I6,M5);
DO adapt UNTIL CE;
AR=MR1+AY0, MX0=DM(I2,M1), AY0=PM(I6,M7);
adapt: PM(I6,M6)= AR, MR=MX0*M F (RND);
MODIFY(I2,M3); {Point to oldest data} MODIFY(I6,M7); {Point to start of data}
REV. 0
–11–
Page 12
ADSP-2104/ADSP-2109–SPECIFICATIONS
WARNING!
ESD SENSITIVE DEVICE
RECOMMENDED OPERATING CONDITIONS
K Grade
Parameter Min Max Unit
V
DD
T
AMB
See “Environmental Conditions” for information on thermal specifications.
Supply Voltage 4.50 5.50 V Ambient Operating Temperature 0 +70 °C
ELECTRICAL CHARACTERISTICS
Parameter Test Conditions Min Max Unit
V V V V
V I I I I C C
NOTES
10
Specifications subject to change without notice.
Hi-Level Input Voltage
IH
Hi-Level CLKIN Voltage @ V
IH
Lo-Level Input Voltage
IL
Hi-Level Output Voltage
OH
Lo-Level Output Voltage
OL
Hi-Level Input Current
IH
Lo-Level Input Current
IL
Three-State Leakage Current4@ VDD = max, VIN = VDD max
OZH
Three-State Leakage Current4@ VDD = max, VIN = 0 V
OZL
Input Pin Capacitance
I
Output Pin Capacitance
O
1
Input-only pins: CLKIN, RESET, IRQ2, BR, MMAP, DR1, DR0.
2
Output pins: BG, PMS, DMS, BMS, RD, WR, A0–A13, CLKOUT, DT1, DT0.
3
Bidirectional pins: D0–D23, SCLK1, RFS1, TFS1, SCLK0, RFS0, TFS0.
4
Three-state pins: A0–A13, D0–D23, PMS, DMS, BMS, RD, WR, DT1, SCLK1, RSF1, TFS1, DT0, SCLK0, RFS0, TFS0.
5
Input-only pins: RESET, IRQ2, BR, MMAP, DR1, DR0.
6
0 V on BR, CLKIN Active (to force three-state condition).
7
Although specified for TTL outputs, all ADSP-2104/ADSP-2109 outputs are CMOS-compatible and will drive to VDD and GND, assuming no dc loads.
8
Guaranteed but not tested.
9
Applies to PGA, PLCC, PQFP package types. Output pin capacitance is the capacitive load for any three-stated output pin.
3, 5
1, 3
2, 3, 7
2, 3, 7
1
1
1, 8, 9
4, 8, 9, 10
@ V
= max 2.0 V
DD
= max 2.2 V
DD
@ VDD = min 0.8 V @ VDD = min, IOH = –0.5 mA 2.4 V @ V
= min, IOH = –100 µA
DD
8
VDD – 0.3 V @ VDD = min, IOL = 2 mA 0.4 V @ VDD = max, VIN = VDD max 10 µA @ VDD = max, VIN = 0 V 10 µA
@ VIN = 2.5 V, fIN = 1.0 MHz, T @ VIN = 2.5 V, fIN = 1.0 MHz, T
6
6
= 25°C8pF
AMB
= 25°C8pF
AMB
10 µA 10 µA
ABSOLUTE MAXIMUM RATINGS
*
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +7 V
Input Voltage . . . . . . . . . . . . . . . . . . . . . –0.3 V to V
Output Voltage Swing . . . . . . . . . . . . . . –0.3 V to V
+ 0.3 V
DD
+ 0.3 V
DD
Operating Temperature Range (Ambient) . . .–55ºC to +125°C
Storage Temperature Range . . . . . . . . . . . . .–65°C to +125°C
Lead Temperature (10 sec) PGA . . . . . . . . . . . . . . . . . +300°C
Lead Temperature (5 sec) PLCC, PQFP, TQFP . . . . +280°C
*Stresses greater than those listed above may cause permanent damage to the
device. These are stress ratings only, and 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 conditions for extended periods may affect device reliability.
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-2104/ADSP-2109 processor features proprietary ESD protection circuitry to dissipate high energy electrostatic discharges (Human Body Model), permanent damage may occur to devices subjected to such discharges. Therefore, proper ESD precautions are recommended to avoid performance degradation or loss of functionality. Unused devices must be stored in conductive foam or shunts, and the foam should be discharged to the destination socket before the devices are removed. Per method 3015 of MIL-STD-883, the ADSP-2104/ADSP-2109 processor has been classified as Class 1 device.
–12–
REV. 0
Page 13
ADSP-2104/ADSP-2109
SPECIFICATIONS (ADSP-2104/ADSP-2109)
SUPPLY CURRENT & POWER
Parameter Test Conditions Min Max Unit
1, 3
1
@ VDD = max, t @ V
= max, tCK = 72.3 ns
DD
= 50 ns
CK
@ VDD = max, tCK = 50 ns 11 mA
I I
Supply Current (Dynamic)
DD
Supply Current (Idle)
DD
@ VDD = max, tCK = 72.3 ns 10 mA
NOTES
1
Current reflects device operating with no output loads.
2
VIN = 0.4 V and 2.4 V.
3
Idle refers to ADSP-2104/ADSP-2109 state of operation during execution of IDLE instruction. Deasserted pins are driven to either V
For typical supply current (internal power dissipation) figures, see Figure 7.
2
2
31 mA 24 mA
or GND.
DD
170mW
V
= 5.5V
DD
128mW
V
= 5.0V
DD
95mW
V
= 4.5V
DD
POWER – mW
OR GND.
– MHz
65
60
55
50
45
40
35
30
1
55mW
41mW 40mW
30.0020.0013.8310.00 25.00
IDD IDLE n MODES
60mW
IDD IDLE
IDLE 16
42mW 41mW
IDLE 128
FREQUENCY
IDLE n
– MHz
INSTRUCTION.
3
30.0020.0013.8310.00 25.00
220
200 180 160 140
129mW
120
POWER – mW
100
100mW
80 60
1, 2
55mW
38mW
28mW
IDD IDLE
V
DD
V
DD
V
DD
FREQUENCY
60mW
= 5.5V
42mW
= 5.0V
31mW
= 4.5V
– MHz
70
60
50
40
30
POWER – mW
20
10
0
1
POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS.
2
IDLE REFERS TO ADSP-2104/ADSP-2109 OPERATION DURING EXECUTION OF IDLE INSTRUCTION.
DEASSERTED PINS ARE DRIVEN TO EITHER V
3
MAXIMUM POWER DISSIPATION AT V
IDD DYNAMIC
74mW
FREQUENCY
30.0020.0013.8310.00 25.00
DD
= 5.5V DURING EXECUTION OF
DD
REV. 0
Figure 7. ADSP-2104/ADSP-2109 Power (Typical) vs. Frequency
–13–
Page 14
ADSP-2104/ADSP-2109
CL – pF
25 1501251007550
RISE TIME (0.8V - 2.0V) – ns
VDD = 4.5V
8
7
6
5
4
3
2
1
0
1750
SPECIFICATIONS (ADSP-2104/ADSP-2109)
POWER DISSIPATION EXAMPLE
To determine total power dissipation in a specific application, the following equation should be applied for each output:
C × V
C = load capacitance, f = output switching frequency.
Example:
In an ADSP-2104 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.
The application operates at V
Total Power Dissipation = P
= internal power dissipation (from Figure 7).
P
INT
(C × V
2
× f ) is calculated for each output:
DD
# of
Output Pins 3 C 3 V
Address, DMS 8 × 10 pF × 52 V × 20 MHz = 40.0 mW Data,
WR 9 × 10 pF × 52 V × 10 MHz = 22.5 mW
RD 1 × 10 pF × 52 V × 10 MHz = 2.5 mW
CLKOUT 1 × 10 pF × 52 V × 20 MHz = 5.0 mW
Total power dissipation for this example = P
2
× f
DD
= 5.0 V and t
DD
+ (C × V
INT
2
DD
× f
INT
= 50 ns.
CK
2
× f )
DD
70.0 mW
+ 70.0 mW.
CAPACITIVE LOADING
Figures 8 and 9 show capacitive loading characteristics.
Figure 8. Typical Output Rise Time vs. Load Capacitance, C (at Maximum Ambient Operating Temperature)
5
4
3
2
1
0
–1
–2
VALID OUTPUT DELAY OR HOLD – ns
–3
25 100 12550 75 150
VDD = 4.5V
1750
CL – pF
L
ENVIRONMENTAL CONDITIONS
Ambient Temperature Rating:
= T
T
AMB
T
= Case Temperature in °C
CASE
– (PD × θCA)
CASE
PD = Power Dissipation in W
θ
= Thermal Resistance (Case-to-Ambient)
CA
θ
= Thermal Resistance (Junction-to-Ambient)
JA
θ
= Thermal Resistance (Junction-to-Case)
JC
Package u
JA
u
JC
PLCC 27°C/W 16°C/W 11°C/W
Figure 9. Typical Output Valid Delay or Hold vs. Load Capacitance, C
u
CA
–14–
(at Maximum Ambient Operating Temperature)
L
REV. 0
Page 15
ADSP-2104/ADSP-2109
SPECIFICATIONS (ADSP-2104/ADSP-2109)
TEST CONDITIONS
Figure 10 shows voltage reference levels for ac measurements.
INPUT
OUTPUT
Figure 10. Voltage Reference Levels for AC Measurements (Except 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 t
, as shown in Figure 11. The time t
DECAY
) is the difference of t
DIS
interval from when a reference signal reaches a high or low voltage level to when the output voltages have changed by 0.5 V from the measured output high or low voltage.
REFERENCE
SIGNAL
VOH (MEASURED)
OUTPUT
VOL (MEASURED)
3.0V
1.5V
0.0V
2.0V
1.5V
0.8V
MEASURED
t
MEASURED
t
DIS
t
DECAY
MEASURED
is the
V
OH
V
OL
and
(MEASURED) – 0.5V (MEASURED) +0.5V
The decay time, t C
, and the current load, iL, on the output pin. It can be
L
, is dependent on the capacitative load,
DECAY
approximated by the following equation:
×0.5V
C
t
DECAY
L
=
i
L
from which
t
DIS
= t
MEASURED
– t
DECAY
is calculated. If multiple pins (such as the data bus) are dis­abled, 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 from
ENA
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 11. If multiple pins (such as the data bus) are enabled, the measurement value is that of the first pin to start driving.
t
ENA
2.0V
1.0V
VOH (MEASURED)
VOL (MEASURED)
OUTPUT STOPS
DRIVING
HIGH-IMPEDANCE STATE. TEST CONDITIONS CAUSE THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1.5V.
OUTPUT STARTS
DRIVING
Figure 11. Output Enable/Disable
I
OL
TO
OUTPUT
PIN
50pF
I
OH
+1.5V
Figure 12. Equivalent Device Loading for AC Measurements (Except Output Enable/Disable)
REV. 0
–15–
Page 16
ADSP-2104L/ADSP-2109L–SPECIFICATIONS
RECOMMENDED OPERATING CONDITIONS
K Grade
Parameter Min Max Unit
V
DD
T
AMB
See “Environmental Conditions” for information on thermal specifications.
Supply Voltage 3.00 3.60 V Ambient Operating Temperature 0 +70 °C
ELECTRICAL CHARACTERISTICS
Parameter Test Conditions Min Max Unit
V
IH
V
IL
V
OH
V
OL
I
IH
I
IL
I
OZH
I
OZL
C
I
C
O
NOTES
1
Input-only pins: CLKIN, RESET, IRQ2, BR, MMAP, DR1, DR0.
2
Output pins: BG, PMS, DMS, BMS, RD, WR, A0–A13, CLKOUT, DT1, DT0.
3
Bidirectional pins: D0–D23, SCLK1, RFS1, TFS1, SCLK0, RFS0, TFS0.
4
Three-stateable pins: A0–A13, D0–D23, PMS, DMS, BMS, RD, WR, DT1, SCLK1, RSF1, TFS1, DT0, SCLK0, RFS0, TFS0.
5
0 V on BR, CLKIN Active (to force three-state condition).
6
All outputs are CMOS and will drive to VDD and GND with no dc loads.
7
Guaranteed but not tested.
8
Applies to PLCC package type.
9
Output pin capacitance is the capacitive load for any three-stated output pin.
Specifications subject to change without notice.
Hi-Level Input Voltage Lo-Level Input Voltage Hi-Level Output Voltage Lo-Level Output Voltage Hi-Level Input Current Lo-Level Input Current Three-State Leakage Current4@ VDD = max, VIN = VDD max Three-State Leakage Current4@ VDD = max, VIN = 0 V Input Pin Capacitance Output Pin Capacitance
1, 3
1, 3
2, 3, 6
2, 3, 6
1
1
1, 7, 8
4, 7, 8, 9
@ VDD = max 2.0 V @ VDD = min 0.4 V @ VDD = min, IOH = –0.5 mA @ VDD = min, IOL = 2 mA
6
6
2.4 V
0.4 V @ VDD = max, VIN = VDD max 10 µA @ VDD = max, VIN = 0 V 10 µA
@ VIN = 2.5 V, fIN = 1.0 MHz, T @ VIN = 2.5 V, fIN = 1.0 MHz, T
5
5
= 25°C8pF
AMB
= 25°C8pF
AMB
10 µA 10 µA
ABSOLUTE MAXIMUM RATINGS*
Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to +4.5 V
Input Voltage . . . . . . . . . . . . . . . . . . . . . –0.3 V to V
Output Voltage Swing . . . . . . . . . . . . . . –0.3 V to V
+ 0.3 V
DD
+ 0.3 V
DD
Operating Temperature Range (Ambient) . . . .–40°C to +85°C
Storage Temperature Range . . . . . . . . . . . . .–65°C to +150°C
Lead Temperature (5 sec) PLCC . . . . . . . . . . . . . . . . +280°C
*Stresses greater than those listed above may cause permanent damage to the
device. These are stress ratings only, and 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 conditions for extended periods may affect device reliability.
–16–
REV. 0
Page 17
ADSP-2104/ADSP-2109
SPECIFICATIONS (ADSP-2104L/ADSP-2109L)
SUPPLY CURRENT & POWER (ADSP-2104L/ADSP-2109L)
Parameter Test Conditions Min Max Unit
I I
NOTES
1 2 3
Supply Current (Dynamic)
DD
Supply Current (Idle)
DD
Current reflects device operating with no output loads. VIN = 0.4 V and 2.4 V. Idle refers to ADSP-2104L/ADSP-2109L state of operation during execution of IDLE instruction. Deasserted pins are driven to either V
1, 3
1
@ VDD = max, tCK = 72.3 ns @ VDD = max, tCK = 72.3 ns 4 mA
For typical supply current (internal power dissipation) figures, see Figure 13.
2
14 mA
or GND.
DD
OR GND.
DD
1,2
V
DD
V
= 3.0V
DD
14
12
10
POWER – mW
48mW
= 3.30V
37mW
29mW
8
6
4
2
0
15.0013.8310.007.005.00
IDD IDLE n MODES
IDD IDLE
9mW
5mW
4mW
FREQUENCY – MHz
IDLE n
IDLE 16
IDLE 128
INSTRUCTION.
3
13mW
7mW
6mW
50 45 40 35 30 25 20
POWER – mW
15 10
5 0
1
14
12
10
9mW
8
V
6mW
6
5mW
POWER – mW
4
2
0
1
POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS.
2
IDLE REFERS TO ADSP-2104L/ADSP-2109L OPERATION DURING EXECUTION OF IDLE INSTRUCTION.
DEASSERTED PINS ARE DRIVEN TO EITHER V
3
MAXIMUM POWER DISSIPATION AT V
IDD IDLE
V
= 3.6V
DD
= 3.30V
DD
V
FREQUENCY – MHz
DD
= 3.0V
IDLE DYNAMIC
V
= 3.6V
DD
24mW 19mW 15mW
FREQUENCY – MHz
13mW
10mW
8mW
15.0013.8310.007.005.00
= 3.6V DURING EXECUTION OF
DD
15.0013.8310.007.005.00
REV. 0
Figure 13. ADSP-2104L/ADSP-2109L Power (Typical) vs. Frequency
–17–
Page 18
ADSP-2104/ADSP-2109
25 15012510075
C
L
– pF
50
RISE TIME (0.8V-2.0V) – ns
30
10
5
15
20
25
VDD = 3.0V
VALID OUTPUT DELAY OR HOLD – ns
–2
+4
+2
+6
NOMINAL
25 1501251007550
+8
VDD = 3.0V
C
L
– pF
SPECIFICATIONS (ADSP-2104L/ADSP-2109L)
POWER DISSIPATION EXAMPLE
To determine total power dissipation in a specific application, the following equation should be applied for each output:
C × V
C = load capacitance, f = output switching frequency.
Example:
In an ADSP-2104L 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.
The application operates at V
Total Power Dissipation = P
P
= internal power dissipation (from Figure 13).
INT
(C × V
2
× f ) is calculated for each output:
DD
2
× f
DD
= 3.3 V and t
DD
+ (C × V
INT
= 100 ns.
CK
2
× f)
DD
CAPACITIVE LOADING
Figures 14 and 15 show capacitive loading characteristics.
Figure 14. Typical Output Rise Time vs. Load Capacitance, C
L
(at Maximum Ambient Operating Temperature)
# of
Output Pins × C 3 V
Address, Data,
DMS 8 × 10 pF × 3.32 V × 10 MHz = 8.71 mW
WR 9 × 10 pF × 3.32 V × 5 MHz = 4.90 mW
DD
2
3 f
RD 1 × 10 pF × 3.32 V × 5 MHz = 0.55 mW CLKOUT 1 × 10 pF × 3.32 V × 10 MHz = 1.09 mW
15.25 mW
Total power dissipation for this example = P
+ 15.25 mW.
INT
ENVIRONMENTAL CONDITIONS
Ambient Temperature Rating:
= T
T
AMB
T
= Case Temperature in °C
CASE
– (PD × θCA)
CASE
PD = Power Dissipation in W
θ
= Thermal Resistance (Case-to-Ambient)
CA
θ
= Thermal Resistance (Junction-to-Ambient)
JA
θ
= Thermal Resistance (Junction-to-Case)
JC
Package u
JA
u
JC
u
CA
PLCC 27°C/W 16°C/W 11°C/W
Figure 15. Typical Output Valid Delay or Hold vs. Load Capacitance, CL (at Maximum Ambient Operating Temperature)
–18–
REV. 0
Page 19
SPECIFICATIONS (ADSP-2104L/ADSP-2109L)
ADSP-2104/ADSP-2109
TEST CONDITIONS
Figure 16 shows voltage reference levels for ac measurements.
V
INPUT
OUTPUT
DD
2
V
DD
2
Figure 16. Voltage Reference Levels for AC Measurements (Except 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 t
, as shown in Figure 17. The time t
DECAY
) is the difference of t
DIS
MEASURED
MEASURED
and
is the interval from when a reference signal reaches a high or low voltage level to when the output voltages have changed by 0.5 V from the measured output high or low voltage.
REFERENCE
SIGNAL
t
MEASURED
t
DIS
VOH (MEASURED)
VOL (MEASURED)
OUTPUT
t
DECAY
(MEASURED) – 0.5V
V
OH
V
(MEASURED) +0.5V
OL
The decay time, t C
, and the current load, iL, on the output pin. It can be
L
, is dependent on the capacitative load,
DECAY
approximated by the following equation:
×0.5V
C
t
DECAY
L
=
i
L
from which
t
DIS
= t
MEASURED
– t
DECAY
is calculated. If multiple pins (such as the data bus) are dis­abled, 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 from
ENA
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 17. If multiple pins (such as the data bus) are enabled, the measurement value is that of the first pin to start driving.
t
ENA
2.0V
1.0V
VOH (MEASURED)
VOL (MEASURED)
OUTPUT STOPS
DRIVING
HIGH-IMPEDANCE STATE. TEST CONDITIONS CAUSE THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1.5V.
OUTPUT STARTS
DRIVING
Figure 17. Output Enable/Disable
I
OL
OUTPUT
PIN
TO
50pF
I
OH
V
DD
2
Figure 18. Equivalent Device Loading for AC Measurements (Except Output Enable/Disable)
REV. 0
–19–
Page 20
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
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 meaningful results for an individual device, the values given in this data sheet reflect statistical variations and worst cases. Consequently, you cannot meaningfully add parameters to derive longer times.
switching characteristics 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.
TIMING NOTES
Switching characteristics specify how the processor changes its signals. You have no control over this timing—circuitry external to the processor must be designed for compatibility with these signal characteristics. Switching characteristics tell you what the
MEMORY REQUIREMENTS
The table below shows common memory device specifications and the corresponding ADSP-2104/ADSP-2109 timing parameters, for your convenience.
processor will do in a given circumstance. You can also use
Memory ADSP-2104/ADSP-2109 Timing Device Timing Parameter Specification Parameter Definition
Address Setup to Write Start t Address Setup to Write End t Address Hold Time t Data Setup Time t Data Hold Time t OE to Data Valid t Address Access Time t
ASW AW WRA DW DH RDD AA
A0–A13, DMS, PMS Setup before WR Low A0–A13, DMS, PMS Setup before WR Deasserted A0–A13, DMS, PMS Hold after WR Deasserted Data Setup before WR High Data Hold after WR High RD Low to Data Valid A0–A13, DMS, PMS, BMS to Data Valid
–20–
REV. 0
Page 21
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
CLOCK SIGNALS & RESET
Frequency
20 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
CK
t
CKL
t
CKH
t
RSP
Switching Characteristic:
t
CPL
t
CPH
t
CKOH
NOTE
1
Applies after powerup sequence is complete. Internal phase lock loop requires no more than 2000 CLKIN cycles, assuming stable CLKIN (not including crystal
oscillator startup time).
CLKIN Period 50 150 ns CLKIN Width Low 20 20 ns CLKIN Width High 20 20 ns RESET Width Low 250 5t
CK
1
ns
CLKOUT Width Low 15 0.5tCK – 10 ns CLKOUT Width High 15 0.5tCK – 10 ns CLKIN High to CLKOUT High 0 20 ns
t
CK
t
CKH
CLKIN
CLKOUT
t
CKL
t
CPL
t
CKOH
t
CPH
Figure 19. Clock Signals
REV. 0
–21–
Page 22
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
INTERRUPTS & FLAGS
Frequency
20 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
IFS
t
IFH
Switching Characteristic:
t
FOH
t
FOD
NOTES
1
IRQx=IRQ0, IRQ1, and IRQ2.
2
If IRQx and FI inputs meet t
during the following cycle. (Refer to the “Interrupt Controller” section in Chapter 3, Program Control, of the ADSP-2100 Family User’s Manual for further information on interrupt servicing.)
3
Edge-sensitive interrupts require pulse widths greater than 10 ns. Level-sensitive interrupts must be held low until serviced.
IRQx1 or FI Setup before 27.5 0.25tCK + 15 ns CLKOUT Low
IRQx1 or FI Hold after CLKOUT 12.5 0.25t
2, 3
High
2, 3
CK
ns
FO Hold after CLKOUT High 00ns FO Delay from CLKOUT High 15 ns
and t
IFS
setup/hold requirements, they will be recognized during the current clock cycle; otherwise they will be recognized
IFH
CLKOUT
FLAG
OUTPUT(S)
IRQx
FI
t
FOD
t
FOH
t
IFH
t
IFS
Figure 20. Interrupts & Flags
–22–
REV. 0
Page 23
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
BUS REQUEST/GRANT
Frequency
20 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
BH
t
BS
BR Hold after CLKOUT High BR Setup before CLKOUT Low
1
1
17.5 0.25tCK + 5 ns
32.5 0.25tCK + 20 ns
Switching Characteristic:
t
SD
CLKOUT High to DMS, 32.5 0.25tCK + 20 ns PMS, BMS, RD, WR Disable
t
SDB
t
SE
DMS, PMS, BMS, RD, WR 0 0 ns Disable to
BG Low BG High to DMS, PMS, 0 0 ns BMS, RD, WR Enable
t
SEC
DMS, PMS, BMS, RD, WR 2.5 0.25tCK – 10 ns Enable to CLKOUT High
NOTES
1
If BR meets the tBS and tBH setup/hold requirements, it will be recognized in the current processor cycle; otherwise it is recognized in the following cycle. BR requires
a pulse width greater than 10 ns.
Note: BG is asserted in the cycle after BR is recognized. No external synchronization circuit is needed when BR is generated as an asynchronous signal.
t
BH
CLKOUT
BR
CLKOUT
PMS
, DMS
BMS, RD
WR
BG
t
BS
t
SD
t
SDB
Figure 21. Bus Request/Grant
t
SEC
t
SE
REV. 0
–23–
Page 24
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
MEMORY READ
20 MHz
Parameter Min Max Unit
Timing Requirement:
t
RDD
t
AA
t
RDH
Switching Characteristic:
t
RP
t
CRD
t
ASR
t
RDA
t
RWR
Parameter Min Max Unit
RD Low to Data Valid 12 ns A0–A13, PMS, DMS, BMS to Data Valid 19.5 ns Data Hold from RD High 0
RD Pulse Width 17 ns CLKOUT High to RD Low 7.5 22.5 ns A0–A13, PMS, DMS, BMS Setup before 2.5 ns RD Low A0–A13, PMS, DMS, BMS Hold after RD 3.5 ns Deasserted RD High to RD or WR Low 20 ns
Frequency Dependency
(CLKIN 20 MHz)
Timing Requirement:
t
RD Low to Data Valid 0.5tCK – 13 + w ns
RDD
t
A0–A13, PMS, DMS, BMS to Data Valid 0.75tCK – 18 + w ns
AA
t
Data Hold from RD High 0
RDH
Switching Characteristic:
t
RD Pulse Width 0.5tCK – 8 + w ns
RP
t
CLKOUT High to RD Low 0.25tCK – 5 0.25tCK + 10 ns
CRD
t
A0–A13, PMS, DMS, BMS Setup before
ASR
RD Low 0.25tCK – 10 ns
t
A0–A13, PMS, DMS, BMS Hold after RD
RDA
Deasserted 0.25t
t
RD High to RD or WR Low 0.5tCK – 5 ns
RWR
NOTE w = wait states × t
CK.
CLKOUT
A0 – A13
DMS, PMS
BMS
RD
t
ASR
t
CRD
D
– 9 ns
CK
t
RDA
t
RP
t
RDD
t
AA
t
RDH
t
RWR
WR
Figure 22. Memory Read
–24–
REV. 0
Page 25
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
MEMORY WRITE
20 MHz
Parameter Min Max Unit
Switching Characteristic:
t
DW
t
DH
t
WP
t
WDE
t
ASW
t
DDR
t
CWR
t
AW
t
WRA
t
WWR
Parameter Min Max Unit
Data Setup before WR High 12 ns Data Hold after WR High 2.5 ns WR Pulse Width 17 ns WR Low to Data Enabled 0 ns A0–A13, DMS, PMS Setup before 2.5 ns WR Low Data Disable before WR or RD Low 2.5 ns CLKOUT High to WR Low 7.5 22.5 ns A0–A13, DMS, PMS, Setup before WR 15.5 ns Deasserted A0–A13, DMS, PMS Hold after WR 3.5 ns Deasserted WR High to RD or WR Low 20 ns
Frequency Dependency
(CLKIN 20 MHz)
Switching Characteristic:
t
Data Setup before WR High 0.5t
DW
t
Data Hold after WR High 0.25t
DH
t
WR Pulse Width 0.5tCK – 8 + w ns
WP
t
WR Low to Data Enabled 0
WDE
t
A0–A13, DMS, PMS Setup before WR Low 0.25t
ASW
t
Data Disable before WR or RD Low 0.25tCK – 10 ns
DDR
t
CLKOUT High to WR Low 0.25t
CWR
t
A0–A13, DMS, PMS, Setup before WR
AW
Deasserted 0.75t
t
A0–A13, DMS, PMS Hold after WR
WRA
Deasserted 0.25t
t
WR High to RD or WR Low 0.5tCK – 5 ns
WWR
CLKOUT
A0 – A13
DMS, PMS
WR
t
ASW
t
t
AW
WDE
t
CWR
D
– 13 + w ns
CK
– 10 ns
CK
– 10 ns
CK
– 5 0.25tCK + 10 ns
CK
– 22 + w ns
CK
– 9 ns
CK
t
WRA
t
WP
t
DW
t
WWR
t
DH
t
DDR
REV. 0
RD
Figure 23. Memory Write
–25–
Page 26
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104/ADSP-2109)
SERIAL PORTS
Frequency
13.824 MHz* Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
SCLK Period 72.3 ns
SCK
t
DR/TFS/RFS Setup before SCLK Low 8 ns
SCS
t
DR/TFS/RFS Hold after SCLK Low 10 ns
SCH
t
SCLK
SCP
Switching Characteristic:
t
CLKOUT High to SCLK
CC
t
SCLK High to DT Enable 0 ns
SCDE
t
SCLK High to DT Valid 20 ns
SCDV
t
TFS/RFS
RH
t
TFS/RFS
RD
t
DT Hold after SCLK High ns
SCDH
t
TFS (Alt) to DT Enable ns
TDE
t
TFS (Alt) to DT Valid 18 ns
TDV
t
SCLK High to DT Disable 25 ns
SCDD
t
RFS (Multichannel, Frame Delay Zero) 20 ns
RDV
to DT Valid
*Maximum serial port operating frequency is 13.824 MHz.
Width 28 ns
IN
OUT
Hold after SCLK High ns
OUT
Delay from SCLK High 20 ns
OUT
18.1 33.1 0.25t
CK
0.25t
+ 15 ns
CK
CLKOUT
SCLK
DR
RFS
TFS
RFS
OUT
TFS
OUT
DT
TFS
( ALTERNATE
FRAME MODE )
( MULTICHANNEL MODE,
FRAME DELAY 0 {MFD = 0} )
RFS
t
CC
IN IN
t
SCDV
t
SCDE
t
RD
t
RH
t
TDE
t
TDV
t
CC
t
SCStSCH
t
SCDD
t
SCDH
t
RDV
t
SCK
t
SCP
t
SCP
Figure 24. Serial Ports
–26–
REV. 0
Page 27
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
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 meaningful results for an individual device, the values given in this data sheet reflect statistical variations and worst cases. Consequently, you cannot meaningfully add parameters to derive longer times.
TIMING NOTES
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.
MEMORY REQUIREMENTS
The table below shows common memory device specifications and the corresponding ADSP-2104L/ADSP-2109L timing parameters, for your convenience.
Switching characteristics specify how the processor changes its signals. You have no control over this timing—circuitry external to the processor must be designed for compatibility with these signal characteristics. Switching characteristics tell you what the processor will do in a given circumstance. You can also use switching characteristics to ensure that any timing requirement of a device connected to the processor (such as memory) is satisfied.
ADSP-2104L/ADSP-2109L
Memory Specification Timing Parameter Timing Parameter Definition
Address Setup to Write Start t Address Setup to Write End t Address Hold Time t Data Setup Time t Data Hold Time t OE to Data Valid t Address Access Time t
ASW AW WRA DW DH RDD
AA
A0–A13, DMS, PMS Setup before WR Low A0–A13, DMS, PMS Setup before WR Deasserted A0–A13, DMS, PMS Hold after WR Deasserted Data Setup before WR High Data Hold after WR High RD Low to Data Valid A0–A13, DMS, PMS, BMS to Data Valid
REV. 0
–27–
Page 28
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
CLOCK SIGNALS & RESET
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
CK
t
CKL
t
CKH
t
RSP
Switching Characteristic:
t
CPL
t
CPH
t
CKOH
NOTE
1
Applies after powerup sequence is complete. Internal phase lock loop requires no more than 2000 CLKIN cycles assuming stable CLKIN (not including crystal
oscillator startup time).
CLKIN Period 72.3 150 ns CLKIN Width Low 20 20 ns CLKIN Width High 20 20 ns RESET Width Low 361.5 5t
CK
1
ns
CLKOUT Width Low 26.2 0.5tCK – 10 ns CLKOUT Width High 26.2 0.5tCK – 10 ns CLKIN High to CLKOUT High 0 20 ns
t
CK
t
CKH
CLKIN
CLKOUT
t
CKL
t
CPL
t
CKOH
t
CPH
Figure 25. Clock Signals
–28–
REV. 0
Page 29
ADSP-2104/ADSP-2109
CLKOUT
FLAG
OUTPUT(S)
t
FOD
IRQx
FI
t
FOH
t
IFH
t
IFS
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
INTERRUPTS & FLAGS
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t t
IFS IFH
IRQx1 or FI Setup before CLKOUT Low IRQx1 or FI Hold after CLKOUT High
2, 3
2, 3
33.1 0.25tCK + 15 ns
18.1 0.25t
CK
ns
Switching Characteristic:
t
FOH
t
FOD
NOTES
1
IRQx=IRQ0, IRQ1, and IRQ2.
2
If IRQx and FI inputs meet t
following cycle. (Refer to the “Interrupt Controller” section in Chapter 3, Program Control, of the ADSP-2100 Family User’s Manual for further information on
interrupt servicing.)
3
Edge-sensitive interrupts require pulse widths greater than 10 ns. Level-sensitive interrupts must be held low until serviced.
FO Hold after CLKOUT High 0 ns FO Delay from CLKOUT High 15 ns
and t
IFS
setup/hold requirements, they will be recognized during the current clock cycle; otherwise they will be recognized during the
IFH
REV. 0
Figure 26. Interrupts & Flags
–29–
Page 30
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
BUS REQUEST/GRANT
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
BH
t
BS
BR Hold after CLKOUT High BR Setup before CLKOUT Low
1
1
23.1 0.25tCK + 5 ns
38.1 0.25tCK + 20 ns
Switching Characteristic:
t
SD
t
SDB
t
SE
t
SEC
NOTES
1
If BR meets the tBS and tBH setup/hold requirements, it will be recognized in the current processor cycle; otherwise it is recognized in the following cycle. BR
requires a pulse width greater than 10 ns.
Note: BG is asserted in the cycle after BR is recognized. No external synchronization circuit is needed when BR is generated as an asynchronous signal.
CLKOUT High to DMS, PMS, BMS, RD, WR Disable 38.1 0.25tCK + 20 ns DMS, PMS, BMS, RD, WR Disable to BG Low 0 0 ns BG High to DMS, PMS, BMS, RD, WR Enable 0 0 ns DMS, PMS, BMS, RD, WR Enable to CLKOUT High 8.1 0.25tCK – 10 ns
t
BH
CLKOUT
BR
t
BS
CLKOUT
PMS
, DMS
BMS, RD
WR
BG
t
SD
t
SDB
Figure 27. Bus Request/Grant
t
SEC
t
SE
–30–
REV. 0
Page 31
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
MEMORY READ
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
RDD
t
AA
t
RDH
Switching Characteristic:
t
RP
t
CRD
t
ASR
t
RDA
t
RWR
w = wait states × t
RD Low to Data Valid 23.2 0.5tCK – 13 + w ns A0–A13, PMS, DMS, BMS to Data Valid 36.2 0.75tCK – 18 + w ns Data Hold from RD High 0 0 ns
RD Pulse Width 28.2 0.5tCK – 8 + w ns CLKOUT High to RD Low 13.1 28.1 0.25tCK – 5 0.25tCK + 10 ns A0–A13, PMS, DMS, BMS Setup before RD Low 8.1 0.25tCK – 10 ns A0–A13, PMS, DMS, BMS Hold after RD Deasserted 9.1 0.25tCK – 9 ns RD High to RD or WR Low 31.2 0.5tCK – 5 ns
CK.
CLKOUT
A0 – A13
DMS, PMS
BMS
RD
WR
t
RDA
t
ASR
t
CRD
D
t
RP
t
RDD
t
AA
t
RWR
t
RDH
Figure 28. Memory Read
REV. 0
–31–
Page 32
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
MEMORY WRITE
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Switching Characteristic:
t
DW
t
DH
t
WP
t
WDE
t
ASW
t
DDR
t
CWR
t
AW
t
WRA
t
WWR
w = wait states × t
Data Setup before WR High 23.2 0.5t Data Hold after WR High 8.1 0.25t
– 13 + w ns
CK
– 10 ns
CK
WR Pulse Width 28.2 0.5tCK – 8 + w ns WR Low to Data Enabled 0 A0–A13, DMS, PMS Setup before WR Low 8.1 0.25t
– 10 ns
CK
Data Disable before WR or RD Low 8.1 0.25tCK – 10 ns CLKOUT High to WR Low 13.1 28.1 0.25t A0–A13, DMS, PMS, Setup before WR Deasserted 32.2 0.75t A0–A13, DMS, PMS Hold After WR Deasserted 9.1 0.25t
– 5 0.25tCK + 10 ns
CK
– 22 + w ns
CK
– 9 ns
CK
WR High to RD or WR Low 31.2 0.5tCK – 5 ns
CK.
CLKOUT
A0 – A13
DMS, PMS
WR
RD
t
WRA
t
WWR
t
DH
t
DDR
t
t
WDE
t
WP
AW
t
DW
t
ASW
t
CWR
D
Figure 29. Memory Write
–32–
REV. 0
Page 33
ADSP-2104/ADSP-2109
TIMING PARAMETERS (ADSP-2104L/ADSP-2109L)
SERIAL PORTS
Frequency
13.824 MHz Dependency
Parameter Min Max Min Max Unit
Timing Requirement:
t
SCK
t
SCS
t
SCH
t
SCP
Switching Characteristic:
t
CC
t
SCDE
t
SCDV
t
RH
t
RD
t
SCDH
t
TDE
t
TDV
t
SCDD
t
RDV
SCLK Period 72.3 ns DR/TFS/RFS Setup before SCLK Low 8 ns DR/TFS/RFS Hold after SCLK Low 10 ns SCLK
CLKOUT High to SCLK
Width 28 ns
in
out
18.1 33.1 0.25t
CK
0.25t
+ 15 ns
CK
SCLK High to DT Enable 0 ns SCLK High to DT Valid 20 ns TFS/RFS TFS/RFS
Hold after SCLK High 0 ns
out
Delay from SCLK High 20 ns
out
DT Hold after SCLK High 0 ns TFS (alt) to DT Enable 0 ns TFS (alt) to DT Valid 18 ns SCLK High to DT Disable 25 ns RFS (Multichannel, Frame Delay Zero) 20 ns to DT Valid
CLKOUT
SCLK
DR
RFS
TFS
RFS
OUT
TFS
OUT
DT
TFS
( ALTERNATE
FRAME MODE )
( MULTICHANNEL MODE,
FRAME DELAY 0 {MFD = 0} )
RFS
t
CC
IN IN
t
t
t t
SCDV SCDE
t t
RD RH
TDE TDV
t
CC
t
SCStSCH
t
SCDD
t
SCDH
t
RDV
t
SCK
t
SCP
t
SCP
Figure 30. Serial Ports
REV. 0
–33–
Page 34
ADSP-2104/ADSP-2109
GND
D19 D20 D21 D22 D23 V
MMAP
BR
IRQ2
RESET
V
PIN CONFIGURATIONS
68-Lead PLCC
D16
D18
D15
D17
9618765 686766656463624321
10 11 12 13 14 15 16
DD
17 18 19 20 21
A0
22
A1
23
A2
24
A3
25
A4
26
DD
22 3823 24 25 26 27 28 29 30 31 32 33 34 35 36 37
A6
A7
A5
GND
D14
A8
D13
A9
GND
D11
D12
PIN 1 IDENTIFIER
ADSP-2104 ADSP-2104L ADSP-2109 ADSP-2109L
TOP VIEW
(PINS DOWN)
A11
A10
A12
D10
A13
D9
PMS
D8
DMS
D7
BMS
D6
BG
D5
XTAL
D4
D3
CLKIN
60 59 58 57 56 55 54 53 52 51 50 49 48 47 46 45 44
CLKOUT
D2 D1 D0 V
DD
SCLK1 FI
(DR1)
IRQ0 IRQ1 FO
(DT1)
SCLK0 DR0 GND RFS0 TFS0 DT0 RD WR
(RFS1) (TFS1)
PLCC Pin Number Name
1 D11 2 GND 3 D12 4 D13 5 D14 6 D15 7 D16 8 D17 9 D18 10 GND 11 D19 12 D20 13 D21 14 D22 15 D23 16 V
DD
17 MMAP
PLCC Pin Number Name
18 19
BR IRQ2
20 RESET
21 A0 22 A1 23 A2 24 A3 25 A4 26 V
DD
27 A5 28 A6 29 GND 30 A7 31 A8 32 A9 33 A10 34 A11
PLCC Pin Number Name
35 A12 36 A13
37
PMS 38 DMS 39
BMS 40 BG
41 XTAL 42 CLKIN 43 CLKOUT
44 45
WR
RD
46 DT0 47 TFS0 48 RFS0 49 GND 50 DR0 51 SCLK0
PLCC Pin Number Name
52 FO (DT1) 53
IRQ1 (TFS1)
54 IRQ0 (RFS1) 55 FI (DR1) 56 SCLK1 57 V
DD
58 D0 59 D1 60 D2 61 D3 62 D4 63 D5 64 D6 65 D7 66 D8 67 D9 68 D10
–34–
REV. 0
Page 35
ADSP-2104/ADSP-2109
OUTLINE DIMENSIONS
ADSP-2104/ADSP-2109
68-Lead Plastic Leaded Chip Carrier (PLCC)
9
PIN 1 IDENTIFIER
61
e
D
2
b
TOP VIEW
(PINS DOWN)
D
1
D
b
1
D
A
1
A
BOTTOM VIEW
(PINS UP)
INCHES MILLIMETERS
SYMBOL MIN TYP MAX MIN TYP MAX A 0.169 0.172 0.175 4.29 14.37 4.45
A
1
0.104 12.64 b 0.017 0.018 0.019 0.43 10.46 0.48 b
1
0.027 0.028 0.029 0.69 10.71 0.74 D 0.985 0.990 0.995 25.02 25.15 25.27 D
1
D
2
0.950 0.952 0.954 24.13 24.18 24.23
0.895 0.910 0.925 22.73 23.11 23.50 e 0.050 11.27
D
0.004 10.10
REV. 0
–35–
Page 36
ADSP-2104/ADSP-2109
ORDERING GUIDE
Ambient Temperature Instruction Package Package
Part Number* Range Rate Description Option
ADSP-2104KP-80 0°C to +70°C 20.0 MHz 68-Lead PLCC P-68A ADSP-2109KP-80 0°C to +70°C 20.0 MHz 68-Lead PLCC P-68A
ADSP-2104LKP-55 0°C to +70°C 13.824 MHz 68-Lead PLCC P-68A ADSP-2109LKP-55 0°C to +70°C 13.824 MHz 68-Lead PLCC P-68A
*K = Commercial Temperature Range (0°C to +70°C).
*P = PLCC (Plastic Leaded Chip Carrier).
C2145–16–7/96
–36–
PRINTED IN U.S.A.
REV. 0
Loading...