a SHARC(R) Processor ADSP-21365/ADSP-21366 Preliminary Technical Data SUMMARY Single-Instruction Multiple-Data (SIMD) computational architecture On-chip memory--3M bit of on-chip SRAM and a dedicated 4M bit of on-chip mask-programmable ROM Code compatible with all other members of the SHARC family The ADSP-21365/ADSP-21366 is available with a 333 MHz core instruction rate and unique audiocentric peripherals such as the digital audio interface, S/PDIF transceiver, DTCP (digital transmission content protocol) available on the ADSP-21365 only, serial ports, 8-channel asynchronous sample rate converter, precision clock generators and more. For complete ordering information, see Ordering Guide on page 53. 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 Nonvolatile memory may be configured to support audio decoders and post processor-algorithms like PCM, Dolby(R) Digital EX, Dolby Prologic IIx, DTS 96/24, Neo:6, DTS ESTM, MPEG2 AAC, MPEG2 2-channel, MP3, and functions like bass management, delay, speaker equalization, graphic equalization, and more. Decoder/post-processor algorithm combination support will vary depending upon the chip version and the system configurations. Please visit www.analog.com/SHARC. 4 BLOCKS OF ON-CHIP MEMORY CORE PROCESSOR BLOCK 2 BLOCK 3 SRAM 1M BIT SRAM 1M BIT SRAM 0.5M BIT SRAM 0.5M BIT ADDR PROGRAM SEQUENCER DAG2 BLOCK 1 INSTRUCTION CACHE 32-LOCATION TIMER DAG1 BLOCK 0 DATA ADDR DATA DATA ADDR DATA 32 PM ADDRESS BUS DM ADDRESS BUS PM DATA BUS 32 64 DM DATA BUS 64 IOA IOD IOA PX REGISTER PROCESSING ELEMENT (PEX) ADDR PROCESSING ELEMENT (PEY) IOP REGISTERS (MEMORY MAPPED) 6 JTAG TEST & EMULATION IOD IOA IOD SPI SPORTS IDP PCG TIMERS SRC SPDIF DTCP IOA IOD SIGNAL ROUTING UNIT I/O PROCESSOR AND PERIPHERALS S SEE ADSP-21365/66 MEMORY AND I/O INTERFACE FEATURES SECTION FOR DETAILS Figure 1. Functional Block Diagram--Processor Core SHARC and the SHARC logo are registered trademarks of Analog Devices, Inc. Rev. PrC 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 owners. 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 (c) 2005 Analog Devices, Inc. All rights reserved. ADSP-21365/ADSP-21366 Preliminary Technical Data KEY FEATURES--PROCESSOR CORE At 333 MHz (3.0 ns) core instruction rate, the ADSP21365/ADSP-21366 performs 2 GFLOPS/666 MMACS 3M bit on-chip SRAM (1M bit in blocks 0 and 1, and 0.50M bit in blocks 2 and 3) for simultaneous access by the core processor and DMA 4M bit on-chip mask-programmable ROM (2M bit in block 0 and 2M bit in block 1) Dual data address generators (DAGs) with modulo and bitreverse addressing Zero-overhead looping with single-cycle loop setup, providing 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 buses and computational units allows single cycle execution (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 5.4G bytes/s bandwidth at 333 MHz core instruction rate TDM support for telecommunications interfaces including 128 TDM channel support for newer telephony interfaces such as H.100/H.110 Up to 12 TDM stream support, each with 128 channels per frame Companding selection on a per channel basis in TDM mode Input data port provides an additional input path to the processor core, configurable as eight channels of serial data or seven channels of serial data and up to a 20-bit wide parallel data channel Signal routing unit provides configurable and flexible connections between all DAI components-six serial ports, one SPI port, eight channels of asynchronous sample rate converters, an S/PDIF receiver/transmitter, DTCP (digital transmission content protocol (ADSP-21365 only), three timers, an SPI port,10 interrupts, six flag inputs, six flag outputs, and 20 SRU I/O pins (DAI_Px) Two serial peripheral interfaces (SPI): primary on dedicated pins, secondary on DAI pins provide: master or slave serial boot through primary SPI, fullduplex operation, master-slave mode multimaster support, open drain outputs, programmable baud rates, clock polarities and phases 3 Muxed Flag/IRQ lines 1 Muxed Flag/Timer expired line INPUT/OUTPUT FEATURES DEDICATED AUDIO COMPONENTS DMA controller supports: 25 DMA channels for transfers between ADSP-21365/ADSP-21366 internal memory and a variety of peripherals 32-bit DMA transfers at peripheral clock speed, in parallel with full-speed processor execution Asynchronous parallel port provides access to asynchronous external memory 16 multiplexed address/data lines support 24-bit address external address range with 8-bit data or 16-bit address external address range with 16-bit data 55M byte per sec transfer rate External memory access in a dedicated DMA channel 8-bit to 32-bit and 16-bit to 32-bit packing options Programmable data cycle duration: 2 to 31 CCLK Digital audio interface (DAI) includes six serial ports, two precision clock generators, an input data port, three timers, an S/PDIF transceiver, a DTCP cipher (ADSP-21365 only), an 8channel asynchronous sample rate converter, an SPI port, and a signal routing unit Six 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 Left-justified sample pair and I2S support, programmable direction for up to 24 simultaneous receive or transmit channels using two I2S-compatible stereo devices per serial port S/PDIF-compatible digital audio receiver/transmitter supports EIAJ CP-340 (CP-1201), IEC-958, AES/EBU standards left-justified, I2S or right-justified serial data input with 16-, 18-, 20-, or 24-bit word widths (transmitter) Two channel mode and single channel double frequency (SCDF) mode Digital transmission content protection (DTCP)--a cryptographic protocol for protecting audio content from unauthorized copying, intercepting, and tampering (ADSP-21365 only). Sample rate converter (SRC) Contains a serial input port, deemphasis filter, sample rate converter (SRC) and serial output port providing up to -128dB SNR performance Supports left-justified, I2S, 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 Can generate complementary signals on two outputs in paired mode or independent signals in nonpaired mode 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 multiplier/divider ratios Dual voltage: 3.3 V I/O, 1.2 V core Available in 136-ball mini-BGA and 144-lead LQFP packages (see Ordering Guide on page 53) Rev. PrC | Page 2 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 CONTENTS Summary 1 Serial Ports ............................................................30 Key Features--Processor Core ..................................2 Input Data Port (IDP) ..............................................33 Input/Output Features ............................................2 Parallel Data Acquisition Port (PDAP) .........................34 Dedicated Audio Components ..................................2 Sample Rate Converter--Serial Input Port .....................35 General Description ..................................................4 Sample Rate Converter--Serial Output Port ..................36 ADSP-21365/ADSP-21366 Family Core Architecture .....4 SPDIF Transmitter ..................................................37 ADSP-21365/ADSP-21366 Memory and I/O Interface Features ................................................................6 SPI Interface--Master ..............................................40 Development Tools ................................................9 Thermal Characteristics ............................................45 Additional Information ......................................... 11 Ordering Guide ......................................................53 SPI Interface--Slave .................................................41 Pin Function Descriptions ........................................ 12 Address Data Pins as FLAGs .................................. 15 Address/Data Modes ............................................ 15 Boot Modes ........................................................ 15 Core Instruction Rate to CLKIN Ratio Modes ............. 15 ADSP-21365/ADSP-21366 Specifications ..................... 16 Recommended Operating Conditions ....................... 16 Electrical Characteristics ........................................ 16 Maximum Power Dissipation ................................. 17 Absolute Maximum Ratings ................................... 17 ESD Sensitivity .................................................... 17 Timing Specifications ........................................... 18 Output Drive Currents .......................................... 44 Test Conditions ................................................... 44 Capacitive Loading ............................................... 44 Thermal Characteristics ........................................ 45 136-Ball BGA Pin Configurations ............................... 47 144-Lead LQFP Pin Configurations ............................. 50 Package Dimensions ................................................ 51 Ordering Guide ...................................................... 53 REVISION HISTORY 5/05-Data sheet changed from REV. PrB to REV PrC. ADSP-21365/ADSP-21366 Internal Memory Space ...........6 Maximum Power Dissipation .................................... 17 Power-Up Sequencing ............................................. 19 Interrupts ............................................................. 21 Core Timer ........................................................... 22 Precision Clock Generator (Direct Pin Routing) ............. 24 Memory Read--Parallel Port ..................................... 26 Memory Write--Parallel Port .................................... 28 Rev. PrC | Page 3 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data GENERAL DESCRIPTION The ADSP-21365/ADSP-21366 SHARC processors are members of the SIMD SHARC family of DSPs that feature Analog Devices' Super Harvard Architecture. The processors are source code-compatible with the ADSP-2126x, and ADSP-2116x, DSPs as well as with first generation ADSP-2106x SHARC processors in SISD (Single-Instruction, Single-Data) mode. The ADSP21365/ADSP-21366 are 32-bit/40-bit floating-point processors optimized for high performance automotive audio applications with their 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-21365/ADSP-21366 use two computational units to deliver a significant performance increase over the previous SHARC processors on a range of signal processing algorithms. Fabricated in a state-of-the-art, high speed, CMOS process, the ADSP-21365/ADSP-21366 processors achieve an instruction cycle time of 3.0 ns at 333 MHz. With its SIMD computational hardware, the ADSP-21365/ADSP-21366 can perform two GFLOPS running at 333 MHz. * Three programmable interval timers with PWM generation, PWM capture/pulse-width measurement, and external event counter capabilities * On-chip SRAM (3M bit) * On-chip mask-programmable ROM (4M bit) * 8- or 16-bit parallel port that supports interfaces to off-chip memory peripherals * JTAG test access port The block diagram of the ADSP-21365/ADSP-21366 on Page 7 illustrates the following architectural features: * DMA controller * Six full duplex serial ports * Two SPI-compatible interface ports--primary on dedicated pins, secondary on DAI pins * Digital audio interface that includes two precision clock generators (PCG), an input data port (IDP), an S/PDIF receiver/transmitter, eight channels asynchronous sample rate converters, DTCP cipher, six serial ports, eight serial interfaces, a 20-bit parallel input port, 10 interrupts, six flag outputs, six flag inputs, three timers, and a flexible signal routing unit (SRU) Table 1 shows performance benchmarks for the processors running at 333 MHz. Table 1. Benchmarks (at 333 MHz) Figure 2 on Page 5 shows one sample configuration of a SPORT using the precision clock generators to interface with an I2S ADC and an I2S DAC with a much lower jitter clock than the serial port would generate itself. Many other SRU configurations are possible. Benchmark Algorithm Speed (at 333 MHz) 1024 Point Complex FFT (Radix 4, with reversal) 27.9 s FIR Filter (per tap)1 1.5 ns IIR Filter (per biquad)1 6.0 ns Matrix Multiply (pipelined) [3x3] x [3x1] 13.5 ns [4x4] x [4x1] 23.9 ns Divide (y/x) 10.5 ns Inverse Square Root 16.3 ns 1 ADSP-21365/ADSP-21366 FAMILY CORE ARCHITECTURE The ADSP-21365/ADSP-21366 are 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-21365/ADSP-21366 shares architectural features with the ADSP-2126x and ADSP-2116x SIMD SHARC processors, as detailed in the following sections. Assumes two files in multichannel SIMD mode The ADSP-21365/ADSP-21366 continues SHARC's industryleading standards of integration for DSPs, combining a high performance 32-bit DSP core with integrated, on-chip system features. SIMD Computational Engine The block diagram of the ADSP-21365/ADSP-21366 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 processor cycle Rev. PrC | The ADSP-21365/ADSP-21366 contain two computational processing elements that operate as a Single-Instruction MultipleData (SIMD) engine. The processing elements are referred to as PEX and PEY and each contains an ALU, multiplier, shifter, and register 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 processing elements, but each processing element operates on different data. This architecture is efficient at executing math intensive signal processing algorithms. Entering SIMD mode also has an effect on the way data is transferred 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- Page 4 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 ADSP-21366 CLK OU T C LK IN X TA L C LOC K 2 2 3 A DD R D ATA RD FLA G3-1 OE WR WE FLA G0 CS S C LK 0 S FS0 S D 0A S D 0B SR U D A I_P 18 PA R A LLEL POR T R AM , ROM BOO T R OM I /O D EVI CE DATA D A I_P1 DA I_ P2 DA I_ P3 ADDRESS D AC (OPTI ONA L) C LK FS S D AT LA TCH B OOTC FG1 -0 CONTROL A DC (OPTI ONA L) C LK FS S D AT A LE AD 1 5-0 C LK _C FG1-0 SP OR T0-5 TIME R S SPD IF SR C ID P S PI D AI _P 19 DA I_ P2 0 C LK FS DAI R ES ET PC GA P CG B JTA G 6 Figure 2. ADSP-21365/ADSP-21366 System Sample Configuration 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 operations 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 elements. These computation units support IEEE 32-bit singleprecision floating-point, 40-bit extended-precision floatingpoint, and 32-bit fixed-point data formats. Data Register File A general-purpose data register file is contained in each processing 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 Harvard 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. Rev. PrC | Single-Cycle Fetch of Instruction and Four Operands The ADSP-21365/ADSP-21366 features an enhanced Harvard architecture in which the data memory (DM) bus transfers data and the program memory (PM) bus transfers both instructions and data (see Figure 1 on Page 1). With the processor's separate program 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 single cycle. Instruction Cache The ADSP-21365/ADSP-21366 include 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-21365/ADSP-21366's two data address generators (DAGs) are used for indirect addressing and implementing circular data buffers in hardware. Circular buffers allow efficient programming of delay lines and other data structures required Page 5 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data in digital signal processing, and are commonly used in digital filters and Fourier transforms. The two DAGs contain sufficient registers to allow the creation of up to 32 circular buffers (16 primary register sets, 16 secondary). The DAGs automatically handle address pointer wraparound, reduce overhead, 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-21365/ADSP-21366 can conditionally execute a multiply, an add, and a subtract in both processing elements while branching and fetching up to four 32-bit values from memory-- all in a single instruction. ADSP-21365/ADSP-21366 MEMORY AND I/O INTERFACE FEATURES The ADSP-21365/ADSP-21366 adds the following architectural features to the SIMD SHARC family core. On-Chip Memory The ADSP-21365/ADSP-21366 contains three megabits of internal SRAM and four 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 processor's memory architecture, in combination with its separate on-chip buses, allows two data transfers from the core and one from the I/O processor, in a single cycle. The ADSP-21365/ADSP-21366's, SRAM can be configured as a maximum of 96K words of 32-bit data, 192K words of 16-bit data, 64K words of 48-bit instructions (or 40-bit data), or combinations of different 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 floating-point storage format is supported that effectively doubles the amount of data that may be stored onchip. Conversion between the 32-bit floating-point and 16-bit floating-point formats 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-21365/ADSP-21366 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 7FFF BLOCK 0 ROM 0x0008 0000-0x0008 AAA9 BLOCK 0 ROM 0x0008 0000-0x0008 FFFF BLOCK 0 ROM 0x0010 0000-0x0011 FFFF Reserved 0x0009 0000-0x0009 7FFF Reserved 0x0012 0000-0x0012 FFFF Reserved 0x0004 8000-0x0004 BFFF BLOCK 0 RAM 0x0004 C000-0x0004 FFFF BLOCK 0 RAM 0x0009 0000-0x0009 5554 BLOCK 0 RAM 0x0009 8000-0x0009 FFFF BLOCK 0 RAM 0x0013 0000-0x0013 FFFF BLOCK 1 ROM 0x0005 0000-0x0005 7FFF BLOCK 1 ROM 0x000A 0000-0x000A AAA9 BLOCK 1 ROM 0x000A 0000-0x000A FFFF BLOCK 1 ROM 0x0014 0000-0x0015 FFFF Reserved 0x000B 0000-0x000B 7FFF Reserved 0x0016 0000-0x0016 FFFF Reserved 0x0005 8000-0x0005 BFFF BLOCK 1 RAM 0x0005 C000-0x0005 FFFF BLOCK 1 RAM 0x000B 0000-0x000B 5554 BLOCK 1 RAM 0x000B 8000-0x000B FFFF BLOCK 1 RAM 0x0017 0000-0x0017 FFFF BLOCK 2 RAM 0x0006 0000-0x0006 1FFF BLOCK 2 RAM 0x000C 0000-0x000C 2AA9 BLOCK 2 RAM 0x000C 0000-0x000C 3FFF BLOCK 2 RAM 0x0018 0000-0x0018 7FFF Reserved 0x000C 4000-0x000D FFFF Reserved 0x0018 8000-0x001B FFFF BLOCK 3 RAM 0x000E 0000-0x000E 3FFF BLOCK 3 RAM 0x001C 0000-0x001C 7FFF Reserved 0x000E 4000-0x000F FFFF Reserved 0x001C 8000-0x001F FFFF Reserved 0x0006 2000-0x0006 FFFF BLOCK 3 RAM 0x0007 0000-0x0007 1FFF BLOCK 3 RAM 0x000E 0000-0x000E 2AA9 Reserved 0x0007 2000-0x0007 FFFF Reserved 0x0020 0000-0xFFFF FFFF Rev. PrC | Page 6 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 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. TO PROCESSOR BUSES AND SYSTEM MEMORY IO ADDRESS BUS (18) IO DATA BUS (32) DMA Controller GPIO FLAGS/IRQ/TIMEXP The ADSP-21365/ADSP-21366's on-chip DMA controllers allow data transfers without processor intervention. The DMA controller operates independently and invisibly to the processor core, allowing DMA operations to occur while the core is simultaneously executing its program instructions. DMA transfers can occur between the ADSP-21365/ADSP-21366's internal memory and their serial ports, the SPI-compatible (serial peripheral interface) ports, the IDP (input data port), the parallel data acquisition port (PDAP) or the parallel port. Twentyfive channels of DMA are available on the processors--two for the SPI interface, 12 via the serial ports, eight via the input data port, two for DTCP (or memory-to-memory data transfer when DTCP is not used), and one via the processor's parallel port. Programs can be downloaded to the processors using DMA transfers. Other DMA features include interrupt generation upon completion of DMA transfers, and DMA chaining for automatic linked DMA transfers. 4 DMA CONTROLLER 25 CHANNELS CONTROL/GPIO 16 ADDRESS/DATA BUS/ GPIO PARALLEL PORT PWM (16) 4 SPI PORT (1) Programs make these connections using the signal routing unit (SRU, shown in Figure 3). Serial Ports The ADSP-21365/ADSP-21366 feature six 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 a frame sync. The data lines can be programmed to either transmit or receive and each data line has a dedicated DMA channel. Rev. PrC | SERIAL PORTS (6) INPUT DATA PORTS (8) DTCP CIPHER SPDIF (RX/TX) SRC (8 CHANNELS) PRECISION CLOCK GENERATORS (2) The SRU is a matrix routing unit (or group of multiplexers) that enables the peripherals provided by the DAI to be interconnected 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 nonconfigurable signal paths. For complete information on using the DAI, see the ADSP-2136x SHARC Processor Hardware Reference for the ADSP-21362/3/4/5/6 Processors. SPI PORT (1) SIGNAL ROUTING UNIT The digital audio interface (DAI) provides the ability to connect various peripherals to any of the DSP's DAI pins (DAI_P20-1). CONTROL, STATUS, & DATA BUFFERS IOP REGISTERS (MEMORY MAPPED) 4 Digital Audio Interface (DAI) The DAI also includes six serial ports, an S/PDIF receiver/transmitter, a DTCP cipher (ADSP-21365 only), a precision clock generator (PCG), eight channels of asynchronous sample rate converters, an input data port (IDP), an SPI port, six flag outputs and six flag inputs, and three timers. The IDP provides an additional input path to the ADSP-21365/ADSP-21366 core, configurable as either eight channels of I2S 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 processor's serial ports. 3 3 TIMERS (3) DIGITAL AUDIO INTERFACE I/O PROCESSOR Figure 3. ADSP-21365/ADSP-21366 I/O Processor and Peripherals Block Diagram Serial ports are enabled via 12 programmable and simultaneous receive or transmit pins that support up to 24 transmit or 24 receive channels of audio data when all six SPORTS are enabled, or six 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 signals while the other SPORT provides the two receive signals. The frame sync and clock are shared. Serial ports operate in four modes: Page 7 of 56 | * Standard DSP serial mode * Multichannel (TDM) mode * I2S mode * Left-justified sample pair mode May 2005 20 ADSP-21365/ADSP-21366 Preliminary Technical Data 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 various attributes of this mode. Each of the serial ports supports the left-justified sample pair and I2S protocols (I2S is an industry-standard interface commonly 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 I2S channels (using two stereo devices) per serial port, with a maximum of up to 24 I2S channels. 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 I2S modes, dataword 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 internally or externally generated. Parallel Port The parallel port provides interfaces to SRAM and peripheral devices. The multiplexed address and data pins (AD15-0) can access 8-bit devices with up to 24 bits of address, or 16-bit devices with up to 16 bits of address. In either mode, 8- or 16bit, the maximum data transfer rate is 55M bytes/sec. DMA transfers are used to move data to and from internal memory. Access to the core is also facilitated through the parallel port register read/write functions. The RD, WR, and ALE (address latch enable) pins are the control pins for the parallel port. Serial Peripheral (Compatible) Interface The processors contain two serial peripheral interface ports (SPIs). The SPI is an industry-standard synchronous serial link, enabling the ADSP-21365/ADSP-21366 SPI-compatible 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, supporting both master and slave modes. The SPI port can operate in a multimaster environment by interfacing with up to four other SPIcompatible devices, either acting as a master or slave device. The ADSP-21365/ADSP-21366 SPI-compatible peripheral implementation also features programmable baud rate and clock phase and polarities. The SPI-compatible port uses open drain drivers to support a multimaster configuration and to avoid data contention. 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, I2S, or right-justified with word widths of 16, 18, 20, or 24 bits. Rev. PrC | 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 128 dB 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 convert 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 Transmission Content Protection The DTCP specification defines a cryptographic protocol for protecting audio entertainment content from illegal copying, intercepting and tampering as it traverses high performance digital buses, such as the IEEE 1394 standard. Only legitimate entertainment content delivered to a source device via another approved copy protection system (such as the DVD content scrambling system) will be protected by this copy protection system. This feature is only available on the ADSP-21365 processor. 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 waveforms. In addition, it can generate complementary signals on two outputs in paired mode or independent signals in nonpaired 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 midpoint of the PWM period. In double update mode, a second updating of the PWM registers is implemented at the midpoint of the PWM period. In this mode, it is possible to produce asymmetrical PWM patterns that produce lower harmonic distortion in three-phase PWM inverters. Page 8 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Timers The ADSP-21365/ADSP-21366 each have 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 independently 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 bidirectional 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 single control and status register enables or disables all three general-purpose timers independently. Note that the analog supply pin (AVDD) powers the processor's internal clock generator PLL. To produce a stable clock, it is recommended that PCB designs use an external filter circuit for the AVDD pin. Place the filter components as close as possible to the AVDD/AVSS pins. For an example circuit, see Figure 4. (A recommended ferrite chip is the muRata BLM18AG102SN1D). To reduce noise coupling, the PCB should use a parallel pair of power and ground planes for VDDINT and GND. Use wide traces to connect the bypass capacitors to the analog power (AVDD) and ground (AVSS) pins. Note that the AVDD and AVSS pins specified in Figure 4 are inputs to the processor and not the analog ground plane on the board--the AVSS pin should connect directly to digital ground (GND) at the chip. 100nF 10nF 1nF ADSP-213xx AVDD VDDINT ROM Based Security The ADSP-21365/ADSP-21366 have 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 features and external boot modes are only available after the correct key is scanned. Program Booting The internal memory of the ADSP-21365/ADSP-21366 boots at system power-up from an 8-bit EPROM via the parallel port, an SPI master, an SPI slave or an internal boot. Booting is determined by the Boot Configuration (BOOTCFG1-0) pins (see Table 6 on Page 15). Selection of the boot source is controlled via the SPI as either a master or slave device, or it can immediately begin executing from ROM. Phase-Locked Loop The processors use an on-chip phase-locked loop (PLL) to generate the internal clock for the core. On power up, the CLKCFG1-0 pins are used to select ratios of 32:1, 16:1, and 6:1 (see Table 7 on Page 15). After booting, numerous other ratios can be selected via software control. The ratios are made up of software configurable numerator values from 1 to 64 and software configurable divisor values of 1, 2, 4, and 8. Power Supplies The ADSP-21365/ADSP-21366 have separate power supply connections for the internal (VDDINT), external (VDDEXT), and analog (AVDD/AVSS) power supplies. The internal and analog supplies must meet the 1.2 V requirement. The external supply must meet the 3.3 V requirement. All external supply pins must be connected to the same power supply. Rev. PrC | HI Z FERRITE BEAD CHIP AVSS LOCATE ALL COMPONENTS CLOSE TO AVDD AND AVSS PINS Figure 4. Analog Power (AVDD) Filter Circuit 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 processor 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 processor 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 appropriate "Emulator Hardware User's Guide." DEVELOPMENT TOOLS The ADSP-21365/ADSP-21366 is supported with a complete set of CROSSCORE(R) software and hardware development tools, including Analog Devices emulators and VisualDSP++(R) development environment. The same emulator hardware that supports other SHARC processors also fully emulates the ADSP-21365/ADSP-21366. The VisualDSP++ project management environment lets programmers develop and debug an application. This environment includes an easy to use assembler (which is based on an algebraic 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 Page 9 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data 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 features. Data visualization is enhanced by a plotting package that offers a significant level of flexibility. This graphical representation of user data enables the programmer to quickly determine the performance of an algorithm. As algorithms grow in complexity, this capability can have increasing significance on the designer's development schedule, increasing productivity. Statistical profiling enables the programmer to nonintrusively 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 efficiently. 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 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 applications. It allows downloading components from the Web, dropping them into the application, and publishing 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 utilization in a color-coded graphical form, easily move code and data to different areas of the processor or external memory with a drag of the mouse and examine run time stack and heap usage. The expert linker is fully compatible with the existing linker definition 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. Hardware tools include SHARC processor PC plug-in cards. Third party software tools include DSP libraries, real-time operating systems, and block diagram design tools. Designing an Emulator-Compatible DSP Board (Target) * 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 development 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 memory 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. Rev. PrC | 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 generation of various VDK-based objects, and visualizing the system state, when debugging an application that uses the VDK. 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 processor. Nonintrusive incircuit 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 features 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 commands, 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, multiprocessor scan chains, signal buffering, signal termination, 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. Page 10 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Evaluation Kit ADDITIONAL INFORMATION Analog Devices offers a range of EZ-KIT Lite evaluation platforms 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. This data sheet provides a general overview of the ADSP-21365/ADSP-21366 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 for the ADSP-21362/3/4/5/6 Processors and the ADSP-2136x SHARC Processor Programming Reference. 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 processor 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 standalone 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 custom defined system. Connecting one of Analog Devices' JTAG emulators to the EZ-KIT Lite board enables high speed, nonintrusive emulation. Rev. PrC | Page 11 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data PIN FUNCTION DESCRIPTIONS ADSP-21365/ADSP-21366 pin definitions are listed below. Inputs identified as synchronous (S) must meet timing requirements with respect to CLKIN (or with respect to TCK for TMS and TDI). Inputs identified as asynchronous (A) can be asserted asynchronously to CLKIN (or to TCK for TRST). Tie or pull unused inputs to VDDEXT or GND, except for the following: * DAI_Px, SPICLK, MISO, MOSI, EMU, TMS, TRST, TDI, and AD15-0 (NOTE: These pins have pull-up resistors.) The following symbols appear in the Type column of Table 3: 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 Descriptions Pin AD15-0 Type I/O/T (pu) State During and After Reset Three-state with pull-up enabled RD O (pu) Three-state, driven high1 WR O (pu) Three-state, driven high1 ALE O (pd) Three-state, driven low1 FLAG3-0 I/O/A Three-state DAI_P20-1 I/O/T (pu) Three-state with programmable pull-up Function Parallel Port Address/Data. The ADSP-21365/ADSP-21366 parallel port and its corresponding DMA unit output addresses and data for peripherals on these multiplexed pins. The multiplex state is determined by the ALE pin. The parallel port can operate in either 8-bit or 16-bit mode. Each AD pin has a 22.5 k internal pull-up resistor. See Address/Data Modes on page 15 for details of the AD pin operation. For 8-bit mode: ALE is automatically asserted whenever a change occurs in the upper 16 external address bits, A23-8; ALE is used in conjunction with an external latch to retain the values of the A23-8. For detailed information on I/O operations and pin multiplexing, see the ADSP-2136x SHARC Processor Hardware Reference for the ADSP-21362/3/4/5/6 Processors. Parallel 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. Parallel 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. Parallel Port Address Latch Enable. ALE is asserted whenever the processor drives a new address on the parallel port address pins. On reset, ALE is active high. However, it can be reconfigured using software to be active low. When AD15-0 are flags, this pin remains deasserted. ALE has a 20 k internal pull-down resistor. Flag Pins. Each flag pin is configured via control bits as either an input or output. As an input, it can be tested as a condition. As an output, it can be used to signal external peripherals. These pins can be used as an SPI interface slave select output during SPI mastering. These pins are also multiplexed with the IRQx and the TIMEXP signals. For detailed information on I/O operations and pin multiplexing, see the ADSP-2136x SHARC Processor Hardware Reference for the ADSP-21362/3/4/5/6 Processors 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 pin's 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 generators 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. Rev. PrC | Page 12 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Table 3. Pin Descriptions (Continued) Pin SPICLK Type I/O (pu) State During and After Reset Three-state with pull-up enabled SPIDS I Input only MOSI I/O (O/D) (pu) Three-state with pull-up enabled MISO I/O (O/D) (pu) Three-state with pull-up enabled BOOTCFG1-0 I Input only CLKIN I Input only XTAL O Output only2 CLKCFG1-0 I Input only Function Serial Peripheral Interface Clock Signal. Driven by the master, this signal controls the rate at which data is transferred. The master may transmit data at a variety of baud rates. SPICLK cycles once for each bit transmitted. SPICLK is a gated clock that is active during data transfers, only for the length of the transferred word. Slave devices ignore the serial clock if the slave select input is driven inactive (HIGH). SPICLK is used to shift out and shift in the data driven on the MISO and MOSI lines. The data is always shifted out on one clock edge and sampled on the opposite edge of the clock. Clock polarity and clock phase relative to data are programmable into the SPICTL control register and define the transfer format. SPICLK has a 22.5 k internal pull-up resistor. Serial Peripheral Interface Slave Device Select. An active low signal used to select the processor as an SPI slave device. This input signal behaves like a chip select, and is provided by the master device for the slave devices. In multimaster mode the processor's SPIDS signal can be driven by a slave device to signal to the processor (as SPI master) that an error has occurred, as some other device is also trying to be the master device. If asserted low when the device is in master mode, it is considered a multimaster error. For a single-master, multiple-slave configuration where flag pins are used, this pin must be tied or pulled high to VDDEXT on the master device. For processor to processor SPI interaction, any of the master processor's flag pins can be used to drive the SPIDS signal on the SPI slave device. SPI Master Out Slave In. If the ADSP-21365/ADSP-21366 is configured as a master, the MOSI pin becomes a data transmit (output) pin, transmitting output data. If the processor is configured as a slave, the MOSI pin becomes a data receive (input) pin, receiving input data. In a SPI interconnection, the data is shifted out from the MOSI output pin of the master and shifted into the MOSI input(s) of the slave(s). MOSI has a 22.5 k internal pull-up resistor. SPI Master In Slave Out. If the ADSP-21365/ADSP-21366 is configured as a master, the MISO pin becomes a data receive (input) pin, receiving input data. If the processor is configured as a slave, the MISO pin becomes a data transmit (output) pin, transmitting output data. In a SPI interconnection, the data is shifted out from the MISO output pin of the slave and shifted into the MISO input pin of the master. MISO has a 22.5 k internal pull-up resistor. MISO can be configured as O/D by setting the OPD bit in the SPICTL register. Note: Only one slave is allowed to transmit data at any given time. To enable broadcast transmission to multiple SPI-slaves, the processor's MISO pin may be disabled by setting (=1) Bit 5 (DMISO) of the SPICTL register. Boot Configuration Select. This pin is used to select the boot mode for the processor. The BOOTCFG pins must be valid before reset is asserted. See Table 6 for a description of the boot modes. Local Clock In. Used in conjunction with XTAL. CLKIN is the ADSP-21365/ADSP-21366 clock input. It configures the ADSP-21365/ADSP-21366 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 processors 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. Crystal Oscillator Terminal. Used in conjunction with CLKIN to drive an external crystal. Core/CLKIN Ratio Control. These pins set the start up clock frequency. See Table 7 for a description of the clock configuration modes. Note that the operating frequency can be changed by programming the PLL multiplier and divider in the PMCTL register at any time after the core comes out of reset. Rev. PrC | Page 13 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data Table 3. Pin Descriptions (Continued) Pin Type RSTOUT/CLKOUT O State During and After Reset Output only RESET I/A Input only TCK I Input only3 TMS I/S (pu) I/S (pu) O I/A (pu) Three-state with pull-up enabled Three-state with pull-up enabled Three-state4 Three-state with pull-up enabled Three-state with pull-up enabled VDDINT O (O/D) (pu) P VDDEXT P AVDD P AVSS GND G G TDI TDO TRST EMU Function Local Clock Out/Reset Out. Drives out the core reset signal to an external device. 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. Processor Reset. Resets the ADSP-21365/ADSP-21366 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. 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 processors. Test Mode Select (JTAG). Used to control the test state machine. TMS has a 22.5 k internal pull-up resistor. Test Data Input (JTAG). Provides serial data for the boundary scan logic. TDI has a 22.5 k internal pull-up resistor. Test Data Output (JTAG). Serial scan output of the boundary scan path. 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-21365/ADSP-21366. TRST has a 22.5 k internal pull-up resistor. Emulation Status. Must be connected to the processor's JTAG emulators target board connector only. EMU has a 22.5 k internal pull-up resistor. Core Power Supply. Nominally +1.2 V dc and supplies the processor's core (13 pins on the mini-BGA package, 32 pins on the LQFP package). I/O Power Supply. Nominally +3.3 V dc. (6 pins on the mini-BGA package, 10 pins on the LQFP package). Analog Power Supply. Nominally +1.2 V dc and supplies the processor's internal PLL (clock generator). This pin has the same specifications as VDDINT, except that added filtering circuitry is required. For more information, see Power Supplies on page 9. Analog Power Supply Return. Power Supply Return. (54 pins on the Mini-BGA package, 39 pins on the LQFP package). 1 RD, WR, and ALE are three-stated (and not driven) only when RESET is active. Output only is a three-state driver with its output path always enabled. 3 Input only is a three-state driver with both output path and pull-up disabled. 4 Three-state is a three-state driver with pull-up disabled. 2 Rev. PrC | Page 14 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 ADDRESS DATA PINS AS FLAGS BOOT MODES To use these pins as flags (FLAGS15-0) set (=1) Bit 20 of the SYSCTL register to disable the parallel port. Then set (=1) Bits 22 to 25 in the SYSCTL register accordingly. Table 4. AD15-0 to Flag Pin Mapping AD Pin AD0 AD1 AD2 AD3 AD4 AD5 AD6 AD7 Flag Pin FLAG8 FLAG9 FLAG10 FLAG11 FLAG12 FLAG13 FLAG14 FLAG15 AD Pin AD8 AD9 AD10 AD11 AD12 AD13 AD14 AD15 Flag Pin FLAG0 FLAG1 FLAG2 FLAG3 FLAG4 FLAG5 FLAG6 FLAG7 ADDRESS/DATA MODES Table 6. Boot Mode Selection BOOTCFG1-0 00 01 10 CORE INSTRUCTION RATE TO CLKIN RATIO MODES For details on processor timing, see Timing Specifications and Figure 5 on Page 18. Table 7. Core Instruction Rate/CLKIN Ratio Selection CLKCFG1-0 00 01 10 The following table shows the functionality of the AD pins for 8-bit and 16-bit transfers to the parallel port. For 8-bit data transfers, ALE latches address bits A23-A8 when asserted, followed by address bits A7-A0 and data bits D7-D0 when deasserted. For 16-bit data transfers, ALE latches address bits A15-A0 when asserted, followed by data bits D15-D0 when deasserted. Table 5. Address/Data Mode Selection PP Data Mode 8-bit 8-bit 16-bit 16-bit ALE Asserted Deasserted Asserted Deasserted AD7-0 Function A15-8 D7-0 A7-0 D7-0 AD15-8 Function A23-16 A7-0 A15-8 D15-8 Rev. PrC | Booting Mode SPI Slave Boot SPI Master Boot Parallel Port boot via EPROM Page 15 of 56 | May 2005 Core to CLKIN Ratio 6:1 32:1 16:1 ADSP-21365/ADSP-21366 Preliminary Technical Data ADSP-21365/ADSP-21366 SPECIFICATIONS RECOMMENDED OPERATING CONDITIONS Parameter1 K Grade B Grade C Grade Min Max Min Max Min Max Unit VDDINT Internal (Core) Supply Voltage 1.14 1.26 1.14 1.26 0.95 1.05 V AVDD Analog (PLL) Supply Voltage 1.14 1.26 1.14 1.26 0.95 1.05 V VDDEXT External (I/O) Supply Voltage 3.13 3.47 3.13 3.47 3.13 3.47 V VIH High Level Input Voltage @ VDDEXT = max 2.0 VDDEXT + 0.5 2.0 VDDEXT + 0.5 2.0 VDDEXT + 0.5 V VIL2 Low Level Input Voltage @ VDDEXT = min -0.5 +0.8 -0.5 +0.8 -0.5 +0.8 V VIH_CLKIN3 High Level Input Voltage @ VDDEXT = max 1.74 VDDEXT + 0.5 1.74 VDDEXT + 0.5 1.74 VDDEXT + 0.5 V VIL_CLKIN Low Level Input Voltage @ VDDEXT = min -0.5 +1.19 -0.5 +1.19 -0.5 +1.19 V Ambient Operating Temperature 0 +70 -40 +85 -40 +105 C 2 4, 5 TAMB 1 Specifications subject to change without notice. Applies to input and bidirectional pins: AD15-0, FLAG3-0, DAI_Px, SPICLK, MOSI, MISO, SPIDS, BOOTCFGx, CLKCFGx, RESET, TCK, TMS, TDI, TRST. 3 Applies to input pin CLKIN. 4 See Thermal Characteristics on page 45 for information on thermal specifications. 5 See Engineer-to-Engineer Note (No. TBD) for further information. 2 ELECTRICAL CHARACTERISTICS Parameter1 VOH2 VOL 4, 5 IIH IIL4 Max 2.4 3 Unit V Low Level Output Voltage @ VDDEXT = min, IOL = 1.0 mA 0.4 V High Level Input Current @ VDDEXT = max, VIN = VDDEXT max 10 A Low Level Input Current @ VDDEXT = max, VIN = 0 V 10 A 5 Low Level Input Current Pull-Up @ VDDEXT = max, VIN = 0 V 200 A 6, 7 Three-State Leakage Current @ VDDEXT= max, VIN = VDDEXT max 10 A 6 Three-State Leakage Current @ VDDEXT = max, VIN = 0 V 10 A Three-State Leakage Current Pull-Up @ VDDEXT = max, VIN = 0 V 200 A Supply Current (Internal) tCCLK = min, VDDINT = nom 500 mA Supply Current (Analog) AVDD = max 10 mA Input Capacitance fIN=1 MHz, TCASE=25C, VIN=1.2V 4.7 pF IILPU IOZH IOZLPU7 8, 9 IDD-INTYP AIDD CIN Min @ VDDEXT = min, IOH = -1.0 mA3 High Level Output Voltage 2 IOZL Test Conditions 10 11, 12 1 Specifications subject to change without notice. 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 44 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. 2 Rev. PrC | Page 16 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 MAXIMUM POWER DISSIPATION The data in this table is based on theta JA (JA) established per JEDEC standards JESD51-2 and JESD51-6. See Engineer-toEngineer Note (EE-TBD) for further information. For information on package thermal specifications, see Thermal Characteristics on page 45. Max Ambient Temp1 70C 85C 105C 144 INT-HS LQFP2 3.33 W 2.42 W 1.21 W 144 INT-HS LQFP3 2.10 N/A N/A 136 MiniBGA4 2.35 W 1.71 W N/A 136 MiniBGA5 2.16 W N/A N/A 1 Power Dissipation greater than that listed above may cause permanent damage to the device. For more information, see Thermal Characteristics on page 45. 2 Heat slug soldered to PCB 3 Heat slug not soldered to PCB 4 Thermal vias in PCB 5 No thermal vias in PCB ABSOLUTE MAXIMUM RATINGS Parameter Internal (Core) Supply Voltage (VDDINT)1 Analog (PLL) Supply Voltage (AVDD)1 External (I/O) Supply Voltage (VDDEXT)1 Input Voltage -0.5 V to VDDEXT1 Output Voltage Swing -0.5 V to VDDEXT1 Load Capacitance1 Storage Temperature Range1 Junction Temperature under Bias 1 Rating -0.3 V to +1.5 V -0.3 V to +1.5 V -0.3 V to +4.6 V +0.5 V +0.5 V 200 pF -65C to +150C 125C 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. ESD SENSITIVITY CAUTION ESD (electrostatic discharge) sensitive device. Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection. Although the ADSP-21365/ADSP-21366 feature 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. Rev. PrC | Page 17 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data TIMING SPECIFICATIONS The ADSP-21365/ADSP-21366's internal clock (a multiple of CLKIN) provides 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 7 on Page 15). 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). Table 9. Clock Periods Timing Requirements tCK tCCLK tPCLK tSCLK tSPICLK 1 The ADSP-21365/ADSP-21366'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 system clock (CLKIN) signal and the processor's internal clock (the clock source for the parallel port logic and I/O pads). Table 8. ADSP-21365/ADSP-21366 CLKOUT and CCLK Clock Generation Operation Description Input Clock Core Clock 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 Switching Characteristics specify how the processor changes its signals. Circuitry external to the processor must be designed for compatibility with these signal characteristics. Switching characteristics 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. Note the definitions of various clock periods that are a function of CLKIN and the appropriate ratio control shown in Table 8. Timing Requirements CLKIN CCLK Description1 CLKIN Clock Period (Processor) Core Clock Period (Peripheral) Clock Period = 2 x tCCLK Serial Port Clock Period = (tPCLK) x SR SPI Clock Period = (tPCLK) x SPIR Timing Requirements apply to signals that are controlled by circuitry external to the processor, such as the data input for a read operation. Timing requirements guarantee that the processor operates correctly with other devices. Calculation 1/tCK 1/tCCLK Figure 5 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 38 on Page 44 under Test Conditions for voltage reference levels. PLLICLK CLKOUT CLKIN XTAL XTAL OSC INDIV /1, 2 PLLM DIVEN /2, 4, 8, 16 CCLK (CORE CLOCK) PCLK, MCLK (PERIPHERAL CLOCK, MASTER CLOCK) CLK-CFG [1:0] (6:1, 16:1, 32:1) Figure 5. Core Clock and System Clock Relationship to CLKIN Rev. PrC | Page 18 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Power-Up Sequencing The timing requirements for processor startup are given in Table 10. Table 10. Power Up Sequencing Timing Requirements (Processor Startup) Parameter Timing Requirements tRSTVDD tIVDDEVDD tCLKVDD1 tCLKRST tPLLRST Min RESET Low Before VDDINT/VDDEXT on VDDINT on Before VDDEXT CLKIN Valid After VDDINT/VDDEXT Valid CLKIN Valid Before RESET Deasserted PLL Control Setup Before RESET Deasserted 0 -50 0 102 20 Switching Characteristic Core Reset Deasserted After RESET Deasserted tCORERST Max 200 200 Unit ns ms ms s s 4096tCK + 2 tCCLK 3, 4 1 Valid VDDINT/VDDEXT assumes that the supplies are fully ramped to their 1.2 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 start-up timing of crystal oscillators. Refer to your crystal oscillator manufacturer's data sheet for start-up time. Assume a 25 ms maximum oscillator start-up time if using the XTAL pin and internal oscillator circuit in conjunction with an external crystal. 3 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. 4 The 4096 cycle count depends on tSRST specification in Table 12. If setup time is not met, 1 additional CLKIN cycle may be added to the core reset time, resulting in 4097 cycles maximum. RESET tRSTVDD VDDINT tIVDDEVDD tCLKVDD VDDEXT CLKIN tCLKRST CLK_CFG1-0 tCORERST tPLLRST RSTOUT Figure 6. Power-Up Sequencing Rev. PrC | Page 19 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data Clock Input Table 11. Clock Input Parameter Min Timing Requirements tCK CLKIN Period tCKL CLKIN Width Low tCKH CLKIN Width High tCKRF CLKIN Rise/Fall (0.4 V-2.0 V) tCCLK3 CCLK Period 181 7.51 7.51 3.01 1 Applies only for CLKCFG1-0 = 00 and default values for PLL control bits in PMCTL. Applies only for CLKCFG1-0 = 01 and default values for PLL control bits in PMCTL. 3 Any changes to PLL control bits in the PMCTL register must meet core clock timing specification tCCLK. 2 tCK CLKIN tCKH tCKL Figure 7. Clock Input Clock Signals The ADSP-21364 can use an external clock or a crystal. See the CLKIN pin description in Table 3 on Page 12. The user application program can configure the ADSP-21364 to use its internal clock generator by connecting the necessary components to the CLKIN and XTAL pins. Figure 8 shows the component connections used for a fundamental frequency crystal operating in parallel 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.72 MHz). To achieve the full core clock rate, programs need to configure the multiplier bits in the PMCTL register. ADSP-2136X R1 1M* CLKIN XTAL R2 47* C1 22pF Y1 C2 22pF 24.576MHz R2 SHOULD BE CHOSEN TO LIMIT CRYSTAL DRIVE POWER. REFER TO CRYSTAL MANUFACTURER'S SPECIFICATIONS *TYPICAL VALUES Figure 8. 333 MHz Operation (Fundamental Mode Crystal) Rev. PrC | Page 20 of 56 | May 2005 333 MHz Max 3202 1502 1502 3 10 Unit ns ns ns ns ns Preliminary Technical Data ADSP-21365/ADSP-21366 Reset Table 12. Reset Parameter Timing Requirements tWRST1 RESET Pulse Width Low tSRST RESET Setup Before CLKIN Low 1 Min Max Unit 4tCK 8 ns ns 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). CLKIN tSRST tWRST RESET Figure 9. 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 13. Interrupts Parameter Timing Requirement tIPW IRQx Pulse Width Min 2 x tPCLK +2 DAI20-1 FLAG2-0 (IRQ2-0) tIPW Figure 10. Interrupts Rev. PrC | Page 21 of 56 | May 2005 Max Unit ns ADSP-21365/ADSP-21366 Preliminary Technical Data Core Timer The following timing specification applies to FLAG3 when it is configured as the core timer (CTIMER). Table 14. Core Timer Parameter Switching Characteristic tWCTIM CTIMER Pulse Width Min Max 2 x tPCLK - 1 Unit ns tWCTIM FLAG3 (CTIMER) Figure 11. Core Timer 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 15. Timer PWM_OUT Timing Parameter Switching Characteristic tPWMO Timer Pulse Width Output Min Max Unit 2 tPCLK - 1 2(231 - 1) tPCLK ns tPWMO DAI_P20-1 (TIMER2-0) Figure 12. Timer PWM_OUT Timing Rev. PrC | Page 22 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 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. Table 16. Timer Width Capture Timing Parameter Timing Requirement tPWI Timer Pulse Width Min Max Unit 2 tPCLK 2(231- 1) tPCLK ns tPWI DAI_P20-1 (TIMER2-0) Figure 13. Timer Width Capture Timing DAI Pin to Pin Direct Routing For direct pin connections only (for example, DAI_PB01_I to DAI_PB02_O). Table 17. DAI Pin to Pin Routing Parameter Timing Requirement tDPIO Delay DAI Pin Input Valid to DAI Output Valid Min Max Unit 1.5 10 ns DAI_Pn DAI_Pm tDPIO Figure 14. DAI Pin to Pin Direct Routing Rev. PrC | Page 23 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data 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 parameters and switching characteristics apply to external DAI pins (DAI_P01 - DAI_P20). Table 18. Precision Clock Generator (Direct Pin Routing) Parameter Min Max Unit Timing Requirements tPCGIP Input Clock Period 20 ns tSTRIG PCG Trigger Setup Before Falling Edge of PCG Input 4.5 ns Clock tHTRIG PCG Trigger Hold After Falling Edge of PCG Input 3 ns Clock Switching Characteristics tDPCGIO PCG Output Clock and Frame Sync Active Edge Delay After PCG Input Clock 2.5 10 ns tDTRIGCLK PCG Output Clock Delay After PCG Trigger 2.5 + ((2.5 + D) x tPCGIP) 10 + ((2.5 + D) x tPCGIP) ns tDTRIGFS PCG Frame Sync Delay After PCG Trigger 2.5 + ((2.5 + D - PH) x tPCGIP) 10 + ((2.5 + D - PH) x tPCGIP) ns tPCGOP Output Clock Period 2 x tPCGIP1 ns D = FSxDIV, PH = FSxPHASE. For more information, see the ADSP-2136x SHARC Processor Hardware Reference for the ADSP-21362/3/4/5/6 Processors "Precision Clock Generators" chapter. 1 In Normal mode, tPCGOP (min) = 2 x tPCGIP. tSTRIG tHTRIG DAI_Pn PCG_TRIGx_I tPCGIP DAI_Pm PCG_EXTx_I (CLKIN) tDPCGIO DAI_Py PCG_CLKx_O tDTRIGCLK tDPCGIO DAI_Pz PCG_FSx_O tDTRIGFS Figure 15. Precision Clock Generator (Direct Pin Routing) Rev. PrC | Page 24 of 56 | May 2005 tPCGOP Preliminary Technical Data ADSP-21365/ADSP-21366 Flags The timing specifications provided below apply to the FLAG3-0 and DAI_P20-1 pins, the parallel port, and the serial peripheral interface (SPI). See Table 3, "Pin Descriptions," on Page 12 for more information on flag use. Table 19. Flags Parameter Timing Requirement tFIPW FLAG3-0 IN Pulse Width Min Switching Characteristic tFOPW FLAG3-0 OUT Pulse Width ns 2 x tPCLK - 1 ns tFIPW DAI_P20-1 (FLAG3-0OUT ) (DATA31-0) tFOPW Figure 16. Flags Page 25 of 56 | Unit 2 x tPCLK + 3 DAI_P20-1 (FLAG3-0IN) (DATA31-0) Rev. PrC | Max May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data Memory Read--Parallel Port Use these specifications for asynchronous interfacing to memories (and memory-mapped peripherals) when the ADSP-21365/ADSP-21366 is accessing external memory space. Table 20. 8-Bit Memory Read Cycle Parameter Timing Requirements AD7-0 Data Setup Before RD High tDRS1 tDRH AD7-0 Data Hold After RD High tDAD1 AD15-8 Address to AD7-0 Data Valid Min 2 tRWALE tALERW tALEW tRRH RD tRW tRDDRV WR tDAWH tADAS AD15-8 tADRH tADAH VALID ADDRESS VALID ADDRESS VALID ADDRESS tDAD AD7-0 D + tPCLK - 5 ns ns ns tPCLK + 3 The timing specified here is sufficient to satisfy either tDAD or tDRS as they are independent. On reset, ALE is an active high cycle. However, it can be configured by software to be active low. ALE Unit 3.3 0 Switching Characteristics tALEW ALE Pulse Width 2 x tPCLK - 2.0 tADAS2 AD15-0 Address Setup Before ALE Deasserted tPCLK - 2.5 tRRH Delay Between RD Rising Edge to Next Falling Edge H + tPCLK - 1.4 tALERW ALE Deasserted to Read Asserted 2 x tPCLK - 3.8 Read Deasserted to ALE Asserted F + H + 0.5 tRWALE tADAH2 AD15-0 Address Hold After ALE Deasserted tPCLK - 2.3 2 tALEHZ ALE Deasserted to AD7-0 Address in High Z tPCLK tRW RD Pulse Width D-2 tRDDRV AD7-0 ALE Address Drive After Read High F + H + tPCLK - 2.3 tADRH AD15-8 Address Hold After RD High H AD15-8 Address To RD High D + tPCLK - 4 tDAWH D = (data cycle duration = the value set by the PPDUR bits (5-1) in the PPCTL register) x tPCLK H = tPCLK (if a hold cycle is specified, else H = 0) F = 7 x tPCLK (if FLASH_MODE is set else F = 0) tPCLK = (peripheral) clock period = 2 x tCCLK 1 Max VALID ADDRESS tDRS tALEHZ NOTE: MEMORY READS ALWAYS OCCUR IN GROUPS OF FOUR BETWEEN ALE CYCLES. THIS FIGURE ONLY SHOWS TWO MEMORY READS IN ORDER TO PROVIDE THE NECESSARY TIMING INFORMATION. Figure 17. Read Cycle for 8-Bit Memory Timing Rev. PrC | Page 26 of 56 | tDRH VALID DATA VALID DATA May 2005 VALID ADDRESS VALID ADDRESS ns ns ns ns ns ns ns ns ns ns ns Preliminary Technical Data ADSP-21365/ADSP-21366 Table 21. 16-bit Memory Read Cycle Parameter Timing Requirements tDRS tDRH Min AD15-0 Data Setup Before RD High AD15-0 Data Hold After RD High Max 3.3 0 ns ns Switching Characteristics tALEW ALE Pulse Width 2 x tPCLK - 2 AD15-0 Address Setup Before ALE Deasserted tPCLK - 2.5 tADAS1 tALERW ALE Deasserted to Read Asserted 2 x tPCLK - 3.8 tRRH2 Delay Between RD Rising Edge to Next Falling Edge H + tPCLK - 1.4 tRWALE Read Deasserted to ALE Asserted F + H + 0.5 tRDDRV ALE Address Drive After Read High F + H + tPCLK - 2.3 tADAH1 AD15-0 Address Hold After ALE Deasserted tPCLK - 2.3 1 ALE Deasserted to Address/Data15-0 in High Z tPCLK tALEHZ tRW RD Pulse Width D-2 D = (data cycle duration = the value set by the PPDUR bits (5-1) in the PPCTL register) x tPCLK H = tPCLK (if a hold cycle is specified, else H = 0) F = 7 x tPCLK (if FLASH_MODE is set else F = 0) tPCLK = (peripheral) clock period = 2 x tCCLK 1 2 On reset, ALE is an active high cycle. However, it can be configured by software to be active low. This parameter is only available when in EMPP = 0 mode. tRWALE tALERW ALE tALEW tRRH RD tRW WR tALEHZ tADAS AD15-0 tADAH VALID ADDRESS tRDDRV tDRS tDRH VALID DATA VALID DATA VALID ADDRESS NOTE: FOR 16-BIT MEMORY READS, WHEN EMPP 0, ONLY ONE RD PULSE OCCURS BETWEEN ALE CYCLES. WHEN EMPP = 0, MULTIPLE RD PULSES OCCUR BETWEEN ALE CYCLES. FOR COMPLETE INFORMATION, SEE THE ADSP-2136X SHARC PROCESSOR HARDWARE REFERENCE. Figure 18. Read Cycle for 16-Bit Memory Timing Rev. PrC | Page 27 of 56 | May 2005 Unit tPCLK + 3 ns ns ns ns ns ns ns ns ns ns ADSP-21365/ADSP-21366 Preliminary Technical Data Memory Write--Parallel Port Use these specifications for asynchronous interfacing to memories (and memory-mapped peripherals) when the ADSP-21365/ADSP-21366 is accessing external memory space. Table 22. 8-Bit Memory Write Cycle Parameter Min Switching Characteristics: ALE Pulse Width 2 x tPCLK - 2 tALEW tADAS1 AD15-0 Address Setup Before ALE Deasserted tPCLK - 2.8 tALERW ALE Deasserted to Write Asserted 2 x tPCLK - 3.8 tRWALE Write Deasserted to ALE Asserted H + 0.5 tWRH Delay Between WR Rising Edge to Next WR Falling Edge H + tPCLK - 2.3 tADAH1 AD15-0 Address Hold After ALE Deasserted tPCLK - 0.5 WR Pulse Width D-2 tWW tADWL AD15-8 Address to WR Low tPCLK - 2.5 tADWH AD15-8 Address Hold After WR High H tDWS AD7-0 Data Setup Before WR High D + tPCLK - 4 tDWH AD7-0 Data Hold After WR High H tDAWH AD15-8 Address to WR High D + tPCLK - 4 D = (data cycle duration = the value set by the PPDUR bits (5-1) in the PPCTL register) x tPCLK. H = tPCLK (if a hold cycle is specified, else H = 0) tPCLK = (peripheral) clock period = 2 x tCCLK 1 On reset, ALE is an active high cycle. However, it can be configured by software to be active low. ALE tALERW tALEW tRWALE tWW WR tWRH tADWL tDAWH RD tADAS tADAH tADWH AD15-8 VALID ADDRESS VALID ADDRESS VALID ADDRESS tDWH tDWS AD7-0 VALID ADDRESS VALID DATA VALID DATA NOTE: MEMORY WRITES ALWAYS OCCUR IN GROUPS OF FOUR BETWEEN ALE CYCLES. THIS FIGURE ONLY SHOWS TWO MEMORY WRITES IN ORDER TO PROVIDE THE NECESSARY TIMING INFORMATION. Figure 19. Write Cycle for 8-Bit Memory Timing Rev. PrC | Page 28 of 56 | May 2005 Max Unit ns ns ns ns ns ns ns ns ns ns ns ns Preliminary Technical Data ADSP-21365/ADSP-21366 Table 23. 16-Bit Memory Write Cycle Parameter Min Switching Characteristics tALEW ALE Pulse Width 2 x tPCLK - 2 AD15-0 Address Setup Before ALE Deasserted tPCLK - 2.5 tADAS1 tALERW ALE Deasserted to Write Asserted 2 x tPCLK - 3.8 tRWALE Write Deasserted to ALE Asserted H + 0.5 tWRH2 Delay Between WR Rising Edge to Next WR Falling Edge H + tPCLK - 2.3 tADAH1 AD15-0 Address Hold After ALE Deasserted tPCLK - 2.3 tWW WR Pulse Width D-2 tDWS AD15-0 Data Setup Before WR High D + tPCLK - 4 AD15-0 Data Hold After WR High H tDWH D = (data cycle duration = the value set by the PPDUR bits (5-1) in the PPCTL register) x tPCLK. H = tPCLK (if a hold cycle is specified, else H = 0) tPCLK = (peripheral) clock period = 2 x tCCLK 1 2 Max ns ns ns ns ns ns ns ns ns On reset, ALE is an active high cycle. However, it can be configured by software to be active low. This parameter is only available when in EMPP = 0 mode. tALEW tALERW ALE tRWALE tWW WR tWRH RD tADAS AD15-0 tDWH tADAH VALID ADDRESS VALID DATA VALID DATA tDWS NOTE: FOR 16-BIT MEMORY WRITES, WHEN EMPP 0, ONLY ONE WR PULSE OCCURS BETWEEN ALE CYCLES. WHEN EMPP = 0, MULTIPLE WR PULSES OCCUR BETWEEN ALE CYCLES. FOR COMPLETE INFORMATION, SEE THE ADSP-2136X SHARC PROCESSOR HARDWARE REFERENCE. Figure 20. Write Cycle for 16-Bit Memory Timing Rev. PrC | Page 29 of 56 | May 2005 Unit VALID ADDRESS ADSP-21365/ADSP-21366 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 24. Serial Ports--External Clock Parameter Timing Requirements tSFSE1 FS Setup Before SCLK (Externally Generated FS in Either Transmit or Receive Mode) tHFSE1 FS Hold After SCLK (Externally Generated FS in Either Transmit or Receive Mode) 1 tSDRE Receive Data Setup Before Receive SCLK tHDRE1 Receive Data Hold After SCLK tSCLKW SCLK Width tSCLK SCLK Period Switching Characteristics tDFSE2 FS Delay After SCLK (Internally Generated FS in Either Transmit or Receive Mode) tHOFSE2 FS Hold After SCLK (Internally Generated FS in Either Transmit or Receive Mode) tDDTE2 Transmit Data Delay After Transmit SCLK tHDTE2 Transmit Data Hold After Transmit SCLK 1 2 Min Max Unit 2.5 ns 2.5 2.5 2.5 12 24 ns ns ns ns ns 9.5 ns 9.5 ns ns ns 2 2 Referenced to sample edge. Referenced to drive edge. Table 25. Serial Ports--Internal Clock Parameter Timing Requirements tSFSI1 FS Setup Before SCLK (Externally Generated FS in Either Transmit or Receive Mode) FS Hold After SCLK tHFSI1 (Externally Generated FS in Either Transmit or Receive Mode) 1 tSDRI Receive Data Setup Before SCLK tHDRI1 Receive Data Hold After SCLK Switching Characteristics tDFSI2 FS Delay After SCLK (Internally Generated FS in Transmit Mode) FS Hold After SCLK (Internally Generated FS in Transmit Mode) tHOFSI2 2 tDFSI FS Delay After SCLK (Internally Generated FS in Receive Mode) tHOFSI2 FS Hold After SCLK (Internally Generated FS in Receive Mode) tDDTI2 Transmit Data Delay After SCLK 2 tHDTI Transmit Data Hold After SCLK tSCLKIW Transmit or Receive SCLK Width 1 2 Referenced to the sample edge. Referenced to drive edge. Rev. PrC | Page 30 of 56 | May 2005 Min Max Unit 7 ns 2.5 7 2.5 ns ns ns 3 -1.0 8 -1.0 3 -1.0 0.5tSCLK - 2 0.5tSCLK + 2 ns ns ns ns ns ns ns Preliminary Technical Data ADSP-21365/ADSP-21366 Table 26. Serial Ports--Enable and Three-State Parameter Switching Characteristics tDDTEN1 Data Enable from External Transmit SCLK Data Disable from External Transmit SCLK tDDTTE1 tDDTIN1 Data Enable from Internal Transmit SCLK 1 Min Max Unit 7 ns ns ns Max Unit 9 ns ns 2 -1 Referenced to drive edge. Table 27. Serial Ports--External Late Frame Sync Parameter Min Switching Characteristics tDDTLFSE1 Data Delay from Late External Transmit FS or External Receive FS with MCE = 1, MFD = 0 tDDTENFS1 Data Enable for MCE = 1, MFD = 0 0.5 1 The tDDTLFSE and tDDTENFS parameters apply to left-justified sample pair as well as DSP serial mode, and MCE = 1, MFD = 0. EXTERNAL RECEIVE FS WITH MCE = 1, MFD = 0 DAI_P20-1 (SCLK) DRIVE SAMPLE DRIVE tSFSE/I tHFSE/I DAI_P20-1 (FS) tDDTE/I tDDTENFS tHDTE/I DAI_P20-1 (DATA CHANNEL A/B) 1ST BIT 2ND BIT tDDTLFSE LATE EXTERNAL TRANSMIT FS DAI_P20-1 (SCLK) DRIVE SAMPLE tSFSE/I DRIVE tHFSE/I DAI_P20-1 (FS) tDDTE/I tDDTENFS tHDTE/I DAI_P20-1 (DATA CHANNEL A/B) 1ST BIT 2ND BIT tDDTLFSE 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. Figure 21. External Late Frame Sync1 1 This figure reflects changes made to support left-justified sample pair mode. Rev. PrC | Page 31 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data DATA RECEIVE--EXTERNAL CLOCK DATA RECEIVE--INTERNAL CLOCK DRIVE EDGE DRIVE EDGE SAMPLE EDGE SAMPLE EDGE tSCLKIW tSCLKW DAI_P20-1 (SCLK) DAI_P20-1 (SCLK) tDFSI tDFSE tHFSI tSFSI tHOFSI DAI_P20-1 (FS) tHFSE tSFSE tHOFSE DAI_P20-1 (FS) tSDRI tHDRI DAI_P20-1 (DATA CHANNEL A/B) tSDRE tHDRE DAI_P20-1 (DATA CHANNEL A/B) NOTE: EITHER THE RISING EDGE OR FALLING EDGE OF SCLK (EXTERNAL), SCLK (INTERNAL) CAN BE USED AS THE ACTIVE SAMPLING EDGE. DATA TRANSMIT--INTERNAL CLOCK DRIVE EDGE DATA TRANSMIT--EXTERNAL CLOCK SAMPLE EDGE DRIVE EDGE SAMPLE EDGE tSCLKIW tSCLKW DAI_P20-1 (SCLK) DAI_P20-1 (SCLK) tDFSI tHOFSI tSFSI tDFSE tHFSI tHOFSE tSFSE tHFSE DAI_P20-1 (FS) DAI_P20-1 (FS) tDDTI tHDTI tHDTE tDDTE DAI_P20-1 (DATA CHANNEL A/B) DAI_P20-1 (DATA CHANNEL A/B) NOTE: EITHER THE RISING EDGE OR FALLING EDGE OF SCLK (EXTERNAL), SCLK (INTERNAL) CAN BE USED AS THE ACTIVE SAMPLING EDGE. DRIVE EDGE DRIVE EDGE DAI_P20-1 SCLK (EXT) SCLK tDDTEN tDDTTE DAI_P20-1 (DATA CHANNEL A/B) DRIVE EDGE DAI_P20-1 SCLK (INT) tDDTIN DAI_P20-1 (DATA CHANNEL A/B) Figure 22. Serial Ports Rev. PrC | Page 32 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Input Data Port (IDP) The timing requirements for the IDP are given in Table 28. 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 28. IDP Parameter Timing Requirements tSISFS1 FS Setup Before SCLK Rising Edge 1 tSIHFS FS Hold After SCLK Rising Edge SData Setup Before SCLK Rising Edge tSISD1 tSIHD1 SData Hold After SCLK Rising Edge tIDPCLKW Clock Width tIDPCLK Clock Period 1 Min 3 3 3 3 9 24 Max Unit ns ns ns ns ns ns 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. SAMPLE EDGE tIPDCLK DAI_P20-1 (SCLK) tIPDCLKW tSISFS tSIHFS DAI_P20-1 (FS) tSISD tSIHD DAI_P20-1 (SDATA) Figure 23. IDP Master Timing Rev. PrC | Page 33 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data 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. Parallel Data Acquisition Port (PDAP) The timing requirements for the PDAP are provided in Table 29. 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 Reference for the ADSP-21362/3/4/5/6 Processors. Note that the most Table 29. Parallel Data Acquisition Port (PDAP) 1 Parameter Timing Requirements tSPCLKEN1 PDAP_CLKEN Setup Before PDAP_CLK Sample Edge tHPCLKEN1 PDAP_CLKEN Hold After PDAP_CLK Sample Edge tPDSD1 PDAP_DAT Setup Before SCLK PDAP_CLK Sample Edge tPDHD1 PDAP_DAT Hold After SCLK PDAP_CLK Sample Edge Clock Width tPDCLKW tPDCLK Clock Period Min Max Unit 2.5 2.5 3.0 2.5 7.0 24 ns ns ns ns ns ns Switching Characteristics tPDHLDD Delay of PDAP Strobe After Last PDAP_CLK Capture Edge for a Word tPDSTRB PDAP Strobe Pulse Width 2 x tPCLK - 1 2 x tPCLK - 1 ns ns 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. SAMPLE EDGE t PDCLK t PDCLKW DAI_P20-1 (PDAP_CLK) t SPCLKEN t HPCLKEN DAI_P20-1 (PDAP_CLKEN) t PDSD t PDHD DATA DAI_P20-1 (PDAP_STROBE) tPDSTRB t PDHLDD Figure 24. PDAP Timing Rev. PrC | Page 34 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Pulse-Width Modulation Generators Table 30. PWM Timing Parameter Switching Characteristics tPWMW PWM Output Pulse Width tPWMP PWM Output Period Min Max Unit tPCLK - 2 2 x tPCLK - 1 (216 - 2) x tPCLK - 2 (216 - 1) x tPCLK ns ns tPWMW PWM OUTPUTS tPWMP Figure 25. PWM Timing 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 specifications provided in Table 31 are valid at the DAI_P20-1 pins. Table 31. SRC, Serial Input Port Parameter Timing Requirements tSRCSFS1 FS Setup Before SCLK Rising Edge tSRCHFS1 FS Hold After SCLK Rising Edge tSRCSD1 SData Setup Before SCLK Rising Edge tSRCHD1 SData Hold After SCLK Rising Edge tSRCCLKW Clock Width Clock Period tSRCCLK 1 Min 3 3 3 3 36 80 Max Unit ns ns ns ns ns ns 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. SAMPLE EDGE tSRCCLK DAI_P20-1 (SCLK) tSRCCLKW tSRCSFS tSRCHFS DAI_P20-1 (FS) tSRCSD tSRCHD DAI_P20-1 (SDATA) Figure 26. SRC Serial Input Port Timing Rev. PrC | Page 35 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data and delay specification with regard to SCLK. Note that SCLK rising edge is the sampling edge and the falling edge is the drive edge. 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 Table 32. SRC, Serial Output Port Parameter Timing Requirements FS Setup Before SCLK Rising Edge tSRCSFS1 tSRCHFS1 FS Hold After SCLK Rising Edge Min 3 3 Switching Characteristics tSRCTDD1 Transmit Data Delay After SCLK Falling Edge 1 tSRCTDH Transmit Data Hold After SCLK Falling Edge 1 Max ns ns 10.5 2 Unit ns ns 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. SAMPLE E DGE t S R C CL K t S RC C LK W DAI_P20-1 (SCLK) t SR C SF S t S RC H F S DAI_P20-1 (FS) t S RC T D D DAI_P20-1 (SDATA) t S R CTD H Figure 27. SRC Serial Output Port Timing Rev. PrC | Page 36 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 SPDIF Transmitter Serial data input to the SPDIF transmitter can be formatted as left-justified, I2S 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 28 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 LRCLK 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. RIGHT CHANNEL LEFT CHANNEL SCLK SDATA LSB MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB Figure 28. Right -Justified Mode Figure 29 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. RIGHT CHANNEL LRCLK LEFT CHANNEL SCLK SDATA MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB Figure 29. I2S-Justified Mode Figure 30 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. LRCLK RIGHT CHANNEL LEFT CHANNEL SCLK SDATA MSB MSB-1 MSB-2 LSB+2 LSB+1 LSB MSB MSB-1 MSB-2 Figure 30. Left-Justified Mode Rev. PrC | Page 37 of 56 | May 2005 LSB+2 LSB+1 LSB MSB MSB+1 ADSP-21365/ADSP-21366 Preliminary Technical Data SPDIF Transmitter Input Data Timing The timing requirements for the Input Port are given in Table 33. Input 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 33. SPDIF Transmitter Input Data Timing Parameter Timing Requirements tSISFS1 FS Setup Before SCLK Rising Edge tSIHFS1 FS Hold After SCLK Rising Edge tSISD1 SData Setup Before SCLK Rising Edge tSIHD1 SData Hold After SCLK Rising Edge Clock Width tSISCLKW tSISCLK Clock Period tSITXCLKW Transmit Clock Width tSITXCLK Transmit Clock Period 1 Min Max 3 3 3 3 36 80 9 20 Unit ns ns ns ns ns ns ns ns 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. tSITXCLKW SAMPLE EDGE tSITXCLK DAI_P20-1 (TXCLK) tSISCLKW DAI_P20-1 (SCLK) tSISFS tSIHFS DAI_P20-1 (FS) tSISD tSIHD DAI_P20-1 (SDATA) Figure 31. SPDIF Transmitter Input Timing 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 34. Over Sampling Clock (TXCLK) Switching Characteristics Parameter TXCLK Frequency for TXCLK = 768 x FS TXCLK Frequency for TXCLK = 512 x FS TXCLK Frequency for TXCLK = 384 x FS TXCLK Frequency for TXCLK = 256 x FS Frame Rate Min Rev. PrC | Page 38 of 56 | May 2005 Max 147.5 98.4 73.8 49.2 192.0 Unit MHz MHz MHz MHz kHz Preliminary Technical Data ADSP-21365/ADSP-21366 SPDIF Receiver The following section describes timing as it relates to the SPDIF receiver. Internal Digital PLL Mode In the internal digital phase-locked loop mode the internal PLL (digital PLL) generates the 512 x Fs clock. Table 35. SPDIF Receiver Output Timing (Internal Digital PLL Mode) Parameter Switching Characteristics LRCLK Delay After SCLK tDFSI tHOFSI LRCLK Hold After SCLK tDDTI Transmit Data Delay After SCLK tHDTI Transmit Data Hold After SCLK tSCLKIW1 Transmit SCLK Width tCCLK Core Clock Period 1 Min Max Unit 5 ns ns ns ns ns ns -2 5 -2 38 5 SCLK frequency is 64 x FS where FS = the frequency of LRCLK. DRIVE EDGE SAMPLE EDGE tSCLKIW DAI_P20-1 (SCLK) tDFSI tHOFSI DAI_P20-1 (FS) tHDTI tDDTI DAI_P20-1 (DATA CHANNEL A/B) Figure 32. SPDIF Receiver Internal Digital PLL Mode Timing Rev. PrC | Page 39 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data SPI Interface--Master The ADSP-21365/ADSP-21366 contains two SPI ports. The primary has dedicated pins and the secondary is available through the DAI. The timing provided in Table 36 and Table 37 applies to both. Table 36. SPI Interface Protocol--Master Switching and Timing Specifications Parameter Timing Requirements tSSPIDM Data Input Valid to SPICLK Edge (Data Input Setup Time) tHSPIDM SPICLK Last Sampling Edge to Data Input Not Valid Min Switching Characteristics tSPICLKM Serial Clock Cycle Serial Clock High Period tSPICHM tSPICLM Serial Clock Low Period tDDSPIDM SPICLK Edge to Data Out Valid (Data Out Delay Time) tHDSPIDM SPICLK Edge to Data Out Not Valid (Data Out Hold Time) tSDSCIM FLAG3-0IN (SPI Device Select) Low to First SPICLK Edge tHDSM Last SPICLK Edge to FLAG3-0IN High Sequential Transfer Delay tSPITDM Max 8.2 2 ns ns 8 x tPCLK - 2 4 x tPCLK - 2 4 x tPCLK - 2 ns ns ns ns ns ns ns ns 2.5 2 4 x tPCLK - 2 4 x tPCLK - 2 4 x tPCLK - 1 FLAG3-0 (OUTPUT) tSDSCIM tSPICHM tSPICLM tSPICLM tSPICHM tSPICLKM tHDSM tSPIT DM SPICLK (CP = 0) (OUTPUT) SPICLK (CP = 1) (OUTPUT) t HDSPIDM tD D S P I D M MOSI (OUTPUT) MSB LSB tS S P I D M CPHASE = 1 tSSPIDM MSB VALID LSB VALID tDDSPIDM MOSI (OUTPUT) CPHASE = 0 MISO (INPUT) tH S P I D M tHSPIDM MISO (INPUT) tHDSPIDM MSB tSSPIDM LSB tHSPIDM MSB VALID LSB VALID Figure 33. SPI Master Timing Rev. PrC | Page 40 of 56 | May 2005 Unit Preliminary Technical Data ADSP-21365/ADSP-21366 SPI Interface--Slave Table 37. SPI Interface Protocol --Slave Switching and Timing Specifications Parameter Timing Requirements tSPICLKS tSPICHS tSPICLS tSDSCO tHDS tSSPIDS tHSPIDS tSDPPW Min Serial Clock Cycle Serial Clock High Period Serial Clock Low Period SPIDS Assertion to First SPICLK Edge CPHASE = 0 CPHASE = 1 Last SPICLK Edge to SPIDS Not Asserted, CPHASE = 0 Data Input Valid to SPICLK edge (Data Input Setup Time) SPICLK Last Sampling Edge to Data Input Not Valid SPIDS Deassertion Pulse Width (CPHASE=0) Switching Characteristics tDSOE SPIDS Assertion to Data Out Active 1 tDSOE SPIDS Assertion to Data Out Active (SPI2) tDSDHI SPIDS Deassertion to Data High Impedance SPIDS Deassertion to Data High Impedance (SPI2) tDSDHI1 tDDSPIDS SPICLK Edge to Data Out Valid (Data Out Delay Time) tHDSPIDS SPICLK Edge to Data Out Not Valid (Data Out Hold Time) tDSOV SPIDS Assertion to Data Out Valid (CPHASE=0) 1 Max 4 x tPCLK - 2 2 x tPCLK - 2 2 x tPCLK - 2 ns ns ns ns 2 x tPCLK 2 x tPCLK 2 x tPCLK 2 2 2 x tPCLK 0 0 0 0 Unit ns ns ns ns 5 8 5 8 9.5 2 x tPCLK 5 x tPCLK ns ns ns ns ns ns ns The timing for these parameters applies when the SPI is routed through the signal routing unit. For more information, see the ADSP-2136x SHARC Processor Hardware Reference for the ADSP-21362/3/4/5/6 Processors, "Serial Peripheral Interface Port" chapter. Rev. PrC | Page 41 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data SPIDS (INPUT) t S P IC H S tSPICLS tSPICLKS tHDS SPICLK (CP = 0) (INPUT) tSPICLS tSDSCO SPICLK (CP = 1) (INPUT) tSPICHS tDSDHI tDDSPIDS tDSOE tSDPPW tDDSPIDS MISO (OUTPUT) tHDSPIDS MSB LSB tHSPIDS tSSPIDS CPHASE = 1 tSSPIDS MOSI (INPUT) MSB VALID LSB VALID tDSOV MISO (OUTPUT) LSB MSB CPHASE = 0 MOSI (INPUT) tHDSPIDS tDDSPIDS tD S O E tHSPIDS tSSPIDS MSB VALID LSB VALID Figure 34. SPI Slave Timing Rev. PrC | Page 42 of 56 | May 2005 tDSDHI Preliminary Technical Data ADSP-21365/ADSP-21366 JTAG Test Access Port and Emulation Table 38. JTAG Test Access Port and Emulation Parameter Timing Requirements tTCK TCK Period tSTAP TDI, TMS Setup Before TCK High tHTAP TDI, TMS Hold After TCK High tSSYS1 System Inputs Setup Before TCK High 1 tHSYS System Inputs Hold After TCK High tTRSTW TRST Pulse Width Min tCK 5 6 7 18 4tCK Switching Characteristics tDTDO TDO Delay from TCK Low 2 System Outputs Delay After TCK Low tDSYS 1 2 Max ns ns ns ns ns ns 7 tCK / 2 + 7 System Inputs = AD15-0, SPIDS, CLKCFG1-0, RESET, BOOTCFG1-0, MISO, MOSI, SPICLK, DAI_Px, FLAG3-0. System Outputs = MISO, MOSI, SPICLK, DAI_Px, AD15-0, RD, WR, FLAG3-0, CLKOUT, EMU, ALE. tTCK TCK tSTAP tHTAP TMS TDI tDTDO TDO tSSYS tHSYS SYSTEM INPUTS tDSYS SYSTEM OUTPUTS Figure 35. IEEE 1149.1 JTAG Test Access Port Rev. PrC | Page 43 of 56 | May 2005 Unit ns ns ADSP-21365/ADSP-21366 Preliminary Technical Data OUTPUT DRIVE CURRENTS CAPACITIVE LOADING Figure 36 shows typical I-V characteristics for the output drivers of the ADSP-21365/ADSP-21366. The curves represent the current drive capability of the output drivers as a function of output voltage. Output delays and holds are based on standard capacitive loads: 30 pF on all pins (see Figure 37). Figure 41 shows graphically how output delays and holds vary with load capacitance. The graphs of Figure 39, Figure 40, and Figure 41 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. 40 VOH 3.3V, 25C 20 12 3.47V, -45C 10 10 3.11V, 125C 0 -10 3.11V, 125C -20 3.3V, 25C -30 VOL 3.47V, -45C -40 0 0.5 1 1.5 2 2.5 SWEEP (VDDEXT) VOLTAGE (V) 3 y = 0.0467x + 1.6323 RISE AND FALL TIMES (ns) SOURCE (VDDEXT) CURRENT (mA) 30 RISE FALL 8 6 4 3.5 y = 0.045x + 1.524 2 0 Figure 36. ADSP-21365/ADSP-21366 Typical Drive 0 50 100 150 200 250 LOAD CAPACITANCE (pF) TEST CONDITIONS Figure 39. Typical Output Rise/Fall Time (20%-80%, VDDEXT = Max) The ac signal specifications (timing parameters) appear in Table 12 on Page 21 through Table 38 on Page 43. 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 37. 50 TO OUTPUT PIN 1.5V 30pF 12 RISE 10 RISE AND FALL TIMES (ns) Timing is measured on signals when they cross the 1.5 V level as described in Figure 38. All delays (in nanoseconds) are measured between the point that the first signal reaches 1.5 V and the point that the second signal reaches 1.5 V. y = 0.049x + 1.5105 FALL 8 6 y = 0.0482x + 1.4604 4 2 0 0 Figure 37. Equivalent Device Loading for AC Measurements (Includes All Fixtures) INPUT 1.5V OR OUTPUT 50 100 150 200 LOAD CAPACITANCE (pF) Figure 40. Typical Output Rise/Fall Time (20%-80%, VDDEXT = Min) 1.5V Figure 38. Voltage Reference Levels for AC Measurements Rev. PrC | Page 44 of 56 | May 2005 250 Preliminary Technical Data ADSP-21365/ADSP-21366 Values of JA are provided for package comparison and PCB design considerations. JA can be used for a first order approximation of TJ by the equation: 10 OUTPUT DELAY OR HOLD (ns) 8 T J = T A + ( JA x P D ) Y = 0.0488X - 1.5923 6 where: 4 TA = ambient temperature (C) Values of JC are provided for package comparison and PCB design considerations when an external heat sink is required. Note that the thermal characteristics values provided in Table 39 through Table 42 are modeled values. 2 0 -2 Table 39. Thermal Characteristics for 136 Ball Mini-BGA (No thermal vias in PCB) -4 0 50 100 150 200 LOAD CAPACITANCE (pF) Parameter JA JMA JMA JC JT JMT JMT Figure 41. Typical Output Delay or Hold vs. Load Capacitance (at Ambient Temperature) THERMAL CHARACTERISTICS The ADSP-21365/ADSP-21366 processor is rated for performance over the temperature range specified in Recommended Operating Conditions on page 16. Table 39 through Table 42 airflow measurements comply with JEDEC standards JESD51-2 and JESD51-6 and the junction-toboard measurement complies with JESD51-8. Test board and thermal via design comply with JEDEC standards JESD51-9 (mini-BGA) and JESD51-5 (integrated heat sink LQFP). The junction-to-case measurement complies with MIL-STD-883. All measurements use a 2S2P JEDEC test board. Industrial applications using the Mini-BGA package require thermal vias, to an embedded ground plane, in the PCB. Refer to JEDEC standard JESD51-9 for printed circuit board thermal ball land and thermal via design information. Industrial applications using the LQFP package require thermal trace squares and thermal vias, to an embedded ground plane, in the PCB. The bottom side heat slug must be soldered to the thermal trace squares. Refer to JEDEC standard JESD51-5 for more information. To determine the junction temperature of the device while on the application PCB, use: T J = T CASE + ( JT x P D ) where: TJ = junction temperature (C) TCASE = 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 39 and Table 41. Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Typical 25.40 21.90 20.90 5.07 0.140 0.330 0.410 Unit C/W C/W C/W C/W C/W C/W C/W Table 40. Thermal Characteristics for 136 Ball Mini-BGA (Thermal vias in PCB) Parameter JA JMA JMA JC JT JMT JMT Condition Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Typical 23.40 20.00 19.20 5.00 0.130 0.300 0.360 Unit C/W C/W C/W C/W C/W C/W C/W Table 41. Thermal Characteristics for 144-Lead Integrated Heat Sink (INT-HS) LQFP (With heat slug not soldered to PCB) Parameter JA JMA JMA JC JT JMT JMT PD = power dissipation (see EE Note #TBD) Rev. PrC | Condition Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Page 45 of 56 | May 2005 Condition Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Typical 26.08 24.59 23.77 6.83 0.236 0.427 0.441 Unit C/W C/W C/W C/W C/W C/W C/W ADSP-21365/ADSP-21366 Preliminary Technical Data Table 42. Thermal Characteristics for 144-Lead Integrated Heat Sink (INT-HS) LQFP (With heat slug soldered to PCB) Parameter JA JMA JMA JC JT JMT JMT Condition Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Airflow = 0 m/s Airflow = 1 m/s Airflow = 2 m/s Typical 16.50 15.14 14.35 6.83 0.129 0.255 0.261 Unit C/W C/W C/W C/W C/W C/W C/W Rev. PrC | Page 46 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 136-BALL BGA PIN CONFIGURATIONS The following table shows the ADSP-21365/ADSP-21366's pin names and their default function after reset (in parentheses). Table 43. 136-Ball Mini-BGA Pin Assignments Ball Name CLKCFG0 XTAL TMS TCK TDI CLKOUT TDO EMU MOSI MISO SPIDS VDDINT GND GND VDDINT GND GND GND GND GND GND GND GND FLAG3 Ball No. A01 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 E01 E02 E04 E05 E06 E09 E10 E11 E13 E14 Ball Name CLKCFG1 GND VDDEXT CLKIN TRST AVSS AVDD VDDEXT SPICLK RESET VDDINT GND GND GND FLAG1 FLAG0 GND GND GND GND GND GND FLAG2 DAI_P20 (SFS45) Rev. PrC | Ball No. B01 B02 B03 B04 B05 B06 B07 B08 B09 B10 B11 B12 B13 B14 F01 F02 F04 F05 F06 F09 F10 F11 F13 F14 Pin Name BOOTCFG1 BOOTCFG0 GND GND GND VDDINT Ball No. C01 C02 C03 C12 C13 C14 Pin Name VDDINT GND GND GND GND GND GND GND GND VDDINT Ball No. D01 D02 D04 D05 D06 D09 D10 D11 D13 D14 AD7 VDDINT VDDEXT DAI_P19 (SCLK45) G01 G02 G13 G14 AD6 VDDEXT DAI_P18 (SD5B) DAI_P17 (SD5A) H01 H02 H13 H14 Page 47 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data Table 43. 136-Ball Mini-BGA Pin Assignments (Continued) Ball Name AD5 AD4 GND GND GND GND GND GND VDDINT DAI_P16 (SD4B) AD15 ALE RD VDDINT VDDEXT AD8 VDDINT DAI_P2 (SD0B) VDDEXT DAI_P4 (SFS0) VDDINT VDDINT GND DAI_P10 (SD2B) Ball No. J01 J02 J04 J05 J06 J09 J10 J11 J13 J14 N01 N02 N03 N04 N05 N06 N07 N08 N09 N10 N11 N12 N13 N14 Ball Name AD3 VDDINT GND GND GND GND GND GND GND DAI_P15 (SD4A) AD14 AD13 AD12 AD11 AD10 AD9 DAI_P1 (SD0A) DAI_P3 (SCLK0) DAI_P5 (SD1A) DAI_P6 (SD1B) DAI_P7 (SCLK1) DAI_P8 (SFS1) DAI_P9 (SD2A) DAI_P11 (SD3A) Rev. PrC | Ball No. K01 K02 K04 K05 K06 K09 K10 K11 K13 K14 P01 P02 P03 P04 P05 P06 P07 P08 P09 P10 P11 P12 P13 P14 Pin Name AD2 AD1 GND GND GND GND GND GND GND DAI_P14 (SFS23) Page 48 of 56 | May 2005 Ball No. L01 L02 L04 L05 L06 L09 L10 L11 L13 L14 Pin Name AD0 WR GND GND DAI_P12 (SD3B) DAI_P13 (SCLK23) Ball No. M01 M02 M03 M12 M13 M14 Preliminary Technical Data ADSP-21365/ADSP-21366 14 13 12 11 10 9 8 7 6 5 4 3 2 1 A B C D E F G H J K L M N P KEY VDDINT GND* AVDD VDDEXT AVSS I/O SIGNALS *USE THE CENTER BLOCK OF GROUND PINS TO PROVIDE THERMAL PATHWAYS TO YOUR PRINTED CIRCUIT BOARD'S GROUND PLANE. Figure 42. 136-Ball Mini-BGA Pin Assignments (Bottom View, Summary) Rev. PrC | Page 49 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data 144-LEAD LQFP PIN CONFIGURATIONS The following table shows the ADSP-21365/ADSP-21366's pin names and their default function after reset (in parentheses). Table 44. 144-Lead LQFP Pin Assignments Pin Name VDDINT CLKCFG0 CLKCFG1 BOOTCFG0 BOOTCFG1 GND VDDEXT GND VDDINT GND VDDINT GND VDDINT GND FLAG0 FLAG1 AD7 GND VDDINT GND VDDEXT GND VDDINT AD6 AD5 AD4 VDDINT GND AD3 AD2 VDDEXT GND AD1 AD0 WR VDDINT Pin No. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 Pin Name VDDINT GND RD ALE AD15 AD14 AD13 GND VDDEXT AD12 VDDINT GND AD11 AD10 AD9 AD8 DAI_P1 (SD0A) VDDINT GND DAI_P2 (SD0B) DAI_P3 (SCLK0) GND VDDEXT VDDINT GND DAI_P4 (SFS0) DAI_P5 (SD1A) DAI_P6 (SD1B) DAI_P7 (SCLK1) VDDINT GND VDDINT GND DAI_P8 (SFS1) DAI_P9 (SD2A) VDDINT Pin No. 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 Rev. PrC | Pin Name VDDEXT GND VDDINT GND DAI_P10 (SD2B) DAI_P11 (SD3A) DAI_P12 (SD3B) DAI_P13 (SCLK23) DAI_P14 (SFS23) DAI_P15 (SD4A) VDDINT GND GND DAI_P16 (SD4B) DAI_P17 (SD5A) DAI_P18 (SD5B) DAI_P19 (SCLK45) VDDINT GND GND VDDEXT DAI_P20 (SFS45) GND VDDINT FLAG2 FLAG3 VDDINT GND VDDINT GND VDDINT GND VDDINT GND VDDINT VDDINT Page 50 of 56 | May 2005 Pin No. 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 Pin Name GND VDDINT GND VDDINT GND VDDINT GND VDDEXT GND VDDINT GND VDDINT RESET SPIDS GND VDDINT SPICLK MISO MOSI GND VDDINT VDDEXT AVDD AVSS GND CLKOUT EMU TDO TDI TRST TCK TMS GND CLKIN XTAL VDDEXT Pin No. 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 Preliminary Technical Data ADSP-21365/ADSP-21366 PACKAGE DIMENSIONS The ADSP-21365/ADSP-21366 is available in a 136-ball MiniBGA package and a 144-lead integrated heat sink LQFP package. 10.40 BSC SQ 12.00 BSC SQ 0.80 BSC TYP PIN A1 INDICATOR A B C D E F G H J K L M N P 0.80 BSC TYP 14 13 12 11 10 9 8 7 6 5 4 3 2 1 BOTTOM VIEW TOP VIEW 1.70 MAX DETAIL A 0.25 1. DIMENSIONS ARE IN MILIMETERS (MM). MIN 2. THE ACTUAL POSITION OF THE BALL GRID IS WITHIN 0.15 MM OF ITS IDEAL POSITION RELATIVE TO THE PACKAGE EDGES. 3. COMPLIANT TO JEDEC STANDARD MO-205-AE, EXCEPT FOR THE BALL DIAMETER. 4. CENTER DIMENSIONS ARE NOMINAL. 0.50 0.45 0.40 (BALL DIAMETER) DETAIL A Figure 43. 136-Ball Mini-BGA (BC-136-2) Rev. PrC | Page 51 of 56 | May 2005 SEATING PLANE 0.12 MAX (BALL COPLANARITY) ADSP-21365/ADSP-21366 Preliminary Technical Data 22.00 BSC SQ 20.00 BSC SQ 0.27 0.22 TYP 0.17 144 0.50 BSC TYP (LEAD PITCH) SEATING PLANE 10 9 1 108 PIN 1 INDICA TOR 13.71 0.08 MAX (LEAD COPLANARITY) 13.21 DIA 12.71 0.15 0.05 0.75 0.60 TYP 0.45 1.45 1.40 1.35 1.60 MAX 36 72 37 DE TAIL A DETAIL A NOTES: 1. DIMENSIONS ARE IN MILLIMETERS AND COMPLY WITH JEDEC STANDARD MS-026-BFB-HD. 2. ACTUAL POSITION O F EACH LEAD IS WITHIN 0.08 OF ITS IDEAL PO SITIO N, WHEN MEASURED IN THE LATERAL DIRECTION. 3. CENTER DIMENSIONS ARE NOMINAL. 4. HEATSLUG IS COINCIDENT WI TH BOTTO M SURFACE AND DOES NOT PROTRUDE BEYOND IT. HEATSLUG ON BOTTOM (NOTE 4) TOP VIE W (P INS DO WN) Figure 44. 144-Lead LQFP (ST-144-3) Rev. PrC | Page 52 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 ORDERING GUIDE Analog Devices offers a wide variety of audio algorithms and combinations to run on the ADSP-21365/ADSP-21366 processor. These products are sold as part of a chipset, bundled with necessary application software under special part numbers. For a complete list, visit our website at www.analog.com/SHARC. These products 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. Table 45. ADSP-21365 Ordering Guide Part Number1, 2, 3 ADSP-21365KBCZ-1AX ADSP-21365KBC-1AX ADSP-21365KSQZ-1AX ADSP-213654, 5 ADSP-213654, 5 ADSP-213655, 6 ADSP-213655, 6 Ambient Temperature Range C 0 to 70 0 to 70 0 to 70 -40 to +85 -40 to +85 -40 to +85 -40 to +105 Instruction Rate 333 MHz 333 MHz 333 MHz 333 MHz 333 MHz 333 MHz 200 MHz On-Chip SRAM 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit ROM 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit Operating Voltage Internal/External Volts 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.0/3.3 Package 136 Mini-BGA Pb-free 136 Mini-BGA 144 INT-HS LQFP Pb-free 136 Mini-BGA Pb-free 136 Mini-BGA 144 INT-HS LQFP Pb-free 144 INT-HS LQFP Pb-free 1 Z indicates lead free package. For more information about lead free package offerings, please visit www.analog.com. See Thermal Characteristics on page 45 for information on package thermal specifications. 3 See Engineer-to-Engineer Note TBD for further information. 4 PCB must have thermal vias. See Thermal Characteristics on page 45. For more information see Jedec Standard JESD51-9. 5 These products are also available. Please contact your local Analog Devices sales representative for samples. 6 Heat slug must be soldered to the PCB. See Thermal Characteristics on page 45. For more information see Jedec Standard JESD51-5. 2 Table 46. ADSP-21366 Ordering Guide Part Number1, 2, 3 ADSP-21366KBCZ-1AX ADSP-21366KBC-1AX ADSP-21366KSQZ-1AX ADSP-213664, 5 ADSP-213664, 5 ADSP-213665, 6 ADSP-213665, 6 Ambient Temperature Range C 0 to 70 0 to 70 0 to 70 -40 to +85 -40 to +85 -40 to +85 -40 to +105 Instruction Rate 333 MHz 333 MHz 333 MHz 333 MHz 333 MHz 333 MHz 200 MHz On-Chip SRAM 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit 3M Bit ROM 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit 4M Bit 1 Operating Voltage Internal/External Volts 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.2/3.3 1.0/3.3 Z indicates lead free package. For more information about lead free package offerings, please visit www.analog.com. See Thermal Characteristics on page 45 for information on package thermal specifications. 3 See Engineer-to-Engineer Note TBD for further information. 4 PCB must have thermal vias. See Thermal Characteristics on page 45. For more information see Jedec Standard JESD51-9. 5 These products are also available. Please contact your local Analog Devices sales representative for samples. 6 Heat slug must be soldered to the PCB. See Thermal Characteristics on page 45. For more information see Jedec Standard JESD51-5. 2 Rev. PrC | Page 53 of 56 | May 2005 Package 136 Mini-BGA Pb-free 136 Mini-BGA 144 INT-HS LQFP Pb-free 136 Mini-BGA Pb-free 136 Mini-BGA 144 INT-HS LQFP Pb-free 144 INT-HS LQFP Pb-free ADSP-21365/ADSP-21366 Preliminary Technical Data Rev. PrC | Page 54 of 56 | May 2005 Preliminary Technical Data ADSP-21365/ADSP-21366 Rev. PrC | Page 55 of 56 | May 2005 ADSP-21365/ADSP-21366 Preliminary Technical Data (c) 2005 Analog Devices, Inc. All rights reserved. Trademarks and registered trademarks are the property of their respective owners. PR04625-0-5/05(PrC) Rev. PrC | Page 56 of 56 | May 2005