MOTOROLA SEMICONDUCTOR TECHNICAL DATA 24-Bit General Purpose Digital Signal Processor Order this document by DSP56001/D DSP56001 Pin Grid Array (PGA) Available in an 88 pin ceramic through-hole package. Ceramic Quad Flat Pack (CQFP) The DSP56001 is a member of MotorolaOs family of Available in a 132 pin, small footprint, HCMOS, low-power, general purpose Digital Signal surface mount package. Processors. The DSP56001 features 512 words of full speed, on-chip program RAM (PRAM) memory, two Plastic Quad Flat Pack (PQFP) 256 word data RAMs, two preprogrammed data Available in a 132 pin, small footprint, ROMs, and special on-chip bootstrap hardware to persurface mount package. mit convenient loading of user programs into the program RAM. It is an off-the-shelf part since the program memory is user programmable. The core of the processor consists of three execution units operating in parallel N the data ALU, the address generation unit, and the program controller. The DSP56001 has MCU-style on-chip peripherals, program and data memory, as well as a memory expansion port. The MPU-style programming model and instruction set make writing efficient, compact code, straightforward. The high throughput of the DSP56001 makes it well-suited for communication, high-speed control, numeric processing, computer and audio applications. The key features which facilitate this throughput are: Speed At 16.5 million instructions per second (MIPS) with a 33 MHz clock, the DSP56001 can execute a 1024 point complex Fast Fourier Transform in1.98 milliseconds (66,240 clock cycles). Precision The data paths are 24 bits wide thereby providing 144 dB of dynamic range; intermediate results held in the 56-bit accumulators can range over 336 dB. Parallelism The data ALU, address arithmetic units, and program controller operate in parallel so that an instruction prefetch, a 24x24-bit multiplication, a 56-bit addition, two data moves, and two address pointer updates using one of three types of arithmetic (linear, modulo, or reverse carry) can be executed in a single instruction cycle. This parallelism allows a four coefficient Infinite Impulse Response (IIR) filter section to be executed in only four cycles, the theoretical minimum for a single multiplier architecture. Integration In addition to the three independent execution units, the DSP56001 has six on-chip memories, three on-chip MCU style peripherals (Serial Communication Interface, Synchronous Serial Interface, and Host Interface), a clock generator and seven buses (three address and four data), making the overall system functionally complete and powerful, but also very low cost, low power, and compact. Invisible Pipeline The three-stage instruction pipeline is essentially invisible to the programmer thus allowing straightforward program development in either assembly language or a high-level language such as ANSI C. Instruction Set The 62 instruction mnemonics are MCU-like making the transition from programming microprocessors to programming the DSP56001 digital signal processor as easy as possible. The orthogonal syntax supports control of the parallel execution units. This syntax provides 12,808,830 different instruction variations using the 62 instruction mnemonics. The no-overhead DO instruction and the REPEAT (REP) instruction make writing straight-line code obsolete. DSP56000/DSP56001 The DSP56001 is identical to the DSP56000 except that it has 512x24-bits of on-chip program RAM instead of 3.75K of program ROM; a 32x24-bit bootstrap ROM for loading the program RAM from either a byte-wide memory mapped ROM or via the Host Interface; and the on-chip X and Y Data ROMs have been preprogrammed as positive Mu- and A-Law to linear expansion tables and a full, four quadrant sine wave table, respectively. Compatibility Low Power As a CMOS part, the DSP56001 is inherently very low power; however, three other features can reduce power consumption to an exceptionally low level. N The WAIT instruction shuts off the clock in the central processor portion of the DSP56001. N The STOP instruction halts the internal oscillator. N Power increases linearly (approximately) with frequency; thus, reducing the clock frequency reduces power consumption. This document contains information on a new product. Specifications and information herein are subject to change without notice. a MOTOROLA INC., 1992 Rev. 3 September 10, 1998 YAB XAB PAB PORT B OR HOST 15 9 BOOTSTRAP ROM 32X24 ON-CHIP PERIPHERALS: HOST, SSI, SCI, PI/O PROGRAM RAM 512X24 PORT C AND/OR SSI, SCI Y MEMORY RAM 256X24 SINE ROM 256X24 BUS CONTROL 7 EXTERNAL DATA BUS SWITCH DATA YDB INTERNAL DATA BUS SWITCH AND BIT MANIPULATION UNIT CLOCK GENERATOR X MEMORY RAM 256X24 m/A ROM 256X24 XDB PDB GDB PROGRAM ADDRESS GENERATOR PROGRAM DECODE CONTROLLER DATA ALU 24X24+56(R)56-BIT MAC TWO 56-BIT ACCUMULATORS PROGRAM INTERRUPT CONTROLLER MODB/IRQB EXTAL PORT A ADDRESS GENERATION UNIT EXTERNAL ADDRESS ADDRESS BUS SWITCH XTAL MODA/IRQA 16 BITS 24 BITS RESET Figure 1. DSP56001 Block Diagram In the USA: For technical assistance call: DSP Applications Helpline (512) 891-3230 For availability and literature call your local Motorola Sales Ofce or Authorized Motorola Distributor. For free application software and information call the Dr. BuB electronic bulletin board: 9600/4800/2400/1200/300 baud (512) 891-3771 (8 data bits, no parity, 1 stop) In Europe, Japan and Asia Pacic Contact your regional sales ofce or Motorola distributor. MOTOROLA 2 DSP56001 SIGNAL DESCRIPTION Read Enable (RD) This three-state output is asserted to read external memory on the data bus D0-D23. This pin is three-stated during RESET. The DSP56001 is available in 132 pin surface mount (CQFP and PQFP) or an 88-pin pin-grid array packaging. Its input and output signals are organized into seven functional groups which are listed below and shown in Figure 1. Write Enable (WR) This three-state output is asserted to write external memory on the data bus D0-D23. This pin is three-stated during RESET. Port A Address and Data Buses Port A Bus Control Interrupt and Mode Control Power and Clock Host Interface or Port B I/O Serial Communications Interface or Port C I/O Synchronous Serial Interface or Port C I/O Bus Request (BR/WT) The bus request input BR allows another device such as a processor or DMA controller to become the master of external data bus D0-D23 and external address bus A0-A15. When operating mode register (OMR) bit 7 is clear and BR is asserted, the DSP56001 will always release the external data bus D0-D23, address bus A0-A15, and bus control pins PS, DS, X/Y, RD, and WR (i. e., Port A), by placing these pins in the high-impedance state after execution of the current instruction has been completed. The BR pin should be pulled up when not in use. PORT A ADDRESS AND DATA BUS Address Bus (A0-A15) These three-state output pins specify the address for external program and data memory accesses. To minimize power dissipation, A0-A15 do not change state when external memory spaces are not being accessed. If OMR bit 7 is set, this pin is an input that allows an external device to force wait states during an external Port A operation for as long as WT is asserted. Bus Grant (BG/BS) If OMR bit 7 is clear, this output is asserted to acknowledge an external bus request after Port A has been released. If OMR bit 7 is set, this pin is bus strobe and is asserted when the DSP accesses Port A. This pin is three-stated during RESET. Data Bus (D0-D23) These pins provide the bidirectional data bus for external program and data memory accesses. D0-D23 are in the high-impedance state when the bus grant signal is asserted. PORT A BUS CONTROL INTERRUPT AND MODE CONTROL Program Memory Select (PS) This three-state output is asserted only when external program memory is referenced. This pin is three-stated during RESET. Mode Select A/External Interrupt Request A (MODA/IRQA), Mode Select B/External Interrupt Request B (MODB/IRQB) These two inputs have dual functions: 1) to select the initial chip operating mode and 2) to receive an interrupt request from an external source. MODA and MODB are read and internally latched in the DSP when the processor exits the RESET state. Therefore these two pins should be forced into the proper state during reset. After leaving the RESET state, the MODA and MODB pins automatically change to external interrupt requests IRQA and IRQB. After leaving the reset state the chip operating mode can be changed by software. IRQA and IRQB may be programmed to be level sensitive or negative edge triggered. When edge triggered, triggering occurs at a voltage level and is not directly related to the fall time of the interrupt signal, however, the probability of noise on IRQA or IRQB generating multiple interrupts increases with increasing fall time of the interrupt signal. These pins are inputs during RESET. Data Memory Select (DS) This three-state output is asserted only when external data memory is referenced. This pin is three-stated during RESET. X/Y Select (X/Y) This three-state output selects which external data memory space (X or Y) is referenced by data memory select (DS). This pin is three-stated during RESET. ADDRESS DATA HACK HREQ HEN HR/W HA2 HA1 HA0 HOST DATA BUS H0-H7 HOST CONTROL RXD A0-A15 PORT B D0-D23 TXD PS SCLK DS SC0 PORT C PORT A RD WR SC1 SCK DSP56001 X/Y POWER AND CLOCK STD Power (Vcc), Ground (GND) There are five sets of power and ground pins used for the four groups of logic on the chip, two pairs for internal logic, one power and two ground for Port A address and control pins, one power and two ground for Port A data pins, and one pair for peripherals. Refer to the pin assignments in the LAYOUT PRACTICES section. MODA/ IRQA MODB/ IRQB RESET EXTAL XTAL VDD BG/BS SSI SRD BR/WT VSS BUS CONTROL SCI Reset (RESET) This Schmitt trigger input pin is used to reset the DSP56001. When RESET is asserted, the DSP56001 is initialized and placed in the reset state. When the RESET signal is deasserted, the initial chip operating mode is latched from the MODA and MODB pins. When coming out of reset, deassertion occurs at a voltage level and is not directly related to the rise time of the reset signal; however, the probability of noise on RESET generating multiple resets increases with increasing rise time of the reset signal. Figure 2. Functional Signal Groups DSP56001 MOTOROLA 3 External Clock/Crystal Input (EXTAL) EXTAL may be used to interface the crystal oscillator input to an external crystal or an external clock. Crystal Output (XTAL) This output connects the internal crystal oscillator output to an external crystal. If an external clock is used, XTAL should not be connected. HOST INTERFACE Host Data Bus (H0-H7) This bidirectional data bus is used to transfer data between the host processor and the DSP56001. This bus is an input unless enabled by a host processor read. H0-H7 may be programmed as general purpose parallel I/O pins called PB0-PB7 when the Host Interface is not being used. These pins are configured as a GPIO input pins during hardware reset. Transmit Data (TXD) This output transmits serial data from the SCI Transmit Shift Register. Data changes on the negative edge of the transmit clock. This output is stable on the positive edge of the transmit clock. TXD may be programmed as a general purpose I/O pin called PC1 when the SCI is not being used. This pin is configured as a GPIO input pins during hardware reset. SCI Serial Clock (SCLK) This bidirectional pin provides an input or output clock from which the transmit and/or receive baud rate is derived in the asynchronous mode and from which data is transferred in the synchronous mode. SCLK may be programmed as a general purpose I/O pin called PC2 when the SCI is not being used. This pin is configured as a GPIO input pins during hardware reset. SYNCHRONOUS SERIAL INTERFACE (SSI) Host Address (HA0-HA2) These inputs provide the address selection for each Host Interface register. HA0-HA2 may be programmed as general purpose parallel I/O pins called PB8-PB10 when the Host Interface is not being used. These pins are configured as a GPIO input pins during hardware reset. Serial Control Zero (SC0) This bidirectional pin is used for control by the SSI. SC0 may be programmed as a general purpose I/O pin called PC3 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. Host Read/Write (HR/W) This input selects the direction of data transfer for each host processor access. HR/W may be programmed as a general purpose I/O pin called PB11 when the Host Interface is not being used. This pin is configured as a GPIO input pins during hardware reset. Serial Control One (SC1) Host Enable (HEN) This input enables a data transfer on the host data bus. When HEN is asserted and HR/W is high, H0-H7 become outputs, and DSP56001 data may be read by the host processor, When HEN is asserted and HR/W is low, H0-H7 become inputs and host data is latched inside the DSP when HEN is deasserted. Normally a chip select signal, derived from host address decoding and an enable clock, is used to generate HEN. HEN may be programmed as a general purpose I/O pin called PB12 when the Host Interface is not being used. This pin is configured as a GPIO input pins during hardware reset. Serial Control Two (SC2) This bidirectional pin is used for control by the SSI. SC2 may be programmed as a general purpose I/O pin called PC5 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. Host Request (HREQ) This open-drain output signal is used by the DSP56001 Host Interface to request service from the host processor, DMA controller, or simple external controller. HREQ may be programmed as a general purpose I/O pin (not open-drain) called PB13 when the Host interface is not being used. HREQ should be pulled high when not in use. This pin is configured as a GPIO input pins during hardware reset. Host Acknowledge (HACK) This input has two functions: 1) to receive a Host Acknowledge handshake signal for DMA transfers and, 2) to receive a Host Interrupt Acknowledge compatible with MC68000 Family processors. HACK may be programmed as a general purpose I/O pin called PB14 when the Host Interface is not being used. This pin is configured as a GPIO input pins during hardware reset. HACK should be pulled high when not in use. This bidirectional pin is used for control by the SSI. SC1 may be programmed as a general purpose I/O pin called PC4 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. SSI Serial Clock (SCK) This bidirectional pin provides the serial bit rate clock for the SSI when only one clock is used. SCK may be programmed as a general purpose I/O pin called PC6 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. SSI Receive Data (SRD) This input pin receives serial data into the SSI Receive Shift Register. SRD may be programmed as a general purpose I/O pin called PC7 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. SSI Transmit Data (STD) This output pin transmits serial data from the SSI Transmit Shift Register. STD may be programmed as a general purpose I/O pin called PC8 when the SSI is not being used. This pin is configured as a GPIO input pins during hardware reset. SERIAL COMMUNICATIONS INTERFACE (SCI) Receive Data (RXD) This input receives byte-oriented data into the SCI Receive Shift Register. Input data is sampled on the positive edge of the Receive Clock. RXD may be programmed as a general purpose I/O pin called PC0 when the SCI is not being used. This pin is configured as a GPIO input pins during hardware reset. MOTOROLA 4 DSP56001 DSP56001 Electrical Characteristics Electrical Specifications The DSP is fabricated in high density CMOS with TTL compatible inputs and outputs. Maximum Ratings (VSS = 0 Vdc) Rating Symbol Value Unit Supply Voltage Vcc -0.3 to +7.0 V All Input Voltages Vin VSS- 0.5 to Vcc + 0.5 V I 10 mA TJ -40 to +105 C Tstg -55 to +150 C Current Drain per Pin excluding Vcc and VSS Operating Temperature Range Storage Temperature Maximum Electrical Ratings Thermal Characteristics - PGA Package Characteristics Thermal Resistance - Ceramic Junction to Ambient Junction to Case (estimated) Symbol QJA QJC Value 27 6.5 Rating C/W C/W Thermal Characteristics - CQFP Package Characteristics Thermal Resistance - Ceramic Junction to Ambient Junction to Case (estimated) Symbol QJA QJC Value 40 7.0 Rating C/W C/W Thermal Characteristics - PQFP Package Characteristics Thermal Resistance - Plastic Junction to Ambient Junction to Case (estimated) Symbol QJA QJC Value 38 13.0 Rating C/W C/W This device contains circuitry protecting against damage due to high static voltage or electrical fields; however, it is advised that normal precautions be taken to avoid application of any voltages higher than maximum-rated voltages to this high-impedance circuit. Reliability of operation is enhanced if unused inputs are tied to an appropriate logic voltage level (e.g., either Gnd or Vcc). DSP56001 MOTOROLA 5 DSP56001 Electrical Characteristics Power Considerations The average chip-junction temperature, TJ, in C can be obtained from: TJ = TA + (PD QJA) (1) Where: TA = Ambient Temperature, C QJA = Package Thermal Resistance, Junction-to-Ambient, C/W PD = PINT + PI/O PINT = ICC Vcc, Watts - Chip Internal Power PI/O = Power Dissipation on Input and Output Pins - User Determined For most applications PI/O << PINT and can be neglected; however, PI/O + PINT must not exceed Pd. An appropriate relationship between PD and TJ (if PI/O is neglected) is: PD = K/(TJ + 273 C) (2) Solving equations (1) and (2) for K gives: K = PD (TA + 273 C) + QJA PD2 (3) Where K is a constant pertaining to the particular part. K can be determined from equation (2) by measuring PD (at equilibrium) for a known TA. Using this value of K, the values of PD and TJ can be obtained by solving equations (1) and (2) iteratively for any value of TA. The total thermal resistance of a package (QJA) can be separated into two components, QJC and CA, representing the barrier to heat flow from the semiconductor junction to the package (case) surface (QJC) and from the case to the outside ambient (CA). These terms are related by the equation: QJA = QJC + CA (4) QJC is device related and cannot be influenced by the user. However, CA is user dependent and can be minimized by such thermal management techniques as heat sinks, ambient air cooling, and thermal convection. Thus, good thermal management on the part of the user can significantly reduce CA so that QJA approximately equals QJC. Substitution of QJC for QJA in equation (1) will result in a lower semiconductor junction temperature. Values for thermal resistance presented in this document, unless estimated, were derived using the procedure described in Motorola Reliability Report 7843, OThermal Resistance Measurement Method for MC68XX Microcomponent DevicesO, and are provided for design purposes only. Thermal measurements are complex and dependent on procedure and setup. User-derived values for thermal resistance may differ. Layout Practices Each Vcc pin on the DSP56001 should be provided with a low-impedance path to + 5 volts. Each GND pin should likewise be provided with a low-impedance path to ground. The power supply pins drive four distinct groups of logic on chip. They are: Vcc GND Function G12,C6 G11,B7 Internal Logic supply pins L8 L6,L9 Address bus output buffer supply pins G3 D3,J3 Data bus output buffer supply pins C9 E11 Port B and C output buffer supply pins Power and Ground Connections for PGA Vcc GND Function 35, 36, 128, 129 33, 34, 130, 131 Internal Logic supply pins 63, 64 55, 56, 73, 74 Address bus output buffer supply pins 100, 101 90, 91, 111, 112 Data bus output buffer supply pins 12, 13 23, 24 Port B and C output buffer supply pins Power and Ground Connections for CQFP and PQFP MOTOROLA 6 DSP56001 DSP56001 Electrical Characteristics Power and Ground Connections The Vcc power supply should be bypassed to ground using at least four 0.1 uF by- pass capacitors located either underneath the chip or as close as possible to the four sides of the package. The capacitor leads and associated printed circuit traces connecting to chip Vcc and Gnd should be kept to less than 1/2" per capacitor lead. A four-layer board is recommended, employing two inner layers as Vcc and Gnd planes. All output pins on the DSP56001 have fast rise and fall times N typically less than 3 ns. with a 10 pf. load. Printed circuit (PC) trace interconnection length should be minimized in order to minimize undershoot and reflections caused by these fast output switching times. This recommendation particularly applies to the address and data buses as well as the RD, WR, IRQA, IRQB, and HEN pins. Maximum PC trace lengths on the order of 6" are recommended. Capacitance calculations should consider all device loads as well as parasitic capacitances due to the PC traces. Attention to proper PCB layout and bypassing becomes especially critical in systems with higher capacitive loads because these loads create higher transient currents in the Vcc and GND circuits. Pull up/down all unused inputs or signals that will be inputs during reset. Signal Stability When designing hardware to interface with the Host Interface, it is important to ensure that all signals be clean and free from noise. Particular attention should be given to the quality of the Host Enable (HEN). All inputs to the port should be stable when HEN is asserted and should remain stable until HEN has fully returned to the deasserted state. It is important to note that such phenomena as ground-bounce and cross-talk can inadvertently cause HEN to temporarily rise above Vil max. Should this occur without completing the full logic transition to Vih min, the DSP56001 Host Port may not correctly update the port status information which can result in storing two or more copies of a single down loaded data word. Of course, if a full logic transition occurs, the part will complete a normal data transfer operation. DSP56001 MOTOROLA 7 DSP56001 Electrical Characteristics DC Electrical Characteristics (Vcc = 5.0 Vdc + 10%; TJ = -40 to +105u C at 20.5 MHz and 27 MHz) (Vcc = 5.0 Vdc + 5%; TJ = -40 to +105u C at 33 MHz) Characteristic Supply Voltage Min Typ Max Unit Vcc 4.5 4.75 5.0 5.5 5.25 V Input High Voltage Except EXTAL, RESET, MODA/IRQA, MODB/IRQB VIH 2.0 N Vcc V Input Low Voltage Except EXTAL, MODA/IRQA, MODB/IRQB VIL -0.5 N 0.8 V Input High Voltage EXTAL VIHC 4.0 N Vcc V Input Low Voltage EXTAL VILC -0.5 N 0.6 V VIHR 2.5 N Vcc V Input High Voltage 20, 27 MHz 33 MHz Symbol RESET Input High Voltage MODA/IRQA and MODB/IRQB VIHM 3.5 N Vcc V Input Low Voltage MODA/IRQA and MODB/IRQB VILM -0.5 N 2.0 V Input Leakage Current EXTAL, RESET, MODA/IRQA, MODB/IRQB, BR Iin -1 N 1 uA Three-State (Off-State) Input Current (@2.4 V/0.4 V) ITSI -10 N 10 uA Output High Voltage (IOH = -0.4 mA) VOH 2.4 N N V Output Low Voltage (IOL = 1.6 mA; RD, WR IOL = 1.6 mA; Open Drain HREQ IOL = 6.7 mA, TXD IOL = 6.7 mA) VOL N N 0.4 V Total Supply Current IDD33 IDD27 IDD20 IDDW IDDS 160 130 100 10 100 185 155 115 25 2000 mA mA mA mA mA 10 N pf Input Capacitance 5.25 V, 33 MHz 5. 5 V, 27 MHz 5. 5 V, 20 MHz in WAIT Mode (see Note 1) in STOP Mode (see Note 1) (see Note 2) Cin N N N N N N Notes: 1. In order to obtain these results all inputs must be terminated (i.e., not allowed to float). 2. Periodically sampled and not 100% tested. MOTOROLA 8 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics The timing waveforms in the AC Electrical Characteristics are tested with a VIL maximum of 0.5 V and a VIH minimum of 2.4 V for all pins, except EXTAL, RESET, MODA, and MODB. These four pins are tested using the input levels set forth in the DC Electrical Characteristics. AC timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signalOs transition. DSP56001 output levels are measured with the production test machine VOL and VOH reference levels set at 0.8 V and 2.0 V respectively. AC Electrical Characteristics - Clock Operation The DSP56001 system clock may be derived from the on-chip crystal oscillator as shown in Clock Figure 1, or it may be externally supplied. An externally supplied square wave voltage source should be connected to EXTAL, leaving XTAL physically unconnected (see Clock Figure 2) to the board or socket. The rise and fall time of this external clock should be 5 ns maximum. Characteristics Num 1 27 MHz 33 MHz Unit Min Max Min Max Min Max Frequency of Operation (EXTAL Pin) 4.0 20.5 4.0 27.0 4.0 33.0 MHz External Clock Input High (tch) N 22 150 17 150 13.5 150 ns 22 150 17 150 13.5 150 ns EXTAL Pin 2 20.5 MHz (see Note 1 and 2) External Clock Input Low (tcl) N EXTAL Pin (see Note 1 and 2) 3 Clock Cycle Time = cyc = 2T 48.75 250 37 250 30.33 250 ns 4 Instruction Cycle Time = Icyc = 4T 97.5 500 74 500 60 500 ns Notes: 1. External Clock Input High and External Clock Input Low are measured at 50% of the input transition. tch and tcl are dependent on the duty cycle. 2. T = Icyc / 4 is used in the electrical characteristics. T represents an average which is independent of the duty cycle. DSP56001 MOTOROLA 9 DSP56001 Electrical Characteristics XTAL EXTAL EXTAL XTAL R R2 R1 C1 C C XTAL1 L1 C2 C3 3rd Overtone Crystal Oscillator Fundamental Frequency Crystal Oscillator Suggested Component Values For fosc = 4 MHz: R = 680 KW + 10% C = 20 pf + 20% XTAL1* Suggested Component Values R1 = 470 KW + 10% R2 = 330 W + 10% C1 = 0.1 mf + 20% C2 = 26 pf + 20% C3 = 20 pf + 10% L1 = 2.37 mH + 10% XTAL =33 MHz, AT cut, 20 pf load, 50W max series resistance For fosc = 30 MHz: R = 680 KW + 10% C = 20 pf + 20% Notes: (1) The suggested crystal source is ICM, # 433163 - 4.00 (4MHz fundamental, 20 pf load) or # 436163 - 30.00 (30 MHz fundamental, 20 pf load). Notes: (1) *3rd overtone crystal. (2) The suggested crystal source is ICM, # 471163 - 33.00 (33 MHz 3rd overtone, 20 pf load). (3) R2 limits crystal current (4) Reference Benjamin Parzen, The Design of Crystal and Other Harmonic Oscillators, John Wiley& Sons, 1983 Clock Figure 1. Crystal Oscillator Circuits VIHC Midpoint EXTAL VILC 1 2 3 4 Note: The midpoint is VILC + 0.5 (VIHC - VILC). Clock Figure 2. External Clock Timing MOTOROLA 10 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - Reset, Stop, Mode Select and Interrupt Timing (Vcc = 5.0 Vdc +10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz) (Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz) (See Control Figure 1 through 8) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles WS = Number of wait states (1 WS = 1 cyc = 2T) programmed into external bus access using BCR (WS = 0 - 15) tch = Clock high period tcl = Clock low period Characteristics Num 9 10 12 13 27 MHz 33 MHz Unit Min Max Min Max Min Max N 50 N 38 N 31 ns 75000*cyc 25*cyc N N 75000*cyc 25*cyc N N 75000*cyc 25*cyc N N ns ns Delay from Asynchronous RESET Deassertion to First External Address Output (Internal Reset Negation) 8*cyc 9*cyc+40 8*cyc 9*cyc+31 8*cyc 9*cyc+25 ns Synchronous Reset Setup Time from RESET Deassertion to Falling Edge of External Clock 20 cyc-10 15 cyc-8 13 cyc-7 ns 8*cyc+5 8*cyc+30 8*cyc+5 8*cyc+23 8*cyc+5 8*cyc+19 ns N 62 N ns Delay from RESET Assertion to Address High Impedance (periodically sampled and not 100% tested) Minimum Stabilization Duration Internal Osc. (see Note 1) External Clock (see Note 2) 11 20.5 MHz Synchronous Reset Delay Time from the Synchronous Falling Edge of External Clock to the First External Address Output 14 Mode Select Setup Time 100 N 77 15 Mode Select Hold Time 0 N 0 16 Edge-Triggered Interrupt Request 25 15 N N 17 10 assertion 16a 0 N N 16 10 ns N N ns ns deassertion VIHR RESET 10 11 9 A0-A15 First Fetch Control Figure 1. Reset Timing DSP56001 MOTOROLA 11 DSP56001 Electrical Characteristics AC Electrical Characteristics - Reset, Stop, Mode Select, and Interrupt Timing (Continued) NOTE When using fast interrupts and IRQA and IRQB are defined as level-sensitive, then timings 19 through 22 apply to prevent multiple interrupt service. To avoid these timing restrictions, the negative edge-triggered mode is recommended when using fast interrupt. Long interrupts are recommended when using level-sensitive mode. Characteristics Num 17 18 19 20 Delay from IRQA, IRQB Assertion to External Memory Access Address Out Valid Caused by First Interrupt Instruction Fetch Instruction Execution Delay from IRQA, IRQB Assertion to General Purpose Transfer Output Valid Caused by First Interrupt Instruction Execution Delay from Address Output Valid Caused by First Interrupt Instruction Execution to Interrupt Request Deassertion for Level Sensitive Fast Interrupts Delay from RD Assertion to Interrupt Request Deassertion for Level Sensitive Fast Interrupts 21 Delay from WR Assertion to WS=0 Interrupt Request Deassertion for WS>0 Level Sensitive Fast Interrupts 22 Delay from General-Purpose Output Valid to Interrupt Request Deassertion for Level Sensitive Fast Interrupts - If Second Interrupt Instruction is: Single Cycle Two Cycle MOTOROLA 12 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max 5*cyc+tch 9*cyc+tch N N 5*cyc+tch 9*cyc+tch N N 5*cyc+tch 9*cyc+tch N N ns ns 11+cyc +tch N 11*cyc +tch N 11*cyc +tch N ns N 2*cyc+tcl+ (cyc*WS) -44 N 2*cyc+tcl+ (cyc*WS) -34 N 2*cyc+tcl+ (cyc*WS) -27 ns 2*cyc+ (cyc*WS) -25 ns N 2*cyc+ (cyc*WS) -40 N 2*cyc+ (cyc*WS) -31 N N N 2*cyc-40 cyc+tcl+ (cyc*WS) -40 N N 2*cyc-31 cyc+tcl+ (cyc*WS) -31 N N 2*cyc-25 cyc+tcl+ (cyc*WS) -25 ns ns N N tcl-60 (2*cyc)+tcl -60 N N tcl-46 (2*cyc)+tcl -46 N N tcl-37 (2*cyc)+tcl -37 ns ns DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - Reset, Stop, Mode Select, and Interrupt Timing (Continued) Characteristics Num 23 24 25 26 27 Synchronous Interrupt Setup Time from IRQA, IRQB Assertion to the Synchronous Rising Edge of External Clock (see Notes 5, 6) Synchronous Interrupt Delay Time from the Synchronous Rising Edge of External Clock to the First External Address Output Valid Caused by the First Instruction Fetch after Coming out of Wait State (see Notes 3, 5) Duration for IRQA Assertion to Recover from Stop State (see Note 4) 20.5 MHz 33 MHz Unit Min Max Min Max Min Max 25 cyc-10 19 cyc-8 16 cyc-7 ns 13*cyc+ tch+8 13*cyc+ tch+30 13*cyc+ tch+6 13*cyc+ tch+23 13*cyc+ tch+5 13*cyc+ tch+19 ns 25 N 19 N 16 N ns N N 65545*cyc 17*cyc N N 65545*cyc 17*cyc N N ns ns N N ns N 65533*cyc +tcl 5*cyc+tcl N N 65533*cyc +tcl 5*cyc+tcl N ns N N 65545*cyc 17*cyc N N 65545*cyc 17*cyc N N ns ns Delay from IRQA Assertion to Fetch of First Instruction (for Stop) for Internal Osc / OMR bit 6 = 0 65545*cyc External Clock / OMR bit 6 = 1 17*cyc (see Notes 1, 2, and 7) Duration for Level Sensitive IRQA Assertion to Fetch of First Interrupt Instruction (for Stop) for Internal Osc / OMR bit 6 = 0 65533*cyc +tcl External Clock / OMR bit 6 = 1 5*cyc+tcl (see Notes 1, 2, and 7) 28 27 MHz Delay from Level Sensitive IRQA Assertion to Fetch of First Interrupt Instruction (for Stop) for Internal Osc / OMR bit 6 = 0 65545*cyc External Clock / OMR bit 6 = 1 17*cyc (see Notes 1, 2, and 7) Notes: 1. A clock stabilization delay is required when using the on-chip crystal oscillator in two cases: 1) after power-on reset, and 2) when recovering from Stop mode. During this stabilization period, T will not be constant. Since this stabilization period varies, a delay of 150,000T is typically allowed to assure that the oscillator is stabilized before executing programs. While it is possible to set OMR bit 6 = 1 when using the internal crystal oscillator, it is not recommended and these specifications do not guarantee timings for that case. See Section 8.5 in the DSP56000/DSP56001 UserOs Manual for additional information. 2. Circuit stabilization delay is required during reset when using an external clock in two cases: 1) after power-on reset, and 2) when recovering from Stop mode. 3. For Revision B silicon, the min and max numbers are 12cyc+Tch+8 and 12cyc+Tch+30, respectively. 4. The minimum is specified for the duration of an edge triggered IRQA interrupt required to recover from the STOP state without having the IRQA interrupt accepted. 5. Timing #23 is for all IRQx interrupts while timing #24 is only when exiting WAIT. 6. Timing #23 triggers off T1 in the normal state and off T1/T3 when exiting the WAIT state. 7. The timings in the table are for Rev. C parts. The timings for Rev. C parts are shorter by 1 cyc than the Rev. B parts when OMR6=0. DSP56001 MOTOROLA 13 DSP56001 Electrical Characteristics EXTAL 12 RESET 13 11 A0-A15, DS, PS X/Y Control Figure 2. Synchronous Reset Timing VIHR RESET 14 15 MODA, MODB VIHM VIH VILM VIL IRQA, IRQB Control Figure 3. Operating Mode Select Timing IRQA, IRQB 16 16a Control Figure 4. External Interrupt Timing (Negative Edge-Triggered) MOTOROLA 14 DSP56001 DSP56001 Electrical Characteristics A0-A15 First Interrupt Instruction Execution RD 20 WR 21 17 19 IRQA IRQB a) First Interrupt Instruction Execution General Purpose I/O 18 22 IRQA IRQB b) General Purpose I/O Control Figure 5. External Level-Sensitive Fast Interrupt Timing DSP56001 MOTOROLA 15 DSP56001 Electrical Characteristics T0, T2 EXTAL T1, T3 23 IRQA, IRQB 24 A0-A15, DS PS, X/Y Control Figure 6. Synchronous Interrupt and Synchronous Wait State Timing IRQA 25 26 A0-A15, DS, PS, X/Y First Instruction Fetch Control Figure 7. Recovery from Stop State Using IRQA IRQA 27 28 A0-A15, DS, PS, X/Y First IRQA Interrupt Instruction Fetch Control Figure 8. Recovery from Stop State Using IRQA Interrupt Service MOTOROLA 16 DSP56001 DSP56001 Electrical Characteristics HOST PORT USAGE CONSIDERATIONS Careful synchronization is required when reading multibit registers that are written by another asynchronous system. This is a common problem when two asynchronous systems are connected. The situation exists in the Host port. The considerations for proper operation are discussed below. Host Programmer Considerations 1. Unsynchronized Reading of Receive Byte Registers When reading receive byte registers, RXH, RXM, or RXL, the Host programmer should use interrupts or poll the RXDF flag which indicates that data is available. This assures that the data in the receive byte registers will be stable. 2. Overwriting Transmit Byte Registers The Host programmer should not write to the transmit byte registers, TXH, TXM, or TXL, unless the TXDE bit is set indicating that the transmit byte registers are empty. This guarantees that the transmit byte registers will transfer valid data to the HRX register. 3. Synchronization of Status Bits from DSP to Host HC, HREQ, DMA, HF3, HF2, TRDY, TXDE, and RXDF (refer to DSP56000/DSP56001 UserOs Manual, I/O Interface section, Host/ DMA Interface Programming Model for descriptions of these status bits) status bits are set or cleared from inside the DSP and read by the Host processor. The Host can read these status bits very quickly without regard to the clock rate used by the DSP, but the possibility exists that the state of the bit could be changing during the read operation. This is generally not a system problem, since the bit will be read correctly in the next pass of any Host polling routine. However, if the Host asserts the HEN for more than timing number 31a (T31a), with a minimum cycle time of timing number 32a (T32a), then the status is guaranteed to be stable. A potential problem exists when reading status bits HF3 and HF2 as an encoded pair. If the DSP changes HF3 and HF2 from 00 to 11, there is a small probability that the Host could read the bits during the transition and receive 01 or 10 instead of 11. If the combination of HF3 and HF2 has significance, the Host could read the wrong combination. Solution: a. Read the bits twice and check for consensus. b. Assert HEN access for T31a so that status bit transitions are stabilized. 4. Overwriting the Host Vector The Host programmer should change the Host Vector register only when the Host Command bit (HC) is clear. This change will guarantee that the DSP interrupt control logic will receive a stable vector. 5. Cancelling a Pending Host Command Exception The Host processor may elect to clear the HC bit to cancel the Host Command Exception request at any time before it is recognized by the DSP. Because the Host does not know exactly when the exception will be recognized (due to exception processing synchronization and pipeline delays), the DSP may execute the Host exception after the HC bit is cleared. For these reasons, the HV bits must not be changed at the same time the HC bit is cleared. DSP Programmer Considerations 1. Reading HF0 and HF1 as an Encoded Pair DMA, HF1, HF0, and HCP, HTDE, and HRDF (refer to DSP56000/DSP56001 UserOs Manual, I/O Interface section, Host/DMA Interface Programming Model for descriptions of these status bits) status bits are set or cleared by the Host processor side of the interface. These bits are individually synchronized to the DSP clock. A potential problem exists when reading status bits HF1 and HF2 as an encoded pair, i.e., the four combinations 00, 01, 10, and 11 each have significance. A very small probability exists that the DSP will read the status bits synchronized during transition. The solution to this potential problem is to read the bits twice for consensus. DSP56001 MOTOROLA 17 DSP56001 Electrical Characteristics AC Electrical Characteristics - Host I/O Timing (Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz) (Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz) (see Host Figures 1 through 6) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles tHSDL = Host Synchronization Delay Time Active low lines should be Opulled upO in a manner consistent with the AC and DC specifications Characteristics Num 30 Host Synchronous Delay (see Note 1) 31 HEN/HACK Assertion Width (see Note 2) a.CVR, ICR, ISR Read (see Note 4) b.Read c.Write 32 HEN/HACK Deassertion Width (see Note 2 and 5) 32a Minimum Cycle Time Between Two HEN Assertion for Consecutive CVR, ICR, and ISR Reads (see Note 2) 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max tcl cyc+tcl tcl cyc+tcl tcl cyc+tcl ns cyc+60 50 25 N N N cyc+46 39 19 N N N cyc+37 31 16 N N N ns ns ns 25 N 19 N 16 N ns 2*cyc+60 N 2*cyc+46 N 2*cyc+37 N ns 33 Host Data Input Setup Time Before HEN/HACK Deassertion 5 N 4 N 4 N ns 34 Host Data Input Hold Time After HEN/ HACK Deassertion 5 N 4 N 4 N ns 35 HEN/HACK Assertion to Output Data Active from High Impedance 0 N 0 N 0 N ns 36 HEN/HACK Assertion to Output Data Valid (periodically sampled, and not 100% tested) N 50 N 39 N 31 ns 37 HEN/HACK Deassertion to Output Data High Impedance N 35 N 27 N 22 ns 38 Output Data Hold Time After HEN/ HACK Deassertion 5 N 4 N 4 N ns 39 HR/W Low Setup Time Before HEN Assertion 0 N 0 N 0 N ns 40 HR/W Low Hold Time After HEN Deassertion 5 N 4 N 4 N ns 41 HR/W High Setup Time to HEN Assertion 0 N 0 N 0 N ns 42 HR/W High Hold Time After HEN/ HACK Deassertion 5 N 4 N 4 N ns 43 HA0-HA2 Setup Time Before HEN Assertion 0 N 0 N 0 N ns 44 HA0-HA2 Hold Time After HEN Deassertion 5 N 4 N 4 N ns 45 DMA HACK Assertion to HREQ Deassertion (see Note 3) 5 60 4 46 4 49 ns MOTOROLA 18 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - Host I/O Timing (Continued) (Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz (Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz, see Host Figures 1 through 6) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles tHSDL = Host Synchronization Delay Time Active low lines should be Opulled upO in a manner consistent with the AC and DC specifications Characteristics Num 46 20.5 MHz DMA HACK Deassertion to HREQ Assertion (see Note 3) for DMA RXL Read for DMA TXL Write for All Other Cases 27 MHz 33 MHz Unit Min Max Min Max Min Max tHSDL+cyc +tch+5 tHSDL+cyc+5 5 N tHSDL+cyc +tch+4 tHSDL+cyc+4 4 N tHSDL+cyc +tch+4 tHSDL+cyc+4 4 N ns N N ns ns N N N N 47 Delay from HEN Deassertion to HREQ Assertion for RXL Read (see Note 3) tHSDL+cyc +tch+5 N tHSDL+cyc +tch+4 N tHSDL+cyc +tch+4 N ns 48 Delay from HEN Deassertion to HREQ Assertion for TXL Write (see Note 3) tHSDL+cyc+5 N tHSDL+cyc+4 N tHSDL+cyc+4 N ns 49 Delay from HEN Assertion to HREQ Deassertion for RXL Read, TXL Write (see Note 3) 5 75 4 70 4 65 ns Notes: 1. OHost synchronization delay (tHSDL)O is the time period required for the DSP56001 to sample any external asynchronous input signal, determine whether it is high or low, and synchronize it to the DSP56001 internal clock. 2. See HOST PORT USAGE CONSIDERATIONS. 3. HREQ is pulled up by a 1kW resistor. 4. This timing must be adhered to only if two consecutive reads from one of these registers are executed. 5. It is recommended that timing #32 be 2cyc+tch+10 minimum for 20.5 MHz, 2cyc+tch+7 minimum for 27 MHz, and 2cyc+tch+6 minimum for 33 MHz if two consecutive writes to TXL are executed without polling TXDE or HREQ. EXTERNAL 30 30 INTERNAL Host Figure 1. Host Synchronization Delay DSP56001 MOTOROLA 19 DSP56001 Electrical Characteristics HREQ (OUTPUT) 31 32 HACK (INPUT) 41 42 HR/W (INPUT) 36 37 35 H0-H7 (OUTPUT) 38 Data Valid Host Figure 2. Host Interrupt Vector Register (IVR) Read MOTOROLA 20 DSP56001 DSP56001 Electrical Characteristics HREQ (OUTPUT) 49 32A HEN (INPUT) RXH Read 31 RXM Read RXL Read 32 43 HA2-HA0 (INPUT) 47 44 Address Valid 41 Address Valid Address Valid 42 HR/W (INPUT) H0-H7 (OUTPUT) 36 37 35 38 Data Valid Data Valid Data Valid Host Figure 3. Host Read Cycle (Non-DMA Mode) DSP56001 MOTOROLA 21 DSP56001 Electrical Characteristics HREQ (OUTPUT) 49 TXH Write HEN (INPUT) TXM Write 31 TXL Write 32 43 44 Address Valid HA2-HA0 (INPUT) 48 Address Valid 39 Address Valid 40 HR/W (INPUT) 33 34 H0-H7 (INPUT) Data Valid Data Valid Data Valid Host Figure 4. Host Write Cycle (Non-DMA Mode) HREQ (OUTPUT) 45 46 31 HACK (INPUT) H0-H7 (OUTPUT) 46 46 32 RXH Read RXM Read 36 37 35 38 Data Valid Data Valid RXL Read Data Valid Host Figure 5. Host DMA Read Cycle MOTOROLA 22 DSP56001 DSP56001 Electrical Characteristics HREQ (OUTPUT) 45 46 31 HACK (INPUT) 46 46 32 TXH Write TXM Write TXL Write 33 34 H0-H7 (INPUT) Data Valid Data Valid Data Valid Host Figure 6. Host DMA Write Cycle DSP56001 MOTOROLA 23 DSP56001 Electrical Characteristics AC Electrical Characteristics - SCI Timing (Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz, Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz, see SCI Figures 1 and 2) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles tSCC = Synchronous Clock Cycle Time (for internal clock tSCC is determined by the SCI clock control register and Icyc.) SCI Synchronous Mode Timing Characteristics Num 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max N 8*cyc 4*cyc-15 4*cyc-15 N 8*cyc 4*cyc-13 4*cyc-13 N ns N ns 55 Synchronous Clock Cycle N tSCC 56 Clock Low Period 8*cyc 4*cyc-20 57 Clock High Period 4*cyc-20 N N ns 59 Output Data Setup to Clock Falling Edge (Internal Clock) 2*cyc +tcl-50 N 2*cyc +tcl-39 N 2*cyc +tcl-31 N ns 60 Output Data Hold After Clock Rising Edge (Internal Clock) 2*cyc -tcl-15 N 2*cyc -tcl-11 N 2*cyc -tcl-9 N ns 61 Input Data Setup Time Before Clock Rising Edge (Internal Clock) 2*cyc +tcl+45 N 2*cyc +tcl+35 N 2*cyc +tcl+28 N ns 62 Input Data Not Valid Before Clock Rising Edge (Internal Clock) N 2*cyc +tcl-10 N 2*cyc +tcl-8 N 2*cyc +tcl-6 ns 63 Clock Falling Edge to Output Data Valid (External Clock) N 63 N 48 N 39 ns 64 Output Data Hold After Clock Rising Edge (External Clock) cyc+12 N cyc+9 N cyc+8 N ns 65 Input Data Setup Time Before Clock Rising Edge (External Clock) 30 N 23 N 19 N ns 66 Input Data Hold Time After Clock Rising Edge (External Clock) 40 N 31 N 25 N ns MOTOROLA 24 N N N DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - SCI Timing (Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz, Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz, see SCI Figures 1 and 2) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles tACC = Asynchronous clock cycle time tACC = Asynchronous Clock Cycle Time (for internal clock tACC is determined by the SCI clock control register and Icyc) SCI Asynchronous Mode Timing - 1X Clock Characteristics Num 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max N 64*cyc 32*cyc-15 32*cyc-15 N 64*cyc 32*cyc-13 32*cyc-13 N ns N ns 67 Asynchronous Clock Cycle 68 Clock Low Period 64*cyc 32*cyc-20 69 Clock High Period 32*cyc-20 N N ns 71 Output Data Setup to Clock Rising Edge (Internal Clock) 32*cyc -100 N 32*cyc -77 N 32*cyc -61 N ns 72 Output Data Hold After Clock Rising Edge (Internal Clock) 32*cyc -100 N 32*cyc -77 N 32*cyc -61 N ns DSP56001 N N N MOTOROLA 25 DSP56001 Electrical Characteristics INTERNAL CLOCK 55 58 57 58 56 SCLK (OUTPUT) 59 60 TXD DATA VALID 61 62 DATA VALID RXD EXTERNAL CLOCK 55 57 56 SCLK (INPUT) 63 64 TXD DATA 65 RXD VALID 66 DATA VALID SCI Figure 1. SCI Synchronous Mode Timing MOTOROLA 26 DSP56001 DSP56001 Electrical Characteristics 67 70 69 70 68 1X SCK (OUTPUT) 71 TXD 72 DATA VALID Note: In the wire-OR mode, TXD can be pulled up by 1KW SCI Figure 2. SCI Asynchronous Mode Timing DSP56001 MOTOROLA 27 DSP56001 Electrical Characteristics AC Electrical Characteristics - SSI Timing (Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz, Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz, see SSI Figures 1 and 2) cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles tSSICC = SSI clock cycle time TXC (SCK Pin) = Transmit Clock RXC (SC0 or SCK Pin) = Receive Clock FST (SC2 Pin) = Transmit Frame Sync FSR (SC1 or SC2 Pin) = Receive Frame Sync i ck = Internal Clock x ck = External Clock g ck = Gated Clock i ck a = Internal Clock, Asynchronous Mode (Asynchronous implies that TXC and RXC are two different clocks) i ck s = Internal Clock, Synchronous Mode (Synchronous implies that TXC and RXC are the same clock) bl = bit length wl = word length Characteristics Num 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max N N ns N ns N 4*cyc 2*cyc-13 2*cyc-13 N ns 80 Clock Cycle (see Note 1) Clock High Period 4*cyc 2*cyc-20 N 81 82 Clock High Period 2*cyc-20 N 4*cyc 2*cyc-15 2*cyc-15 84 RXC Rising Edge to FSR Out (bl) High x ck i ck a N N 80 50 N N 61 38 N N 48 31 ns ns RXC Rising Edge to FSR Out (bl) Low x ck i ck a N N 70 40 N N 54 31 N N 43 25 ns ns RXC Rising Edge to FSR Out (wl) High x ck i ck a N N 70 40 N N 54 31 N N 43 25 ns ns RXC Rising Edge to FSR Out (wl) Low x ck i ck a N N 70 40 N N 54 31 N N 43 25 ns ns Data In Setup Time Before RXC (SCK in Synchronous Mode) Falling Edge x ck i ck a i ck s 15 35 25 N N N 12 27 19 N N N 10 22 16 N N N ns ns ns Data In Hold Time After RXC Falling Edge x ck i ck a 35 5 N N 27 4 N N 22 4 N N ns ns FSR Input (bl) High Before RXC Falling Edge x ck i ck a 15 35 N N 12 27 N N 10 23 N N ns ns x ck i ck a 20 55 N N 15 42 N N 13 34 N N ns ns FSR Input Hold Time After RXC Falling Edge x ck i ck a 35 5 N N 27 4 N N 22 4 N N ns ns 85 86 87 88 89 90 91 92 FSR Input (wl) High Before RXC Falling Edge MOTOROLA 28 N N DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - SSI Timing (Continued) Note: 1. For internal clock, External Clock Cycle is defined by Icyc and SSI control register. Characteristics Num 93 94 95 96 97 98 99 100 101 27 MHz 33 MHz Unit Min Max Min Max Min Max Flags Input Setup Before RXC Falling Edge x ck i ck a 30 50 N N 23 39 N N 19 31 N N ns nss Flags Input Hold Time After RXC Falling Edge x ck i ck a 35 5 N N 27 4 N N 22 4 N N ns ns TXC Rising Edge to FST Out (bl) High x ck i ck a N N 70 30 N N 54 23 N N 43 19 ns ns TXC Rising Edge to FST Out (bl) Low x ck i ck a N N 65 35 N N 50 27 N N 40 22 ns ns TXC Rising Edge to FST Out (wl) High x ck i ck a N N 65 35 N N 50 27 N N 40 22 ns ns TXC Rising Edge to FST Out (wl) Low x ck i ck a N N 65 35 N N 50 27 N N 40 22 ns ns TXC Rising Edge to Data Out Enable from High Impedance x ck i ck a N N 65 40 N N 50 31 N N 40 25 ns ns TXC Rising Edge to Data Out Valid x ck i ck a N N 65 40 N N 50 31 N N 40 25 ns ns TXC Rising Edge to Data Out High Impedance (periodically sampled, and not 100% tested) x ck i ck a N N 70 40 N N 54 31 N N 43 25 ns ns cyc+tch N cyc+tch N cyc+tch N ns 15 35 N N 12 27 N N 10 23 N N ns ns N 60 N 46 N 37 ns 101a TXC Falling Edge to Data Out High Impedance for Gated Clock Mode Only g ck 102 20.5 MHz FST Input (bl) Setup Time Before TXC Falling Edge x ck i ck a 103 FST Input (wl) to Data Out Enable from High Impedance 104 FST Input (wl) Setup Time Before TXC Falling Edge x ck i ck a 20 55 N N 15 42 N N 13 34 N N ns ns FST Input Hold Time After TXC Falling Edge x ck i ck a 35 5 N N 27 4 N N 22 4 N N ns ns Flag Output Valid After TXC Rising Edge x ck i ck a N N 70 40 N N 54 31 N N 43 25 ns ns 105 106 Note: 1. For internal clock, External Clock Cycle is defined by Icyc and SSI control register. DSP56001 MOTOROLA 29 DSP56001 Electrical Characteristics 80 81 83 83 82 RXC (Input/Output) 84 85 FSR (Bit) OUT 86 87 FSR (Word) OUT 88 89 DATA IN First 90 Bit Last Bit 92 FSR (Bit) IN 91 92 93 94 FSR (Word) IN FLAGS IN SSI Figure 1. SSI Receiver Timing MOTOROLA 30 DSP56001 DSP56001 Electrical Characteristics 80 83 83 81 82 TXC (Input/Output) 95 96 FST (Bit) OUT 98 97 FST (Word) OUT 100 100 101 99 101a DATA OUT First Bit Last Bit 102 105 FST (Bit) IN 103 104 105 FST (Word) IN 106 (See Note 1) FLAGS OUT Note: 1. In the Network mode, output flag transitions can occur at the start of each time slot within the frame. In the Normal mode, the output flag state is asserted for the entire frame period. SSI Figure 2. SSI Transmitter Timing DSP56001 MOTOROLA 31 DSP56001 Electrical Characteristics AC Electrical Characteristics N Capacitance Derating N External Bus Asynchronous Timing Vcc = 5.0 Vdc + 10%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 20.5 MHz and 27 MHz, Vcc = 5.0 Vdc + 5%, TJ = -40 to +105u C, CL = 50 pf + 1 TTL Load at 33 MHz, see Bus Figures 1 and 2 cyc = Clock cycle = 1/2 instruction cycle = 2 T cycles WS = Number of Wait States, Determined by BCR Register (WS = 0 to 15) The DSP56001 External Bus Timing Specifications are designed and tested at the maximum capacitive load of 50 pf, including stray capacitance. Typically, the drive capability of the External Bus pins (A0-A15, D0-D23, PS, DS, RD, WR, X/Y) derates linearly at 1 ns per 12 pf of additional capacitance from 50 pf to 250 pf of loading. Port B and C pins derate linearly at 1 ns per 5 pf of additional capacitance from 50 pf to 250 pf of loading. Active low inputs should be Opulled upO in a manner consistent with the AC and DC specifications. To conserve power, when an internal memory access follows an external memory access, the RD and WR strobes remain deasserted and A0-A15 and X/Y do not change from their previous state. Both PS and DS will be deasserted (they do not change between two external accesses to the same memory space) indicating that no external memory access is occurring. If BR has been asserted, then the bus signals will be three-stated according to the timing information in this data sheet. Characteristics Num 20.5 MHz Min 115 116 Max 27 MHz Min Delay from BR Assertion to BG Assertion (see Note 1) 2*cyc+tch 4*cyc+tch+ 2*cyc+tch 20 (see Note 2) cyc+tch 4*cyc+tch+ cyc+tch cyc*WS+20 (see Note 3) cyc+tch 6*cyc+tch+ cyc+tch 2*cyc*WS+ 20 (see Note 4) Infinity N Infinity (see Note 5) tch+4 cyc+tch+30 tch+3 Flags Input Hold Time After RXC Falling Edge Deassertion Max 33 MHz Min 4*cyc+tch+ 2*cyc+tch 15 4*cyc+tch+ cyc+tch cyc*WS+15 6*cyc+tch+ cyc+tch 2*cyc*WS+ 15 N Infinity cyc+tch+23 tch+3 Unit Max 4*cyc+tch+ 13 4*cyc+tch+ cyc*WS+13 6*cyc+tch+ 2*cyc*WS+ 13 N cyc+tch+19 ns ns ns ns ns 2*cyc 4*cyc+20 2*cyc 4*cyc+15 2*cyc 4*cyc+13 ns 117 BG Deassertion Duration 2*cyc-10 N 2*cyc-8 N 2*cyc-6 N ns 118 Delay from Address, Data, and Control Bus High Impedance to BG Assertion 0 N 0 N 0 N ns 119 Delay from BG Deassertion to Address, Data, and Control Bus Enabled N tch-10 N tch-8 N tch-6 ns 120 Address Valid to WR Assertion WS=0 WS>0 tcl-9 cyc-9 tcl+5 cyc+5 tcl-7 cyc-7 tcl+5 cyc+5 tcl-5.5 cyc-5.5 tcl+5 cyc+5 ns ns 121 WR Assertion Width cyc-9 WS*cyc +tcl-9 N N cyc-7 WS*cyc +tcl-7 N N cyc-5.0 WS*cyc +tcl-5.0 N N ns ns WS=0 WS>0 122 WR Deassertion to Address Not Valid tch-12 N tch-9 N tch-7.5 N ns 123 WR Assertion to Data Out Valid WS=0 WS>0 tch-9 0 tch+10 10 tch-7 0 tch+8 8 tch-5.5 0 tch+6.5 6.5 ns ns 124 Data Out Hold Time from WR Deassertion (The maximum specification is periodically sampled, and not 100% tested.) tch-9 tch+7 tch-7 tch+6 tch-5.5 tch+4.5 ns 125 Data Out Setup Time to WR Deassertion (see Note 6) tcl-5 WS*cyc +tcl-5 N N tcl-5 WS*cyc +tcl-5 N N tcl-5 WS*cyc +tcl-5 N N ns ns tch-9 N tch-7 N tch-5.5 N ns 126 WS=0 WS>0 RD Deassertion to Address Not Valid MOTOROLA 32 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - External Bus Asynchronous Timing (Continued) Characteristics Num 127 Address Valid to RD deassertion 128 Input Data Hold Time to RD Deassertion 129 RD Assertion Width 130 Address Valid to Input Data Valid 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max cyc+tcl-8 ((WS+1)* cyc)+tcl-8 N N cyc+tcl-6 ((WS+1)* cyc)+tcl-6 N N cyc+tcl-6 ((WS+1)* cyc)+tcl-6 N N ns ns 0 N 0 N 0 N ns WS = 0 WS > 0 cyc-9 ((WS+1)* cyc)-9 N N cyc-7 ((WS+1)* cyc)-7 N N cyc-5.5 ((WS+1)* cyc)-5.5 N N ns ns WS = 0 WS > 0 N N cyc+tcl-18 ((WS+1)* cyc)+tcl-18 N N cyc+tcl-14 ((WS+1)* cyc)+tcl-14 N N cyc+tcl-11 ((WS+1)* cyc)+tcl-11 ns ns tcl-9 tcl+5 tcl-7 tcl+5 tcl-5.5 tcl+5 ns N N cyc-14 ((WS+1)* cyc)-14 N N cyc-11 ((WS+1)* cyc)-11 N N cyc-9 ((WS+1)* cyc)-9 ns ns cyc-12 N cyc-10 N ns WS = 0 WS > 0 131 Address Valid to RD Assertion 132 RD Assertion to Input Data Valid 133 WR Deassertion to RD Assertion cyc-15 N cyc-10 WS=0 WS>0 134 RD Deassertion to RD Assertion N cyc-8 N cyc-6.5 N ns 135 WR Deassertion to WR Assertion WS=0 cyc-15 WS>0 cyc+tch-15 N N cyc-12 cyc+tch-12 N N cyc-10 cyc+tch-10 N N ns ns 136 RD Deassertion to WR Assertion WS=0 cyc-10 WS>0 cyc+tch-10 N N cyc-8 cyc+tch-8 N N cyc-6.5 cyc+tch6.5 N N ns ns Notes: 1. With no external access from the DSP. 2. During external read or write access. 3. During external read-modify-write access. 4. During the STOP mode the external bus will not be released and BG will not go low. However, if the bus is released (BG = 0) and the STOP instruction is executed while BG = 0 then the bus will remain released while the DSP is in the stop state and BG will remain low. 5. During the WAIT mode the BR/BG circuits remain active. 6. Typical values at 5V are: at 20.5 MHz and WS=0, Min = tcl-4 at 20.5 MHz and WS>0, Min = WS*cyc+tcl-4 at 27 MHz and WS=0, Min = tcl-3 at 27 MHz and WS>0, Min = WS*cyc+tcl-3 at 33 MHz and WS=0, Min = tcl-2.5 at 33 MHz and WS>0, Min = WS*cyc+tcl-2.5 DSP56001 MOTOROLA 33 DSP56001 Electrical Characteristics BR 115 116 BG 117 119 118 A0-A15, PS, DS, X/Y, RD, WR D0-D23 Async. Bus Figure 1. Bus Request / Bus Grant Timing A0-A15, DS, PS, X/Y (See Note 1) 126 127 131 129 134 133 136 RD 122 120 135 121 WR 132 130 123 128 125 D0-D23 124 DATA OUT DATA IN Note: 1. During Read-Modify-Write instructions and internal instructions, the address lines do not change state. Async. Bus Figure 2. External Bus Asynchronous Timing MOTOROLA 34 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - External Bus Synchronous Timing Vcc = 5.0 Vdc + 10%; TJ = -40 to 105u C at 20.5 MHz 27 MHz Vcc = 5.0 Vdc + 5%; TJ = -40 to 105u C at 33 MHz Characteristics Num 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max Clk Low Transition To Address Valid Clk High Transition To WR WS = 0 Assertion (see Note 2) WS > 0 N 24 N 19 N 19 ns 0 0 19 tch+19 0 0 15 tch+15 0 0 17 tch+17 ns ns 142 Clk High Transition To WR Deassertion 5 21 5 16 5 13 ns 143 Clk High Transition To RD Assertion 0 19 0 15 0 16 ns 144 Clk High Transition To RD Deassertion 5 17 5 13 4.5 10.5 ns 145 Clk Low Transition To Data-Out Valid N 25 N 19 N 19 ns 146 Clk Low Transition To Data-Out Invalid (see Note 3) 5 N 4 N 3.5 N ns 147 Data-In Valid To Clk High Transition (Setup) 0 N 0 N 0 N ns 148 Clk High Transition To Data-In Invalid (Hold) 12 N 12 N 13 N ns ns 149 Clk Low To Address Invalid (see Note 3) 3 N 3 N 3 N ns 140 141 Notes: 1. AC timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signalOs transition. 2. WS are wait state values specified in the BCR. 3. Clk low to data-out invalid (spec. 146) and Clk low to address invalid (spec. 149) indicate the time after which data/address are no longer guaranteed to be valid. DSP56001 MOTOROLA 35 DSP56001 Electrical Characteristics T0 T1 T2 T3 T0 T1 T2 T3 T0 CLK in A0-A15 DS,PS X/Y 140 143 149 144 RD 141 142 WR 147 148 D0-D23 Data Out 145 Data In 146 Sync. Bus Figure 1. DSP56001 Synchronous Bus Timing Note: During Read-Modify-Write Instructions, the address lines do not change states. MOTOROLA 36 DSP56001 DSP56001 Electrical Characteristics AC Electrical Characteristics - Bus Strobe / Wait Timing Characteristics Num 20.5 MHz 27 MHz 33 MHz Unit Min Max Min Max Min Max Clk Low Transition To BS Assertion WT Assertion To Clk Low Transition (setup time) 4 24 3 19 2.5 19 ns 4 N 3 N 2.5 N ns ns 152 Clk Low Transition To WT Deassertion For Minimum Timing 14 cyc-8 11 cyc-6 12 cyc-5 ns 153 WT Deassertion To Clk Low Transition For Maximum Timing (2 wait states 8 N 6 N 5 N ns 154 Clk High Transition To BS Deassertion 5 26 4 20 3.5 19 ns 150 151 155 BS Assertion To Address Valid -2 10 -2 8 -2 6.5 ns 156 BS Assertion To WT Assertion (see Note 2) 0 cyc-15 0 cyc-11 0 cyc-10 ns 157 BS Assertion To WT Deassertion (See Note 2 and Note 4) WS < 2 WS > 2 cyc (WS-1) *cyc cyc+tcl 2*cyc-15 WS*cyc -15 cyc (WS-1) *cyc cyc+tcl 2*cyc-11 WS*cyc -11 cyc+4 (WS-1) *cyc+4 cyc+tcl 2*cyc-10 WS*cyc -10 ns ns 158 WT Deassertion To BS Deassertion 159 Minimum BS Deassertion Width For Consecutive External Accesses tch-7 160 BS Deassertion To Address Invalid (see Note 3) tch-10 161 Data-In Valid to RD Deassertion (Set Up) 16 2*cyc+tcl +23 N tch-6 2*cyc+tcl +17 N tch-8 N 12 tch-4.5 2*cyc+tcl +15 ns N ns N ns tch-6.5 N 10 Note: 1. 2. 3. 4. 5. DSP56001 AC timing specifications which are referenced to a device input signal are measured in production with respect to the 50% point of the respective input signalOs transition. If wait states are also inserted using the BCR and if the number of wait states is greater than 2, then specification numbers 156 and 157 can be increased accordingly. BS deassertion to address invalid indicates the time after which the address are no longer guaranteed to be valid. The minimum number of wait states when using BS/WT is two (2). For read-modify-write instructions, the address lines will not change states between the read and the write cycle. However, BS will deassert before asserting again for the write cycle. If wait states are desired for each of the read and write cycle, the WT pin must be asserted once for each cycle. MOTOROLA 37 DSP56001 Electrical Characteristics T0 T1 T2 Tw T2 Tw T2 T3 T0 EXTAL 140 149 A0-A15, PS, DS, X/Y 154 150 BS 152 153 151 WT 143 144 RD 148 147 D0-D23 Data In 141 WR 142 145 D0-D23 146 Data Out Bus Arbitration Figure 1. DSP56001 Synchronous BS / WT Timings Note: During Read-Modify-Write Instructions, the address lines do not change state. However, BS will deassert before asserting again for the write cycle. MOTOROLA 38 DSP56001 DSP56001 Electrical Characteristics A0-A15, PS, DS, X/Y 160 155 BS 159 157 158 156 WT 126 131 RD 128 161 D0-D23 Data In 120 122 WR 124 123 D0-D23 125 Data Out Bus Arbitration Figure 2. DSP56001 Asynchronous BS / WT Timings Note: DSP56001 During Read-Modify-Write Instructions, the address lines will not change states. However, BS will deassert before asserting again for the write cycle. MOTOROLA 39 DSP56001 Electrical Characteristics MOTOROLA 40 DSP56001 APPENDIX A ORDERING INFORMATION DSP56001FE 33 Frequency 20 = 20.5 MHz. 27 = 27 MHz 33 = 33 MHz. Pack age Type DSP Type 56001 = RAM Part RC = Pin Grid Array FE = Ceramic Quad Flat Pack (CQFP) FC = Plastic Quad Flat Pack (PQFP) DSP56001 SOCKET INFORMATION PGA Supplier Telephone Advanced Interconnections (401) 823-5200 AMP (717) 564-0100 Socket Type Part Number Comment Standard 88 Pin 4CS088-01TG2 Includes Cutout in Center Standard 88 Pin 1-916223-3 1-55283-9 1-55383-4 Low Insertion Force ZIF Production ZIF Burn-In and Test PGA-088CM3P-S-TG3 PGA-088CHP3-SL-TG3 High Temp, Longer Leads MVAS-120-ZSTT-131 CPAS-88-ZSTT-13BF1 Includes Cutout in Center No Cutout Standard 128 Pin Robinson Nugent (812) 945-0211 Custom Pinout Samtec (812) 944-6733 Standard 120 Pin Custom 88 Pin NOTES: 1. Please specify wirewrap and plating options. The part numbers shown specify low profile solder tail pins having a tin contact and tin shell. 2. Please specify wirewrap and plating options. The part number shown specifies gold contact and tin shell. 3. Cutout in the center, unused holes are plugged, solder tail. CQFP Supplier AMP Telephone Socket Type Part Number Comment (717)564-0100 N 822054-21 Converts CQFP to fit AMPOs 132 position PQFP OMicro-Pitch SocketO. NOTES: 1. This part is not a socket. It is a converter that allows a CQFP part to be used in the PQFP socket described below. PQFP Supplier AMP Telephone Socket Type Part Number Comment (717)564-0100 132 Pin 821949-51 821942-11 Housing Sub-Assembly and Cover for 132 position PQFP OMicro-Pitch SocketO. NOTES: 1. One housing sub-assembly and one cover are required for each socket. DSP56001 MOTOROLA A-1 PIN ASSIGNMENT N D0 A14 A13 D3 D1 A15 D4 D2 D6 D5 D8 D7 A12 A10 A8 A11 A7 A6 A4 A2 A9 A5 A3 GND VCC GND A1 PS X/Y A0 DS WR RD BR BG SC1 SRD STD M L K J GND H D9 SC2 BOTTOM VIEW G D10 VCC GND VCC SCK SC0 SCLK F D11 D12 E D13 GND TXD D D14 D16 D15 D18 D17 D20 GND H0 RXD H2 H1 H4 H3 C VCC VCC B D23 IRQA EXTAL GND HA0 HREQ H7 A D19 D21 D22 IRQB RESET XTAL HA2 HA1 HACK HEN HR/W H6 H5 1 2 3 4 5 7 8 9 10 11 13 RC SUFFIX CERAMIC CASE 789D-01 6 T 12 X K G N M L K J H G F E D C B A A G 1 2 3 4 5 6 7 8 9 10 11 12 13 B C D 88 PL O 0.76 (0.030) O T A S B S MATRIX O 0.25 (0.010) O X PINS DIM A B C D G K MILLIMETERS MIN MAX 34.04 35.05 34.04 35.05 2.16 3.04 0.44 0.55 2.54 BSC 4.20 5.08 INCHES MIN MAX 1.340 1.380 1.340 1.380 0.085 0.120 0.017 0.022 0.100 BSC 0.165 0.200 1. DIMENSIONING AND TOLERANCING PER ANSI Y14.5M. 1982. 2. CONTROLLING DIMENSION: INCH. Mechanical Specification Figure A-1. Pin Grid Array Mechanical Specification MOTOROLA A-2 DSP56001 Mechanical Specification Table A-1. CQFP and PQFP Pin Out PIN # FUNCTION 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 132 131 130 129 128 127 126 125 124 123 122 121 120 119 118 117 NO CONNECT H4 H5 H6 PERIPHERAL VCC PERIPHERAL VCC H7 HREQ HR/W HEN NO CONNECT HACK HA0 NO CONNECT NO CONNECT HA1 HA2 NO CONNECT INTERNAL LOGIC GND INTERNAL LOGIC GND INTERNAL LOGIC VCC INTERNAL LOGIC VCC EXTAL XTAL NO CONNECT RESET MODA/IRQA NO CONNECT NMI/MODB/IRQB D23 D22 D21 NO CONNECT PIN # FUNCTION 116 115 114 113 112 111 110 109 108 107 106 105 104 103 102 101 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 NO CONNECT D20 D19 D18 DATA BUS GND DATA BUS GND NO CONNECT D17 D16 NO CONNECT D15 D14 D13 NO CONNECT D12 DATA BUS VCC DATA BUS VCC D11 NO CONNECT D10 D9 NO CONNECT D8 D7 D6 DATA BUS GND DATA BUS GND NO CONNECT D5 D4 D3 D2 NO CONNECT PIN # FUNCTION 83 82 81 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 NO CONNECT D1 D0 A15 A14 NO CONNECT A13 A12 A11 ADDRESS BUS GND ADDRESS BUS GND NO CONNECT A10 A9 NO CONNECT A8 A7 NO CONNECT A6 ADDRESS BUS VCC ADDRESS BUS VCC NO CONNECT A5 A4 NO CONNECT A3 A2 ADDRESS BUS GND ADDRESS BUS GND A1 A0 PS NO CONNECT PIN # FUNCTION 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 NO CONNECT DS X/Y RD WR BR NO CONNECT BG SRD NO CONNECT SC1 STD NO CONNECT SC2 INTERNAL LOGIC VCC INTERNAL LOGIC VCC INTERNAL LOGIC GND INTERNAL LOGIC GND SCK SC0 NO CONNECT SCLK TXD RXD NO CONNECT H0 PERIPHERAL GND PERIPHERAL GND H1 NO CONNECT H2 H3 NO CONNECT Note: Do not connect to ONO CONNECTO pins. ONO CONNECTO pins are reserved for future enhancements. DSP56001 MOTOROLA A-3 Mechanical Specification Figure A-2. Ceramic Quad Flat Pack MOTOROLA A-4 DSP56001 Mechanical Specification Figure A-2. Ceramic Quad Flat Pack (Continued) DSP56001 MOTOROLA A-5 Mechanical Specification Figure A-3. Plastic Quad Flat Pack MOTOROLA A-6 DSP56001 Mechanical Specification Figure A-3. Plastic Quad Flat Pack (Continued) DSP56001 MOTOROLA A-7 MOTOROLA A-8 DSP56001 APPENDIX B APPLICATION EXAMPLES The lowest cost DSP56001 based system is shown in Figure B1. It uses no run time external memory and requires only two chips, the DSP56001 and a low cost EPROM. The EPROM read access time should be less than 780 nanoseconds when the DSP56001 is operating at a clock rate of 20.5 MHz. 15K 15K 15K +5 V +5 V +5 V +5 V Note: When in RESET, IRQA and IRQB must be deasserted by external peripherals. A system with external data RAM memory requires no glue logic to select the external EPROM from bootstrap mode. PS is used to enable the EPROM and DS is used to enable the high speed data memories as shown in Figure B-2. 15K 15K 15K DSP56001 BR D23 FROM OPEN COLLECTOR BUFFER MODA/IRQA HACK 2716 PS CE MBD301* 11 A0-A10 FROM RESET FUNCTION RESET 8 D0-D7 A0-A10 D0-D7 MBD301* Note *: These diodes must be Schottky diodes. FROM OPEN COLLECTOR BUFFER MODB/IRQB Figure B-1. No Glue Logic, Low Cost Memory Port Bootstrap N Mode 1 +5 V 15K 15K 15K 15K 15K BR DSP56001 RD HACK FROM OPEN COLLECTOR BUFFER MODA/IRQA WR DS X/Y 11 A0-A10 PS 10 MBD301* FROM RESET FUNCTION A0-A9 A10 CS WE OE CE RESET A0-A10 2018-55 (3) 2716 MBD301* D0-D7 D0-D23 +5 V FROM OPEN COLLECTOR BUFFER 8 15K MODB/IRQB 24 D23 D0-D23 Note *: These diodes must be Schottky diodes. Figure B-2. Port A Bootstrap with External Data RAM N Mode 1 DSP56001 MOTOROLA B-1 Figure B-3 shows the DSP56001 bootstrapping via the Host Port from an MC68000. DSP56001 is operated in mode 2 with external program memory at location $E000. The programmer can overlay the high speed on-chip PRAM with DSP algorithms by using the MOVEM instruction. Systems with external program memory can load the on-chip PRAM without using the bootstrap mode. In Figure B-4, the +5 V 15K 15K 15K 15K 15K BR DSP56001 HACK FROM OPEN COLLECTOR BUFFER HEN LDS F32 MODA/IRQA AS F32 ADDRESS DECODE A4-A23 MBD301* MC68000 +5 V FROM RESET FUNCTION (12.5MHz) 1K RESET LS09 DTACK MBD301* F32 HR/W FROM OPEN COLLECTOR BUFFER MODB/IRQB 15K D0-D7 3 A1-A3 Note *: These diodes must be Schottky diodes. Figure B-3. DSP56001 Host Bootstrap Example N Mode 1 +5 V 15K 8 H0-H7 HA0-HA2 D23 R/W F32 15K 15K DSP56001 RD FROM OPEN COLLECTOR BUFFER MODA/IRQA PS 15 A0-A14 +5V MBD301* A0-A14 FROM RESET FUNCTION RESET HACK 2756-30 (3) +5V MBD301* FROM OPEN COLLECTOR BUFFER CS 15 KW D0-D23 15 KW MODB/IRQB BR D0-D23 24 Note *: These diodes must be Schottky diodes. Figure B-4. 32K Words of External Program ROM N Mode 2 MOTOROLA B-2 DSP56001 OE Figure B-5 shows an alternative clock oscillator circuit used in the Graphic Equalizer application note (APR2). The 330W resistor provides additional current limiting in the crystal. Figure B-6 shows a circuit which waits until Vcc on the DSP is at least 4.5 V before initiating a 3.75 ms minimum (150,000T) oscillator stabilization delay required for the on-chip oscillator (only 50T is required for an external oscillator). This insures that the DSP is operational and stable before releasing the reset signal. 330 W 470KW XTAL EXTAL 10 pf 10 pf 20.5 MHz Figure B-5. Alternative Clock Circuit from the Graphic Equalizer (APR2) +5V R RESET 1 (1) 2 (2) CDLY MC34064 MC33064 + 1.2 Vref 1 U1 tDLY = RCDLY In 1- Vth Vin - Vol 3 (4) Where: tDLY = 150,000T min. Vin = 5 V LOGIC RESET R = 8.2K + 5% fosc = 20.5 MHz Vth = 2.5 V Vol = 0.4 V CDLY = 1 mf + 20% T = 25 ns Notes: 1. IRQA and IRQB must be hardwired. 2. MODA and MODB must be hard wired. Figure B-6. Reset Circuit Using MC34064/MC33064 DSP56001 MOTOROLA B-3 Figure 7 illustrates how to connect a 20 ns static RAM with a 33 MHz. DSP56001. The important parameters are TDW < 10 ns, TDOE < 10 ns, and TAA = 20 ns maximum. A 7.5 ns PLD is used to minimize decoding delays. This example maps the static RAM into the ranges X:$1000-1FFF and Y:$1000-1FFF. The PLD equation is: RAM_ENABLE = PS & !DS & !A15 & !A14 & !A13 & !A12 MCM6264D (8K X 8) 20 ns DSP56001 27 MHZ DATA ADDRESS DS PS DATA 16L8-7 7.5ns PLD 4 A12 5 6 A13 A14 7 A15 8 DS 9 PS ADDRESS RAM_ENABLE 12 E RD OE WR WR CS Figure B-7. 27 MHz DSP56001 with 20 ns SRAM MOTOROLA B-4 DSP56001 Figure B-8 shows the DSP56001 connected to the bus of an IBM-PC computer. The PAL equations and other details of this circuit are available in OAn ISA BUS INTERFACE FOR THE DSP56001O which is provided on request by the Motorola DSP Marketing Department (512-891-2030). NOTE: CONNECTOR is J1 of ISA BUS All Series Resistors 15K OHMS IRQA IRQB +5v OSC A04 A05 A06 A07 A08 A09 A14 AEN IOR IOW 1 2 23 L13 3 13 B10 A9 4 PAL22V10 B30 A27 A26 A25 A24 A23 A22 A17 A11 B14 B13 5 6 7 8 9 10 17 A10 16 A11 14 B5 22 A4 21 A5 19 A31 A30 A29 A00 A01 A02 HR/W MODA/IRQA MODB/IRQB RESET 11 11 12 13 14 15 16 17 18 D23 DSP56001 1 DIR MC74ACT245 OE D07 D06 D05 D04 D03 D02 D01 D00 HREQ HACK HEN 15 B4 A02 A03 A04 A05 A06 A07 A08 A09 BR 9 B11 8 A12 7 6 5 4 H7 H6 A13 H5 B12 H4 B13 H3 3 C12 H2 C13 H1 2 D12 H0 B8 HA0 A8 HA1 A7 HA2 Figure B-8. DSP56001-to-ISA Bus Interface Schematic DSP56001 MOTOROLA B-5 MOTOROLA B-6 DSP56001 APPENDIX C MU-LAW / A-LAW EXPANSION TABLES ; M_00 M_01 M_02 M_03 M_04 M_05 M_06 M_07 M_08 M_09 M_0A M_0B M_0C M_0D M_0E M_0F M_10 M_11 M_12 M_13 M_14 M_15 M_16 M_17 M_18 M_19 M_1A M_1B M_1C M_1D M_1E M_1F M_20 M_21 M_22 M_23 M_24 M_25 M_26 M_27 M_28 M_29 M_2A M_2B M_2C M_2D M_2E M_2F M_30 M_31 M_32 M_33 M_34 M_35 M_36 M_37 M_38 M_39 M_3A M_3B M_3C M_3D M_3E ORG X:$100 DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $7D7C00 $797C00 $757C00 $717C00 $6D7C00 $697C00 $657C00 $617C00 $5D7C00 $597C00 $557C00 $517C00 $4D7C00 $497C00 $457C00 $417C00 $3E7C00 $3C7C00 $3A7C00 $387C00 $367C00 $347C00 $327C00 $307C00 $2E7C00 $2C7C00 $2A7C00 $287C00 $267C00 $247C00 $227C00 $207C00 $1EFC00 $1DFC00 $1CFC00 $1BFC00 $1AFC00 $19FC00 $18FC00 $17FC00 $16FC00 $15FC00 $14FC00 $13FC00 $12FC00 $11FC00 $10FC00 $0FFC00 $0F3C00 $0EBC00 $0E3C00 $0DBC00 $0D3C00 $0CBC00 $0C3C00 $0BBC00 $0B3C00 $0ABC00 $0A3C00 $09BC00 $093C00 $08BC00 $083C00 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 8031 7775 7519 7263 7007 6751 6495 6239 5983 5727 5471 5215 4959 4703 4447 4191 3999 3871 3743 3615 3487 3359 3231 3103 2975 2847 2719 2591 2463 2335 2207 2079 1983 1919 1855 1791 1727 1663 1599 1535 1471 1407 1343 1279 1215 1151 1087 1023 975 943 911 879 847 815 783 751 719 687 655 623 591 559 527 M_3F M_40 M_41 M_42 M_43 M_44 M_45 M_46 M_47 M_48 M_49 M_4A M_4B M_4C M_4D M_4E M_4F M_50 M_51 M_52 M_53 M_54 M_55 M_56 M_57 M_58 M_59 M_5A M_5B M_5C M_5D M_5E M_5F M_60 M_61 M_62 M_63 M_64 M_65 M_66 M_67 M_68 M_69 M_6A M_6B M_6C M_6D M_6E M_6F M_70 M_71 M_72 M_73 M_74 M_75 M_76 M_77 M_78 M_79 M_7A M_7B M_7C M_7D M_7E M_7F DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $07BC00 $075C00 $071C00 $06DC00 $069C00 $065C00 $061C00 $05DC00 $059C00 $055C00 $051C00 $04DC00 $049C00 $045C00 $041C00 $03DC00 $039C00 $036C00 $034C00 $032C00 $030C00 $02EC00 $02CC00 $02AC00 $028C00 $026C00 $024C00 $022C00 $020C00 $01EC00 $01CC00 $01AC00 $018C00 $017400 $016400 $015400 $014400 $013400 $012400 $011400 $010400 $00F400 $00E400 $00D400 $00C400 $00B400 $00A400 $009400 $008400 $007800 $007000 $006800 $006000 $005800 $005000 $004800 $004000 $003800 $003000 $002800 $002000 $001800 $001000 $000800 $000000 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 495 471 455 439 423 407 391 375 359 343 327 311 295 279 263 247 231 219 211 203 195 187 179 171 163 155 147 139 131 123 115 107 99 93 89 85 81 77 73 69 65 61 57 53 49 45 41 37 33 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 0 Figure C-1. Mu-Law/A-Law Expansion Table Contents (Sheet 1 of 2) MOTOROLA C-1 DSP56001 A_80 A_81 A_82 A_83 A_84 A_85 A_86 A_87 A_88 A_89 A_8A A_8B A_8C A_8D A_8E A_8F A_90 A_91 A_92 A_93 A_94 A_95 A_96 A_97 A_98 A_99 A_9A A_9B A_9C A_9D A_9E A_9F A_A0 A_A1 A_A2 A_A3 A_A4 A_A5 A_A6 A_A7 A_A8 A_A9 A_AA A_AB A_AC A_AD A_AE A_AF A_B0 A_B1 A_B2 A_B3 A_B4 A_B5 A_B6 A_B7 A_B8 A_B9 A_BA A_BB A_BC A_BD A_BE A_BF DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $158000 $148000 $178000 $168000 $118000 $108000 $138000 $128000 $1D8000 $1C8000 $1F8000 $1E8000 $198000 $188000 $1B8000 $1A8000 $0AC000 $0A4000 $0BC000 $0B4000 $08C000 $084000 $09C000 $094000 $0EC000 $0E4000 $0FC000 $0F4000 $0CC000 $0C4000 $0DC000 $0D4000 $560000 $520000 $5E0000 $5A0000 $460000 $420000 $4E0000 $4A0000 $760000 $720000 $7E0000 $7A0000 $660000 $620000 $6E0000 $6A0000 $2B0000 $290000 $2F0000 $2D0000 $230000 $210000 $270000 $250000 $3B0000 $390000 $3F0000 $3D0000 $330000 $310000 $370000 $350000 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 688 656 752 720 560 528 624 592 944 912 1008 976 816 784 880 848 344 328 376 360 280 264 312 296 472 456 504 488 408 392 440 424 2752 2624 3008 2880 2240 2112 2496 2368 3776 3648 4032 3904 3264 3136 3520 3392 1376 1312 1504 1440 1120 1056 1248 1184 1888 1824 2016 1952 1632 1568 1760 1696 A_C0 A_C1 A_C2 A_C3 A_C4 A_C5 A_C6 A_C7 A_C8 A_C9 A_CA A_CB A_CC A_CD A_CE A_CF A_D0 A_D1 A_D2 A_D3 A_D4 A_D5 A_D6 A_D7 A_D8 A_D9 A_DA A_DB A_DC A_DD A_DE A_DF A_E0 A_E1 A_E2 A_E3 A_E4 A_E5 A_E6 A_E7 A_E8 A_E9 A_EA A_EB A_EC A_ED A_EE A_EF A_F0 A_F1 A_F2 A_F3 A_F4 A_F5 A_F6 A_F7 A_F8 A_F9 A_FA A_FB A_FC A_FD A_FE A_FF DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $015800 $014800 $017800 $016800 $011800 $010800 $013800 $012800 $01D800 $01C800 $01F800 $01E800 $019800 $018800 $01B800 $01A800 $005800 $004800 $007800 $006800 $001800 $000800 $003800 $002800 $00D800 $00C800 $00F800 $00E800 $009800 $008800 $00B800 $00A800 $056000 $052000 $05E000 $05A000 $046000 $042000 $04E000 $04A000 $076000 $072000 $07E000 $07A000 $066000 $062000 $06E000 $06A000 $02B000 $029000 $02F000 $02D000 $023000 $021000 $027000 $025000 $03B000 $039000 $03F000 $03D000 $033000 $031000 $037000 $035000 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; 43 41 47 45 35 33 39 37 59 57 63 61 51 49 55 53 11 9 15 13 3 1 7 5 27 25 31 29 19 17 23 21 172 164 188 180 140 132 156 148 236 228 252 244 204 196 220 212 86 82 94 90 70 66 78 74 118 114 126 122 102 98 110 106 Figure C-1. Mu-Law/A-Law Expansion Table Contents (Sheet 2 of 2) DSP56001 MOTOROLA C-2 APPENDIX D SINE WAVE TABLE This sine wave table is normally used by FFT routines which use bit reversed address pointers. This table can be used as it is for up to 512 point FFTs; however, for larger FFTs, the table must be copied to a different memory location to allow the reverse-carry addressing mode to be used (see Section 5.3.2.3 REVERSE-CARRY MODIFIER (Mn=$0000) in the DSP56000/DSP56001 Digital Signal Processor UserOs Manual for additional information). S_38 DC $7D8A5F ; +0.9807853103 ORG Y:$100 S_39 DC $7E1D94 ; +0.9852777123 ; S_3A DC $7E9D56 ; +0.9891765118 S_00 DC $000000 ; +0.0000000000 S_3B DC $7F0992 ; +0.9924796224 S_01 DC $03242B ; +0.0245412998 S_3C DC $7F6237 ; +0.9951847792 S_02 DC $0647D9 ; +0.0490676016 S_3D DC $7FA737 ; +0.9972904921 S_03 DC $096A90 ; +0.0735644996 S_3E DC $7FD888 ; +0.9987955093 S_04 DC $0C8BD3 ; +0.0980170965 S_3F DC $7FF622 ; +0.9996988773 S_05 DC $0FAB27 ; +0.1224106997 S_40 DC $7FFFFF ; +0.9999998808 S_06 DC $12C810 ; +0.1467303932 S_41 DC $7FF622 ; +0.9996988773 S_07 DC $15E214 ; +0.1709619015 S_42 DC $7FD888 ; +0.9987955093 S_08 DC $18F8B8 ; +0.1950902939 S_43 DC $7FA737 ; +0.9972904921 S_09 DC $1C0B82 ; +0.2191012055 S_44 DC $7F6237 ; +0.9951847792 S_0A DC $1F19F9 ; +0.2429800928 S_45 DC $7F0992 ; +0.9924796224 S_0B DC $2223A5 ; +0.2667128146 S_46 DC $7E9D56 ; +0.9891765118 S_0C DC $25280C ; +0.2902846038 S_47 DC $7E1D94 ; +0.9852777123 S_0D DC $2826B9 ; +0.3136816919 S_48 DC $7D8A5F ; +0.9807853103 S_0E DC $2B1F35 ; +0.3368898928 S_49 DC $7CE3CF ; +0.9757022262 S_0F DC $2E110A ; +0.3598949909 S_4A DC $7C29FC ; +0.9700313210 S_10 DC $30FBC5 ; +0.3826833963 S_4B DC $7B5D04 ; +0.9637761116 S_11 DC $33DEF3 ; +0.4052414000 S_4C DC $7A7D05 ; +0.9569402933 S_12 DC $36BA20 ; +0.4275551140 S_4D DC $798A24 ; +0.9495282173 S_13 DC $398CDD ; +0.4496113062 S_4E DC $788484 ; +0.9415441155 S_14 DC $3C56BA ; +0.4713967144 S_4F DC $776C4F ; +0.9329928160 S_15 DC $3F174A ; +0.4928981960 S_50 DC $7641AF ; +0.9238795042 S_16 DC $41CE1E ; +0.5141026974 S_51 DC $7504D3 ; +0.9142097235 S_17 DC $447ACD ; +0.5349975824 S_52 DC $73B5EC ; +0.9039893150 S_18 DC $471CED ; +0.5555701852 S_53 DC $72552D ; +0.8932244182 S_19 DC $49B415 ; +0.5758082271 S_54 DC $70E2CC ; +0.8819212914 S_1A DC $4C3FE0 ; +0.5956993103 S_55 DC $6F5F03 ; +0.8700870275 S_1B DC $4EBFE9 ; +0.6152315736 S_56 DC $6DCA0D ; +0.8577286005 S_1C DC $5133CD ; +0.6343932748 S_57 DC $6C2429 ; +0.8448535204 S_1D DC $539B2B ; +0.6531729102 S_58 DC $6A6D99 ; +0.8314697146 S_1E DC $55F5A5 ; +0.6715589762 S_59 DC $68A69F ; +0.8175848722 S_1F DC $5842DD ; +0.6895405054 S_5A DC $66CF81 ; +0.8032075167 S_20 DC $5A827A ; +0.7071068287 S_5B DC $64E889 ; +0.7883464098 S_21 DC $5CB421 ; +0.7242470980 S_5C DC $62F202 ; +0.7730104923 S_22 DC $5ED77D ; +0.7409511805 S_5D DC $60EC38 ; +0.7572088242 S_23 DC $60EC38 ; +0.7572088242 S_5E DC $5ED77D ; +0.7409511805 S_24 DC $62F202 ; +0.7730104923 S_5F DC $5CB421 ; +0.7242470980 S_25 DC $64E889 ; +0.7883464098 S_60 DC $5A827A ; +0.7071068287 S_26 DC $66CF81 ; +0.8032075167 S_61 DC $5842DD ; +0.6895405054 S_27 DC $68A69F ; +0.8175848722 S_62 DC $55F5A5 ; +0.6715589762 S_28 DC $6A6D99 ; +0.8314697146 S_63 DC $539B2B ; +0.6531729102 S_29 DC $6C2429 ; +0.8448535204 S_64 DC $5133CD ; +0.6343932748 S_2A DC $6DCA0D ; +0.8577286005 S_65 DC $4EBFE9 ; +0.6152315736 S_2B DC $6F5F03 ; +0.8700870275 S_66 DC $4C3FE0 ; +0.5956993103 S_2C DC $70E2CC ; +0.8819212914 S_67 DC $49B415 ; +0.5758082271 S_2D DC $72552D ; +0.8932244182 S_68 DC $471CED ; +0.5555701852 S_2E DC $73B5EC ; +0.9039893150 S_69 DC $447ACD ; +0.5349975824 S_2F DC $7504D3 ; +0.9142097235 S_6A DC $41CE1E ; +0.5141026974 S_30 DC $7641AF ; +0.9238795042 S_6B DC $3F174A ; +0.4928981960 S_31 DC $776C4F ; +0.9329928160 S_6C DC $3C56BA ; +0.4713967144 S_32 DC $788484 ; +0.9415441155 S_6D DC $398CDD ; +0.4496113062 S_33 DC $798A24 ; +0.9495282173 S_6E DC $36BA20 ; +0.4275551140 S_34 DC $7A7D05 ; +0.9569402933 S_6F DC $33DEF3 ; +0.4052414000 S_35 DC $7B5D04 ; +0.9637761116 S_70 DC $30FBC5 ; +0.3826833963 S_36 DC $7C29FC ; +0.9700313210 S_71 DC $2E110A ; +0.3598949909 S_37 DC $7CE3CF ; +0.9757022262 S_72 DC $2B1F35 ; +0.3368898928 Figure D-1. Sine Wave Table Contents (Sheet 1 of 3) MOTOROLA D-1 DSP56001 S_73 S_74 S_75 S_76 S_77 S_78 S_79 S_7A S_7B S_7C S_7D S_7E S_7F S_80 S_81 S_82 S_83 S_84 S_85 S_86 S_87 S_88 S_89 S_8A S_8B S_8C S_8D S_8E S_8F S_90 S_91 S_92 S_93 S_94 S_95 S_96 S_97 S_98 S_99 S_9A S_9B S_9C S_9D S_9E S_9F S_A0 S_A1 S_A2 S_A3 S_A4 S_A5 S_A6 S_A7 S_A8 S_A9 S_AA S_AB S_AC S_AD S_AE S_AF S_B0 S_B1 S_B2 S_B3 DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $2826B9 $25280C $2223A5 $1F19F9 $1C0B82 $18F8B8 $15E214 $12C810 $0FAB27 $0C8BD3 $096A90 $0647D9 $03242B $000000 $FCDBD5 $F9B827 $F69570 $F3742D $F054D9 $ED37F0 $EA1DEC $E70748 $E3F47E $E0E607 $DDDC5B $DAD7F4 $D7D947 $D4E0CB $D1EEF6 $CF043B $CC210D $C945E0 $C67323 $C3A946 $C0E8B6 $BE31E2 $BB8533 $B8E313 $B64BEB $B3C020 $B14017 $AECC33 $AC64D5 $AA0A5B $A7BD23 $A57D86 $A34BDF $A12883 $9F13C8 $9D0DFE $9B1777 $99307F $975961 $959267 $93DBD7 $9235F3 $90A0FD $8F1D34 $8DAAD3 $8C4A14 $8AFB2D $89BE51 $8893B1 $877B7C $8675DC ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; +0.3136816919 +0.2902846038 +0.2667128146 +0.2429800928 +0.2191012055 +0.1950902939 +0.1709619015 +0.1467303932 +0.1224106997 +0.0980170965 +0.0735644996 +0.0490676016 +0.0245412998 +0.0000000000 -0.0245412998 -0.0490676016 -0.0735644996 -0.0980170965 -0.1224106997 -0.1467303932 -0.1709619015 -0.1950902939 -0.2191012055 -0.2429800928 -0.2667128146 -0.2902846038 -0.3136816919 -0.3368898928 -0.3598949909 -0.3826833963 -0.4052414000 -0.4275551140 -0.4496113062 -0.4713967144 -0.4928981960 -0.5141026974 -0.5349975824 -0.5555701852 -0.5758082271 -0.5956993103 -0.6152315736 -0.6343932748 -0.6531729102 -0.6715589762 -0.6895405054 -0.7071068287 -0.7242470980 -0.7409511805 -0.7572088242 -0.7730104923 -0.7883464098 -0.8032075167 -0.8175848722 -0.8314697146 -0.8448535204 -0.8577286005 -0.8700870275 -0.8819212914 -0.8932244182 -0.9039893150 -0.9142097235 -0.9238795042 -0.9329928160 -0.9415441155 -0.9495282173 S_B4 S_B5 S_B6 S_B7 S_B8 S_B9 S_BA S_BB S_BC S_BD S_BE S_BF S_C0 S_C1 S_C2 S_C3 S_C4 S_C5 S_C6 S_C7 S_C8 S_C9 S_CA S_CB S_CC S_CD S_CE S_CF S_D0 S_D1 S_D2 S_D3 S_D4 S_D5 S_D6 S_D7 S_D8 S_D9 S_DA S_DB S_DC S_DD S_DE S_DF S_E0 S_E1 S_E2 S_E3 S_E4 S_E5 S_E6 S_E7 S_E8 S_E9 S_EA S_EB S_EC S_ED S_EE S_EF S_F0 S_F1 S_F2 S_F3 S_F4 DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC DC $8582FB $84A2FC $83D604 $831C31 $8275A1 $81E26C $8162AA $80F66E $809DC9 $8058C9 $802778 $8009DE $800000 $8009DE $802778 $8058C9 $809DC9 $80F66E $8162AA $81E26C $8275A1 $831C31 $83D604 $84A2FC $8582FB $8675DC $877B7C $8893B1 $89BE51 $8AFB2D $8C4A14 $8DAAD3 $8F1D34 $90A0FD $9235F3 $93DBD7 $959267 $975961 $99307F $9B1777 $9D0DFE $9F13C8 $A12883 $A34BDF $A57D86 $A7BD23 $AA0A5B $AC64D5 $AECC33 $B14017 $B3C020 $B64BEB $B8E313 $BB8533 $BE31E2 $C0E8B6 $C3A946 $C67323 $C945E0 $CC210D $CF043B $D1EEF6 $D4E0CB $D7D947 $DAD7F4 ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; ; -0.9569402933 -0.9637761116 -0.9700313210 -0.9757022262 -0.9807853103 -0.9852777123 -0.9891765118 -0.9924796224 -0.9951847792 -0.9972904921 -0.9987955093 -0.9996988773 -1.0000000000 -0.9996988773 -0.9987955093 -0.9972904921 -0.9951847792 -0.9924796224 -0.9891765118 -0.9852777123 -0.9807853103 -0.9757022262 -0.9700313210 -0.9637761116 -0.9569402933 -0.9495282173 -0.9415441155 -0.9329928160 -0.9238795042 -0.9142097235 -0.9039893150 -0.8932244182 -0.8819212914 -0.8700870275 -0.8577286005 -0.8448535204 -0.8314697146 -0.8175848722 -0.8032075167 -0.7883464098 -0.7730104923 -0.7572088242 -0.7409511805 -0.7242470980 -0.7071068287 -0.6895405054 -0.6715589762 -0.6531729102 -0.6343932748 -0.6152315736 -0.5956993103 -0.5758082271 -0.5555701852 -0.5349975824 -0.5141026974 -0.4928981960 -0.4713967144 -0.4496113062 -0.4275551140 -0.4052414000 -0.3826833963 -0.3598949909 -0.3368898928 -0.3136816919 -0.2902846038 Figure D-1. Sine Wave Table Contents (Sheet 2 of 3) DSP56001 MOTOROLA D-2 S_F5 S_F6 S_F7 S_F8 S_F9 S_FA DC DC DC DC DC DC $DDDC5B $E0E607 $E3F47E $E70748 $EA1DEC $ED37F0 ; ; ; ; ; ; -0.2667128146 -0.2429800928 -0.2191012055 -0.1950902939 -0.1709619015 -0.1467303932 S_FB S_FC S_FD S_FE S_FF DC DC DC DC DC $F054D9 $F3742D $F69570 $F9B827 $FCDBD5 ; ; ; ; ; -0.1224106997 -0.0980170965 -0.0735644996 -0.0490676016 -0.0245412998 Figure D-1. Sine Wave Table Contents (Sheet 3 of 3) MOTOROLA D-3 DSP56001 DSP56001 MOTOROLA D-4 APPENDIX E BOOTSTRAP MODE N OPERATING MODE 1 The bootstrap feature of the DSP56001 consists of four special on-chip modules: the 512 words of PRAM, a 32-word bootstrap ROM, the bootstrap control logic, and the bootstrap firmware program. BOOTSTRAP ROM This 32-word on-chip ROM has been factory programmed to perform the actual bootstrap operation from the memory expansion port (Port A) or from the Host Interface. You have no access to the bootstrap ROM other than through the bootstrap process. Control logic will disable the bootstrap ROM during normal operations. BOOTSTRAP CONTROL LOGIC The bootstrap mode control logic is activated when the DSP56001 is placed in Operating Mode 1. The control logic maps the bootstrap ROM into program memory space as long as the DSP56001 remains in Operating Mode 1. The bootstrap firmware changes operating modes when the bootstrap load is completed. When the DSP56001 exits the reset state in Mode 1, the following actions occur. 1. The control logic maps the bootstrap ROM into the internal DSP program memory space starting at location $0000. This P: space is read-only. 2. The control logic forces the entire P: space to be writeonly memory during the bootstrap loading process. Attempts to read from this space will result in fetches from the read-only bootstrap ROM. 3. Program execution begins at location $0000 in the bootstrap ROM. The bootstrap ROM program is able to perform the PRAM load through either the memory expansion port from a byte-wide external memory, or through the Host Interface. 4. The bootstrap ROM program executes the following sequence to end the bootstrap operation and begin your program execution. A. Enter Operating Mode 2 by writing to the OMR. This action will be timed to remove the bootstrap ROM from the program memory map and re-enable read/write access to the PRAM. B. The change to Mode 2 is timed exactly to allow the boot program to execute a single cycle instruction then a JMP #00 and begin execution of the program at location $0000. You may also select the bootstrap mode by writing Operating Mode 1 into the OMR. This initiates a timed operation to map the bootstrap ROM into the program address space after a delay to allow execution of a single cycle instruction and then a JMP #<00 (e.g., see Bootstrap code for DSP56001) to begin the bootstrap process as described above in steps 1-4. This technique allows the DSP56001 user to reboot the system (with a different program if desired). through the Host Interface. The particular method used is selected by the level of program memory location $C000, bit 23. If location P:$C000, bit 23 is read as a one, the external bus version of the bootstrap program will be selected. Typically, a byte wide EPROM will be connected to the DSP56001 Address and Data Bus as shown in Figure B-1 of the applications examples given in APPENDIX B APPLICATIONS EXAMPLES. The data contents of the EPROM must be organized as shown below. Address of External Byte Wide P Memory P:$C000 P:$C001 P:$C002 P:$C5FD P:$C5FE P:$C5FF Contents Loaded to Internal PRAM at: P:$0000 low byte P:$0000 mid byte P:$0000 high byte P:$01FF low byte P:$01FF mid byte P:$01FF high byte If location P:$C000, bit 23 is read as a zero, the Host Interface version of the bootstrap program will be selected. Typically a host microprocessor will be connected to the DSP56001 Host Interface. The host microprocessor must write the Host Interface registers THX, TXM, and then TSL with the desired contents of PRAM from location P:$0000 up to P:$01FF. If less than 512 words are to be loaded, the host programmer can exit the bootstrap program and force the DSP56001 to begin executing at location P:$0000 by setting HF0=1 in the Host Interface during the bootstrap load. In most systems, the DSP56001 responds so fast that handshaking between the DSP56001 and the host is not necessary. The bootstrap program is shown in flowchart form in Figure E-1 and in assembler listing format in Figure E-2. BOOTSTRAP FIRMWARE PROGRAM Bootstrap ROM contains the bootstrap firmware program that performs initial loading of the DSP56001 PRAM. The program is written in DSP56000/DSP56001 assembly language. It contains two separate methods of initializing the PRAM: loading from a byte-wide memory starting at location P:$C000 or loading MOTOROLA E-1 DSP56001 START IS L FLAG =0? INITIALIZE ADDRESS REGISTERS R0=0 R1=$C000 R2=$FFE9 N HOST INTERFACE CONTINUE LOADING Y Y N SHIFT 8 BITS FROM A3 INTO ACCUMULATOR A1OS 8 MSBS SET L FLAG = 1 (INDICATES A BOOT FROM EXTERNAL MEMORY WAS SELECTED) FINISHED 3 LOOPS? START DO LOOP, 512 ITERATIONS N ENDDO STOP BOOT LOAD IS THE HOST RECEIVE FLAG = 0? WAIT FOR HOST TO FILL INPUT REGISTER EXTERNAL MEMORY N IS HOST FLAG 0 =0? GET 8-BIT DATA FROM P MEMORY PUT I N A2, INCREMENT R1 Y ENABLE HOST INTERFACE LOGIC LOAD FROM EXTERNAL MEMORY DO 3 TIMES (GET 8-BIT DATA AND SHIFT INTO 24-BIT WORD) GET P:$C000 BIT 23 AND PUT IT IN THE CARRY FLAG WAS P:$C000 BIT 23 =0? LOAD FROM HOST INTERFACE Y DATA AVAILABLE PUT DATA FROM HOST RECEIVE DATA REGISTER INTO ACCUMULATOR A1 N REPEAT UNTIL 24-BIT DATA IS IN A1 Y MOVE A1 INTO NEXT INTERNAL P MEMORY LOCATION. INCREMENT R0 POINTER. REPEAT UNTIL 512 PROGRAM WORDS HAVE BEEN LOADED N FINISHED 512 LOOPS? Y SET OPERATING MODE TO MODE 2 CLEAR STATUS REGISTER JUMP TO P:0 Figure E-1. Bootstrap Program Flowchart DSP56001 MOTOROLA E-2 Motorola DSP56000 Macro Cross Assembler Version 2.00 87-08-23 09:57:46 bootcode.asm Page 1 1 2 4 6 7 8 9 10 11 13 14 15 16 17 18 19 PAGE 132,50,0,10 ; BOOTSTRAP SOURCE CODE FOR DSP56001 - (C) Copyright 1986 Motorola Inc. ; Host algorithm / AND / external bus method ; This is the Bootstrap source code contained in the DSP56001 32 word boot ROM. ; This program can load the internal program memory from one of two external sources. ; The program reads P:$C000 bit 23 to decide which external source to access. If ; P:$C000 bit 23 = 0 then it loads internal PRAM from H0-H7, using the Host Interface ; logic. If P:$C000 bit 23 = 1 then it loads from 1,536 consecutive byte-wide P: ; memory locations (starting at P:$C000). BOOT EQU $C000 ; The location in P: memory ; where the external byte-wide ; EPROM is expected to be mapped. 0000C000 p:0000 P:0000 ORG 62F400 START PL:$0 ; Bootstrap code starts at P:$0 MOVE #$FFE9,R2 ; R2 = address of the Host ; Interface status register. ; R1 = starting P: address of 00FFE9 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 P:0002 61F400 00C000 MOVE #BOOT,R1 P:0004 300000 MOVE #0,R0 P:0005 P:0006 P:0007 07E18C 200037 0E0009 MOVE ROL JCC P:(R1),Al A