a
Preliminary Technical Data
SHARC and the SHARC logo are registered trademarks of Analog Devices, Inc.
SHARC
®
Processor
ADSP-21367
Rev. PrA
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 that may result from its use.
Specifications subject to change without notice. No license is granted by implication
or otherwise under any patent or patent rights of Analog Devices. Trademarks and
registered trademarks are the property of their respective companies.
One Technology Way, P.O. Box 9106, Norwood, MA 02062-9106 U.S.A.
Tel:781.329.4700 www.analog.com
Fax:781.326.8703 © 2004 Analog Devices, Inc. All rights reserved.
SUMMARY
High performance 32-bit/40-bit floating point processor
optimized for high performance automotive audio
processing
Audio decoder and post processor-algorithm support with
32-bit floating-point implementations
Non-volatile memory may be configured to support audio
decoders and post processor-algorithms like PCM, Dolby
Digital EX, Dolby Prologic IIx, Dolby Digital Plus, Dolby
headphone, DTS 96/24, Neo:6, DTS ES, DTS Lossless,
MPEG2 AAC, MPEG2 2channel, MP3, WMAPro, and Multi-
channel encoder. Functions like Bass management, Delay,
Speaker equalization, Graphic equalization, Decoder/post-
processor algorithm combination support will vary
depending upon the chip version and the system configu-
rations. Please visit www.analog.com
Single-Instruction Multiple-Data (SIMD) computational
architecture
On-chip memory—2M bit of on-chip SRAM and a dedicated
6M bit of on-chip mask-programmable ROM
Code compatible with all other members of the SHARC family
The ADSP-21367 is available with a 400 MHz core instruction
rate with unique audio centric peripherals such as the Digi-
tal Audio Interface, S/PDIF transceiver, serial ports, 8-
channel asynchronous sample rate converter, precision
clock generators and more. For complete ordering infor-
mation, see Ordering Guide on page 47
Figure 1. Functional Block Diagram – Processor Core
SPI PORT (2)
TIMERS (3)
TWO WIRE
INTERFACE
UART (2)
DPI ROUTING UNIT
DI GI TAL PERIP HE RA L INTE RFA CE
GPIO FLAGS/
IRQ/TIMEXP
4
PWM (16)
SERIAL PORTS (8)
INPUT DATA PORT/
PDAP
DAI ROUTING UNIT
SPDIF (RX/TX)
DIGITAL AUDIO INTERFACE
IOD(32)
ADDR DATA
IOA(24)
32 PM ADDRESS BUS
DMADDRESS BUS
PM DATA BUS
DM DATA BUS
64
PX REGISTER
PROCESSING
ELEMENT
(PEY)
PROCESSING
EL EMENT
(P EX)
TIMER
INSTRUCTION
CACHE
32 X48-BIT
DAG1
8X4X32
COREPROCESSOR
PROGRAM
SEQUENCER
4 BLOCKS OF
ON-CHIP MEMORY
DMA
CONTROLLER
34 CHANNELS
24
11
32
SDRAM
CONTROLLER
CONTROLPINS
ADDRESS
DATA
CONTROL
3
8
2 M B IT R AM, 6 M BI T RO M
S
ME MORY -T O-
ME M ORY D MA (2 )
IOP REGISTER (MEMORY MAPPED)
CONTROL, STATUS, & DATA BUFFERS
JTAG TEST & EMULATION
ASYNCHRONOUS
ME MO RY
INTERFACE
DAG2
8X4X32
I/O PROCESSOR
DAI PINS DPI PINS
64
32
14
20
EXTERNAL PORT
SRC (8 CHANNELS)
PRECISI ON CLOCK
GENERATORS (4)
Rev. PrA | Page 2 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
KEY FEATURES – PROCESSOR CORE
At 400 MHz (2.5 ns) core instruction rate, the ADSP-21367
performs 2.4 GFLOPS/800 MMACS
2M bit on-chip SRAM (0.75M Bit in blocks 0 and 1, and 250K
Bit in blocks 2 and 3) for simultaneous access by the core
processor and DMA
6M bit on-chip mask-programmable ROM (3M bit in block 0
and 3M bit in block 1)
Dual Data Address Generators (DAGs) with modulo and bit-
reverse addressing
Zero-overhead looping with single-cycle loop setup, provid-
ing efficient program sequencing
Single Instruction Multiple Data (SIMD) architecture
provides:
Two computational processing elements
Concurrent execution
Code compatibility with other SHARC family members at
the assembly level
Parallelism in busses and computational units allows: Sin-
gle cycle executions (with or without SIMD) of a multiply
operation, an ALU operation, a dual memory read or
write, and an instruction fetch
Transfers between memory and core at a sustained 6.0G
bytes/s bandwidth at 400 MHz core instruction rate
INPUT/OUTPUT FEATURES
DMA Controller supports:
34 zero-overhead DMA channels for transfers between
ADSP-21367 internal memory and a variety of
peripherals
32-bit DMA transfers at core clock speed, in parallel with
full-speed processor execution
32-Bit Wide External Port Provides Glueless Connection to
both Synchronous (SDRAM) and Asynchronous Memory
Devices
Programmable wait state options: 2 to 31 SCLK cycles
Delay-line DMA engine maintains circular buffers in exter-
nal memory with tap/offset based reads
SDRAM accesses at 166MHz and Asynchronous accesses at
66MHz
4 Memory Select lines allows multiple external memory
devices
Digital Audio Interface (DAI) includes eight serial ports, four
Precision Clock Generators, an Input Data Port, an S/PDIF
transceiver, an 8-channel asynchronous sample rate con-
verter, and a Signal Routing Unit
Digital Peripheral Interface (DPI) includes, three timers, two
UARTs, two SPI ports, and a two wire interface port
Outputs of PCG's C and D can be driven on to DPI pins
Eight dual data line serial ports that operate at up to 50M
bits/s on each data line — each has a clock, frame sync and
two data lines that can be configured as either a receiver or
transmitter pair
TDM support for telecommunications interfaces including
128 TDM channel support for newer telephony interfaces
such as H.100/H.110
Up to 16 TDM stream support, each with 128 channels per
frame
Companding selection on a per channel basis in TDM mode
Input data port, configurable as eight channels of serial data
or seven channels of serial data and a single channel of up
to a 20-bit wide parallel data
Signal routing unit provides configurable and flexible con-
nections between all DAI/DPI components
2 Muxed Flag/IRQ lines
1 Muxed Flag/Timer expired line /MS pin
1 Muxed Flag/IRQ /MS pin
DEDICATED AUDIO COMPONENTS
S/PDIF Compatible Digital Audio receiver/transmitter sup-
ports EIAJ CP-340 (CP-1201), IEC-958, AES/EBU standards
Left-justified, I
2
S or right-justified serial data input with
16, 18, 20 or 24-bit word widths (transmitter)
Sample Rate Converter (SRC) contains a Serial Input Port, De-
emphasis Filter, Sample Rate Converter (SRC) and Serial
Output Port providing up to -128db SNR performance.
Supports Left Justified, I
2
S, TDM and Right Justified 24, 20,
18 and 16-bit serial formats (input)
Pulse Width Modulation provides:
16 PWM outputs configured as four groups of four outputs
supports center-aligned or edge-aligned PWM waveforms
ROM Based Security features include:
JTAG access to memory permitted with a 64-bit key
Protected memory regions that can be assigned to limit
access under program control to sensitive code
PLL has a wide variety of software and hardware multi-
plier/divider ratios
Dual voltage: 3.3 V I/O, 1.3 V core
Available in 256-ball BGA and 208-lead LQFP Packages (see
Ordering Guide on page 47)
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 3 of 48 | November 2004
TABLE OF CONTENTS
Summary ............................................................... 1
Key Features Processor Core ................................. 2
Input/Output Features ........................................... 2
Dedicated Audio Components ................................. 2
General Description ................................................. 4
ADSP-21367 Family Core Architecture ...................... 4
SIMD Computational Engine ............................... 4
Independent, Parallel Computation Units ................ 4
Data Register File ............................................... 5
Single-Cycle Fetch of Instruction and Four Operands . 5
Instruction Cache .............................................. 5
Data Address Generators With Zero-Overhead Hardware
Circular Buffer Support .................................... 5
Flexible Instruction Set ....................................... 6
ADSP-21367 Memory ............................................ 6
On-Chip Memory .............................................. 6
External Memory .................................................. 6
SDRAM Controller ............................................ 7
Asynchronous Controller .................................... 7
ADSP-21367 Input/Output Features .......................... 7
DMA Controller ................................................ 7
Digital Audio Interface (DAI) ............................... 7
Serial Ports ....................................................... 8
S/PDIF Compatible Digital Audio Receiver/Transmitter
and Synchronous/Asynchronous Sample
Rate Converter ............................................... 8
Digital Peripheral Interface (DPI) .......................... 8
Serial Peripheral (Compatible) Interface .................. 8
UART Port ...................................................... 8
Timers ............................................................ 9
Two Wire Interface Port (TWI) ............................. 9
Pulse Width Modulation ..................................... 9
ROM Based Security ........................................... 9
System Design ...................................................... 9
Program Booting .............................................. 10
Power Supplies ................................................. 10
Target Board JTAG Emulator Connector ................ 10
Development Tools .............................................. 10
Designing an Emulator-Compatible DSP
Board(Target) .............................................. 11
Evaluation Kit .................................................. 11
Additional Information ......................................... 11
Pin Function Descriptions ........................................ 12
Address Data Modes ............................................ 14
Boot Modes ....................................................... 14
Core Instruction Rate to CLKIN Ratio Modes ............ 14
ADSP-21367 Specifications ....................................... 15
Recommended Operating Conditions ...................... 15
Electrical Characteristics ....................................... 15
Absolute Maximum Ratings ................................... 16
ESD Sensitivity ................................................... 16
Timing Specifications ........................................... 16
Power-Up Sequencing ....................................... 18
Clock Input .................................................... 19
Clock Signals ................................................... 19
Reset ............................................................. 20
Interrupts ....................................................... 20
Core Timer ..................................................... 21
Timer PWM_OUT Cycle Timing ......................... 21
Timer WDTH_CAP Timing ............................... 22
DAI and DPI Pin to Pin Direct Routing ................. 22
Precision Clock Generator (Direct Pin Routing) ...... 23
Flags ............................................................. 24
SDRAM Interface Timing .................................. 25
External Port Bus Request and Grant Cycle Timing .. 26
Serial Ports ..................................................... 27
Input Data Port ............................................... 30
Parallel Data Acquisition Port (PDAP) .................. 31
Sample Rate ConverterSerial Input Port .............. 32
Sample Rate ConverterSerial Output Port ........... 33
SPDIF Transmitter ........................................... 34
SPDIF Receiver ................................................ 36
SPI InterfaceMaster ....................................... 38
SPI InterfaceSlave .......................................... 39
Universal Asynchronous Receiver-Transmitter
(UART) PortReceive and Transmit Timing ...... 40
JTAG Test Access Port and Emulation .................. 41
Output Drive Currents ......................................... 42
Test Conditions .................................................. 42
Capacitive Loading .............................................. 42
Thermal Characteristics ........................................ 43
Ordering Guide ..................................................... 45
Rev. PrA | Page 4 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
GENERAL DESCRIPTION
The ADSP-21367 SHARC processor is a members of the SIMD
SHARC family of DSPs that feature Analog Devices' Super Har-
vard Architecture. The ADSP-21367 is source code compatible
with the ADSP-2126x, and ADSP-2116x, DSPs as well as with
first generation ADSP-2106x SHARC processors in SISD (Sin-
gle-Instruction, Single-Data) mode. The ADSP-21367 is a 32-
bit/40-bit floating point processors optimized for high perfor-
mance automotive audio applications with its large on-chip
SRAM and mask-programmable ROM, multiple internal buses
to eliminate I/O bottlenecks, and an innovative Digital Audio
Interface (DAI).
As shown in the functional block diagram on page 1, the
ADSP-21367 uses two computational units to deliver a signifi-
cant performance increase over the previous SHARC processors
on a range of DSP algorithms. Fabricated in a state-of-the-art,
high speed, CMOS process, the ADSP-21367 processor achieves
an instruction cycle time of 2.5 ns at 400 MHz. With its SIMD
computational hardware, the ADSP-21367 can perform 2.4
GFLOPS running at 400 MHz.
Table 1 shows performance benchmarks for the ADSP-21367.
The ADSP-21367 continues SHARC’s industry leading stan-
dards of integration for DSPs, combining a high performance
32-bit DSP core with integrated, on-chip system features.
The block diagram of the ADSP-21367 on page 1, illustrates the
following architectural features:
Two processing elements, each of which comprises an
ALU, Multiplier, Shifter and Data Register File
Data Address Generators (DAG1, DAG2)
Program sequencer with instruction cache
PM and DM buses capable of supporting four 32-bit data
transfers between memory and the core at every core pro-
cessor cycle
Three Programmable Interval Timers with PWM Genera-
tion, PWM Capture/Pulse width Measurement, and
External Event Counter Capabilities
•On-Chip SRAM (2M bit)
On-Chip mask-programmable ROM (6M bit)
JTAG test access port
The block diagram of the ADSP-21367 on page 1 also illustrates
the following architectural features:
DMA controller
Eight full duplex serial ports
Two SPI-compatible interface ports
Digital Audio Interface that includes four precision clock
generators (PCG), an input data port (IDP), an S/PDIF
receiver/transmitter, eight channels asynchronous sample
rate converters, eight serial ports, eight serial interfaces, a
20-bit parallel input port, a flexible signal routing unit
(SRU), and a Digital Peripheral Interface (DPI)
ADSP-21367 FAMILY CORE ARCHITECTURE
The ADSP-21367 is code compatible at the assembly level with
the ADSP-2126x, ADSP-21160 and ADSP-21161, and with the
first generation ADSP-2106x SHARC processors. The ADSP-
21367 shares architectural features with the ADSP-2126x and
ADSP-2116x SIMD SHARC processors, as detailed in the fol-
lowing sections.
SIMD Computational Engine
The ADSP-21367 contains two computational processing ele-
ments that operate as a Single-Instruction Multiple-Data
(SIMD) engine. The processing elements are referred to as PEX
and PEY and each contains an ALU, multiplier, shifter and reg-
ister file. PEX is always active, and PEY may be enabled by
setting the PEYEN mode bit in the MODE1 register. When this
mode is enabled, the same instruction is executed in both pro-
cessing elements, but each processing element operates on
different data. This architecture is efficient at executing math
intensive DSP algorithms.
Entering SIMD mode also has an effect on the way data is trans-
ferred between memory and the processing elements. When in
SIMD mode, twice the data bandwidth is required to sustain
computational operation in the processing elements. Because of
this requirement, entering SIMD mode also doubles the band-
width between memory and the processing elements. When
using the DAGs to transfer data in SIMD mode, two data values
are transferred with each access of memory or the register file.
Independent, Parallel Computation Units
Within each processing element is a set of computational units.
The computational units consist of an arithmetic/logic unit
(ALU), multiplier, and shifter. These units perform all opera-
tions in a single cycle. The three units within each processing
element are arranged in parallel, maximizing computational
throughput. Single multifunction instructions execute parallel
ALU and multiplier operations. In SIMD mode, the parallel
ALU and multiplier operations occur in both processing ele-
Table 1. ADSP-21367 Benchmarks (at 400 MHz)
Benchmark Algorithm Speed
(at 400 MHz)
1024 Point Complex FFT (Radix 4, with reversal) 23.25 µs
FIR Filter (per tap)
1
1
Assumes two files in multichannel SIMD mode
1.25 ns
IIR Filter (per biquad)
1
5.0 ns
Matrix Multiply (pipelined)
[3x3] × [3x1]
[4x4] × [4x1]
11.25 ns
20.0 ns
Divide (y/×) 8.75 ns
Inverse Square Root 13.5 ns
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 5 of 48 | November 2004
ments. These computation units support IEEE 32-bit single-
precision floating-point, 40-bit extended precision floating-
point, and 32-bit fixed-point data formats.
Data Register File
A general-purpose data register file is contained in each pro-
cessing element. The register files transfer data between the
computation units and the data buses, and store intermediate
results. These 10-port, 32-register (16 primary, 16 secondary)
register files, combined with the ADSP-2136x enhanced Har-
vard architecture, allow unconstrained data flow between
computation units and internal memory. The registers in PEX
are referred to as R0-R15 and in PEY as S0-S15.
Single-Cycle Fetch of Instruction and Four Operands
The ADSP-21367 features an enhanced Harvard architecture in
which the data memory (DM) bus transfers data and the pro-
gram memory (PM) bus transfers both instructions and data
(see Figure 1 on page 1). With the ADSP-21367’s separate pro-
gram and data memory buses and on-chip instruction cache,
the processor can simultaneously fetch four operands (two over
each data bus) and one instruction (from the cache), all in a sin-
gle cycle.
Instruction Cache
The ADSP-21367 includes an on-chip instruction cache that
enables three-bus operation for fetching an instruction and four
data values. The cache is selective—only the instructions whose
fetches conflict with PM bus data accesses are cached. This
cache allows full-speed execution of core, looped operations
such as digital filter multiply-accumulates, and FFT butterfly
processing.
Data Address Generators With Zero-Overhead Hardware
Circular Buffer Support
The ADSP-21367’s two data address generators (DAGs) are
used for indirect addressing and implementing circular data
buffers in hardware. Circular buffers allow efficient program-
ming of delay lines and other data structures required in digital
signal processing, and are commonly used in digital filters and
Fourier transforms. The two DAGs of the ADSP-21367 contain
sufficient registers to allow the creation of up to 32 circular buff-
ers (16 primary register sets, 16 secondary). The DAGs
automatically handle address pointer wraparound, reduce over-
head, increase performance, and simplify implementation.
Circular buffers can start and end at any memory location.
Flexible Instruction Set
The 48-bit instruction word accommodates a variety of parallel
operations, for concise programming. For example, the
ADSP-21367 can conditionally execute a multiply, an add, and a
subtract in both processing elements while branching and fetch-
ing up to four 32-bit values from memory—all in a single
instruction.
ADSP-21367 MEMORY
The ADSP-21367 adds the following architectural features to
the SIMD SHARC family core.
On-Chip Memory
The ADSP-21367 contains two megabits of internal RAM and
six megabits of internal mask-programmable ROM. Each block
can be configured for different combinations of code and data
storage (see Table 2). Each memory block supports single-cycle,
independent accesses by the core processor and I/O processor.
The ADSP-21367 memory architecture, in combination with its
separate on-chip buses, allow two data transfers from the core
and one from the I/O processor, in a single cycle.
The ADSP-21367’s, SRAM can be configured as a maximum of
64K words of 32-bit data, 128K words of 16-bit data, 42K words
of 48-bit instructions (or 40-bit data), or combinations of differ-
ent word sizes up to three megabits. All of the memory can be
accessed as 16-bit, 32-bit, 48-bit, or 64-bit words. A 16-bit float-
ing-point storage format is supported that effectively doubles
the amount of data that may be stored on-chip. Conversion
between the 32-bit floating-point and 16-bit floating-point for-
mats is performed in a single instruction. While each memory
block can store combinations of code and data, accesses are
most efficient when one block stores data using the DM bus for
transfers, and the other block stores instructions and data using
the PM bus for transfers.
Table 2. ADSP-21367 Internal Memory Space
IOP Registers 0x0000 0000 - 0003 FFFF
Long Word (64 bits) Extended Precision Normal or
Instruction Word (48 bits)
Normal Word (32 bits) Short Word (16 bits)
BLOCK 0 ROM
0x0004 0000–0x0004 BFFF
BLOCK 0 ROM
0x0008 0000–0x0008 FFFF
BLOCK 0 ROM
0x0008 0000–0x0009 7FFF
BLOCK 0 ROM
0x0010 0000–0x0012 FFFF
Reserved
0x0004 F000–0x0004 FFFF
Reserved
0x0009 4000–0x0009 FFFF
Reserved
0x0009 E0000–0x0009 FFFF
Reserved
0x0013 C000–0x0013 FFFF
BLOCK 0 RAM
0x0004 C000–0x0004 EFFF
BLOCK 0 RAM
0x0009 0000–0x0009 3FFF
BLOCK 0 RAM
0x0009 8000–0x0009 DFFF
BLOCK 0 RAM
0x0013 0000–0x0013 BFFF
BLOCK 1 ROM
0x0005 0000–0x0005 BFFF
BLOCK 1 ROM
0x000A 0000–0x000A FFFF
BLOCK 1 ROM
0x000A 0000– 0x000B 7FFF
BLOCK 1 ROM
0x0014 0000–0x0016 FFFF
Rev. PrA | Page 6 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Using the DM bus and PM buses, with one bus dedicated to
each memory block, assures single-cycle execution with two
data transfers. In this case, the instruction must be available in
the cache.
EXTERNAL MEMORY
The External Port on the ADSP-21367 SHARC provides a high
performance, glueless interface to a wide variety of industry-
standard memory devices. The 32-bit wide bus may be used to
interface to synchronous and/or asynchronous memory devices
through the use of it's separate internal memory controllers: the
first is an SDRAM controller for connection of industry-stan-
dard synchronous DRAM devices and DIMMs (Dual Inline
Memory Module), while the second is an asynchronous mem-
ory controller intended to interface to a variety of memory
devices. Four memory select pins enable up to four separate
devices to coexist, supporting any desired combination of syn-
chronous and asynchronous device types.
SDRAM Controller
The SDRAM controller provides an interface to up to four sepa-
rate banks of industry-standard SDRAM devices or DIMMs, at
speeds up to f
SCLK
. Fully compliant with the SDRAM standard,
each bank can has it's own memory select line (MS0–MS3), and
can be configured to contain between 16M bytes and
128M bytes of memory.
The controller maintains all of the banks as a contiguous
address space so that the processor sees this as a single address
space, even if different size devices are used in the different
banks.
A set of programmable timing parameters is available to config-
ure the SDRAM banks to support slower memory devices. The
memory banks can be configured as either 32 bits wide for max-
imum performance and bandwidth or 16 bits wide for
minimum device count and lower system cost.
The SDRAM controller address, data, clock, and command pins
can drive loads up to 30 pF. For larger memory systems, the
SDRAM controller external buffer timing should be selected
and external buffering should be provided so that the load on
the SDRAM controller pins does not exceed 30 pF.
Asynchronous Controller
The asynchronous memory controller provides a configurable
interface for up to four separate banks of memory or I/O
devices. Each bank can be independently programmed with dif-
ferent timing parameters, enabling connection to a wide variety
of memory devices including SRAM, ROM, and flash EPROM,
as well as I/O devices that interface with standard memory con-
trol lines. Bank0 occupies a 14.7M word window and banks 1, 2,
and 3 occupy a 16M word window in the processor’s address
space but, if not fully populated, these windows are not made
contiguous by the memory controller logic. The banks can also
be configured as 8-bit, 16-bit, or 32-bit wide buses for ease of
interfacing to a range of memories and I/O devices tailored
either to high performance or to low cost and power.
The asynchronous memory controller is capable of a maximum
throughput of 267M bytes/sec using a 66MHz external bus
speed. Other features include 8 to 32-bit and 16 to 32-bit pack-
ing and unpacking, booting from Bank Select 1, and support for
delay line DMA.
ADSP-21367 INPUT/OUTPUT FEATURES
The ADSP-21367 I/O processor provides 34 channels of DMA,
as well as an extensive set of peripherals. These include a 20 pin
Digital Audio Interface which controls:
Eight Serial ports
S/PDIF Receiver/Transmitter
Four Precision Clock generators
Reserved
0x0005 F000–0x0005 FFFF
Reserved
0x000B 4000–0x000B FFFF
Reserved
0x000B E000– 0x000B FFFF
Reserved
0x0017 C000–0x0017 FFFF
BLOCK 1 RAM
0x0005 C000–0x0005 EFFF
BLOCK 1 RAM
0x000B 0000–0x000B 3FFF
BLOCK 1 RAM
0x000B 8000–0x000B DFFF
BLOCK 1 RAM
0x0017 0000–0x0017 BFFF
BLOCK 2 RAM
0x0006 0000–0x0006 0FFF
BLOCK 2 RAM
0x000C 0000–0x000C 1554
BLOCK 2 RAM
0x000C 0000–0x000C 1FFF
BLOCK 2 RAM
0x0018 0000–0x0018 3FFF
Reserved
0x0006 1000– 0x0006 FFFF
Reserved
0x000C 1555–0x000C 3FFF
Reserved
0x000C 2000–0x000D FFFF
Reserved
0x0018 4000–0x001B FFFF
BLOCK 3 RAM
0x0007 0000–0x0007 0FFF
BLOCK 3 RAM
0x000E 0000–0x000E 1554
BLOCK 3 RAM
0x000E 0000–0x000E 1FFF
BLOCK 3 RAM
0x001C 0000–0x001C 3FFF
Reserved
0x0007 1000– 0x0007 FFFF
Reserved
0x000E 1555–0x000F FFFF
Reserved
0x000E 2000–0x000F FFFF
Reserved
0x001C 4000–0x001F FFFF
Table 2. ADSP-21367 Internal Memory Space (Continued)
IOP Registers 0x0000 0000 - 0003 FFFF
Long Word (64 bits) Extended Precision Normal or
Instruction Word (48 bits)
Normal Word (32 bits) Short Word (16 bits)
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 7 of 48 | November 2004
Four Sample Rate Converters
Internal Data port/Parallel Data Acquisition port
The ADSP-21367 processor also contains a 14 pin Digital
Peripheral Interface which controls:
Three general-purpose timers
Two Serial Peripheral Interfaces
•Two Universal Asynchronous Receiver/Transmitters
(UARTs)
A Two Wire Interface/I
2
C
DMA Controller
The ADSP-21367’s on-chip DMA controller allows data trans-
fers without processor intervention. The DMA controller
operates independently and invisibly to the processor core,
allowing DMA operations to occur while the core is simulta-
neously executing its program instructions. DMA transfers can
occur between the ADSP-21367’s internal memory and its serial
ports, the SPI-compatible (Serial Peripheral Interface) ports, the
IDP (Input Data Port), the Parallel Data Acquisition Port
(PDAP) or the UART. Thirty-four channels of DMA are avail-
able on the ADSP-21367—sixteen via the serial ports, eight via
the Input Data Port, four for the UARTs, two for the SPI inter-
face, two for the external port, and two for memory-to-memory
transfers. Programs can be downloaded to the ADSP-21367
using DMA transfers. Other DMA features include interrupt
generation upon completion of DMA transfers, and DMA
chaining for automatic linked DMA transfers.
Delay Line DMA
The ADSP-21367 processor provides Delay Line DMA func-
tionality. This allows processor reads and writes to external
Delay Line Buffers (and hence to external memory) with limited
core interaction.
Digital Audio Interface (DAI)
The Digital Audio Interface (DAI) provides the ability to con-
nect various peripherals to any of the DSPs DAI pins
(DAI_P20–1).
Programs make these connections using the Signal Routing
Unit (SRU, shown in Figure 1.
The SRU is a matrix routing unit (or group of multiplexers) that
enables the peripherals provided by the DAI to be intercon-
nected under software control. This allows easy use of the DAI
associated peripherals for a much wider variety of applications
by using a larger set of algorithms than is possible with non con-
figurable signal paths.
The DAI also includes eight serial ports, an S/PDIF
receiver/transmitter, four precision clock generators (PCG),
eight channels of synchronous sample rate converters, and an
input data port (IDP). The IDP provides an additional input
path to the ADSP-21367 core, configurable as either eight chan-
nels of I
2
S serial data or as seven channels plus a single 20-bit
wide synchronous parallel data acquisition port. Each data
channel has its own DMA channel that is independent from the
ADSP-21367's serial ports.
For complete information on using the DAI, see the ADSP-
2136x SHARC Processor Hardware Reference.
Serial Ports
The ADSP-21367 features eight synchronous serial ports that
provide an inexpensive interface to a wide variety of digital and
mixed-signal peripheral devices such as Analog devices AD183x
family of audio codecs, ADCs, and DACs. The serial ports are
made up of two data lines, a clock and frame sync. The data
lines can be programmed to either transmit or receive and each
data line has a dedicated DMA channel.
Serial ports are enabled via 16 programmable and simultaneous
receive or transmit pins that support up to 32 transmit or 32
receive channels of audio data when all eight SPORTS are
enabled, or eight full duplex TDM streams of 128 channels per
frame.
The serial ports operate at a maximum data rate of 50M bits/s.
Serial port data can be automatically transferred to and from
on-chip memory via dedicated DMA channels. Each of the
serial ports can work in conjunction with another serial port to
provide TDM support. One SPORT provides two transmit sig-
nals while the other SPORT provides the two receive signals.
The frame sync and clock are shared.
Serial ports operate in five modes:
Standard DSP serial mode
•Multichannel (TDM) mode with support for Packed I
2
S
mode
•I
2
S mode
•Packed I
2
S mode
Left-justified sample pair mode
Left-justified sample pair mode is a mode where in each frame
sync cycle two samples of data are transmitted/received—one
sample on the high segment of the frame sync, the other on the
low segment of the frame sync. Programs have control over var-
ious attributes of this mode.
Each of the serial ports supports the left-justified sample pair
and I
2
S protocols (I
2
S is an industry standard interface com-
monly used by audio codecs, ADCs and DACs such as the
Analog Devices AD183x family), with two data pins, allowing
four left-justified sample pair or I
2
S channels (using two stereo
devices) per serial port, with a maximum of up to 32 I
2
S chan-
nels. The serial ports permit little-endian or big-endian
transmission formats and word lengths selectable from 3 bits to
32 bits. For the left-justified sample pair and I
2
S modes, data-
word lengths are selectable between 8 bits and 32 bits. Serial
ports offer selectable synchronization and transmit modes as
well as optional µ-law or A-law companding selection on a per
channel basis. Serial port clocks and frame syncs can be inter-
nally or externally generated.
The serial ports also contain frame sync error detection logic
where the serial ports detect frame syncs that arrive early (for
example frame syncs that arrive while the transmission/recep-
tion of the previous word is occurring). All the serial ports also
share one dedicated error interrupt.
Rev. PrA | Page 8 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
S/PDIF Compatible Digital Audio Receiver/Transmitter
and Synchronous/Asynchronous Sample Rate Converter
The S/PDIF transmitter has no separate DMA channels. It
receives audio data in serial format and converts it into a
biphase encoded signal. The serial data input to the transmitter
can be formatted as left justified, I
2
S or right justified with word
widths of 16, 18, 20, or 24 bits.
The serial data, clock, and frame sync inputs to the S/PDIF
transmitter are routed through the Signal Routing Unit (SRU).
They can come from a variety of sources such as the SPORTs,
external pins, the precision clock generators (PCGs), or the
sample rate converters (SRC) and are controlled by the SRU
control registers.
The sample rate converter (SRC) contains four SRC blocks and
is the same core as that used in the AD1896 192 kHz Stereo
Asynchronous Sample Rate Converter and provides up to
128dB SNR. The SRC block is used to perform synchronous or
asynchronous sample rate conversion across independent stereo
channels, without using internal processor resources. The four
SRC blocks can also be configured to operate together to con-
vert multichannel audio data without phase mismatches.
Finally, the SRC is used to clean up audio data from jittery clock
sources such as the S/PDIF receiver.
Digital Peripheral Interface (DPI)
The Digital Peripheral Interface provides connections to two
serial peripheral interface ports, two universal asynchronous
receiver-transmitters (UARTs), a Two Wire Interface (TWI), 12
Flags, and three general-purpose timers.
Serial Peripheral (Compatible) Interface
The ADSP-21367 SHARC processor contains two Serial Periph-
eral Interface ports (SPIs). The SPI is an industry standard
synchronous serial link, enabling the ADSP-21367 SPI compati-
ble port to communicate with other SPI compatible devices. The
SPI consists of two data pins, one device select pin, and one
clock pin. It is a full-duplex synchronous serial interface, sup-
porting both master and slave modes. The SPI port can operate
in a multimaster environment by interfacing with up to four
other SPI compatible devices, either acting as a master or slave
device. The ADSP-21367 SPI compatible peripheral implemen-
tation also features programmable baud rate and clock phase
and polarities. The ADSP-21367 SPI compatible port uses open
drain drivers to support a multimaster configuration and to
avoid data contention.
UART Port
The ADSP-21367 processor provides a full-duplex Universal
Asynchronous Receiver/Transmitter (UART) port, which is
fully compatible with PC-standard UARTs. The UART port
provides a simplified UART interface to other peripherals or
hosts, supporting full-duplex, DMA-supported, asynchronous
transfers of serial data. The UART also has multiprocessor com-
munication capability using 9-bit address detection. This allows
it to be used in multidrop networks through the RS-485 data
interface standard. The UART port also includes support for 5
to 8 data bits, 1 or 2 stop bits, and none, even, or odd parity. The
UART port supports two modes of operation:
PIO (Programmed I/O) – The processor sends or receives
data by writing or reading I/O-mapped UART registers.
The data is double-buffered on both transmit and receive.
DMA (Direct Memory Access) – The DMA controller
transfers both transmit and receive data. This reduces the
number and frequency of interrupts required to transfer
data to and from memory. The UART has two dedicated
DMA channels, one for transmit and one for receive. These
DMA channels have lower default priority than most DMA
channels because of their relatively low service rates.
The UART port's baud rate, serial data format, error code gen-
eration and status, and interrupts are programmable:
Supporting bit rates ranging from (f
SCLK
/ 1,048,576) to
(f
SCLK
/16) bits per second.
Supporting data formats from 7 to12 bits per frame.
Both transmit and receive operations can be configured to
generate maskable interrupts to the processor.
The UART port’s clock rate is calculated as:
Where the 16-bit UART_Divisor comes from the DLH register
(most significant 8 bits) and DLL register (least significant
8bits).
In conjunction with the general-purpose timer functions, auto-
baud detection is supported.
Timers
The ADSP-21367 has a total of four timers: a core timer that can
generate periodic software interrupts and three general purpose
timers that can generate periodic interrupts and be indepen-
dently set to operate in one of three modes:
Pulse Waveform Generation mode
Pulse Width Count /Capture mode
External Event Watchdog mode
The core timer can be configured to use FLAG3 as a Timer
Expired signal, and each general purpose timer has one bidirec-
tional pin and four registers that implement its mode of
operation: a 6-bit configuration register, a 32-bit count register,
a 32-bit period register, and a 32-bit pulse width register. A sin-
gle control and status register enables or disables all three
general purpose timers independently.
UART Clock Rate fSCLK
16 UART_Divisor×
-------------------------------------------------=
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 9 of 48 | November 2004
Two Wire Interface Port (TWI)
The TWI is a bi-directional 2-wire, serial bus used to move 8-bit
data while maintaining compliance with the I2C bus protocol.
The TWI Master incorporates the following features:
Simultaneous Master and Slave operation on multiple
device systems with support for multi master data
arbitration
Digital filtering and timed event processing
7 and 10 bit addressing
100K bits/s and 400K bits/s data rates
Low interrupt rate
Pulse Width Modulation
The PWM module is a flexible, programmable, PWM waveform
generator that can be programmed to generate the required
switching patterns for various applications related to motor and
engine control or audio power control. The PWM generator can
generate either center-aligned or edge-aligned PWM wave-
forms. In addition, it can generate complementary signals on
two outputs in paired mode or independent signals in non
paired mode (applicable to a single group of four PWM
waveforms).
The entire PWM module has four groups of four PWM outputs
each. Therefore, this module generates 16 PWM outputs in
total. Each PWM group produces two pairs of PWM signals on
the four PWM outputs.
The PWM generator is capable of operating in two distinct
modes while generating center-aligned PWM waveforms: single
update mode or double update mode. In single update mode the
duty cycle values are programmable only once per PWM period.
This results in PWM patterns that are symmetrical about the
mid-point of the PWM period. In double update mode, a sec-
ond updating of the PWM registers is implemented at the mid-
point of the PWM period. In this mode, it is possible to produce
asymmetrical PWM patterns that produce lower harmonic dis-
tortion in three-phase PWM inverters.
ROM Based Security
The ADSP-21367 has a ROM security feature that provides
hardware support for securing user software code by preventing
unauthorized reading from the internal code when enabled.
When using this feature, the processor does not boot-load any
external code, executing exclusively from internal SRAM/ROM.
Additionally, the processor is not freely accessible via the JTAG
port. Instead, a unique 64-bit key, which must be scanned in
through the JTAG or Test Access Port will be assigned to each
customer. The device will ignore a wrong key. Emulation fea-
tures and external boot modes are only available after the
correct key is scanned.
SYSTEM DESIGN
The following sections provide an introduction to system design
options and power supply issues.
Program Booting
The internal memory of the ADSP-21367 boots at system
power-up from an 8-bit EPROM via the external port, an SPI
master, an SPI slave or an internal boot. Booting is determined
by the Boot Configuration (BOOTCFG1–0) pins (see Table 4 on
page 14). Selection of the boot source is controlled via the SPI as
either a master or slave device, or it can immediately begin exe-
cuting from ROM.
Power Supplies
The ADSP-21367 has separate power supply connections for the
internal (V
DDINT
), external (V
DDEXT
), and analog (A
VDD
/A
VSS
)
power supplies. The internal and analog supplies must meet the
1.3V requirement. The external supply must meet the 3.3V
requirement. All external supply pins must be connected to the
same power supply.
Note that the analog supply (A
VDD
) powers the ADSP-21367’s
clock generator PLL. To produce a stable clock, programs
should provide an external circuit to filter the power input to
the A
VDD
pin. Place the filter as close as possible to the pin. For
an example circuit, see Figure 2. To prevent noise coupling, use
a wide trace for the analog ground (A
VSS
) signal and install a
decoupling capacitor as close as possible to the pin. Note that
the A
VSS
and A
VDD
pins specified in Figure 2 are inputs to the
processor and not the analog ground plane on the board. For
more information, see Electrical Characteristics on page 15.
Target Board JTAG Emulator Connector
Analog Devices DSP Tools product line of JTAG emulators uses
the IEEE 1149.1 JTAG test access port of the ADSP-21367 pro-
cessor to monitor and control the target board processor during
emulation. Analog Devices DSP Tools product line of JTAG
emulators provides emulation at full processor speed, allowing
inspection and modification of memory, registers, and proces-
sor stacks. The processor's JTAG interface ensures that the
emulator will not affect target system loading or timing.
For complete information on Analog Devices’ SHARC DSP
Tools product line of JTAG emulator operation, see the appro-
priate “Emulator Hardware User's Guide”.
Figure 2. Analog Power (A
VDD
) Filter Circuit
V
DDINT
A
VDD
A
VSS
0.01F0.1F
10
Rev. PrA | Page 10 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
DEVELOPMENT TOOLS
The ADSP-21367 is supported with a complete set of
CROSSCORE® software and hardware development tools,
including Analog Devices emulators and VisualDSP++® devel-
opment environment. The same emulator hardware that
supports other SHARC processors also fully emulates the
ADSP-21367.
The VisualDSP++ project management environment lets pro-
grammers develop and debug an application. This environment
includes an easy to use assembler (which is based on an alge-
braic syntax), an archiver (librarian/library builder), a linker, a
loader, a cycle-accurate instruction-level simulator, a C/C++
compiler, and a C/C++ runtime library that includes DSP and
mathematical functions. A key point for these tools is C/C++
code efficiency. The compiler has been developed for efficient
translation of C/C++ code to DSP assembly. The SHARC has
architectural features that improve the efficiency of compiled
C/C++ code.
The VisualDSP++ debugger has a number of important fea-
tures. Data visualization is enhanced by a plotting package that
offers a significant level of flexibility. This graphical representa-
tion of user data enables the programmer to quickly determine
the performance of an algorithm. As algorithms grow in com-
plexity, this capability can have increasing significance on the
designer’s development schedule, increasing productivity. Sta-
tistical profiling enables the programmer to non intrusively poll
the processor as it is running the program. This feature, unique
to VisualDSP++, enables the software developer to passively
gather important code execution metrics without interrupting
the real-time characteristics of the program. Essentially, the
developer can identify bottlenecks in software quickly and effi-
ciently. By using the profiler, the programmer can focus on
those areas in the program that impact performance and take
corrective action.
Debugging both C/C++ and assembly programs with the
VisualDSP++ debugger, programmers can:
View mixed C/C++ and assembly code (interleaved source
and object information)
Insert breakpoints
Set conditional breakpoints on registers, memory,
and stacks
Trace instruction execution
Perform linear or statistical profiling of program execution
Fill, dump, and graphically plot the contents of memory
Perform source level debugging
Create custom debugger windows
The VisualDSP++ IDDE lets programmers define and manage
DSP software development. Its dialog boxes and property pages
let programmers configure and manage all of the SHARC devel-
opment tools, including the color syntax highlighting in the
VisualDSP++ editor. This capability permits programmers to:
Control how the development tools process inputs and
generate outputs
Maintain a one-to-one correspondence with the tool’s
command line switches
The VisualDSP++ Kernel (VDK) incorporates scheduling and
resource management tailored specifically to address the mem-
ory and timing constraints of DSP programming. These
capabilities enable engineers to develop code more effectively,
eliminating the need to start from the very beginning, when
developing new application code. The VDK features include
Threads, Critical and Unscheduled regions, Semaphores,
Events, and Device flags. The VDK also supports Priority-based,
Preemptive, Cooperative, and Time-Sliced scheduling
approaches. In addition, the VDK was designed to be scalable. If
the application does not use a specific feature, the support code
for that feature is excluded from the target system.
Because the VDK is a library, a developer can decide whether to
use it or not. The VDK is integrated into the VisualDSP++
development environment, but can also be used via standard
command line tools. When the VDK is used, the development
environment assists the developer with many error-prone tasks
and assists in managing system resources, automating the gen-
eration of various VDK based objects, and visualizing the
system state, when debugging an application that uses the VDK.
VisualDSP++ Component Software Engineering (VCSE) is
Analog Devices’ technology for creating, using, and reusing
software components (independent modules of substantial
functionality) to quickly and reliably assemble software applica-
tions. Download components from the Web and drop them into
the application. Publish component archives from within
VisualDSP++. VCSE supports component implementation in
C/C++ or assembly language.
Use the Expert Linker to visually manipulate the placement of
code and data on the embedded system. View memory utiliza-
tion in a color-coded graphical form, easily move code and data
to different areas of the processor or external memory with the
drag of the mouse, examine run time stack and heap usage. The
Expert Linker is fully compatible with the existing Linker Defi-
nition File (LDF), allowing the developer to move between the
graphical and textual environments.
In addition to the software and hardware development tools
available from Analog Devices, third parties provide a wide
range of tools supporting the SHARC processor family. Hard-
ware tools include SHARC processor PC plug-in cards. Third
party software tools include DSP libraries, real-time operating
systems, and block diagram design tools.
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 11 of 48 | November 2004
Designing an Emulator-Compatible DSP Board (Target)
The Analog Devices family of emulators are tools that every
DSP developer needs to test and debug hardware and software
systems. Analog Devices has supplied an IEEE 1149.1 JTAG
Test Access Port (TAP) on each JTAG DSP. Nonintrusive in-
circuit emulation is assured by the use of the processor’s JTAG
interface—the emulator does not affect target system loading or
timing. The emulator uses the TAP to access the internal fea-
tures of the processor, allowing the developer to load code, set
breakpoints, observe variables, observe memory, and examine
registers. The processor must be halted to send data and com-
mands, but once an operation has been completed by the
emulator, the DSP system is set running at full speed with no
impact on system timing.
To use these emulators, the target board must include a header
that connects the DSP’s JTAG port to the emulator.
For details on target board design issues including mechanical
layout, single processor connections, signal buffering, signal ter-
mination, and emulator pod logic, see the EE-68: Analog Devices
JTAG Emulation Technical Reference on the Analog Devices
website (www.analog.com)—use site search on “EE-68.” This
document is updated regularly to keep pace with improvements
to emulator support.
Evaluation Kit
Analog Devices offers a range of EZ-KIT Lite evaluation plat-
forms to use as a cost effective method to learn more about
developing or prototyping applications with Analog Devices
processors, platforms, and software tools. Each EZ-KIT Lite
includes an evaluation board along with an evaluation suite of
the VisualDSP++ development and debugging environment
with the C/C++ compiler, assembler, and linker. Also included
are sample application programs, power supply, and a USB
cable. All evaluation versions of the software tools are limited
for use only with the EZ-KIT Lite product.
The USB controller on the EZ-KIT Lite board connects the
board to the USB port of the user’s PC, enabling the
VisualDSP++ evaluation suite to emulate the on-board proces-
sor in-circuit. This permits the customer to download, execute,
and debug programs for the EZ-KIT Lite system. It also allows
in-circuit programming of the on-board Flash device to store
user-specific boot code, enabling the board to run as a standal-
one unit without being connected to the PC.
With a full version of VisualDSP++ installed (sold separately),
engineers can develop software for the EZ-KIT Lite or any cus-
tom defined system. Connecting one of Analog Devices JTAG
emulators to the EZ-KIT Lite board enables high-speed, non-
intrusive emulation.
ADDITIONAL INFORMATION
This data sheet provides a general overview of the ADSP-21367
architecture and functionality. For detailed information on the
ADSP-2136x Family core architecture and instruction set, refer
to the ADSP-2136x SHARC Processor Hardware Reference and
the ADSP-2136x SHARC Processor Programming Reference.
Rev. PrA | Page 12 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
PIN FUNCTION DESCRIPTIONS
The following symbols appear in the Type column of TBD:
A = Asynchronous, G = Ground, I = Input, O = Output,
P = Power Supply, S = Synchronous, (A/D) = Active Drive,
(O/D) = Open Drain, and T = Three-State, (pd) = pull-down
resistor, (pu) = pull-up resistor.
Table 3. Pin List
Name Type State During
and After
Reset
Description
ADDR
23–0
I/O with programmable
PUP
1
Three-state
External Address Bus.
DATA
31–0
I/O with programmable
PUP
Three-state
External Data Bus.
DAI _P
20–1
I/O with programma-
ble
2
PUP
Three-state
Digital Audio Interface Pins
. These pins provide the physical interface to the SRU.
The SRU configuration registers define the combination of on-chip peripheral inputs
or outputs connected to the pin and to the pins output enable. The configuration
registers of these peripherals then determines the exact behavior of the pin. Any
input or output signal present in the SRU may be routed to any of these pins. The SRU
provides the connection from the Serial ports, Input data port, precision clock gen-
erators and timers, sample rate converters and SPI to the DAI_P20–1 pins These pins
have internal 22.5 k
pull-up resistors which are enabled on reset. These pull-ups can
be disabled in the DAI_PIN_PULLUP register.
DPI _P
14–1
I/O with programma-
ble
3
PUP
Three-state
Digital Peripheral Interface.
ACK Input with programma-
ble PUP
1
Memory Acknowledge.
External devices can deassert ACK (low) to add wait states
to an external memory access. ACK is used by I/O devices, memory controllers, or
other peripherals to hold off completion of an external memory access.
RD I/O with programmable
PUP
1
External Port Read Enable.
RD is asserted low whenever the processor reads 8-bit
or 16-bit data from an external memory device. When AD15–0 are flags, this pin
remains deasserted. RD has a 22.5 k
internal pull-up resistor.
WR Output with program-
mable PUP
1
External Port Write Enable.
WR is asserted low whenever the processor writes 8-bit
or 16-bit data to an external memory device. When AD15–0 are flags, this pin remains
deasserted. WR has a 22.5 k
internal pull-up resistor.
SDRAS Output with program-
mable PUP
1
SDRAM Row Address Strobe.
Connect to SDRAM’s RAS pin.
SDCAS Output with program-
mable PUP
1
SDRAM column address select.
Connect to SDRAM’s CAS pin.
SDWE Output with program-
mable PUP
1
SDRAM Write Enable.
Connect to SDRAM’s WE or W buffer pin.
SDCKE Output with program-
mable PUP
1
SDRAM Clock Enable.
Connect to SDRAM’s CKE pin.
SDA10 Output with program-
mable PUP
1
SDRAM A10.
SDCLK0 I/O
SDRAM Clock Configure.
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 13 of 48 | November 2004
MS
0–1
I/O with programmable
PUP
1
Memory Select Lines 0–1.
These lines are asserted (low) as chip selects for the cor-
responding banks of external memory. Memory bank size must be defined in the
ADSP-21062’s system control register (SYSCON). The MS
3-0
lines are decoded memory
address lines that change at the same time as the other address lines. When no
external memory access is occurring the MS3-0 lines are inactive; they are active
however when a conditional memory access instruction is executed, whether or not
the condition is true. In a multiprocessing system the MS
3-0
lines are output by the
bus master.
FLAG[0]/IRQ0 I/O
FLAG0/Interrupt Request0.
FLAG[1]/IRQ1 I/O
FLAG1/Interrupt Request1.
FLAG[2]/IRQ2/
MS2
I/O with
programmable
1
pull-
up (for MS mode)
FLAG2/Interrupt Request/Memory Select2.
FLAG[3]/TIMEX
P/MS3
I/O with
programmable
1
pull-
up (for MS mode)
FLAG3/Timer Expired/Memory Select3.
TDI Input with pull-up
Test Data Input (JTAG).
Provides serial data for the boundary scan logic. TDI has a
22.5 k
internal pull-up resistor.
TDO Output
Test Data Output (JTAG).
Serial scan output of the boundary scan path.
TMS Input with pull-up
Test Mode Select (JTAG).
Used to control the test state machine. TMS has a 22.5 k
internal pull-up resistor.
TCK Input
Test Clock (JTAG).
Provides a clock for JTAG boundary scan. TCK must be asserted
(pulsed low) after power-up or held low for proper operation of the ADSP-21367.
TRST Input with pull-up
Test Reset (JTAG).
Resets the test state machine. TRST must be asserted (pulsed low)
after power-up or held low for proper operation of the ADSP-21367. TRST has a 22.5
k
internal pull-up resistor.
EMU Output with pull-up
Emulation Status.
Must be connected to the ADSP-21367 Analog Devices DSP Tools
product line of JTAG emulators target board connector only. EMU has a 22.5 k
internal pull-up resistor.
CLK_CFG
1–0
Input
Core/CLKIN Ratio Control.
These pins set the start up clock frequency. See Table 5
for a description of the clock configuration modes.
Note that the operating frequency can be changed by programming the PLL multi-
plier and divider in the PMCTL register at any time after the core comes out of reset.
BOOT_CFG
1–0
Input
Boot Configuration Select.
These pins select the boot mode for the processor. The
BOOTCFG pins must be valid before reset is asserted. See Table 4 for a description of
the boot modes.
RESET Input
Processor Reset.
Resets the ADSP-21367 to a known state. Upon deassertion, there
is a 4096 CLKIN cycle latency for the PLL to lock. After this time, the core begins
program execution from the hardware reset vector address. The RESET input must be
asserted (low) at power-up.
Table 3. Pin List
Name Type State During
and After
Reset
Description
Rev. PrA | Page 14 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
ADDRESS/DATA MODES
TBD
BOOT MODES
CORE INSTRUCTION RATE TO CLKIN RATIO MODES
For details on processor timing, see Timing Specifications and
Figure 3 on page 17.
XTAL Output
Crystal Oscillator Terminal.
Used in conjunction with CLKIN to drive an external
crystal.
CLKIN
Local Clock In.
Used in conjunction with XTAL. CLKIN is the ADSP-21367 clock input.
It configures the ADSP-21367 to use either its internal clock generator or an external
clock source. Connecting the necessary components to CLKIN and XTAL enables the
internal clock generator. Connecting the external clock to CLKIN while leaving XTAL
unconnected configures the ADSP-21367 to use the external clock source such as an
external clock oscillator. The core is clocked either by the PLL output or this clock input
depending on the CLKCFG1–0 pin settings. CLKIN may not be halted, changed, or
operated below the specified frequency.
CLKOUT Output
Local Clock Out.
CLKOUT can also be configured as a reset out pin.The functionality
can be switched between the PLL output clock and reset out by setting bit 12 of the
PMCTREG register. The default is reset out.
1
Pull-up is always enabled for ID - 000 in uniprocessor mode and ID- 001 in Multiprocessing mode.
2
Pull-up can be enabled/disabled, value of pull-up cannot be programmed.
3
OP is three-statable
Table 3. Pin List
Name Type State During
and After
Reset
Description
Table 4. Boot Mode Selection
BOOTCFG1–0 Booting Mode
00 SPI Slave Boot
01 SPI Master Boot
10 AMI boot via EPROM
Table 5. Core Instruction Rate/ CLKIN Ratio Selection
CLKCFG1–0 Core to CLKIN Ratio
00 6:1
01 32:1
10 16:1
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 15 of 48 | November 2004
ADSP-21367 SPECIFICATIONS
RECOMMENDED OPERATING CONDITIONS
ELECTRICAL CHARACTERISTICS
Parameter
1
1
Specifications subject to change without notice.
K Grade
Min Max Unit
V
DDINT
Internal (Core) Supply Voltage 1.235 1.365 V
A
VDD
Analog (PLL) Supply Voltage 1.235 1.365 V
V
DDEXT
External (I/O) Supply Voltage 3.13 3.47 V
V
IH
2
2
Applies to input and bidirectional pins: AD15–0, FLAG3–0, DAI_Px, SPICLK, MOSI, MISO, SPIDS, BOOTCFGx, CLKCFGx, RESET, TCK, TMS, TDI, TRST.
High Level Input Voltage @ V
DDEXT
= max 2.0 V
DDEXT
+ 0.5 V
V
IL
2
Low Level Input Voltage @ V
DDEXT
= min –0.5 +0.8 V
V
IH_CLKIN
3
3
Applies to input pin CLKIN.
High Level Input Voltage @ V
DDEXT
= max 1.74 V
DDEXT
+ 0.5 V
V
IL_CLKIN
Low Level Input Voltage @ V
DDEXT
= min –0.5 +1.19 V
T
AMB
4,
5
4
See Thermal Characteristics on page 41 for information on thermal specifications.
5
See Engineer-to-Engineer Note (No. TBD) for further information.
Ambient Operating Temperature 0 +70 °C
Parameter
1
Test Conditions Min Max Unit
V
OH
2
High Level Output Voltage @ V
DDEXT
= min, I
OH
= –1.0 mA
3
2.4 V
V
OL
2
Low Level Output Voltage @ V
DDEXT
= min, I
OL
= 1.0 mA
3
0.4 V
I
IH
4, 5
High Level Input Current @ V
DDEXT
= max, V
IN
= V
DDEXT
max 10 µA
I
IL
4
Low Level Input Current @ V
DDEXT
= max, V
IN
= 0 V 10 µA
I
ILPU
5
Low Level Input Current Pull-up @ V
DDEXT
= max, V
IN
= 0 V 200 µA
I
OZH
6, 7
Three-State Leakage Current @ V
DDEXT
= max, V
IN
= V
DDEXT
max 10 µA
I
OZL
6
Three-State Leakage Current @ V
DDEXT
= max, V
IN
= 0 V 10 µA
I
OZLPU
7
Three-State Leakage Current Pull-up @ V
DDEXT
= max, V
IN
= 0 V 200 µA
I
DD-INTYP
8, 9
Supply Current (Internal) t
CCLK
= 5.0 ns, V
DDINT
= 1.3 500 mA
AI
DD
10
Supply Current (Analog) A
VDD
= max 10 mA
C
IN
11,
12
Input Capacitance f
IN
=1 MHz, T
CASE
=25°C, V
IN
=1.3V 4.7 pF
1
Specifications subject to change without notice.
2
Applies to output and bidirectional pins: AD15–0, RD, WR, ALE, FLAG3–0, DAI_Px, SPICLK, MOSI, MISO, EMU, TDO, CLKOUT, XTAL.
3
See Output Drive Currents on page 41 for typical drive current capabilities.
4
Applies to input pins: SPIDS, BOOTCFGx, CLKCFGx, TCK, RESET, CLKIN.
5
Applies to input pins with 22.5 k internal pull-ups: TRST, TMS, TDI.
6
Applies to three-statable pins: FLAG3–0.
7
Applies to three-statable pins with 22.5 k pull-ups: AD15–0, DAI_Px, SPICLK, EMU, MISO, MOSI.
8
Typical internal current data reflects nominal operating conditions.
9
See Engineer-to-Engineer Note (No. TBD) for further information.
10
Characterized, but not tested.
11
Applies to all signal pins.
12
Guaranteed, but not tested.
Rev. PrA | Page 16 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
ABSOLUTE MAXIMUM RATINGS
ESD SENSITIVITY
TIMING SPECIFICATIONS
The ADSP-21367’s internal clock (a multiple of CLKIN) pro-
vides the clock signal for timing internal memory, processor
core, serial ports, and parallel port (as required for read/write
strobes in asynchronous access mode). During reset, program
the ratio between the processor’s internal clock frequency and
external (CLKIN) clock frequency with the CLKCFG1–0 pins
(see Table 5 on page 14). To determine switching frequencies
for the serial ports, divide down the internal clock, using the
programmable divider control of each port (DIVx for the serial
ports).
The ADSP-21367’s internal clock switches at higher frequencies
than the system input clock (CLKIN). To generate the internal
clock, the processor uses an internal phase-locked loop (PLL).
This PLL-based clocking minimizes the skew between the sys-
tem clock (CLKIN) signal and the processor’s internal clock (the
clock source for the parallel port logic and I/O pads).
Note the definitions of various clock periods that are a function
of CLKIN and the appropriate ratio control (Table 6).
Figure 3 shows Core to CLKIN ratios of 6:1, 16:1 and 32:1 with
external oscillator or crystal. Note that more ratios are possible
and can be set through software using the power management
control register (PMCTL). For more information, see the ADSP-
2136x SHARC Processor Programming Reference.
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, it is
not meaningful to add parameters to derive longer times. See
Figure 34 on page 41 under Test Conditions for voltage refer-
ence levels.
Parameter Rating
Internal (Core) Supply Voltage (V
DDINT
)
1
–0.3 V to +1.5 V
Analog (PLL) Supply Voltage (A
VDD
)
1
–0.3 V to +1.5 V
External (I/O) Supply Voltage (V
DDEXT
)
1
–0.3 V to +4.6 V
Input Voltage–0.5 V to V
DDEXT
1
+ 0.5 V
Output Voltage Swing–0.5 V to V
DDEXT
1
+ 0.5 V
Load Capacitance
1
200 pF
Storage Temperature Range
1
–65°C to +150°C
Junction Temperature under Bias 125°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 conditions for extended periods
may affect device reliability.
CAUTION
ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000V readily
accumulate on the human body and test equipment and can discharge without detection.
Although the ADSP-21367 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 performance degradation or loss of functionality.
Table 6. ADSP-21367 CLKOUT and CCLK Clock
Generation Operation
Timing
Requirements
Description Calculation
CLKIN Input Clock 1/t
CK
CCLK Core Clock 1/t
CCLK
Table 7. Clock Periods
Timing
Requirements
Description
1
t
CK
CLKIN Clock Period
t
CCLK
(Processor) Core Clock Period
t
PCLK
(Peripheral) Clock Period = 2 × t
CCLK
t
SCLK
Serial Port Clock Period = (t
PCLK
) × SR
t
SDCLK
SDRAM Clock Period = (TBD)
t
SPICLK
SPI Clock Period = (t
PCLK
) × SPIR
1
where:
SR = serial port-to-core clock ratio (wide range, determined by SPORT
CLKDIV)
SPIR = SPI-to-Core Clock Ratio (wide range, determined by SPIBAUD register)
DAI_Px = Serial Port Clock
SPICLK = SPI Clock
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 17 of 48 | November 2004
Switching Characteristics specify how the processor changes its
signals. Circuitry external to the processor must be designed for
compatibility with these signal characteristics. Switching char-
acteristics describe what the processor will do in a given
circumstance. Use 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 cir-
cuitry external to the processor, such as the data input for a read
operation. Timing requirements guarantee that the processor
operates correctly with other devices.
Figure 3. Core Clock and System Clock Relationship to CLKIN
CLKIN
CCLK
(CORE CLOCK)
PLLILCLK
XTAL
XTAL
OSC PLL
6:1, 16:1,
32:1
CLKOUT
CLK-CFG [1:0]
SDCLK
(SDRAM CLOCK)
Rev. PrA | Page 18 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Power-Up Sequencing
The timing requirements for processor startup are given in
Table 8.
Table 8. Power Up Sequencing Timing Requirements (Processor Startup)
Parameter Min Max Unit
Timing Requirements
t
RSTVDD
RESET Low Before V
DDINT
/V
DDEXT
on 0 ns
t
IVDDEVDD
V
DDINT
on Before V
DDEXT
–50 200 ms
t
CLKVDD
1
CLKIN Valid After V
DDINT
/V
DDEXT
Valid 0 200 ms
t
CLKRST
CLKIN Valid Before RESET Deasserted 10
2
µs
t
PLLRST
PLL Control Setup Before RESET Deasserted 20
3
µs
Switching Characteristic
t
CORERST
Core Reset Deasserted After RESET Deasserted 4096t
CK
+ 2 t
CCLK
4
,
5
1
Valid V
DDINT
/V
DDEXT
assumes that the supplies are fully ramped to their 1.3 and 3.3 volt rails. Voltage ramp rates can vary from microseconds to hundreds of milliseconds
depending on the design of the power supply subsystem.
2
Assumes a stable CLKIN signal, after meeting worst-case startup timing of crystal oscillators. Refer to your crystal oscillator manufacturer's datasheet for startup time.
Assume a 25 ms maximum oscillator startup time if using the XTAL pin and internal oscillator circuit in conjunction with an external crystal.
3
Based on CLKIN cycles
4
Applies after the power-up sequence is complete. Subsequent resets require a minimum of 4 CLKIN cycles for RESET to be held low in order to properly initialize and
propagate default states at all I/O pins.
5
The 4096 cycle count depends on t
SRST
specification in Table 10. If setup time is not met, 1 additional CLKIN cycle may be added to the core reset time, resulting in 4097
cycles maximum.
Figure 4. Power-Up Sequencing
CLKIN
RESET
tRSTVDD
RSTOUT
VDDEXT
VDDINT
tPLLRST
tCLKRST
tCLKVDD
tIVDDEVDD
CLK_CFG1-0
tCORERST
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 19 of 48 | November 2004
Clock Input
Clock Signals
The ADSP-21367 can use an external clock or a crystal. See the
CLKIN pin description in TBD. The programmer can configure
the ADSP-21367 to use its internal clock generator by connect-
ing the necessary components to CLKIN and XTAL. Figure 6
shows the component connections used for a crystal operating
in fundamental mode. Note that the clock rate is achieved using
a 16.67 MHz crystal and a PLL multiplier ratio 16:1
(CCLK:CLKIN achieves a clock speed of 266 MHz). To achieve
the full core clock rate, programs need to configure the multi-
plier bits in the PMCTL register.
Table 9. Clock Input
Parameter 400 MHz Unit
Min Max
Timing Requirements
t
CK
CLKIN Period 15
1
1
Applies only for CLKCFG1–0 = 00 and default values for PLL control bits in PMCTL.
320
2
2
Applies only for CLKCFG1–0 = 01 and default values for PLL control bits in PMCTL.
ns
t
CKL
CLKIN Width Low 6
1
150
2
ns
t
CKH
CLKIN Width High 6
1
150
2
ns
t
CKRF
CLKIN Rise/Fall (0.4V–2.0V) TBD ns
t
CCLK
3
3
Any changes to PLL control bits in the PMCTL register must meet core clock timing specification t
CCLK
.
CCLK Period 2.5
1
10 ns
Figure 5. Clock Input
CLKIN
tCK
tCKH tCKL
Figure 6. 400 MHz Operation (Fundamental Mode Crystal)
CLKIN XTAL
C1 C2
X1
NOTE: C1 AND C2 ARE SPECIFIC TO CRYSTAL SPECIFIED FOR X1.
CONTACT CRYSTAL MANUFACTURER FOR DETAILS. CRYSTAL
SELECTION MUST COMPLY WITH CLKCFG1-0 = 10 OR = 01.
1M
Rev. PrA | Page 20 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Reset
Interrupts
The following timing specification applies to the FLAG0,
FLAG1, and FLAG2 pins when they are configured as IRQ0,
IRQ1, and IRQ2 interrupts.
Table 10. Reset
Parameter Min Max Unit
Timing Requirements
t
WRST
1
RESET Pulse Width Low 4t
CK
ns
t
SRST
RESET Setup Before CLKIN Low 8 ns
1
Applies after the power-up sequence is complete. At power-up, the processor's internal phase-locked loop requires no more than 100 µs while RESET is low, assuming
stable VDD and CLKIN (not including start-up time of external clock oscillator).
Figure 7. Reset
CLKIN
RESET
tWRST tSRST
Table 11. Interrupts
Parameter Min Max Unit
Timing Requirement
t
IPW
IRQx Pulse Width 2 × t
PCLK
+2 ns
Figure 8. Interrupts
DPI14-1
FLAG2-0
(IRQ2-0) tIPW
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 21 of 48 | November 2004
Core Timer
The following timing specification applies to FLAG3 when it is
configured as the core timer (CTIMER).
Timer PWM_OUT Cycle Timing
The following timing specification applies to Timer0, Timer1,
and Timer2 in PWM_OUT (pulse width modulation) mode.
Timer signals are routed to the DAI_P20–1 pins through the
SRU. Therefore, the timing specifications provided below are
valid at the DAI_P20–1 pins.
Table 12. Core Timer
Parameter Min Max Unit
Switching Characteristic
t
WCTIM
CTIMER Pulse width 4 × t
PCLK
– 1 ns
Figure 9. Core Timer
FLAG3
(CTIMER)
tWCTIM
Table 13. Timer PWM_OUT Timing
Parameter Min Max Unit
Switching Characteristic
t
PWMO
Timer Pulse Width Output 2 t
PCLK
– 1 2(2
31
– 1) t
PCLK
ns
Figure 10. Timer PWM_OUT Timing
DPI14-0
(TIMER2-0)
tPWMO
Rev. PrA | Page 22 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Timer WDTH_CAP Timing
The following timing specification applies to Timer0, Timer1,
and Timer2 in WDTH_CAP (pulse width count and capture)
mode. Timer signals are routed to the DAI_P20–1 pins through
the SRU. Therefore, the timing specification provided below are
valid at the DAI_P20–1 pins.
Pin to Pin Direct Routing (DAI and DPI)
For direct pin connections only (for example DAI_PB01_I to
DAI_PB02_O).
Table 14. Timer Width Capture Timing
Parameter Min Max Unit
Timing Requirement
t
PWI
Timer Pulse Width 2 t
PCLK
2(2
31
– 1) t
PCLK
ns
Figure 11. Timer Width Capture Timing
DPI14-0
(TIMER2-0)
tPWI
Table 15. DAI Pin to Pin Routing
Parameter Min Max Unit
Timing Requirement
t
DPIO
Delay DAI Pin Input Valid to DAI Output Valid 1.5 10 ns
Figure 12. DAI Pin to Pin Direct Routing
DAI_Pn
DPI_Pn
tDPIO
DAI_pm
DPI_Pm
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 23 of 48 | November 2004
Precision Clock Generator (Direct Pin Routing)
This timing is only valid when the SRU is configured such that
the Precision Clock Generator (PCG) takes its inputs directly
from the DAI pins (via pin buffers) and sends its outputs
directly to the DAI pins. For the other cases, where the PCG’s
inputs and outputs are not directly routed to/from DAI pins (via
pin buffers) there is no timing data available. All Timing Param-
eters and Switching Characteristics apply to external DAI pins
(DAI_P07 – DAI_P20).
Table 16. Precision Clock Generator (Direct Pin Routing)
Parameter Min Max Unit
Timing Requirements
t
PCGIW
Input Clock Period 24
t
STRIG
PCG Trigger Setup Before Falling Edge of PCG Input Clock 2 ns
t
HTRIG
PCG Trigger Hold After Falling Edge of PCG Input Clock 2 ns
Switching Characteristics
t
DPCGIO
PCG Output Clock and Frame Sync Active Edge Delay After
PCG Input Clock 2.5 10 ns
t
DTRIG
PCG Output Clock and Frame Sync Delay After PCG Trigger 2.5 + 2.5 × t
PCGOW
10 + 2.5 × t
PCGOW
ns
t
PCGOW
Output Clock Period 48
Figure 13. Precision Clock Generator (Direct Pin Routing)
DAI_Pn
DPI_Pn
PCG_TRIGx_I
tSTRIG
DAI_Pm
DPI_Pm
PCG_EXTx_I
(CLKIN)
DAI_Py
DPI_Py
PCG_CLKx_O
DAI_Pz
DPI_Pz
PCG_FSx_O
tHTRIG
tDPCGIO
tDTRIG
tPCGIW
tPCGOW
Rev. PrA | Page 24 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Flags
The timing specifications provided below apply to the FLAG3–0
and DPI_P14–1 pins, the parallel port, and the serial peripheral
interface (SPI). See TBD for more information on flag use.
Table 17. Flags
Parameter Min Max Unit
Timing Requirement
t
FIPW
FLAG3–0 IN Pulse Width 2 × t
PCLK
+ 3 ns
Switching Characteristic
t
FOPW
FLAG3–0 OUT Pulse Width 2 × t
PCLK
– 1 ns
Figure 14. Flags
DPI_P140-1
(FLAG3-0IN)
(DATA31-0)
tFIPW
DPI_P14-1
(FLAG3-0OUT)
(DATA31-0)
tFOPW
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 25 of 48 | November 2004
SDRAM Interface Timing
Table 18. SDRAM Interface Timing
1
1
For V
DDINT
= 1.3 V.
Parameter Minimum Maximum Unit
Timing Requirement
t
SSDAT
DATA Setup Before CLKOUT TBD ns
t
HSDAT
DATA Hold After CLKOUT TBD ns
Switching Characteristic
t
SCLK
CLKOUT Period TBD ns
t
SCLKH
CLKOUT Width High TBD ns
t
SCLKL
CLKOUT Width Low TBD ns
t
DCAD
Command, ADDR, Data Delay After CLKOUT
2
2
Command pins include: SRAS, SCAS, SWE, SDQM, SMS, SA10, SCKE.
TBD ns
t
HCAD
Command, ADDR, Data Hold After CLKOUT
1
TBD ns
t
DSDAT
Data Disable After CLKOUT TBD ns
t
ENSDAT
Data Enable After CLKOUT TBD ns
Figure 15. SDRAM Interface Timing
tHCAD
tHCAD
tDSDAT
tDCAD
tSSDAT
tDCAD
tENSDAT
tHSDAT tSCLKL
tSCLKH
tSCLK
SDCLK
DATA (IN)
DATA(OUT)
CMND ADDR
(OUT)
NOTE: COMMAND = SRAS,SCAS,SWE,SDQM,SMS, SA10, SCKE.
Rev. PrA | Page 26 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Serial Ports
To determine whether communication is possible between two
devices at clock speed n, the following specifications must be
confirmed: 1) frame sync delay and frame sync setup and hold,
2) data delay and data setup and hold, and 3) SCLK width.
Serial port signals (SCLK, FS, data channel A,/data channel B)
are routed to the DAI_P20–1 pins using the SRU. Therefore, the
timing specifications provided below are valid at the
DAI_P20–1 pins.
Table 19. Serial Ports—External Clock
Parameter Min Max Unit
Timing Requirements
t
SFSE
1
FS Setup Before SCLK
(Externally Generated FS in either Transmit or Receive Mode) 2.5 ns
t
HFSE
1
FS Hold After SCLK
(Externally Generated FS in either Transmit or Receive Mode) 2.5 ns
t
SDRE
1
Receive Data Setup Before Receive SCLK 2.5 ns
t
HDRE
1
Receive Data Hold After SCLK 2.5 ns
t
SCLKW
SCLK Width 24 ns
t
SCLK
SCLK Period 48 ns
Switching Characteristics
t
DFSE
2
FS Delay After SCLK
(Internally Generated FS in either Transmit or Receive Mode) 7 ns
t
HOFSE
2
FS Hold After SCLK
(Internally Generated FS in either Transmit or Receive Mode) 2 ns
t
DDTE
2
Transmit Data Delay After Transmit SCLK 7 ns
t
HDTE
2
Transmit Data Hold After Transmit SCLK 2 ns
1
Referenced to sample edge.
2
Referenced to drive edge.
Table 20. Serial Ports—Internal Clock
Parameter Min Max Unit
Timing Requirements
t
SFSI
1
FS Setup Before SCLK
(Externally Generated FS in either Transmit or Receive Mode) 7 ns
t
HFSI
1
FS Hold After SCLK
(Externally Generated FS in either Transmit or Receive Mode) 2.5 ns
t
SDRI
1
Receive Data Setup Before SCLK 7 ns
t
HDRI
1
Receive Data Hold After SCLK 2.5 ns
Switching Characteristics
t
DFSI
2
FS Delay After SCLK (Internally Generated FS in Transmit Mode) 3 ns
t
HOFSI
2
FS Hold After SCLK (Internally Generated FS in Transmit Mode) –1.0 ns
t
DFSI
2
FS Delay After SCLK (Internally Generated FS in Receive or Mode) 3 ns
t
HOFSI
2
FS Hold After SCLK (Internally Generated FS in Receive Mode) –1.0 ns
t
DDTI
2
Transmit Data Delay After SCLK 3 ns
t
HDTI
2
Transmit Data Hold After SCLK –1.0 ns
t
SCLKIW
Transmit or Receive SCLK Width 0.5t
SCLK
– 2 0.5t
SCLK
+ 2 ns
1
Referenced to the sample edge.
2
Referenced to drive edge.
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 27 of 48 | November 2004
Table 21. Serial Ports—Enable and Three-State
Parameter Min Max Unit
Switching Characteristics
t
DDTEN
1
Data Enable from External Transmit SCLK 2 ns
t
DDTTE
1
Data Disable from External Transmit SCLK 7 ns
t
DDTIN
1
Data Enable from Internal Transmit SCLK –1 ns
1
Referenced to drive edge.
Table 22. Serial Ports—External Late Frame Sync
Parameter Min Max Unit
Switching Characteristics
t
DDTLFSE
1
Data Delay from Late External Transmit FS or External Receive FS
with MCE = 1, MFD = 0 7 ns
t
DDTENFS
1
Data Enable for MCE = 1, MFD = 0 0.5 ns
1
The t
DDTLFSE
and t
DDTENFS
parameters apply to Left-justified Sample Pair as well as DSP serial mode, and MCE = 1, MFD = 0.
Figure 16. External Late Frame Sync
1
1
This figure reflects changes made to support Left-justified Sample Pair mode.
DRIVE SAMPLE DRIVE
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DAI_P20-1
(DATA CHANNEL A/B)
DRIVE SAMPLE DRIVE
LATE EXTERNAL TRANSMIT FS
EXTERNAL RECEIVE FS WITH MCE = 1, MFD = 0
1ST BIT 2ND BIT
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
1ST BIT 2ND BIT
tHFSE/I
tSFSE/I
tDDTE/I
tDDTENFS
tDDTLFSE
tHDTE/I
tSFSE/I
tDDTE/I
tDDTENFS
tDDTLFSE
tHDTE/I
DAI_P20-1
(DATA CHANNEL A/B)
NOTE
SERIAL PORT SIGNALS (SCLK, FS, DATA CHANNEL A/B) ARE ROUTED TO THE DAI_P20-1 PINS
USING THE SRU. THE TIMING SPECIFICATIONS PROVIDED HERE ARE VALID AT THE DAI_P20-1 PINS.
tHFSE/I
Rev. PrA | Page 28 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Figure 17. Serial Ports
DRIVE EDGE
DAI_P20-1
SCLK (INT)
DRIVE EDGE DRIVE EDGE
SCLKDAI_P20-1
SCLK (EXT)
tDDTTE
tDDTEN
tDDTIN
DAI_P20-1
(DATA CHANNEL A/B)
DAI_P20-1
(DATA CHANNEL A/B)
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DRIVE EDGE SAMPLE EDGE
DATA RECEIVE— INTERNAL CLOCK DATA RECEIVE
E
X
TERNAL CLOCK
DRIVE EDGE SAMPLE EDGE
NOTE: EITHER THE RISING EDGE OR FALLING EDGE OF SCLK (EXTERNAL), SCLK (INTERNAL) CAN BE USED AS THE ACTIVE SAMPLING EDGE.
tSDRI tHDRI
tSFSI tHFSI
tDFSI
tHOFSI
tSCLKIW
tSDRE tHDRE
tSFSE tHFSE
tDFSE
tSCLKW
tHOFSE
DAI_P20-1
(DATA CHANNEL A/B)
tDDTI
DRIVE EDGE SAMPLE EDGE
DATA TRANSMIT INTERNAL CLOCK
tSFSI tHFSI
tDFSI
tHOFSI
tSCLKIW
tHDTI
NOTE: EITHER THE RISING EDGE OR FALLING EDGE OF SCLK (EXTERNAL), SCLK (INTERNAL) CAN BE USED AS THE ACTIVE SAMPLING EDGE.
tDDTE
DRIVE EDGE SAMPLE EDGE
DATA TRANSMIT EXTERNAL CLOCK
tSFSE tHFSE
tDFSE
tHOFSE
tSCLKW
tHDTE
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DAI_P20-1
(DATA CHANNEL A/B)
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DAI_P20-1
(DATA CHANNEL A/B)
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DAI_P20-1
(DATA CHANNEL A/B)
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 29 of 48 | November 2004
Input Data Port
The timing requirements for the IDP are given in Table 23.IDP
Signals (SCLK, FS, SDATA) are routed to the DAI_P20–1 pins
using the SRU. Therefore, the timing specifications provided
below are valid at the DAI_P20–1 pins.
Table 23. IDP
Parameter Min Max Unit
Timing Requirements
t
SISFS
1
FS Setup Before SCLK Rising Edge 2.5 ns
t
SIHFS
1
FS Hold After SCLK Rising Edge 2.5 ns
t
SISD
1
SData Setup Before SCLK Rising Edge 2.5 ns
t
SIHD
1
SData Hold After SCLK Rising Edge 2.5 ns
t
IDPCLKW
Clock Width 9 ns
t
IDPCLK
Clock Period 24 ns
1
DATA, SCLK, FS can come from any of the DAI pins. SCLK and FS can also come via PCG or SPORTs. PCG's input can be either CLKIN or any of the DAI pins.
Figure 18. IDP Master Timing
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
SAMPLE EDGE
tSISFS tSIHFS
tIPDCLK
DAI_P20-1
(SDATA)
tIPDCLKW
tSISD tSIHD
Rev. PrA | Page 30 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Parallel Data Acquisition Port (PDAP)
The timing requirements for the PDAP are provided in
Table 24. PDAP is the parallel mode operation of channel 0 of
the IDP. For details on the operation of the IDP, see the IDP
chapter of the ADSP-2136x SHARC Processor Hardware Refer-
ence. Note that the most significant 16 bits of external PDAP
data can be provided through either the parallel port AD15–0 or
the DAI_P20–5 pins. The remaining 4 bits can only be sourced
through DAI_P4–1. The timing below is valid at the
DAI_P20–1 pins or at the AD15–0 pins.
Table 24. Parallel Data Acquisition Port (PDAP)
Parameter Min Max Unit
Timing Requirements
t
SPCLKEN
1
PDAP_CLKEN Setup Before PDAP_CLK Sample Edge 2.5 ns
t
HPCLKEN
1
PDAP_CLKEN Hold After PDAP_CLK Sample Edge 2.5 ns
t
PDSD
1
PDAP_DAT Setup Before SCLK PDAP_CLK Sample Edge 2.5 ns
t
PDHD
1
PDAP_DAT Hold After SCLK PDAP_CLK Sample Edge 2.5 ns
t
PDCLKW
Clock Width 7 ns
t
PDCLK
Clock Period 24 ns
Switching Characteristics
t
PDHLDD
Delay of PDAP Strobe After Last PDAP_CLK Capture Edge for a Word 2 × t
CCLK
ns
t
PDSTRB
PDAP Strobe Pulse Width 1 × t
CCLK
– 1 ns
1
Source pins of DATA are ADDR7–0, DATA7–0, or DAI pins. Source pins for SCLK and FS are: 1) DAI pins, 2) CLKIN through PCG, or 3) DAI pins through PCG.
Figure 19. PDAP Timing
DAI_P20-1
(PDAP_CLK)
SAMPLE EDGE
tPDSD tPDHD
tSPCLKEN tHPCLKEN
tPDCLKW
DATA
DAI_P20-1
(PDAP_CLKEN)
tPDSTRB
tPDHLDD
DAI_P20-1
(PDAP_STROBE)
tPDCLK
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 31 of 48 | November 2004
Sample Rate Converter—Serial Input Port
The SRC input signals (SCLK, FS, and SDATA) are routed from
the DAI_P20–1 pins using the SRU. Therefore, the timing spec-
ifications provided in Table 25 are valid at the DAI_P20–1 pins.
Table 25. SRC, Serial Input Port
Parameter Min Max Unit
Timing Requirements
t
SRCSFS
1
FS Setup Before SCLK Rising Edge 4 ns
t
SRCHFS
1
FS Hold After SCLK Rising Edge 5.5 ns
t
SRCSD
1
SData Setup Before SCLK Rising Edge 4 ns
t
SRCHD
1
SData Hold After SCLK Rising Edge 5.5 ns
t
SRCCLKW
Clock Width 9 ns
t
SRCCLK
Clock Period 20 ns
1
DATA, SCLK, FS can come from any of the DAI pins. SCLK and FS can also come via PCG or SPORTs. PCG's input can be either CLKIN or any of the DAI pins.
Figure 20. SRC Serial Input Port Timing
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
SAMPLE EDGE
tSRCSFS tSRCHFS
tSRCCLK
DAI_P20-1
(SDATA)
tSRCCLKW
tSRCSD tSRCHD
Rev. PrA | Page 32 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Sample Rate Converter—Serial Output Port
For the serial output port, the frame-sync is an input and it
should meet setup and hold times with regard to SCLK on the
output port. The serial data output, SDATA, has a hold time
and delay specification with regard to SCLK. Note that SCLK
rising edge is the sampling edge and the falling edge is the drive
edge.
Table 26. SRC, Serial Output Port
Parameter Min Max Unit
Timing Requirements
t
SRCSFS
1
FS Setup Before SCLK Rising Edge 4 ns
t
SRCHFS
1
FS Hold Before SCLK Rising Edge 5.5 ns
Switching Characteristics
t
SRCTDD
1
Transmit Data Delay After SCLK Falling Edge 7 ns
t
SRCTDH
1
Transmit Data Hold After SCLK Falling Edge 2 ns
1
DATA, SCLK, FS can come from any of the DAI pins. SCLK and FS can also come via PCG or SPORTs. PCG's input can be either CLKIN or any of the DAI pins.
Figure 21. SRC Serial Output Port Timing
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
tSRCSFS tSRCHFS
DAI_P20-1
(SDATA)
tSRCTDD
tSRCTDH
SAMPLE EDGE
tSRCCLK
tSRCCLKW
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 33 of 48 | November 2004
SPDIF Transmitter
Serial data input to the SPDIF transmitter can be formatted as
left justified, I
2
S or right justified with word widths of 16, 18, 20,
or 24 bits. The following sections provide timing for the
transmitter.
SPDIF Transmitter—Serial Input Waveforms
Figure 22 shows the right-justified mode. LRCLK is HI for the
left channel and LO for the right channel. Data is valid on the
rising edge of SCLK. The MSB is delayed 12-bit clock periods
(in 20-bit output mode) or 16-bit clock periods (in 16-bit output
mode) from an LRCLK transition, so that when there are 64
SCLK periods per LRCLK period, the LSB of the data will be
right-justified to the next LRCLK transition.
Figure 23 shows the default I2S-justified mode. LRCLK is LO
for the left channel and HI for the right channel. Data is valid on
the rising edge of SCLK. The MSB is left-justified to an LRCLK
transition but with a single SCLK period delay.
Figure 24 shows the left-justified mode. LRCLK is HI for the left
channel and LO for the right channel. Data is valid on the rising
edge of SCLK. The MSB is left-justified to an LRCLK transition
with no MSB delay.
Figure 22. Right-Justified Mode
LRCLK
SCLK
SDATA
LEFT CHANNEL RIGHT CHANNEL
MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB
LSB MSB
Figure 23. I
2
S-Justified Mode
MSB-1 MSB-2 LSB+2 LSB+1 LSB
LRCLK
SCLK
SDATA
LEFT CHANNEL
RIGHT CHANNEL
MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB
MSB
Figure 24. Left-Justified Mode
LRCLK
SCLK
SDATA
LEFT CHANNEL RIGHT CHANNEL
MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB+1
MSB
Rev. PrA | Page 34 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
SPDIF Transmitter Input Data Timing
The timing requirements for the Input port are given in
Table 27. Input Signals (SCLK, FS, SDATA) are routed to the
DAI_P20–1 pins using the SRU. Therefore, the timing specifica-
tions provided below are valid at the DAI_P20–1 pins.
Over Sampling Clock (TXCLK) Switching Characteristics
SPDIF Transmitter has an over sampling clock. This TXCLK
input is divided down to generate the Biphase Clock.
Table 27. SPDIF Transmitter Input Data Timing
Parameter Min Max Unit
Timing Requirements
t
SIFS
1
FS Setup Before SCLK Rising Edge 4 ns
t
SIHFS
1
FS Hold After SCLK Rising Edge 5.5 ns
t
SISD
1
SData Setup Before SCLK Rising Edge 4 ns
t
SIHD
1
SData Hold After SCLK Rising Edge 5.5 ns
t
SISCLKW
Clock Width 9 ns
t
SISCLK
Clock Period 20 ns
1
DATA, SCLK, FS can come from any of the DAI pins. SCLK and FS can also come via PCG or SPORTs. PCG's input can be either CLKIN or any of the DAI pins.
Figure 25. SPDIF Transmitter Input Timing
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
SAMPLE EDGE
tSISD tSIHD
tSISFS tSIHFS
tSISCLKW
DAI_P20-1
(SDATA)
Table 28. Over Sampling Clock (TXCLK) Switching Characteristics
Parameter Min Max Unit
TXCLK Frequency for TXCLK = 768 × FS 147.5 MHz
TXCLK Frequency for TXCLK = 512 × FS 98.4 MHz
TXCLK Frequency for TXCLK = 384 × FS 73.8 MHz
TXCLK Frequency for TXCLK = 256 × FS 49.2 MHz
Frame Rate 192.0 MHz
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 35 of 48 | November 2004
SPDIF Receiver
The following sections describe timing as it relates to the SPDIF
receiver.
Internal Digital PLL Mode
In internal Digital Phase-locked Loop mode the internal PLL
(Digital PLL) generates the 512 × Fs clock.
Table 29. SPDIF Receiver Internal Digital PLL Mode Timing
Parameter Min Max Unit
Switching Characteristics
t
DFSI
LRCLK Delay After SCLK 5 ns
t
HOFSI
LRCLK Hold After SCLK –2 ns
t
DDTI
Transmit Data Delay After SCLK 5 ns
t
HDTI
Transmit Data Hold After SCLK –2 ns
t
SCLKIW
1
Transmit SCLK Width 40 ns
t
CCLK
Core Clock Period 5 ns
1
SCLK frequency is 64 x FS where FS = the frequency of LRCLK.
Figure 26. SPDIF Receiver Internal Digital PLL Mode Timing
DRIVE EDGE SAMPLE EDGE
DAI_P20-1
(SCLK)
DAI_P20-1
(FS)
DAI_P20-1
(DATA CHANNEL A/B)
tSCLKIW
tDFSI
tDDTI
tHOFSI
tHDTI
tSFSI tHFSI
Rev. PrA | Page 36 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
External PLL Mode
In External PLL Mode internal Digital PLL is disabled and the
receiver runs on the PLL that is connected to the processor
externally. This external PLL generates the 512 x Fs clock
(MCLK) from the reference clock (LRCLK) and gives it to
SPDIF receiver.
Table 30. SPDIF Receiver External PLL Mode Timing
Parameter Min Max Unit
Timing Requirements
t
MCP
MCLK Period 10 ns
FMCLK MCLK Frequency (1/t
MCP
)100MHz
t
BDM
SCLK Propagation Delay from MCLK to the Falling Edge 30 ns
t
LDM
LRCLK Propagation Delay From MCLK 30 ns
t
DDP
Data Propagation Delay From MCLK 30 ns
t
DDS
Data Output Setup To SCLK 1/2 SCLK Period ns
t
DDH
Data Output Hold From SCLK 1/2 SCLK Period ns
Figure 27. SPDIF Receiver External PLL Mode Timing
tLDM
tBDM
tDDS
MSB
tDDH
MCLK INPUT
(NOT TO SCALE)
BCLK OUTPUT
LRCLK
OUTPUT
SDATA OUTPUT
I2S-JUSTIFIED
MODE
tDDP tDDS
tDDH
tDDP
MSB LSB
tDDH
tDDS
SDATA OUTPUT
RIGHT-JUSTIFIED
MODE
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 37 of 48 | November 2004
SPI Interface—Master
The ADSP-21367 contains two SPI ports. The primary has dedi-
cated pins and the secondary is available through the DPI. The
timing provided in Table 31 and Table 32 on page 38 applies to
both.
Table 31. SPI Interface Protocol — Master Switching and Timing Specifications
Parameter Min Max Unit
Timing Requirements
t
SSPIDM
Data Input Valid To SPICLK Edge (Data Input Set-up Time) 8 ns
t
HSPIDM
SPICLK Last Sampling Edge To Data Input Not Valid 2 ns
Switching Characteristics
t
SPICLKM
Serial Clock Cycle 8 × t
PCLK
ns
t
SPICHM
SErial Clock High Period 4 × t
PCLK
ns
t
SPICLM
Serial Clock Low Period 4 × t
PCLK
– 2 ns
t
DDSPIDM
SPICLK Edge to Data Out Valid (Data Out Delay Time) 0
t
HDSPIDM
SPICLK Edge to Data Out Not Valid (Data Out Hold Time) 2 ns
t
SDSCIM
FLAG3–0IN (SPI device select) Low to First SPICLK Edge 4 × t
PCLK
– 2 ns
t
HDSM
Last SPICLK Edge to FLAG3–0IN High 4 × t
PCLK
– 1 ns
t
SPITDM
Sequential Transfer Delay 4 × t
PCLK
– 1 ns
Figure 28. SPI Master Timing
LSB
VALID
MSB
VALID
tSSPIDM tHSPIDM
tHDSPIDM
LSBMSB
tHSSPIDM
tDDSPIDM
MOSI
(OUTPUT)
MISO
(INPUT)
FLAG3-0
(OUTPUT)
SPICLK
(CP = 0)
(OUTPUT)
SPICLK
(CP = 1)
(OUTPUT)
tSPICHM tSPICLM
tSPICLM
tSPICLKM
tSPICHM
tHDSM tSPITDM
tHDSPIDM
LSB
VALID
LSBMSB
MSB
VALID
tHSPIDM
tDDSPIDM
MOSI
(OUTPUT)
MISO
(INPUT)
tSSPIDM
CPHASE=1
CPHASE=0
tSDSCIM
tSSPIDM
Rev. PrA | Page 38 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
SPI Interface—Slave
Table 32. SPI Interface Protocol —Slave Switching and Timing Specifications
Parameter Min Max Unit
Timing Requirements
t
SPICLKS
Serial Clock Cycle 4 × t
PCLK
ns
t
SPICHS
Serial Clock High Period 2 × t
PCLK
ns
t
SPICLS
Serial Clock Low Period 2 × t
PCLK
– 2 ns
t
SDSCO
SPIDS Assertion to First SPICLK Edge
CPHASE = 0
CPHASE = 1
2 × t
PCLK
2 × t
PCLK
ns
t
HDS
Last SPICLK Edge to SPIDS Not Asserted, CPHASE = 0 2 × t
PCLK
ns
t
SSPIDS
Data Input Valid to SPICLK edge (Data Input Set-up Time) 2 ns
t
HSPIDS
SPICLK Last Sampling Edge to Data Input Not Valid 2 ns
t
SDPPW
SPIDS Deassertion Pulse Width (CPHASE=0) 2 × t
PCLK
ns
Switching Characteristics
t
DSOE
SPIDS Assertion to Data Out Active 0 4 ns
t
DSDHI
SPIDS Deassertion to Data High Impedance 0 4 ns
t
DDSPIDS
SPICLK Edge to Data Out Valid (Data Out Delay Time) 9.4 ns
t
HDSPIDS
SPICLK Edge to Data Out Not Valid (Data Out Hold Time) 2 × t
PCLK
ns
t
DSOV
SPIDS Assertion to Data Out Valid (CPHASE=0) 5 × t
PCLK
ns
Figure 29. SPI Slave Timing
tHSPIDS
tDDSPIDS
tDSDHI
LSBMSB
MSB
VALID
tDSOE tDDSPIDS
tHDLSBS
MISO
(OUTPUT)
MOSI
(INPUT)
tSSPIDS
SPIDS
(INPUT)
SPICLK
(CP = 0)
(INPUT)
SPICLK
(CP = 1)
(INPUT)
tSDSCO
tSPICHS tSPICLS
tSPICLS
tSPICLKS tHDS
tSPICHS
tSSPIDS tHSPIDS
tDSDHI
LSB
VALID
MSB
MSB
VALID
tDSOE
tDDSPIDS
MISO
(OUTPUT)
MOSI
(INPUT)
tSSPIDS
LSB
VALID
LSB
CPHASE=1
CPHASE=0
tSDPPW
tDSOV tHDLSBS
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 39 of 48 | November 2004
Universal Asynchronous Receiver-Transmitter
(UART) Port—Receive and Transmit Timing
Figure 30 describes UART port receive and transmit operations.
The maximum baud rate is SCLK/16. As shown in Figure 30
there is some latency between the generation internal UART
interrupts and the external data operations. These latencies are
negligible at the data transmission rates for the UART.
Figure 30. UART Port—Receive and Transmit Timing
RXD DATA(5–8)
INTERNAL
UART RECEIVE
INTERRUPT
UART RECEIVE BIT SET BY DATA STOP;
CLEARED BY FIFO READ
CLKOUT
(SAMPLE CLOCK)
TXD DATA(5–8) STOP (12)
INTERNAL
UART TRANSMIT
INTERRUPT
UART TRANSMIT BIT SET BY PROGRAM;
CLEARED BY WRITE TO TRANSMIT
START
STOP
TRANSMIT
RECEIVE
Rev. PrA | Page 40 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
JTAG Test Access Port and Emulation
Table 33. JTAG Test Access Port and Emulation
Parameter Min Max Unit
Timing Requirements
t
TCK
TCK Period t
CK
ns
t
STAP
TDI, TMS Setup Before TCK High 5 ns
t
HTAP
TDI, TMS Hold After TCK High 6 ns
t
SSYS
1
System Inputs Setup Before TCK Low 7 ns
t
HSYS
1
System Inputs Hold After TCK Low 18 ns
t
TRSTW
TRST Pulse Width 4t
CK
ns
Switching Characteristics
t
DTDO
TDO Delay from TCK Low 7 ns
t
DSYS
2
System Outputs Delay After TCK Low 10 ns
1
System Inputs = AD15–0, SPIDS, CLKCFG1–0, RESET, BOOTCFG1–0, MISO, MOSI, SPICLK, DAI_Px, FLAG3–0.
2
System Outputs = MISO, MOSI, SPICLK, DAI_Px, AD15–0, RD, WR, FLAG3–0, CLKOUT, EMU, ALE.
Figure 31. IEEE 1149.1 JTAG Test Access Port
TCK
TMS
TDI
TDO
SYSTEM
INPUTS
SYSTEM
OUTPUTS
t
STAP
t
TCK
t
HTAP
t
DTDO
t
SSYS
t
HSYS
t
DSYS
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 41 of 48 | November 2004
OUTPUT DRIVE CURRENTS
Figure 32 shows typical I-V characteristics for the output driv-
ers of the ADSP-21367. The curves represent the current drive
capability of the output drivers as a function of output voltage.
TEST CONDITIONS
The ac signal specifications (timing parameters) appear
Table 10 on page 20 through Table 33 on page 40. These include
output disable time, output enable time, and capacitive loading.
The timing specifications for the SHARC apply for the voltage
reference levels in Figure 33.
Timing is measured on signals when they cross the 1.5 V level as
described in Figure 34. All delays (in nanoseconds) are mea-
sured between the point that the first signal reaches 1.5 V and
the point that the second signal reaches 1.5 V.
CAPACITIVE LOADING
Output delays and holds are based on standard capacitive loads:
30 pF on all pins (see Figure 33). Figure 37 shows graphically
how output delays and holds vary with load capacitance. The
graphs of Figure 35, Figure 36, and Figure 37 may not be linear
outside the ranges shown for Typical Output Delay vs. Load
Capacitance and Typical Output Rise Time (20%-80%, V=Min)
vs. Load Capacitance.
THERMAL CHARACTERISTICS
The ADSP-21367 processor is rated for performance over the
commercial temperature range, T
AMB
= –40°C to 85°C.
Figure 32. ADSP-21367 Typical Drive
Figure 33. Equivalent Device Loading for AC Measurements
(Includes All Fixtures)
Figure 34. Voltage Reference Levels for AC Measurements
TBD
1.5V
30pF
TO
OUTPUT
PIN
50
INPUT
OR
OUTPUT
1.5V 1.5V
Figure 35. Typical Output Rise/Fall Time (20%-80%,
V
DDEXT
= Max)
Figure 36. Typical Output Rise/Fall Time (20%-80%,
V
DDEXT
=Min)
Figure 37. Typical Output Delay or Hold vs. Load Capacitance
(at Ambient Temperature)
TBD
TBD
TBD
Rev. PrA | Page 42 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
Table 34 through Table 36 airflow measurements comply with
JEDEC standards JESD51-2 and JESD51-6 and the junction-to-
board measurement complies with JESD51-8. Test board and
thermal via design comply with JEDEC standards JESD51-9
(BGA). The junction-to-case measurement complies with MIL-
STD-883. All measurements use a 2S2P JEDEC test board.
To determine the Junction Temperature of the device while on
the application PCB, use:
where:
T
J
= Junction temperature °C
T
CASE
= Case temperature (°C) measured at the top center of
the package
Ψ
JT
= Junction-to-Top (of package) characterization parameter
is the Typical value from Table 34 and Table 36.
P
D
= Power dissipation (see EE Note #TBD)
Values of θ
JA
are provided for package comparison and PCB
design considerations. θ
JA
can be used for a first order approxi-
mation of T
J
by the equation:
where:
T
A
= Ambient Temperature °C
Values of θ
JC
are provided for package comparison and PCB
design considerations when an external heatsink is required.
Values of θ
JB
are provided for package comparison and PCB
design considerations. Note that the thermal characteristics val-
ues provided in Table 34 through Table 36 are modeled values.
Table 34. Thermal Characteristics for 256 Ball SBGA (No
thermal vias in PCB)
Parameter Condition Typical Unit
θ
JA
Airflow = 0 m/s TBD °C/W
θ
JMA
Airflow = 1 m/s TBD °C/W
θ
JMA
Airflow = 2 m/s TBD °C/W
θ
JC
TBD °C/W
Ψ
JT
Airflow = 0 m/s TBD °C/W
Ψ
JMT
Airflow = 1 m/s TBD °C/W
Ψ
JMT
Airflow = 2 m/s TBD °C/W
Table 35. Thermal Characteristics for 256 Ball SBGA (Ther-
mal vias in PCB)
Parameter Condition Typical Unit
θ
JA
Airflow = 0 m/s TBD °C/W
θ
JMA
Airflow = 1 m/s TBD °C/W
θ
JMA
Airflow = 2 m/s TBD °C/W
θ
JC
TBD °C/W
TJTCASE
Ψ
JT PD
×()+=
TJTA
θ
JA PD
×()+=
Ψ
JT
Airflow = 0 m/s TBD °C/W
Ψ
JMT
Airflow = 1 m/s TBD °C/W
Ψ
JMT
Airflow = 2 m/s TBD °C/W
Table 36. Thermal Characteristics for 208-Lead MQFP
Parameter Condition Typical Unit
θ
JA
Airflow = 0 m/s TBD °C/W
θ
JMA
Airflow = 1 m/s TBD °C/W
θ
JMA
Airflow = 2 m/s TBD °C/W
θ
JC
TBD °C/W
Ψ
JT
Airflow = 0 m/s TBD °C/W
Ψ
JMT
Airflow = 1 m/s TBD °C/W
Ψ
JMT
Airflow = 2 m/s TBD °C/W
Table 35. Thermal Characteristics for 256 Ball SBGA (Ther-
mal vias in PCB)
Parameter Condition Typical Unit
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 43 of 48 | November 2004
256-BALL SBGA PINOUT
Table 37. 256-Ball SBGA Pin Assignment (Numerically by Ball Number)
Ball No. Signal Ball No. Signal Ball No. Signal Ball No. Signal
A01 NC B01 DAI5 C01 DAI9 D01 DAI10
A02 TDI B02 SDCLK1 C02 DAI7 D02 DAI6
A03 TMS B03 TRST C03 GND D03 GND
A04 CLK_CFG0 B04 TCK C04 IOVDD D04 IOVDD
A05 CLK_CFG1 B05 BOOTCFG_0 C05 GND D05 GND
A06 EMU B06 BOOTCFG_1 C06 GND D06 IOVDD
A07 DAI4 B07 TDO C07 VDD D07 VDD
A08 DAI1 B08 DAI3 C08 GND D08 GND
A09 DPI14 B09 DAI2 C09 GND D09 IOVDD
A10 DPI12 B10 DPI13 C10 VDD D10 VDD
A11 DPI10 B11 DPI11 C11 GND D11 GND
A12 DPI9 B12 DPI8 C12 GND D12 IOVDD
A13 DPI7 B13 DPI5 C13 VDD D13 VDD
A14 DPI6 B14 DPI4 C14 GND D14 GND
A15 DPI3 B15 DPI1 C15 GND D15 IOVDD
A16 DPI2 B16 RESET C16 VDD D16 GND
A17 CLKOUT B17 DATA30 C17 VDD D17 IOVDD
A18 DATA31 B18 DATA29 C18 VDD D18 GND
A19 NC B19 DATA28 C19 DATA27 D19 DATA26
A20 NC B20 NC C20 RPBA D20 DATA24
E01 DAI11 F01 DAI14 G01 DAI15 H01 DAI17
E02 DAI8 F02 DAI12 G02 DAI13 H02 DAI16
E03 VDD F03 GND G03 GND H03 VDD
E04 VDD F04 GND G04 IOVDD H04 VDD
E17 GND F17 IOVDD G17 VDD H17 IOVDD
E18 GND F18 GND G18 VDD H18 GND
E19 DATA25 F19 ID2 G19 DATA22 H19 DATA19
E20 DATA23 F20 DATA21 G20 DATA20 H20 DATA18
J01 DAI19 K01 FLAG0 L01 FLAG2 M01 ACK
J02 DAI18 K02 DAI20 L02 FLAG1 M02 FLAG3
J03 GND K03 GND L03 VDD M03 GND
J04 GND K04 IOVDD L04 VDD M04 GND
Rev. PrA | Page 44 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
J17 GND K17 VDD L17 VDD M17 IOVDD
J18 GND K18 VDD L18 VDD M18 GND
J19 ID1 K19 ID0 L19 DATA15 M19 DATA12
J20 DATA17 K20 DATA16 L20 DATA14 M20 DATA13
N01 RD P01 SDA10 R01 SDWE T01 SDCKE
N02 SDCLK0 P02 WR R02 SDRAS T02 SDCAS
N03 GND P03 VDD R03 GND T03 GND
N04 IOVDD P04 VDD R04 GND T04 IOVDD
N17 GND P17 VDD R17 IOVDD T17 GND
N18 GND P18 VDD R18 GND T18 GND
N19 DATA11 P19 DATA8 R19 DATA6 T19 DATA5
N20 DATA10 P20 DATA9 R20 DATA7 T20 DATA4
U01 MS0 V01 ADDR22 W01 GND Y01 GND
U02 MS1 V02 ADDR23 W02 ADDR21 Y02 NC
U03 VDD V03 VDD W03 ADDR19 Y03 NC
U04 GND V04 GND W04 ADDR20 Y04 ADDR18
U05 IOVDD V05 GND W05 ADDR17 Y05 BR1
U06 GND V06 GND W06 ADDR16 Y06 BR2
U07 IOVDD V07 GND W07 ADDR15 Y07 XTAL2
U08 VDD V08 VDD W08 ADDR14 Y08 CLKIN
U09 IOVDD V09 GND W09 AVDD Y09 NC
U10 GND V10 GND W10 AVSS Y10 NC
U11 IOVDD V11 GND W11 ADDR13 Y11 BR3
U12 VDD V12 VDD W12 ADDR12 Y12 BR4
U13 IOVDD V13 GND W13 ADDR10 Y13 ADDR11
U14 IOVDD V14 IOVDD W14 ADDR8 Y14 ADDR9
U15 VDD V15 VDD W15 ADDR5 Y15 ADDR7
U16 IOVDD V16 GND W16 ADDR4 Y16 ADDR6
U17 VDD V17 GND W17 ADDR1 Y17 ADDR3
U18 VDD V18 GND W18 ADDR2 Y18 GND
U19 DATA0 V19 DATA1 W19 ADDR0 Y19 GND
U20 DATA2 V20 DATA3 W20 NC Y20 NC
Table 37. 256-Ball SBGA Pin Assignment (Numerically by Ball Number) (Continued)
Ball No. Signal Ball No. Signal Ball No. Signal Ball No. Signal
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 45 of 48 | November 2004
208-LEAD MQFP PINOUT
Table 38. 208-Lead MQFP Pin Assignment (Numerically by Lead Number)
Pin No. Signal Pin No. Signal Pin No. Signal Pin No. Signal
1 VDD 53 VDD 105 VDD 157 VDD
2 DATA28 54 GND 106 GND 158 VDD
3 DATA27 55 IOVDD 107 IOVDD 159 GND
4 GND 56 ADDR0 108 SDCAS 160 VDD
5 IOVDD 57 ADDR2 109 SDRAS 161 VDD
6 DATA26 58 ADDR1 110 SDCKE 162 VDD
7 DATA25 59 ADDR4 111 SDWE 163 TDI
8DATA24 60ADDR3 112WR 164 TRST
9 DATA23 61 ADDR5 113 SDA10 165 TCK
10 GND 62 GND 114 GND 166 GND
11 VDD 63 VDD 115 IOVDD 167 VDD
12 DATA22 64 GND 116 SDCLK0 168 TMS
13 DATA21 65 IOVDD 117 GND 169 CLK_CFG0
14 DATA20 66 ADDR6 118 VDD 170 BOOTCFG0
15 IOVDD 67 ADDR7 119 RD 171 CLK_CFG1
16 GND 68 ADDR8 120 ACK 172 EMU
17 DATA19 69 ADDR9 121 FLAG3 173 BOOTCFG1
18 DATA18 70 ADDR10 122 FLAG2 174 TDO
19 VDD 71 GND 123 FLAG1 175 DAI4
20 GND 72 VDD 124 FLAG0 176 DAI2
21 DATA17 73 GND 125 DAI20 177 DAI3
22 VDD 74 IOVDD 126 GND 178 DAI1
23 GND 75 ADDR11 127 VDD 179 IOVDD
24 VDD 76 ADDR12 128 GND 180 GND
25 GND 77 ADDR13 129 IOVDD 181 VDD
26 DATA16 78 GND 130 DAI19 182 GND
27 DATA15 79 VDD 131 DAI18 183 DPI14
28 DATA14 80 AVSS 132 DAI17 184 DPI13
29 DATA13 81 AVDD 133 DAI16 185 DPI12
30 DATA12 82 GND 134 DAI15 186 DPI11
31 IOVDD 83 CLKIN 135 DAI14 187 DPI10
32 GND 84 XTAL2 136 DAI13 188 DPI9
33 VDD 85 IOVDD 137 DAI12 189 DPI8
34 GND 86 GND 138 VDD 190 DPI7
35 DATA11 87 VDD 139 IOVDD 191 IOVDD
36 DATA10 88 ADDR14 140 GND 192 GND
37 DATA9 89 GND 141 VDD 193 VDD
38 DATA8 90 IOVDD 142 GND 194 GND
39 DATA7 91 ADDR15 143 DAI11 195 DPI6
40 DATA6 92 ADDR16 144 DAI10 196 DPI5
41 IOVDD 93 ADDR17 145 DAI8 197 DPI4
42 GND 94 ADDR18 146 DAI9 198 DPI3
43 VDD 95 GND 147 DAI6 199 DPI1
44 DATA4 96 IOVDD 148 DAI7 200 DPI2
Rev. PrA | Page 46 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
PACKAGE DIMENSIONS
The ADSP-21367 is available in a 208-lead-free MQFP package
and 256-ball lead-free and leaded SBGA packages
45 DATA5 97 ADDR19 149 DAI5 201 CLKOUT
46 DATA2 98 ADDR20 150 IOVDD 202 RESET
47 DATA3 99 ADDR21 151 GND 203 IOVDD
48 DATA0 100 ADDR23 152 VDD 204 GND
49 DATA1 101 ADDR22 153 GND 205 DATA30
50 IOVDD 102 MS1 154 VDD 206 DATA31
51 GND 103 MS0 155 GND 207 DATA29
52 VDD 104 VDD 156 VDD 208 VDD
Table 38. 208-Lead MQFP Pin Assignment (Numerically by Lead Number) (Continued)
Pin No. Signal Pin No. Signal Pin No. Signal Pin No. Signal
Figure 38. 256-Lead SBGA, Thermally Enhanced (BP-256)
1.27
NOM
1.70 MAX
0.90
0.75
0.60
BALL
DIAMETER
TOP VIEW
A1 BALL
INDICATOR
DIMENSIONS ARE IN MILLIMETERS AND COMPLY
WITH JEDEC STANDARDS MO-192-BAL-2.
1
2
3
4
5
6
7
8
9
10
11
1214
15 13
16
1719
20 18
R
P
N
M
L
K
J
H
G
F
E
D
C
B
A
Y
W
V
U
T
BOTTOM
VIEW
27.00
BSC SQ
24.13
REF SQ
A1 CORNER
INDEX AREA
0.70
0.60
0.50
1.00
0.80
0.60
0.10
MIN
SEATING
PLANE
0.20
COPLANARITY
0.25 MIN 4X
ADSP-21367Preliminary Technical Data
Rev. PrA | Page 47 of 48 | November 2004
ORDERING GUIDE
Analog Devices offers a wide variety of audio algorithms and
combinations to run on the ADSP-21367 processor. These
products are sold as part of a chip set, bundled with necessary
application software under special part numbers. For a complete
list, visit our web site at www.analog.com/SHARC.
These product also may contain 3rd party IPs that may require
users to have authorization from the respective IP holders to
receive them. Royalty for use of the 3rd party IPs may also be
payable by users.
Figure 39. 208-Lead MQFP (S-208-2)
0.20
0.09
3.60
3.40
3.20
0.50
0.25 0.08 MAX
(LEAD COPLANARITY)
VIEW A
ROTATED 90° CCW
1
208 157
156
105
10453
52
TOP VIEW
(PINS DOWN)
0.50
BSC
28.20
28.00 SQ
27.80
0.27
0.17
(LEAD PITCH) (LEAD WIDTH)
SEATING
PLANE
4.10
MAX
0.75
0.60
0.45
NOTES:
1. THE ACTUAL POSITION OF EACH LEAD IS WITHIN 0.08 FROM ITS IDEAL
POSITION WHEN MEASURED IN THE LATERAL DIRECTION.
2. CENTER DIMENSIONS ARE TYPICAL UNLESS OTHERWISE NOTED.
3. DIMENSIONS ARE IN MILLIMETERS AND COMPLY WITH
JEDEC STANDARD MS-029, FA-1.
30.85
30.60 SQ
30.35
VIEW A
PIN 1 INDICATOR
Part Number
1,
2
Ambient Temperature
Range
Instruction
Rate
On-Chip
SRAM
ROM Operating Voltage Packages
ADSP-21367SKSZ-ENG 0°C to + 70°C 266 MHz 2M bit 6M bit 1.2 INT/3.3 EXT V 208-Lead MQFP,
Pb-Free
ADSP-21367SKBP-ENG C to +70°C 400 MHz 2M bit 6M bit 1.3 INT/3.3 EXT V 256-Ball SBGA, Pb-
Bearing
ADSP-21367SKBPZENG C to +70°C 400 MHz 2M bit 6M bit 1.3 INT/3.3 EXT V 256-Ball SBGA, Pb-
Free
1
B indicates Ball Grid Array package.
2
Z indicates Lead Free package. For more information about lead free package offerings, please visit www.analog.com.
Rev. PrA | Page 48 of 48 | November 2004
ADSP-21367 Preliminary Technical Data
© 2004 Analog Devices, Inc. All rights reserved. Trademarks and
registered trademarks are the property of their respective owners.
PR05267-0-11/04(PrA)