Low Power Dissipation and Power-Down
Modes:
– 47 mA (2.35 mA/MIP) at 5 V, 40-MHz
Clock (Average)
– 23 mA (1.15 mA/MIP) at 3 V, 40-MHz
Clock (Average)
– 10 mA at 5 V, 40-MHz Clock (IDLE1 Mode)
– 3 mA at 5 V, 40-MHz Clock (IDLE2 Mode)
– 5 µA at 5 V, Clocks Off (IDLE2 Mode)
D
High-Performance Static CMOS Technology
D
IEEE Standard 1149.1† Test-Access Port
(JTAG)
description
The TMS320C5x generation of the Texas Instruments (TI) TMS320 digital signal processors (DSPs) is
fabricated with static CMOS integrated circuit technology; the architectural design is based upon that of an
earlier TI DSP, the TMS320C25. The combination of advanced Harvard architecture, on-chip peripherals,
on-chip memory , and a highly specialized instruction set is the basis of the operational flexibility and speed of
the ’C5x
The ’C5x devices offer these advantages:
DDDDDD
TI is a trademark of Texas Instruments Incorporated.
†
IEEE Standard 1149.1–1990, IEEE Standard Test-Access Port and Boundary-Scan Architecture
‡
References to ’C5x in this document include both TMS320C5x and TMS320LC5x devices unless specified otherwise.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
‡
devices. They execute up to 50 million instructions per second (MIPS).
Enhanced TMS320 architectural design for increased performance and versatility
Modular architectural design for fast development of spin-off devices
Advanced integrated-circuit processing technology for increased performance
Upward-compatible source code (source code for ’C1x and ’C2x DSPs is upward compatible with ’C5x DSPs.)
Enhanced TMS320 instruction set for faster algorithms and for optimized high-level language operation
New static-design techniques for minimizing power consumption and maximizing radiation tolerance
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
Copyright 1996, Texas Instruments Incorporated
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
1
TMS320C5x, TMS320LC5x
I/O PORTS
SUPPLY
TIME
TYPE
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
description (continued)
T able 1 provides a comparison of the devices in the ’C5x generation. It shows the capacity of on-chip RAM and
ROM memories, number of serial and parallel I/O ports, execution time of one machine cycle, and type of
package with total pin count.
IACK
NC
CLKOUT1
XF
HOLDA
TDX
DX
TFSX/TFRM
FSX
CLKMD2
V
SSI
V
SSI
TDO
V
DDC
V
DDC
X1
X2/CLKIN
CLKIN2
BR
STRB
R/W
PS
IS
DS
NC
V
SSC
V
SSC
NC
NC
NC
NC
A0A1A2A3A4A5A6A7A8
SSAVSSA
V
NOTE: NC = No connect (These pins are reserved.)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
A9
DDIVDDI
V
TDI
SSAVSSA
V
NC
A10
CLKMD1
NC
NC
RD
A11
A12
A13
A14
A15
DDAVDDA
V
WE
3
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for Devices in the PQ Package
SIGNALTYPEDESCRIPTION
PARALLEL INTERFACE BUS
A0–A15I/O/Z16-bit external address bus (MSB: A15, LSB: A0)
D0–D15I/O/Z16-bit external data bus (MSB: D15, LSB: D0)
PS, DS, ISO/ZProgram, data, and I/O space select outputs, respectively
STRBI/O/ZTiming strobe for external cycles and external DMA
R/WI/O/ZRead/write select for external cycles and external DMA
RD, WEO/ZRead and write strobes, respectively, for external cycles
READYIExternal bus ready/wait-state control input
BRI/O/ZBus request. Arbitrates global memory and external DMA
SYSTEM INTERFACE/CONTROL SIGNALS
RSIReset. Initializes device and sets PC to zero
MP/MCIMicroprocessor/microcomputer mode select. Enables internal ROM
HOLDIPuts parallel I/F bus in high-impedance state after current cycle
HOLDAO/ZHold acknowledge. Indicates external bus in hold state
XFO/ZExternal flag output. Set/cleared through software
BIOII/O branch input. Implements conditional branches
TOUTO/ZTimer output signal. Indicates output of internal timer
IAQO/ZInstruction acquisition signal
IACKO/ZInterrupt acknowledge signal
INT1–INT4IExternal interrupt inputs
NMIINonmaskable external interrupt
SERIAL PORT INTERFACE (SPI)
DRISerial receive-data input
DXO/ZSerial transmit-data output. In high-impedance state when not transmitting
CLKRISerial receive-data clock input
CLKXI/O/ZSerial transmit-data clock. Internal or external source
FSRISerial receive-frame-synchronization input
FSXI/O/ZSerial transmit-frame-synchronization signal. Internal or external source
TDM SERIAL-PORT INTERFACE
TDRITDM serial receive-data input
TDXO/ZTDM serial transmit-data output. In high-impedance state when not transmitting
TCLKRITDM serial receive-data clock input
TCLKXI/O/ZTDM serial transmit-data clock. Internal or external source
TFSR / TADDI/O/Z
TFSX /TFRMI
LEGEND:
I = Input
O = Output
Z = High impedance
TDM serial receive-frame-synchronization input. In the TDM mode, TFSR/TADD is used to output/
input the address of the port.
TDM serial transmit-frame-synchronization signal. Internal or external source. In the TDM mode,
TFSX/TFRM becomes TFRM, the TDM frame synchronization.
4
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for Devices in the PQ Package (Continued)
EMULATION/IEEE STANDARD 1149.1 TEST ACCESS PORT (TAP)
TDIITAP scan data input
TDOO/ZTAP scan data output
TMSIT AP mode select input
TCKITAP clock input
TRSTITAP reset (with pulldown resistor). Disables TAP when low
EMU0I/O/ZEmulation control 0. Reserved for emulation use
EMU1/OFFI/O/ZEmulation control 1. Puts outputs in high-impedance state when low
Pin Functions for the TMS320LC57 in the PBK Package
SIGNALTYPEDESCRIPTION
PARALLEL INTERFACE BUS
A0–A15I/O/Z16-bit external address bus (MSB: A15, LSB: A0)
D0–D15I/O/Z16-bit external data bus (MSB: D15, LSB: D0)
PS, DS, ISO/ZProgram, data, and I/O space select outputs, respectively
STRBI/O/ZTiming strobe for external cycles and external DMA
R/WI/O/ZRead/write select for external cycles and external DMA
RD, WEO/ZRead and write strobes, respectively, for external cycles
READYIExternal bus ready/wait-state control input
BRI/O/ZBus request. Arbitrates global memory and external DMA
SYSTEM INTERFACE/CONTROL SIGNALS
RSIReset. Initializes device and sets PC to zero
MP/MCIMicroprocessor/microcomputer mode select. Enables internal ROM
HOLDIPuts parallel I/F bus in high-impedance state after current cycle
HOLDAO/ZHold acknowledge. Indicates external bus in hold state
XFO/ZExternal flag output. Set/cleared through software
BIOII/O branch input. Implements conditional branches
TOUTO/ZTimer output signal. Indicates output of internal timer
IAQO/ZInstruction acquisition signal
INT1–INT4IExternal interrupt inputs
NMIINonmaskable external interrupt
SERIAL PORT INTERFACE
DRISerial receive-data input
DXO/ZSerial transmit-data output. In high-impedance state when not transmitting
CLKRISerial receive-data clock input
CLKXI/O/ZSerial transmit-data clock. Internal or external source
FSRISerial receive-frame-synchronization input
FSXI/O/ZSerial transmit-frame-synchronization signal. Internal or external source
HOST PORT INTERFACE (HPI)
HCNTL0IHPI mode control 1
HCNTL1IHPI mode control 2
HINTO/ZHost interrupt
HDS1IHPI data strobe 1
HDS2IHPI data strobe 2
HR/WIHPI read/write strobe
HASIHPI address strobe
HRDYO/ZHPI ready signal
HCSIHPI chip select
HBILIHPI byte identification input
HD0–HD7I/O/ZHPI data bus
LEGEND:
I = Input
O = Output
Z = High impedance
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
7
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for the TMS320LC57 in the PBK Package (Continued)
SIGNALTYPEDESCRIPTION
BUFFERED SERIAL PORT
BDRIBSP receive data input
BDXO/ZBSP transmit data output; in high-impedance state when not transmitting
BCLKRIBSP receive-data clock input
BCLKXI/O/ZBSP transmit-data clock; internal or external source
BFSRIBSP receive frame-synchronization input
BFSXI/O/ZBSP transmit frame-synchronization signal; internal or external source
EMULATION/JTAG INTERFACE
TDIIJTAG-test-port scan data input
TDOO/ZJTAG-test-port scan data output
TMSIJTAG-test-port mode select input
TCKIJTAG-port clock input
TRSTIJTAG-port reset (with pull-down resistor). Disables JTAG when low
EMU0I/O/ZEmulation control 0. Reserved for emulation use
EMU1/OFFI/O/ZEmulation control 1. Puts outputs in high-impedance state when low
NOTE: NC = No connect (These pins are reserved.)
†
See Table 2 for device-specific pinouts.
Table 2. Device-Specific Pinouts for the PZ Package
PIN’C51, ’LC51’C52, ’LC52’C53S, ’LC53S’LC56
5TCLKXV
§
6
CLKXCLKXCLKX1CLKX
7TFSR/TADDV
8TCLKRV
§
46
DRDRDR1DR
47TDRV
§
48
49
§
FSRFSRFSR1FSR
CLKRCLKRCLKR1CLKR
SSI
SSI
SSI
SSI
83CLKIN2CLKIN2CLKIN2CLKMD3
§
91
92TFSX/TFRMV
§
93
FSXFSXFSX1FSX
SSI
DXDXDX1DX
94TDXNCDX2BDX
‡
Pin names beginning with “B” indicate signals on the buffered serial port (BSP).
§
No functional change
CLKX2BCLKX
FSR2BFSR
CLKR2BCLKR
DR2BDR
FSX2BFSX
‡
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
9
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for Devices in the PZ Package
SIGNALTYPEDESCRIPTION
PARALLEL INTERFACE BUS
A0–A15I/O/Z16-bit external address bus (MSB: A15, LSB: A0)
D0–D15I/O/Z16-bit external data bus (MSB: D15, LSB: D0)
PS, DS, ISO/ZProgram, data, and I/O space select outputs, respectively
STRBI/O/ZTiming strobe for external cycles and external DMA
R/WI/O/ZRead/write select for external cycles and external DMA
RD, WEO/ZRead and write strobes, respectively, for external cycles
READYIExternal bus ready/wait-state control input
BRI/O/ZBus request. Arbitrates global memory and external DMA
SYSTEM INTERFACE/CONTROL SIGNALS
RSIReset. Initializes device and sets PC to zero
MP/MCIMicroprocessor/microcomputer mode select. Enables internal ROM
HOLDIPuts parallel I/F bus in high-impedance state after current cycle
HOLDAO/ZHold acknowledge. Indicates external bus in hold state
XFO/ZExternal flag output. Set/cleared through software
BIOII/O branch input. Implements conditional branches
TOUTO/ZTimer output signal. Indicates output of internal timer
INT1–INT4IExternal interrupt inputs
NMIINonmaskable external interrupt
SERIAL PORT INTERFACE
DR, DR1, DR2ISerial receive-data input
DX, DX1, DX2O/ZSerial transmit-data output. In high-impedance state when not transmitting
CLKR, CLKR1, CLKR2ISerial receive-data clock input
CLKX, CLKX1, CLKX2I/O/ZSerial transmit-data clock. Internal or external source
FSR, FSR1, FSR2ISerial receive-frame-synchronization input
FSX, FSX1, FSX2I/O/ZSerial transmit-frame-synchronization signal. Internal or external source
BUFFERED SERIAL PORT (BSP) (SEE NOTE 1)
BDRIBSP receive data input
BDXO/ZBSP transmit data output; in high-impedance state when not transmitting
BCLKRIBSP receive-data clock input
BCLKXI/O/ZBSP transmit-data clock; internal or external source
BFSRIBSP receive frame-synchronization input
BFSXI/O/ZBSP transmit frame-synchronization signal; internal or external source
LEGEND:
I = Input
O = Output
Z = High impedance
NOTE 1: ’LC56 devices only
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for Devices in the PZ Package (Continued)
SIGNALTYPEDESCRIPTION
TDM SERIAL PORT INTERFACE
TDRITDM serial receive-data input
TDXO/ZTDM serial transmit-data output. In high-impedance state when not transmitting
TCLKRITDM serial receive-data clock input
TCLKXI/O/ZTDM serial transmit-data clock. Internal or external source
TFSR / TADDI/O/Z
TFSX /TFRMI
TDIIJTAG-test-port scan data input
TDOO/ZJTAG-test-port scan data output
TMSIJTAG-test-port mode select input
TCKIJTAG-port clock input
TRSTIJTAG-port reset (with pull-down resistor). Disables JTAG when low
EMU0I/O/ZEmulation control 0. Reserved for emulation use
EMU1/OFFI/O/ZEmulation control 1. Puts outputs in high-impedance state when low
Pin Functions for the TMS320C52, TMS320LC52 in the PJ Package
SIGNALTYPEDESCRIPTION
PARALLEL INTERFACE BUS
A0–A15I/O/Z16-bit external address bus (MSB: A15, LSB: A0)
D0–D15I/O/Z16-bit external data bus (MSB: D15, LSB: D0)
PS, DS, ISO/ZProgram, data, and I/O space select outputs, respectively
STRBI/O/ZTiming strobe for external cycles and external DMA
R/WI/O/ZRead/write select for external cycles and external DMA
RD, WEO/ZRead and write strobes, respectively, for external cycles
READYIExternal bus ready/wait-state control input
BRI/O/ZBus request. Arbitrates global memory and external DMA
SYSTEM INTERFACE/CONTROL SIGNALS
RSIReset. Initializes device and sets PC to zero
MP/MCIMicroprocessor/microcomputer mode select. Enables internal ROM
HOLDIPuts parallel I/F bus in high-impedance state after current cycle
HOLDAO/ZHold acknowledge. Indicates external bus in hold state
XFO/ZExternal flag output. Set/cleared through software
BIOII/O branch input. Implements conditional branches
TOUTO/ZTimer output signal. Indicates output of internal timer
INT1–INT4IExternal interrupt inputs
NMIINonmaskable external interrupt
SERIAL PORT INTERFACE
DRISerial receive-data input
DXO/ZSerial transmit-data output. In high-impedance state when not transmitting
CLKRISerial receive-data clock input
CLKXI/O/ZSerial transmit-data clock. Internal or external source
FSRISerial receive-frame-synchronization input
FSXI/O/ZSerial transmit-frame-synchronization signal. Internal or external source
EMULATION/JTAG INTERFACE
TDIIJTAG-test-port scan data input
TDOO/ZJTAG-test-port scan data output
TMSIJTAG-test-port mode select input
TCKIJTAG-port clock input
TRSTIJTAG-port reset (with pulldown resistor). Disables JTAG when low
EMU0I/O/ZEmulation control 0. Reserved for emulation use
EMU1/OFFI/O/ZEmulation control 1. Puts outputs in high-impedance state when low
LEGEND:
I = Input
O = Output
Z = High impedance
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
13
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for the TMS320C52, TMS320LC52 in the PJ Package (Continued)
Pin Functions for the TMS320C57S, TMS320LC57S in the PGE Package
SIGNALTYPEDESCRIPTION
PARALLEL INTERFACE BUS
A0–A15I/O/Z16-bit external address bus (MSB: A15, LSB: A0)
D0–D15I/O/Z16-bit external data bus (MSB: D15, LSB: D0)
PS, DS, ISO/ZProgram, data, and I/O space select outputs, respectively
STRBI/O/ZTiming strobe for external cycles and external DMA
R/WI/O/ZRead/write select for external cycles and external DMA
RD, WEO/ZRead and write strobes, respectively, for external cycles
READYIExternal bus ready/wait-state control input
BRI/O/ZBus request. Arbitrates global memory and external DMA
SYSTEM INTERFACE/CONTROL SIGNALS
RSIReset. Initializes device and sets PC to zero
MP/MCIMicroprocessor/microcomputer mode select. Enables internal ROM
HOLDIPuts parallel I/F bus in high-impedance state after current cycle
HOLDAO/ZHold acknowledge. Indicates external bus in hold state
XFO/ZExternal flag output. Set/cleared through software
BIOII/O branch input. Implements conditional branches
TOUTO/ZTimer output signal. Indicates output of internal timer
IAQO/ZInstruction acquisition signal
INT1–INT4IExternal interrupt inputs
NMIINonmaskable external interrupt
SERIAL PORT INTERFACE (SPI)
DRISerial receive-data input
DXO/ZSerial transmit-data output. In high-impedance state when not transmitting
CLKRISerial receive-data clock input
CLKXI/O/ZSerial transmit-data clock. Internal or external source
FSRISerial receive-frame-synchronization input
FSXI/O/ZSerial transmit-frame-synchronization signal. Internal or external source
HOST PORT INTERFACE (HPI)
HCNTL0IHPI mode control 1
HCNTL1IHPI mode control 2
HINTO/ZHost interrupt
HDS1IHPI data strobe 1
HDS2IHPI data strobe 2
HR/WIHPI read/write strobe
HASIHPI address strobe
HRDYO/ZHPI ready signal
HCSIHPI chip select
HBILIHPI byte identification input
HD0–HD7I/O/ZHPI data bus
LEGEND:
I = Input
O = Output
Z = High impedance
16
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
Pin Functions for the TMS320C57S, TMS320LC57S in the PGE Package (Continued)
SIGNALTYPEDESCRIPTION
BUFFERED SERIAL PORT
BDRIBSP receive data input
BDXO/ZBSP transmit data output; in high-impedance state when not transmitting
BCLKRIBSP receive-data clock input
BCLKXI/O/ZBSP transmit-data clock; internal or external source
BFSRIBSP receive frame-synchronization input
BFSXI/O/ZBSP transmit frame-synchronization signal; internal or external source
EMULATION/JTAG INTERFACE
TDIIJTAG-test-port scan data input
TDOO/ZJTAG-test-port scan data output
TMSIJTAG-test-port mode select input
TCKIJTAG-port clock input
TRSTIJTAG-port reset (with pulldown resistor). Disables JTAG when low
EMU0I/O/ZEmulation control 0. Reserved for emulation use
EMU1/OFFI/O/ZEmulation control 1. Puts outputs in high-impedance state when low
The ’C5x’s advanced Harvard-type architecture maximizes the processing power by maintaining two separate
memory bus structures, program and data, for full-speed execution. Instructions support data transfers between
the two spaces. This architecture permits coefficients stored in program memory to be read into the RAM,
eliminating the need for a separate coefficient ROM. The ’C5x architecture also makes available immediate
instructions and subroutines based on computed values. Increased throughput on the ’C5x for many DSP
applications is accomplished using single-cycle multiply/accumulate instructions with a data-move option, up
to eight auxiliary registers with a dedicated arithmetic unit, a parallel logic unit, and faster I/O necessary for
data-intensive signal processing. The architectural design emphasizes overall speed, communication, and
flexibility in processor configuration. Control signals and instructions provide floating-point support,
block-memory transfers, communication to slower off-chip devices, and multiprocessing implementations
as shown in the functional block diagram.
Table 3 explains the symbols that are used in the functional block diagram.
Table 3. Symbols Used in Functional Block Diagram
SYMBOLDESCRIPTIONSYMBOLDESCRIPTION
ABUAuto-buffering unitIFRInterrupt-flag register
ACCBAccumulator bufferIMRInterrupt-mask register
ACCHAccumulator highINDXIndirect-addressing-index register
ACCLAccumulator lowIRInstruction register
ALUArithmetic logic unitMCSMicrocall stack
ARAUAuxiliary-register arithmetic unitMUXMultiplexer
ARBAuxiliary-register pointer bufferPAERBlock-repeat-address end register
ARCRAuxiliary-register compare registerPASRBlock-repeat-address start register
ARPAuxiliary-register pointerPCProgram counter
ARRAddress-receive register (ABU)PFCPrefetch counter
AR0–AR7Auxiliary registersPLUParallel logic unit
AXRAddress-transmit register (ABU)PMSTProcessor-mode-status register
BKRReceive-buffer-size register (ABU)PRDTimer-period register
BKXTransmit-buffer-size register (ABU)PREGProduct register
BMARBlock-move-address registerRPTCRepeat-counter register
BRCRBlock-repeat-counter registerSARAMSingle-access RAM
BSPBuffered serial portSFLLeft shifter
CCarry bitSFRRight shifter
CBER1Circular buffer 1 end addressSPCSerial-port interface-control register
CBER2Circular buffer 2 end addressST0,ST1Status registers
CBSR1Circular buffer 1 start addressTCSRTDM channel-select register
CBSR2Circular buffer 2 start addressTCRTimer-control register
DARAMDual-access RAMTDMTime-division-multiplexed serial port
DBMRDynamic bit manipulation registerTDXRTDM data transmit register
DPData memory page pointerTIMTimer-count register
DRRSerial-port data receive registerTRADTDM received-address register
DXRSerial-port data transmit registerTRCVTDM data-receive register
GREGGlobal memory allocation registerTREG0Temporary register for multiplication
HPIHost port interfaceTREG1Temporary register for dynamic shift count
HPIAHHPI-address register (high bytes)TREG2T emporary register used as bit pointer in dynamic-bit test
HPIALHPI-address register (low bytes)TRTATDM receive-/transmit-address register
HPICHHPI-control register (high bytes)TSPCTDM serial-port-control register
HPICLHPI-control register (low bytes)
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
functional block diagram
CLKMD1
CLKMD2
IS
DS
PS
Control
MUXMUX
3
ARP(3)
3
ARB(3)
MUX
Data/Prog
SARAM
MUX
16
X1
CLKOUT1
X2/CLKIN
CLKIN2/CLKMD3
16
RD
WE
NMI
16
16
16
16
3
MUX
Data/Prog
DARAM
B0 (512x16)
MUX
MCS(16)
16
16
RW
STRB
READY
BR
XF
HOLD
HOLDA
IAQ
BO
RS
IACK
MP/MC
INT(1–4)
A15–A0
D15–D0
†
4
16
RBIT
16
Data Bus
3
’C509K
’C511K
’C533K
’C566K
’C576K
Not available on all devices (see Table 1).
NOTES: A. Signals in shaded text are not available on
HD0
HD7
HCNTL1
HCNTL0
HBIL
HCSHPIAL
HDS(1–1)
HAS
HR/W
HRDY
HINT
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
19
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
32-bit ALU/accumulator
The 32-bit ALU and accumulator implement a wide range of arithmetic and logical functions, the majority of
which execute in a single cycle. The ALU is a general-purpose arithmetic/logic unit that operates on 16-bit words
taken from data memory or derived from immediate instructions. In addition to the usual arithmetic instructions,
the ALU can perform Boolean operations, facilitating the bit manipulation ability required of a high-speed
controller. One input to the ALU always is supplied by the accumulator, and the other input can be furnished
from the product register (PREG) of the multiplier, the accumulator buf fer (ACCB), or the output of the scaling
shifter [which has been read from data memory or from the accumulator (ACC)]. After the ALU performs the
arithmetic or logical operation, the result is stored in the ACC where additional operations, such as shifting, can
be performed. Data input to the ALU can be scaled by the scaling shifter. The 32-bit ACC is split into two 16-bit
segments for storage in data memory . Shifters at the output of the ACC provide a left shift of 0 to 7 places. This
shift is performed while the data is being transferred to the data bus for storage. The contents of the ACC remain
unchanged. When the postscaling shifter is used on the high word of the ACC (bits 31–16), the most significant
bits (MSBs) are lost and the least significant bits (LSBs) are filled with bits shifted in from the low word (bits
15–0). When the postscaling shifter is used on the low word, the LSBs are filled with zeros.
The ’C5x supports floating-point operations for applications requiring a large dynamic range. By performing left
shifts, the normalization instruction (NORM) is used to normalize fixed-point numbers contained in the ACC.
The four bits of the TREG1 define a variable shift through the scaling shifter for the ADDT/LACT/SUBT
instructions (add to/load to/subtract from ACC with shift specified by TREG1). These instructions are useful
in denormalizing a number (converting from floating point to fixed point). They are also useful for executing an
automatic gain control (AGC) going into a filter.
The single-cycle 1-bit to 16-bit right shift of the ACC efficiently aligns the ACC’s contents. This, coupled with
the 32-bit temporary buffer on the ACC, enhances the effectiveness of the ALU in extended-precision arithmetic.
The ACCB provides a temporary storage place for a fast save of the ACC. The ACCB also can be used as an
input to the ALU. The minimum or maximum value in a string of numbers is found by comparing the contents
of the ACCB with the contents of the ACC. The minimum or maximum value is placed in both registers, and,
if the condition is met, the carry bit (C) is set to 1. The minimum and maximum functions are executed by the
CRLT and CRGT instructions, respectively.
scaling shifters
The ’C5x provides a scaling shifter that has a 16-bit input connected to the data bus and a 32-bit output
connected to the ALU. This scaling shifter produces a left shift of 0 to 16 bits on the input data. The shift count
is specified by a constant embedded in the instruction word or by the value in TREG1. The LSBs of the output
are filled with zeros; the MSBs may be either filled with zeros or sign extended, depending upon the value of
the sign-extension mode (SXM) bit of status register ST1.
The ’C5x also contains several other shifters that allow it to perform numerical scaling, bit extraction,
extended-precision arithmetic, and overflow prevention. These shifters are connected to the output of the
product register and the ACC.
parallel logic unit
The parallel logic unit (PLU) is a second logic unit, additional to the main ALU, that executes logic operations
on data without affecting the contents of the ACC. The PLU provides the bit-manipulation ability required of a
high-speed controller and simplifies control/status register operations. The PLU provides a direct logic
operation path to data memory space and can set, clear, test, or toggle multiple bits directly in a data memory
location, a control/status register, or any register that is mapped into data memory space.
20
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
16 × 16-bit parallel multiplier
The ’C5x uses a 16 × 16-bit hardware multiplier that is capable of computing a signed or an unsigned 32-bit
product in a single machine cycle. All multiply instructions, except the MPYU (multiply unsigned) instruction,
perform a signed multiply operation in the multiplier. That is, two numbers being multiplied are treated as
2s-complement numbers, and the result is a 32-bit 2s-complement number.
There are two registers associated with the multiplier: TREG0, a 16-bit temporary register that holds one of the
operands for the multiplier, and PREG, the 32-bit product register that holds the product. Four product shift
modes (PM) are available at the PREG’s output. These shift modes are useful for performing
multiply/accumulate operations, performing fractional arithmetic, or justifying fractional products. The PM field
of status register ST1 specifies the PM shift mode.
The product can be shifted one bit to compensate for the extra sign bit gained in multiplying two 16-bit
2s-complement numbers (MPY). A 4-bit shift is used in conjunction with the MPY instruction with a short
immediate value (13 bits or less) to eliminate the four extra sign bits gained in multiplying a 16-bit number by
a 13-bit number. Finally, the output of PREG can, instead, be right-shifted 6 bits to enable the execution of up
to 128 consecutive multiply/accumulates without the possibility of overflow.
The load-TREG0 (L T) instruction normally loads TREG0 to provide one operand (from the data bus), and the
MPY instruction provides the second operand (also from the data bus). A multiplication also can be performed
with a short or long immediate operand by using the MPY instruction with an immediate operand. A product is
obtained every two cycles except when a long immediate operand is used.
Four multiply/accumulate instructions (MAC, MACD, MADD, and MADS as defined in Table 7) fully utilize the
computational bandwidth of the multiplier, allowing both operands to be processed simultaneously. The data
for these operations is transferred to the multiplier during each cycle through the program and data buses. This
facilitates single-cycle multiply/accumulates when used with repeat ( RPT and RPTZ ) instructions. In these
instructions, the coefficient addresses are generated by the PC, while the data addresses are generated by the
ARAU. This allows the repeated instruction to access the values sequentially from the coefficient table and step
through the data in any of the indirect addressing modes. The RPTZ instruction also clears the accumulator and
the product register to initialize the multiply/accumulate operation.
The MACD and MADD instructions, when repeated, support filter constructs (weighted running averages) so
that as the sum-of-products is executed, the sample data is shifted in memory to make room for the next sample
and to eliminate the oldest sample. Circular addressing with MAC and MADS instructions also can be used to
support filter implementation.
auxiliary registers and auxiliary-register arithmetic unit (ARAU)
The ’C5x provides a register file containing eight auxiliary registers (AR0–AR7). The auxiliary registers are used
for indirect addressing of the data memory or for temporary data storage. Indirect auxiliary-register addressing
allows placement of the data memory address of an instruction operand into one of the auxiliary registers. These
registers are referenced with a 3-bit auxiliary register pointer (ARP) that is loaded with a value from 0 through
7, designated AR0 through AR7, respectively. The auxiliary registers and the ARP can be loaded from data
memory , the ACC, the product register , or by an immediate operand defined in the instruction. The contents of
these registers can be stored in data memory or used as inputs to the central arithmetic logic unit (CALU). These
registers are accessible as memory-mapped locations within the ’C5x data-memory space.
The auxiliary register file (AR0–AR7) is connected to the auxiliary register arithmetic unit (ARAU). The ARAU
can autoindex the current auxiliary register while the data memory location is being addressed. Indexing can
be performed either by ±1 or by the contents of the INDX register. As a result, accessing tables of information
does not require the CALU for address manipulation; thus, the CALU is free for other operations in parallel.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
21
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
memory
The ’C5x implements three separate address spaces for program memory , data memory , and I/O. Each space
accommodates a total of 64K 16-bit words (see Figures 1 through 7). Within the 64K words of data space, the
256 to 32K words at the top of the address range can be defined to be external global memory in increments
of powers of two, as specified by the contents of the global memory allocation register (GREG). Access to global
memory is arbitrated using the global memory bus request (BR
The ’C5x devices include a considerable amount of on-chip memory to aid in system performance and
integration including ROM, single-access RAM (SARAM), and dual-access RAM (DARAM). The amount and
types of memory available on each device are shown in Table 1.
On the ’C5x, the first 96 (0 – 5Fh) data-memory locations are allocated for memory-mapped registers. This
memory-mapped register space contains various control and status registers including those for the CPU, serial
port, timer, and software wait-state generators. Additionally, the first 16 I/O port locations are mapped into this
data-memory space, allowing them to be accessed either as data memory using single-word instructions or as
I/O locations with two-word instructions. Two-word instructions allow access to the full 64K words of I/O space.
The mask-programmable ROM is located in program memory space. Customers can arrange to have this ROM
programmed with contents unique to to any particular application. The ROM is enabled or disabled by the state
of the MP/MC
control input upon resetting the device or by manipulating the MP/MC bit in the PMST status
register after reset. The ROM occupies the lowest block of program memory when enabled. When disabled,
these addresses are located in the device’s external program-memory space.
) signal.
The ’C5x also has a mask-programmable option that provides security protection for the contents of on-chip
ROM. When this internal option bit is programmed, no externally-originating instruction can access the on-chip
ROM. This feature can be used to provide security for proprietary algorithms.
An optional boot loader is available in the device’s on-chip ROM. This boot loader can be used to transfer a
program automatically from data memory or the serial port to anywhere in program memory . In data memory,
the program can be located on any 1K-word boundary and can be in either byte-wide or 16-bit word format. Once
the code is transferred, the boot loader releases control to the program for execution.
The ’C5x devices provide two types of RAM: single-access RAM (SARAM) and dual-access RAM (DARAM).
The single-access RAM requires a full machine cycle to perform a read or a write; however, this is not one large
RAM block in which only one access per cycle is allowed. It is made up of 2K-word size-independent RAM blocks
and each one allows one CPU access per cycle. The CPU can read or write one block while accessing another
block at the same time. All ’C5x processors support multiple accesses to its SARAM in one cycle as long as they
go to different RAM blocks. If the total SARAM size is not a multiple of two, one block is made smaller than 2K
words. With an understanding of this structure, programmers can arrange code and data appropriately to
improve code performance. Table 4 shows the sizes of available SARAM on the applicable ’C5x devices.
Table 4. SARAM Block Sizes
DEVICENUMBER OF SARAM BLOCKS
’C50/’LC50Four 2K blocks and one 1K block
’C51/’LC51One 1K block
’C53/’C53S /’LC53One 2K block and one 1K block
’LC56Three 2K blocks
’C57S/’LC57/’LC57S Three 2K blocks
memory (continued)
The ’C5x dual-access RAM (DARAM) allows writes to, and reads from, the RAM in the same cycle without the
address restrictions of the SARAM. The dual-access RAM is configured in three blocks: block 0 (B0), block 1
(B1), and block 2 (B2). Block 1 is 512 words in data memory and block 2 is 32 words in data memory . Block 0
22
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
is a 512-word block which can be configured as data or program memory . The CLRC CNF (configure B0 as data
memory) and SETC CNF (configure B0 as program memory) instructions allow dynamic configuration of the
memory maps through software. When using block 0 as program memory , instructions can be downloaded from
external program memory into on-chip RAM and then executed.
When using on-chip RAM, ROM, or high-speed external memory , the ’C5x runs at full speed with no wait states.
The ability of the DARAM to allow two accesses to be performed in one cycle, coupled with the parallel nature
of the ’C5x architecture, enables the device to perform three concurrent memory accesses in any given machine
cycle. Externally , the READY line can be used to interface the ’C5x to slower , less expensive external memory .
Downloading programs from slow off-chip memory to on-chip RAM can speed processing while cutting system
costs.
Hex
0000
003F
0040
07FF
0800
2BFF
2C00
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(external)
External
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
MP/MC = 1
(microprocessor mode)
HexHex
0000
003F
0040
07FF
0800
2BFF
2C00
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(on-chip)
On-Chip
ROM
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
MP/MC
(microcomputer mode)
= 0
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
07FF
0800
2BFF
2C00
FFFF
Memory-Mapped
On-Chip DARAM B0
Reserved (CNF = 1)
On-Chip SARAM
External (OVLY = 0)
Data
Registers
On-Chip
DARAM B2
Reserved
(CNF = 0)
On-Chip
DARAM B1
Reserved
(OVLY = 1)
External
Figure 1. TMS320C50 and TMS320LC50 Memory Map
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
23
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HexHexHex
0000
003F
0040
1FFF
2000
23FF
2400
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(external)
External
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
MP/MC = 1
(microprocessor mode)
0000
003F
0040
1FFF
2000
23FF
2400
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(on-chip)
On-Chip
ROM
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
MP/MC
(microcomputer mode)
= 0
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
07FF
0800
0BFF
0C00
FFFF
Figure 2. TMS320C51 and TMS320LC51 Memory Map
Hex
0000
003F
0040
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(external)
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
MP/MC = 1
(microprocessor mode)
HexHex
0000
003F
0040
0FFF
1000
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(on-chip)
On-Chip
ROM
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
= 0
MP/MC
(microcomputer mode)
Memory-Mapped
Registers
On-Chip
DARAM B2
Reserved
On-Chip DARAM
B0 (CNF = 0)
Reserved (CNF = 1)
On-Chip
DARAM B1
Reserved
On-Chip SARAM
(OVLY = 1)
External (OVLY = 0)
External
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
07FF
0800
FFFF
Memory-Mapped
On-Chip DARAM
Reserved (CNF = 1)
Data
Data
Registers
On-Chip
DARAM B2
Reserved
B0 (CNF = 0)
On-Chip
DARAM B1
Reserved
External
24
Figure 3. TMS320C52 and TMS320LC52 Memory Map
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HexHexHex
0000
003F
0040
3FFF
4000
4BFF
4C00
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(external)
External
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
MP/MC = 1
(microprocessor mode)
0000
003F
0040
3FFF
4000
4BFF
4C00
FDFF
FE00
FFFF
Program
Interrupts and
Reserved
(on-chip)
On-Chip
ROM
On-Chip SARAM
(RAM = 1)
External
(RAM = 0)
External
On-Chip DARAM
B0 (CNF = 1)
External (CNF = 0)
MP/MC
(microcomputer mode)
= 0
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
07FF
0800
13FF
1400
FFFF
Memory-Mapped
Registers
DARAM B2
Reserved
On-Chip DARAM
B0 (CNF = 0)
Reserved (CNF = 1)
DARAM B1
Reserved
On-Chip SARAM
(OVLY = 1)
External (OVLY = 0)
Figure 4. TMS320C53, TMS320C53S, TMS320LC53, and TMS320LC53S Memory Map
Data
On-Chip
On-Chip
External
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
25
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HexHex
0000
003F
0040
7FFF
8000
87FF
8800
8FFF
9000
97FF
9800
Interrupts and Reservrd
ProgramProgram
0000
(external)
003F
0040
External
7FFF
8000
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
87FF
8800
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
8FFF
9000
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
97FF
9800
External
Interrupts and Reserved
(on-chip)
On-Chip ROM
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
External
Hex
0000
005F
0060
007F
0080
00FF
0100
On-Chip DARAM B0 (CNF = 0)
02FF
0300
04FF
0500
07FF
0800
On-Chip SARAM Blk0
BSP Block (OVLY = 1)
0FFF
1000
On-Chip SARAM Blk1
17FF
1800
On-Chip SARAM Blk2
1FFF
2000
Data
Memory-Mapped
Registers
On-Chip DARAM B2
Reserved
Reserved (CNF = 1)
On-Chip DARAM B1
Reserved
External (OVLY = 0)
(OVLY = 1)
External (OVLY = 0)
(OVLY = 1)
External (OVLY = 0)
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
MP/MC = 1
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
= 0
MP/MC
Figure 5. TMS320LC56 Memory Map
External
FFFF
26
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HexHex
0000
003F
0040
7FFF
8000
87FF
8800
8FFF
9000
97FF
9800
ProgramProgram
0000
Interrupts and Reservrd
(external)
003F
0040
External
7FFF
8000
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
87FF
8800
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
8FFF
9000
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
97FF
9800
External
Interrupts and Reserved
(on-chip)
On-Chip ROM
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
External
Hex
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
0501
07FF
0800
0FFF
1000
17FF
1800
1FFF
2000
Data
Memory-Mapped
Registers
On-Chip DARAM B2
Reserved
On-Chip DARAM (CNF = 0)
Reserved (CNF = 1)
On-Chip DARAM B1
HPI Control Register
Reserved
On-Chip SARAM Blk0
BSP Block (OVLY = 1)
External (OVLY = 0)
On-Chip SARAM Blk1
HPI Block (OVLY = 1)
External (OVLY = 0)
On-Chip SARAM Blk2
(OVLY = 1)
External (OVLY = 0)
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
MP/MC = 1
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
= 0
MP/MC
Figure 6. TMS320LC57 Memory Map
External
FFFF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
27
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HexHex
0000
Interrupts and Reservrd
003F
0040
7FFF
8000
87FF
8800
8FFF
9000
97FF
9800
ProgramProgram
(external)
External
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
External
0000
003F
0040
07FF
0800
7FFF
8000
87FF
8800
8FFF
9000
97FF
9800
Interrupts and Reserved
(on-chip)
On-Chip ROM
External
On-Chip SARAM Blk0
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk1
(RAM = 1)
External (RAM = 0)
On-Chip SARAM Blk2
(RAM = 1)
External (RAM = 0)
External
Hex
0000
005F
0060
007F
0080
00FF
0100
02FF
0300
04FF
0500
0501
07FF
0800
0FFF
1000
17FF
1800
1FFF
2000
Data
Memory-Mapped
Registers
On-Chip DARAM B2
Reserved
On-Chip DARAM (CNF = 0)
Reserved (CNF = 1)
On-Chip DARAM B1
HPI Control Register
Reserved
On-Chip SARAM Blk0
BSP Block (OVLY = 1)
External (OVLY = 0)
On-Chip SARAM Blk1
HPI Block (OVLY = 1)
External (OVLY = 0)
On-Chip SARAM Blk2
(OVLY = 1)
External (OVLY = 0)
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
MP/MC = 1
FDFF
FE00
FFFF
On-Chip DARAM B0
(CNF = 1)
External (CNF = 0)
= 0
MP/MC
Figure 7. TMS320C57S Memory Map
External
FFFF
28
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
interrupts and subroutines
The ’C5x implements four general-purpose interrupts, INT4–INT1, along with reset (RS) and the nonmaskable
interrupt (NMI) which are available for external devices to request the attention of the processor. Internal
interrupts are generated by the serial port (RINT and XINT), by the timer (TINT), and by the software-interrupt
(TRAP, INTR, and NMI) instructions. Interrupts are prioritized with RS
NMI, and INT4 having the lowest priority. Additionally, any interrupt except RS and NMI can be masked
individually with a dedicated bit in the interrupt mask register (IMR) and can be cleared, set, or tested using its
own dedicated bit in the interrupt flag register (IFR). The reset and NMI functions are not maskable.
All interrupt vector locations are on two-word boundaries so that branch instructions can be accommodated in
those locations. While normally located at program memory address 0, the interrupt vectors can be remapped
to the beginning of any 2K-word page in program memory by modifying the contents of the interrupt vector
pointer (IPTR) located in the PMST status register.
A built-in mechanism protects multicycle instructions from interrupts. If an interrupt occurs during a multicycle
instruction, the interrupt is not processed until the instruction completes execution. This mechanism applies to
instructions that are repeated (using the RPT instruction) and to instructions that become multicycle because
of wait states.
Each time an interrupt is serviced or a subroutine is entered, the PC is pushed onto an internal hardware stack,
providing a mechanism for returning to the previous context. The stack contains eight locations, allowing
interrupts or subroutines to be nested up to eight levels deep.
having the highest priority, followed by
In addition to the eight-level hardware PC stack, eleven key CPU registers are equipped with an associated
single-level stack or shadow register into which the registers’ contents are saved upon servicing an interrupt.
The contents are restored into their particular CPU registers once a return-from-interrupt instruction (RETE or
RETI) is executed. The registers that have the shadow-register feature include the ACC and buffer, product
register, status registers, and several other key CPU registers. The shadow-register feature allows
sophisticated context save and restore operations to be handled automatically in cases where nested interrupts
are not required or if interrupt servicing is performed serially.
power-down modes
The ’C5x implements several power-down modes in which the ’C5x core enters a dormant state and dissipates
considerably less power. A power-down mode is invoked either by executing the IDLE/IDLE2 instructions or
by driving the HOLD
continue to operate; this power-down mode is terminated when HOLD goes inactive.
While the ’C5x is in a power-down mode, all internal contents are maintained; this allows operation to continue
unaltered when the power-down mode is terminated. All CPU activities are halted when the IDLE instruction
is executed, but the CLKOUT1 pin remains active. The peripheral circuits continue to operate, allowing
peripherals such as serial ports and timers to take the CPU out of its powered-down state. A power-down mode,
when initiated by an IDLE instruction, is terminated upon receipt of an interrupt.
The IDLE2 instruction is used for a complete shutdown of the core CPU as well as all on-chip peripherals. In
IDLE2, the power is reduced significantly because the entire device is stopped. The power-down mode is
terminated by activating any of the external interrupt pins (RS
five machine cycles.
input low. When the HOLD signal initiates the power-down mode, on-chip peripherals
, NMI, INT1, INT2, INT3, and INT4) for at least
bus-keeper circuitry (TMS320LC56/’C57S/’LC57)
The TMS320LC56/’C57S/’LC57 devices provide built-in bus keeper circuitry which holds the last state driven
on the data bus by either the DSP or an external device after the bus is no longer being driven. This capability
prevents excess power consumption caused by a floating bus, thus allowing optimization of power consumption
without the need for external pullup resistors.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
29
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
external interface
The ’C5x supports a wide range of system interfacing requirements. Program, data, and I/O address spaces
provide interface to memory and I/O, maximizing system throughput. The full 16-bit address and data bus, along
with the PS
I/O design is simplified by having I/O treated the same way as memory. I/O devices are mapped into the I/O
address space using the processor’s external address and data buses in the same manner as memory-mapped
devices.
The ’C5x external parallel interface provides various control signals to facilitate interfacing to the device. The
R/W output signal is provided to indicate whether the current cycle is a read or a write. The STRB output signal
provides a timing reference for all external cycles. For convenience, the device also provides the RD and the
WE output signals, which indicate a read and a write cycle, respectively , along with timing information for those
cycles. The availability of these signals minimizes external gating necessary for interfacing external devices to
the ’C5x.
Interface to memory and I/O devices of varying speeds is accomplished by using the READY line. When
transactions are made with slower devices, the ’C5x processor waits until the other device completes its function
and signals the processor via the READY line. Once a ready indication is provided back to the ’C5x from the
external device, execution continues.
, DS, and IS space select signals, allow addressing of 64K 16-bit words in each of the three spaces.
The bus request (BR
global-memory accesses. Global memory is external data-memory space in which the BR signal is asserted
at the beginning of the access. When an external global-memory device receives the the bus request, the
external device responds by asserting the READY signal after the global memory access is arbitrated and the
global access is completed.
external direct-memory access (DMA) capability
All ’C5x devices with single-access RAM offer a unique feature allowing another processor to read and write
to the ’C5x internal memory. To initiate a read or write operation to the ’C5x single-access RAM, the host or
master processor requests a hold state on the DSP’s external bus. When acknowledged with HOLDA, the host
can request access to the internal bus by pulling the BR signal low. Unlike the hold mode, which allows the
current operation to complete and allows CPU operation to continue (if status bit HM=0), a BR
always halts the operation currently being executed by the CPU. Access to the internal bus always is granted
on the third clock cycle after the BR signal is received. In the PQ package, the IAQ pin also indicates when bus
access has been granted. In the PZ package, this pin is not present so the host is required to wait two clock
cycles after driving the bus request low before beginning DMA transfer.
host port interface (HPI) (TMS320C57S, TMS320LC57, TMS320LC57S only)
The HPI is an 8-bit parallel port used to interface a host processor to the ’C57S /’LC57. The host port is
connected to a 2k word on-chip buffer through a dedicated internal bus. The dedicated bus allows the CPU to
work uninterrupted while the host processor accesses the host port. The HPI memory buffer is a single-access
RAM block which is accessible by both the CPU and the host. The HPI memory also can be used as
general-purpose data or program memory . Both the CPU and the host have access to the HPI control register
(HPIC) and the host can address the HPI memory through the HPI address register (HPIA).
) signal is used in conjunction with the other ’C5x interface signals to arbitrate external
-requested DMA
Data transfers of 16-bit words occur as two consecutive bytes with a dedicated pin, HBIL, indicating whether
the high or low byte is being transmitted. Two control pins, HCNTL1 and HCNTL0, control host access to the
HPIA, HPI data (with an optional automatic address increment), or the HPIC. The host can interrupt the
’C57S/’LC57 by writing to HPIC. The ’C57S/’LC57 can interrupt the host with a dedicated HINT
acknowledges and clears.
30
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
pin that the host
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
host port interface (continued)
The HPI has two modes of operation, shared-access mode (SAM) and host-only mode (HOM). In SAM, the
normal mode of operation, both the ’C57S/’LC57 and the host can access HPI memory. In this mode,
asynchronous host accesses are resynchronized internally and, in case of conflict, the host has access priority
and the ’C57S /’LC57S waits one cycle. Host and CPU accesses to the HPI memory can be resychronized
through polling of a command word or through interrupts to prevent stalling the CPU for one cycle. The HOM
capability allows the host to access HPI memory while the ’C57S/’LC57 is in IDLE2 mode (all internal clocks
stopped) or in reset mode. The external ’C57S/’LC57S clock even can be stopped. The host can, therefore,
access the HPI RAM while the ’C57S/’LC57 is in its optimum configuration in terms of power consumption.
The HPI control register has two data strobes, HDS1
strobe HAS, to enable a glueless interface to a variety of industry-standard host devices. The HPI is easily
interfaced to hosts with multiplexed address/data bus, separate address and data buses, one data strobe, and
a read/write strobe, or two separate strobes for read and write. An HPI-ready pin, HRDY , is provided to specify
wait states for hosts that support an asynchronous input. When the ’C57S /’LC57 operating frequency is
variable, or when the host is capable of accessing at a faster rate than the maximum shared-access mode
access rate, the HRDY pin provides a convenient way to adjust the host access rate automatically (no software
handshake needed) to a change in the ’C57S/’LC57 clock rate or an HPI-mode switch.
The HPI supports high-speed back-to-back accesses. In the shared-access mode, the HPI can handle one byte
every five ’C57S/’LC57 periods (that is, 64 Mb/s with a 40-MHz ’C57S/’LC57). The HPI is designed so that the
host can take advantage of this high bandwidth and run at frequencies up to (f n) ÷ 5, where n is the number
of host cycles for an external access and f is the ’C57S/’LC57 frequency . In host-only mode, the HPI supports
even higher speed back-to-back host accesses: 1 byte every 50 ns (that is, 160 Mb/s) independently of the
’C57S/’LC57 clock rate.
serial ports
The ’C5x provides high-speed full-duplex serial ports that allow direct interface to other ’C5x devices, codecs,
and other devices in a system. There is a general-purpose serial port, a time-division-multiplexed (TDM) serial
port, and an auto-buffered serial port (BSP).
The general-purpose serial port uses two memory-mapped registers for data transfer: the data-transmit register
(DXR) and the data-receive register (DRR). Both registers can be accessed in the same manner as any other
memory location. The transmit and receive sections of the serial port each have associated clocks,
frame-synchronization pulses, and serial shift registers, and serial data can be transferred either in bytes or in
16-bit words. Serial port receive and transmit operations can generate their own maskable transmit and receive
interrupts (XINT and RINT), allowing serial port transfers to be managed by way of software. The ’C5x serial
ports are double-buffered and fully static.
and HDS2, a read/write strobe HR/W, and an address
The TDM port allows the device to communicate through time-division multiplexing with up to seven other ’C5x
devices with TDM ports. Time-division multiplexing is the division of time intervals into a number of subintervals
with each subinterval representing a prespecified communications channel. The TDM port serially transmits
16-bit words on a single data line (TDAT) and destination addresses on a single address line (TADD). Each
device can transmit data on a single channel and receive data from one or more of the eight channels providing
a simple and efficient interface for multiprocessing applications. A frame synchronization pulse occurs once
every 128 clock cycles corresponding to transmission of one 16-bit word on each of the eight channels. Like
the general-purpose serial port, the TDM port is double-buffered on both input and output data. The TDM port
also can be configured in software to operate as a general-purpose serial port as described above. Both types
of ports are capable of operating at up to one-fourth the machine cycle rate (CLKOUT1).
The buffered serial port (BSP) consists of a full-duplex double-buffered serial port interface (SPI) and an
auto-buffering unit (ABU). The SPI block of the BSP is an enhanced version of the general-purpose serial port.
The auto-buffering unit allows the SPI to read /write directly to ’C5x internal memory using a dedicated bus
independently of the CPU. This results in minimum overhead for SPI transactions and faster data rates.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
31
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
serial ports (continued)
When auto-buffering capability is disabled (standard mode), transfers with SPI are performed under software
control through interrupts. In this mode, the ABU is transparent and the word-based interrupts (WXINT and
WRINT) provided by the SPI are sent to the CPU as transmit interrupt (XINT) and receive interrupt (RINT).
When auto buffering is enabled, word transfers are done directly between the SPI and the ’C5x internal memory ,
using ABU-embedded address generators.
The ABU has its own set of circular addressing registers with corresponding address-generation units. Memory
for the buffers resides in 2K words of ’C5x internal memory. The length and starting addresses of the buffers
are user-programmable. A buffer-empty /- full interrupt can be posted to the CPU. Buffering is halted easily
because of an auto-disabling capability. Auto-buffering capability can be enabled separately for transmit and
receive sections. When auto-buffering is disabled, operation is similar to the general-purpose serial port.
The SPI allows transfer of 8-, 10-, 12-, or 16-bit data packets. In burst mode, data packets are directed by a
frame-synchronization pulse for every packet. In continuous mode, the frame-synchronization pulse occurs
when the data transmission is initiated and no further pulses occur. The frame and clock strobes are frequency
and polarity programmable. The SPI is fully static and operates at arbitrarily low clock frequencies. The
maximum operating frequency is CLKOUT1 (28.6 Mb/s at 35 ns, 40 Mb/s at 25 ns). The SPI transmit section
also includes a pulse-coded modulation (PCM) mode that allows easy interface with a PCM line.
Most ’C5x devices provide one general-purpose serial port and one TDM port. The ’C52 provides one
general-purpose serial port and no TDM port. The ’C53SX provides two general-purpose serial ports and no
TDM port. The ’LC56, ’C57S, and ’LC57 devices provide one general-purpose serial port and one buffered serial
port.
software wait-state generators
Software wait-state generation is incorporated in the ’C5x without any external hardware for interfacing with
slower off-chip memory and I/O devices. The circuitry consists of 16 wait-state generating circuits and is
user-programmable to operate with 0, 1, 2, 3, or 7 wait states. For off-chip memory accesses, these wait-state
generators are mapped on 16K-word boundaries in program memory, data memory, and the I/O ports.
The ’C53S/’C57S and ’LC56/57 devices have software-programmable wait-state generators that are controlled
by one 16-bit wait-state register PDWSR at address 0x28. The programmed number of wait states (0 through
7 ) applies to all external addresses at the corresponding address space (program, data, I/O) regardless of
address value.
timer
The ’C5x features a 16-bit timing circuit with a 4-bit prescaler. This timer clocks between one-half and one
thirty-second the machine rate of the device itself, depending on the programmable timer’s divide-down ratio.
This timer can be stopped, restarted, reset, or disabled by specific status bits.
The timer can be used to generate CPU interrupts periodically. The timer is decremented by one at every
CLKOUT1 cycle. A timer interrupt (TINT) and a pulse equal to the duration of a CLKOUT1 cycle on the external
TOUT pin are generated each time the counter decrements to zero. The timer provides a convenient means
of performing periodic I/O or other functions. When the timer is stopped, the internal clocks to the timer are shut
off, allowing the device to run in a low-power mode of operation.
32
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
IEEE 1149.1 boundary scan interface
The IEEE 1 149.1 boundary-scan interface is used for emulation and test purposes. The IEEE 1 149.1 scanning
logic provides the boundary-scan path to and from the interfacing devices. Also, it can be used to test pin-to-pin
continuity as well as to perform operational tests on those peripheral devices that surround the ’C5x. On ’C5x
devices which do not provide boundary-scan capability, the IEEE 1149.1 interface is used for emulation
purposes only. It is interfaced to other internal scanning logic circuitry, which has access to all of the on-chip
resources. Thus, the ’C5x can perform on-board emulation by means of IEEE 1149.1 serial pins and the
emulation-dedicated pins (see IEEE Standard 1149.1 for more details). Table 5 shows IEEE 1149.1 and
boundary-scan functions supported by the ’C5x family of devices.
The on-chip analysis block, in conjunction with the ’C5x EVM, provides the capability to perform a variety of
debugging and performance evaluation functions in a target system. The full analysis block provides capability
for message passing by a combination of monitor mode and scan, flexible breakpoint setup based on events,
counting of events, and a PC discontinuity trace buffer. Breakpoints can be triggered based on the following
events: program fetches/reads/writes, EMU0/1 pin activity (used in multiprocessing), data reads/writes, CPU
events (calls, returns, interrupts/traps, branches, pipeline clock), and event-counter overflow. The event counter
is a 16-bit counter which can be used for performance analysis. The event counter can be incremented based
on the occurrence of the following events: CPU clocks (performance monitoring), pipeline advances, instruction
fetches (used to count instructions for an algorithm), branches, calls, returns, interrupts/traps, program
reads/writes, or data reads/writes. The PC discontinuity-trace buffer provides a method to monitor program
counter flow.
These analysis functions are available on all ’C5x devices except the ’C53S and ’LC53S which have a reduced
analysis block (see Table 5). The reduced analysis block provides capability for message passing and
breakpoints based on program fetches/reads/writes and EMU0/1 pin activity.
multiprocessing
The flexibility of the ’C5x allows configurations to satisfy a wide range of system requirements; the device can
be used in a variety of system configurations, including, but not limited to, the following:
D
A standalone processor
D
A multiprocessor with devices in parallel
D
A slave/host multiprocessor with global-memory space
D
A peripheral processor interfaced via processor-controlled signals to another device
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
33
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
multiprocessing (continued)
For multiprocessing applications, the ’C5x is capable of allocating global-memory space and communicating
with that space via the BR and ready control signals. Global memory is data memory shared by more than one
device. Global memory access must be arbitrated. The 8-bit memory-mapped global memory allocation register
(GREG) specifies part of the ’C5x’s data memory as global external memory. The contents of the register
determine the size of the global memory space. If the current instruction addresses an operand within that
space, BR
line.
The ’C5x supports direct memory access (DMA) to its external program, data, and I/O spaces using the HOLD
and HOLDA signals. Another device can take complete control of the ’C5x’s external memory interface by
asserting HOLD low. This causes the ’C5x to to place its address, data, and control lines in the high-impedance
state and assert HOLDA. While external memory is being accessed, program execution from on-chip memory
can proceed concurrently when the device is in hold mode.
Multiple ’C5x devices can be interconnected through their serial ports. This form of interconnection allows
information to be transferred at high speed while using a minimum number of signal connections. A complete
full-duplex serial-port interconnection between multiple processors can be accomplished with as few as four
signal lines.
is asserted to request control of the bus. The length of the memory cycle is controlled by the READY
instruction set
The ’C5x microprocessor implements a comprehensive instruction set that supports both numeric-intensive
signal processing operations and general-purpose applications, such as multiprocessing and high-speed
control. Source code for the ’C1x and ’C2x DSPs is upward compatible with the ’C5x.
For maximum throughput, the next instruction is prefetched while the current one is being executed. Because
the same data lines are used to communicate to external data, program, or I/O space, the number of cycles an
instruction requires to execute varies, depending on whether the next data operand fetch is from internal or
external memory . Highest throughput is achieved by maintaining data memory on chip and using either internal
or fast external program memory.
addressing modes
The ’C5x instruction set provides six basic memory-addressing modes: direct, indirect, immediate, register,
memory mapped, and circular addressing.
In direct addressing, the instruction word contains the lowest seven bits of the data-memory address. This field
is concatenated with the nine bits of the data-memory page pointer (DP) to form the 16-bit data-memory
address. Therefore, in the direct-addressing mode, data memory is paged effectively with a total of 512 pages,
each of which contains 128 words.
Indirect addressing accesses data memory through the auxiliary registers. In indirect addressing mode, the
address of the instruction operand is contained in the currently selected auxiliary register. Eight auxiliary
registers (AR0–AR7) provide flexible and powerful indirect addressing. To select a specific auxiliary register,
the auxiliary register pointer (ARP) is loaded with a value from 0 to 7 for AR0 through AR7, respectively.
There are seven types of indirect addressing: autoincrement or autodecrement, postindexing by either adding
or subtracting the contents of AR0, single-indirect addressing with no increment or decrement, and bit-reversed
addressing (used in FFTs) with increment or decrement. All operations are performed on the current auxiliary
register in the same cycle as the original instruction, following which the current auxiliary register and ARP can
be modified.
34
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
addressing modes (continued)
In immediate addressing, the actual operand data is provided in a portion of the instruction word or words. There
are two types of immediate addressing: long and short. In short-immediate addressing, the data is contained
in a portion of the bits in a single-word instruction. In long-immediate addressing, the data is contained in the
second word of a two-word instruction. The immediate-addressing mode is useful for data that does not need
to be stored or used more than once during the course of program execution, such as initialization values,
constants, etc.
The register-addressing mode uses operands in CPU registers either explicitly , such as with a direct reference
to a specific register, or implicitly, with instructions that intrinsically reference certain registers. In either case,
operand reference is simplified because 16-bit values can be used without specifying a full 16-bit operand
address or immediate value.
Memory-mapped addressing provides the convenience of easy access to memory-mapped registers located
on page zero of data memory. The flexibility of memory-mapped addressing results because accesses are
made independently of actual DP value and without having to provide a complete address of the memory
location being accessed. Commonly used on-board registers can be accessed with a simplified addressing
scheme.
Circular addressing is the most sophisticated ’C5x addressing mode. This addressing mode allows specified
buffers in memory to be accessed sequentially with a pointer that automatically wraps around to the beginning
of the buffer when the last location is accessed. A total of two independent circular buffers can be allocated at
any given time.
Five dedicated registers are allocated for implementation of circular addressing: a beginning-of-buffer and an
end-of-buffer register for each of the two independent circular buffers and a control register. Additionally, one
of the auxiliary registers is used as the pointer into the circular buffer . All registers used in circular addressing
must be initialized properly prior to performing any circular buffer access.
The circular-addressing mode allows implementation of circular buffers, which facilitate data structures used
in FIR filters, convolution and correlation algorithms, and waveform generators. Having the capability to access
circular buffers automatically with no overhead allows these types of data structures to be implemented most
efficiently.
repeat feature
The repeat function can be used with instructions such as multiply/accumulates (MAC and MACD), block moves
(BLDD and BLPD), I/O transfers (IN/OUT), and table read/writes (TBLR/TBL W). These instructions, although
normally multicycle, are pipelined when the repeat feature is used, and they effectively become single-cycle
instructions. For example, the table-read instruction may take three or more cycles to execute, but when the
instruction is repeated, a table location can be read every cycle.
The repeat counter (RPTC) is a 16-bit register that, when loaded with a number N, causes the next single
instruction to be executed N + 1 times. The RPTC register is loaded by either the RPT or the RPTZ instruction,
resulting in a maximum of 65,536 executions of a given instruction. RPTC is cleared by reset. The RPTZ
instruction clears both ACC and PREG before the next instruction starts repeating. Once a repeat instruction
(RPT or RPTZ) is decoded, all interrupts including NMI (except reset) are masked until the completion of the
repeat loop. However, the device responds to the HOLD
signal while executing an RPT/RPTZ loop.
repeat feature(continued)
The ’C5x implements a block-repeat feature that provides zero-overhead looping for implementation of FOR
and DO loops. The function is controlled by three registers (P ASR, PAER, and BRCR) and the BRAF bit in the
PMST register. The block-repeat counter register (BRCR) is loaded with a loop count of 0 to 65,535. Then,
execution of the RPTB (repeat block) instruction loads the program-address-start register (PASR) with the
address of the instruction following the RPTB instruction and loads the program-address-end register (P AER)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
35
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
with its long-immediate operand. The long-immediate operand is the address of the instruction following the last
instruction in the loop minus one. (The repeat block must contain at least three instruction words.) Execution
of the RPTB instruction automatically sets active the BRAF bit. With each PC update, the P AER contents are
compared to the PC. If they are equal, the BRCR contents are compared to zero. If the BRCR contents are
greater than zero, BRCR is decremented and the PASR is loaded into the PC, repeating the loop. If not, the
BRAF bit is set low and the processor resumes execution past the end of the code’s loop.
The equivalent of a WHILE loop can be implemented by setting the BRAF bit to zero if the exit condition is met.
The program then completes the current pass through the loop but does not go back to the top. To exit, the bit
must be reset at least four instruction words before the end of the loop. It is possible to exit block-repeat loops
and return to them without stopping and restarting the loop. Branches, calls, and interrupts do not necessarily
affect the loop. When program control is returned to the loop, loop execution is resumed.
instruction set summary
This section summarizes the operational codes (opcodes) of the instruction set for the ’C5x digital signal
processors. The instruction set is a super set of the ’C1x and ’C2x instruction sets. The instructions are arranged
according to function and are alphabetized by mnemonic within each category . The symbols in T able 6 are used
in the instruction set opcode table (Table 7). The Texas Instruments ’C5x assembler accepts ’C2x instructions
as well as ’C5x instructions.
The number of words that an instruction occupies in program memory is specified in column 4 of Table 7. In
these cases, different forms of the instruction occupy a different number of words. For example, the ADD
instruction occupies one word when the operand is a short immediate value or two words if the operand is a
long immediate value.
The number of cycles that an instruction requires to execute is listed in column 5 of T able 7. All instructions are
assumed to be executed from internal program memory and internal data dual-access memory. The cycle
timings are for single-instruction execution, not for repeat mode.
A read or write access to any peripheral memory-mapped register in data memory locations 20h–4Fh adds one
cycle to the cycle time shown because all peripherals perform these accesses over the internal peripheral bus.
36
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
instruction set summary (continued)
Table 6. Opcode Symbols
SYMBOLDESCRIPTION
AAddress
ACCAccumulator
ACCBAccumulator buffer
ARXAuxiliary register value (0–7)
BITX4-bit field specifies which bit to test for the BIT instruction
BMARBlock-move address register
DBMRDynamic bit-manipulation register
IAddressing-mode bit
II...IIImmediate operand value
INTMInterrupt-mode flag bit
INTR#Interrupt vector number
NField for the XC instruction, indicating the number of instructions (one or two) to execute conditionally
PREGProduct register
PROGProgram memory
RPTCRepeat counter
SHF, SHFT3/4 bit shift value
TCTest-control bit
Two bits used by the conditional execution instructions to represent the conditions TC, NTC, and BIO
T PMeaning
T P
TREGnT emporary register n (n = 0, 1, or 2)
Z L V C
0 0BIO
0 1TC=1
1 0TC=0
1 1None of the above conditions
4-bit field representing the following conditions:
Z: ACC = 0
L:ACC < 0
V:Overflow
C:Carry
A conditional instruction contains two of these 4-bit fields. The 4-LSB field of the instruction is a 4-bit mask field. A 1 in the
corresponding mask bit indicates that the condition is being tested. The second 4-bit field (bits 4–7) indicates the state of
the conditions designated by the mask bits as being tested. For example, to test for ACC ≥ 0, the Z and L fields are set while
the V and C fields are not set. The next 4-bit field contains the state of the conditions to test. The Z field is set to indicate
testing the condition ACC = 0, and the L field is reset to indicate testing the condition ACC ≥ 0. The conditions possible with
these 8 bits are shown in the BCND, CC, and XC instructions. To determine if the conditions are met, the 4-LSB bit mask
is ANDed with the conditions. If any bits are set, the conditions are met.
low
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
37
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
instruction set summary (continued)
Table 7. TMS320C5x Instruction Set Opcodes
ACCUMULATOR MEMORY REFERENCE INSTRUCTIONS
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Absolute value of ACC
Add ACCB to ACC with carry
Add to ACC with shift
Add to low ACC short immediate
Add to ACC long immediate with shift
Add to ACC with shift of 16
Add ACCB to ACC
Add to ACC with carry
Add to low ACC with sign extension suppressed
Add to ACC with shift specified by TREG1 [3–0]
AND ACC with data value
AND with ACC long immediate with shift
AND with ACC long immediate with shift of 16
AND ACCB with ACC
Barrel shift ACC right
Complement ACC
Store ACC in ACCB if ACC > ACCB
Store ACC in ACCB if ACC< ACCB
Exchange ACCB with ACC
Load ACC with ACCB
Load ACC with shift
Load ACC long immediate with shift
Load ACC with shift of 16
Load low word of ACC with immediate
Load low word of ACC
Load ACC with shift specified by TREG1 [3–0]
Load ACCL with memory-mapped register
Negate ACC
Normalize ACC
OR ACC with data value
OR with ACC long immediate with shift
OR with ACC long immediate with shift of 16
OR ACCB with ACC
Rotate ACC 1 bit left
Rotate ACCB and ACC left
Rotate ACC 1 bit right
Rotate ACCB and ACC right
Store ACC in ACCB
Store high ACC with shift
Store low ACC with shift
Store ACCL to memory-mapped register
Shift ACC 16 bits right if TREG1 [4] = 0
Shift ACC0–ACC15 right as specified by TREG1 [3–0]
Subtract ACCB from ACC
Subtract ACCB from ACC with borrow
Shift ACC 1 bit left
Shift ACCB and ACC left
Shift ACC 1 bit right
Shift ACCB and ACC right
Subtract from ACC with shift
Subtract from ACC with shift of 16
Subtract from ACC short immediate
Subtract from ACC long immediate with shift
ABS
ADCB
ADD
ADD
ADD
ADD
ADDB
ADDC
ADDS
ADDT
AND
AND
AND
ANDB
BSAR
CMPL
CRGT
CRLT
EXAR
LACB
LACC
LACC
LACC
LACL
LACL
LACT
LAMM
NEG
NORM
OR
OR
OR
ORB
ROL
ROLB
ROR
RORB
SACB
SACH
SACL
SAMM
SATH
SATL
SBB
SBBB
SFL
SFLB
SFR
SFRB
SUB
SUB
SUB
SUB
Subtract from ACC with borrow
Conditional subtract
Subtract from ACC with sign extension suppressed
Subtract from ACC, shift specified by TREG1 [3–0]
XOR ACC with data value
XOR with ACC long immediate with shift
XOR with ACC long immediate with shift of 16
XOR ACCB with ACC
Zero ACC, load high ACC with rounding
Zero ACC and product register
AUXILIARY REGISTERS AND DATA PAGE POINTER INSTRUCTIONS
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Add to AR short immediate
Compare AR with CMPR
Load AR from addressed data
Load AR short immediate
Load AR long immediate
Load data page pointer with addressed data
Load data page immediate
Modify auxiliary register
Store AR to addressed data
Subtract from AR short immediate
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Branch unconditional with AR update
Branch addressed by ACC
Branch addressed by ACC delayed
Branch AR ≠ 0 with AR update
Branch AR ≠ 0 with AR update delayed
Branch conditional
Branch conditional delayed
Branch unconditional with AR update delayed
Call subroutine addressed by ACC
Call subroutine addressed by ACC delayed
Call unconditional with AR update
Call unconditional with AR update delayed
Call conditional
Call conditional delayed
Software interrupt
Nonmaskable interrupt
Return
Return conditional
Return conditionally, delayed
Return, delayed
Return from interrupt with enable
Return from interrupt
Trap
Execute next one or two INST on condition
SUBB
SUBC
SUBS
SUBT
XOR
XOR
XOR
XORB
ZALR
ZAP
ADRK
CMPR
LAR
LAR
LAR
LDP
LDP
MAR
SAR
SBRK
BRANCH INSTRUCTIONS
B
BACC
BACCD
BANZ
BANZD
BCND
BCNDD
BD
CALA
CALAD
CALL
CALLD
CC
CCD
INTR
NMI
RET
RETC
RETCD
RETD
RETE
RETI
TRAP
XC
Table 7. TMS320C5x Instruction Set Opcodes (Continued)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
39
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Block move from data to data memory
Block move data to data DEST long immediate
Block move data to data with source in BMAR
Block move data to data with DEST in BMAR
Block move data to PROG with DEST in BMAR
Block move from program to data memory
Block move PROG to data with source in BMAR
Data move in data memory
Input external access
Load memory-mapped register
Out external access
Store memory-mapped register
Table read
Table write
PARALLEL LOGIC UNIT INSTRUCTIONS
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
AND DBMR with data value
AND long immediate with data value
Compare DBMR to data value
Compare data with long immediate
OR DBMR to data value
OR long immediate with data value
Store long immediate to data
XOR DBMR to data value
XOR long immediate with data value
T REGISTER, P REGISTER, AND MULTIPLY INSTRUCTIONS
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Add PREG to ACC
Load high PREG
Load TREG0
Load TREG0 and accumulate previous product
Load TREG0, accumulate previous product, and move
data
Load TREG0 and load ACC with PREG
Load TREG0 and subtract previous product
Multiply/accumulate
Multiply/accumulate with data shift
Mult/ACC w/source ADRS in BMAR and DMOV
Mult/ACC with source address in BMAR
Multiply data value times TREG0
Multiply TREG0 by 13-bit immediate
Multiply TREG0 by long immediate
Multiply TREG0 by data, add previous product
Multiply TREG0 by data, ACC – PREG
Multiply unsigned data value times TREG0
Load ACC with product register
Subtract product from ACC
Store high product register
Store low product register
Set PREG shift count
Data to TREG0, square it, add PREG to ACC
Data to TREG0, square it, ACC – PREG
Zero product register
I/O AND DATA MEMORY OPERATIONS
BLDD
BLDD
BLDD
BLDD
BLDP
BLPD
BLPD
DMOV
IN
LMMR
OUT
SMMR
TBLR
TBLW
APL
APL
CPL
CPL
OPL
OPL
SPLK
XPL
XPL
APAC
LPH
LT
LTA
LTD
LTP
LTS
MAC
MACD
MADD
MADS
MPY
MPY
MPY
MPYA
MPYS
MPYU
PAC
SPAC
SPH
SPL
SPM
SQRA
SQRS
ZPR
Table 7. TMS320C5x Instruction Set Opcodes (Continued)
INSTRUCTIONMNEMONICOPCODEWORDSCYCLES
Test bit specified immediate
Test bit in data value as specified by TREG2 [3–0]
Reset overflow mode
Reset sign extension mode
Reset hold mode
Reset TC bit
Reset carry
Reset CNF bit
Reset INTM bit
Reset XF pin
Idle
Idle until interrupt — low-power mode
Load status register 0
Load status register 1
No operation
Pop PC stack to low ACC
Pop stack to data memory
Push data memory value onto PC stack
Push low ACC to PC stack
Repeat instruction as specified by data
Repeat next INST specified by long immediate
Repeat INST specified by short immediate
Block repeat
Clear ACC/PREG and repeat next INST long immediate
Set overflow mode
Set sign extension mode
Set hold mode
Set TC bit
Set carry
Set XF pin high
Set CNF bit
Set INTM bit
Store status register 0
Store status register 1
T exas Instruments offers an extensive line of development tools for the ’C5x generation of DSPs, including tools
to evaluate the performance of the processors, generate code, develop algorithm implementations, and fully
integrate and debug software and hardware modules.
The following products support development of ’C5x-based applications:
Software Development Tools:
Assembler/Linker
Simulator
Optimizing ANSI C compiler
Application algorithms
C/Assembly debugger and code profiler
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
41
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
development support (continued)
Hardware Development Tools:
Extended development set (XDS) emulator (supports ’C5x multiprocessor system debug)
’C5x EVM (Evaluation Module)
’C5x DSK (DSP Starter Kit)
The
TMS320 Family Development Support Reference Guide
development support products for all TMS320 family member devices, including documentation. Refer to this
document for further information about TMS320 documentation or any other TMS320 support products from
Texas Instruments. There is an additional document, the
(SPRU052), which contains information about TMS320-related products from other companies in the industry .
To receive copies of TMS320 literature, contact the Literature Response Center at 800/477-8924.
See Table 8 for complete listings of development support tools for the ’C5x. For information on pricing and
availability, contact the nearest TI field sales office or authorized distributor.
Table 8. TMS320C5x, TMS320LC5x Development Support Tools
T o designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all TMS320
devices and support tools. Each TMS320 member has one of three prefixes: TMX, TMP, or TMS. Texas
Instruments recommends two of three possible prefix designators for its support tools: TMDX and TMDS. These
prefixes represent evolutionary stages of product development from engineering prototypes (TMX / TMDX)
through fully qualified production devices/tools (TMS/TMDS). This development flow is defined below.
Device development evolutionary flow:
TMXExperimental device that is not necessarily representative of the final device’s electrical
specifications
TMPFinal silicon die that conforms to the device’s electrical specifications but has not completed
quality and reliability verification
PC-DOS and OS/2 are trademarks of International Business Machines Corp.
SPARC is a trademark of SPARC International, Inc.
WIN is a trademark of Microsoft Corporation.
HP is a trademark of Hewlett-Packard Company.
XDS is a trademark of Texas Instruments Incorporated.
42
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
device and development support tool nomenclature(continued)
TMSFully-qualified production device
Support tool development evolutionary flow:
TMDXDevelopment support product that has not yet completed T exas Instruments internal qualification
testing.
TMDSFully qualified development support product
TMX and TMP devices and TMDX development support tools are shipped against the following disclaimer:
“Developmental product is intended for internal evaluation purposes.”
TMS devices and TMDS development support tools have been characterized fully , and the quality and reliability
of the device has been demonstrated fully. TI’s standard warranty applies.
Predictions show that prototype devices (TMX or TMP) have a greater failure rate than the standard production
devices. T exas Instruments recommends that these devices not be used in any production system because their
expected end-use failure rate still is undefined. Only qualified production devices are to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the package type
(for example, N, FN, or GB) and temperature range (for example, L). Figure 8 provides a legend for reading the
complete device name for any TMS320 family member.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
43
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
TMS 320(B)52PJ (L)
PREFIXTEMPERATURE RANGE (DEFAULT: 0 TO 70°C)
TMX= experimental device
TMP= prototype device
TMS= qualified device
SMJ = MIL-STD-883C
SM = High Rel (non-883C)
DEVICE FAMILY
320 = TMS320 Family
LOW VOLTAGE OPTION (3.3V)
BOOT LOADER OPTION
TECHNOLOGY
C = CMOS
E = CMOS EPROM
(L)
C
H = 0 to 50°C
L = 0 to 70°C
S = –55 to 100°C
M = –55 to 125°C
A = –40 to 85°C
Extensive documentation supports all TMS320 family generations of devices from product announcement
through applications development. The types of documentation available include data sheets, such as this
document, with design specifications, complete user’s guides for all devices, development support tools, and
three volumes of the publication
numbers SPRA012, SPRA016, and SPRA017).
The application book series describes hardware and software applications, including algorithms, for fixed and
floating point TMS320 family devices. The
describes in detail the fifth-generation TMS320 products, is currently available.
A series of DSP textbooks is published by Prentice-Hall and John Wiley & Sons to support digital signal
processing research and education. The TMS320 newsletter,
quarterly and distributed to update TMS320 customers on product information. The TMS320 DSP bulletin board
service (BBS) provides access to information pertaining to the TMS320 family , including documentation, source
code and object code for many DSP algorithms and utilities. The BBS can be reached at 713/274-2323.
Information regarding TI DSP products is also available on the Worldwide Web at http:/www.ti.com uniform
resource locator (URL).
Digital Signal Processing Applications with the TMS320 Family
TMS320C5x User’s Guide
(literature number SPRU056), which
Details on Signal Processing
, is published
(literature
44
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
VILLow-level input voltage
V
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
absolute maximum ratings over operating ambient-air temperature range (unless otherwise noted)
(’320C5x only)
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE 3: All voltage values are with respect to VSS.
This IOH can be exceeded when using a 1-kΩ pulldown resistor on the TDM serial port TADD output; however, this output still meets V
specifications under these conditions.
NOTE 4: Figure 9 shows the test load circuit and Figure 10 and Figure 11 show the voltage reference levels.
CLKX, CLKR, TCLKX, TCLKR
All other inputs2VDD+0.3
X2/CLKIN, CLKIN2, CLKX, CLKR, TCLKX, TCLKR– 0.30.7
All other inputs– 0.30.8
2.5VDD+0.3
V
‡
µA
OH
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
45
TMS320C5x, TMS320LC5x
IOZHigh-impedance output current (V
V)
A
IIInput current (V
V
to VDD)
A
I
Supply current, core CPU
mA
I
Supply current, pins
mA
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
electrical characteristics over recommended ranges of supply voltage and operating ambient-air
temperature (unless otherwise noted) (’320C5x only)
PARAMETERTEST CONDITIONSMIN TYP‡MAXUNIT
V
OH
V
OL
DD(core)
DD(pins)
I
DD(standby)
C
i
C
o
†
Typical values are at VDD = 5 V, TA = 25°C, unless otherwise specified.
NOTE 4: Figure 9 shows the test load circuit and Figure 10 and Figure 11 show the voltage reference levels.
High-level output voltage (see Note 4)IOH = 300 µA2.43V
Low-level output voltage (see Note 4)IOL = 2 mA0.30.6V
p
p
pp
pp
Supply current, standby
Input capacitance15pF
Output capacitance15pF
p
=
I
SS
p
DD
= 5.25
BR (with internal pullup)– 50020
All other 3-state outputs–2020
TRST (with internal pulldown)–10800
TMS, TCK, TDI (with internal pullups)– 50010
X2/CLKIN–5050
All other inputs–1010
fx = 40 MHz,VDD = 5.25 V60
fx = 57 MHz,VDD = 5.25 V67
fx = 80 MHz,VDD = 5.25 V94
fx = 100 MHz, VDD = 5.25 V110
fx = 40 MHz,VDD = 5.25 V40
fx = 57 MHz,VDD = 5.25 V45
fx = 80 MHz,VDD = 5.25 V63
fx = 100 MHz, VDD = 5.25 V75
IDLE2, divide-by-two clock mode, clocks
shut off
5µA
µ
µ
46
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
IL
oeeuoage
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
absolute maximum ratings over specified temperature range (unless otherwise noted) (’320LC5x
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated in the “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE 3: All voltage values are with respect to VSS.
stg
recommended operating conditions (’320LC5x only)
MINNOMMAXUNIT
V
DD
V
SS
V
IH
V
I
OH
I
OL
T
C
T
A
‡
This IOH may be exceeded when using a 1-kΩ pulldown resistor on the TDM serial port TADD output; however, this output still meets V
specifications under these conditions.
Supply voltage
Supply voltage
High-level input voltage
Low-level input voltage
High-level output current
Low-level output current
Operating case temperature
Operating ambient temperature
X2/CLKIN, CLKIN22.5VDD+ 0.3
CLKX, CLKR, TCLKX, TCLKR2.0VDD+ 0.3
All other inputs1.8VDD+ 0.3
X2/CLKIN, CLKIN2, CLKX,
The data in this section is shown for both the 5-V version (’C5x) and the 3.3-V version (’LC5x). In each case,
the 5-V data is shown followed by the 3.3-V data in parentheses. TTL-output levels are driven to a minimum
logic-high level of 2.4 V (2 V) and to a maximum logic-low level of 0.6 V (0.4 V). Figure 10 shows the TTL-level
outputs.
2.4 V (2 V)
2 V (1.6 V)
1 V (0.8 V)
0.6 V (0.4 V)
Figure 10. TTL-Level Outputs
TTL-output transition times are specified as follows:
D
For a
high-to-low transition
, the level at which the output is said to be no longer high is 2 V (1.6 V), and the
level at which the output is said to be low is 1 V (0.8 V).
D
For a
low-to-high transition
, the level at which the output is said to be no longer low is 1 V (0.8 V), and the
level at which the output is said to be high is 2 V (1.6 V).
Figure 11 shows the TTL-level inputs.
Figure 11. TTL-Level Inputs
TTL-compatible input transition times are specified as follows:
D
For a
high-to-low transition
on an input signal, the level at which the input is said to be no longer high is
2 V (1.8 V), and the level at which the input is said to be low is 0.8 V (0.6 V).
D
For a
low-to-high transition
on an input signal, the level at which the input is said to be no longer low is
0.8 V (0.6 V), and the level at which the input is said to be high is 2 V (1.8 V).
2 V (1.8 V)
0.8 V (0.6 V)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
49
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
PARAMETER MEASUREMENT INFORMATION
timing parameter symbology
Timing parameter symbols used are created in accordance with JEDEC Standard 100-A. To shorten the
symbols, some of the pin names and other related terminology have been abbreviated as follows:
Lowercase subscripts and their meanings:Letters and symbols and their meanings:
aaccess timeHHigh
ccycle time (period)LLow
ddelay timeVValid
disdisable timeZHigh impedance
enenable time
ffall time
hhold time
rrise time
susetup time
ttransition time
vvalid time
wpulse duration (width)
XUnknown, changing, or don’t care level
50
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
CLOCK CHARACTERISTICS AND TIMING
The ’C5x can use either its internal oscillator or an external frequency source for a clock. The clock mode is
determined by the clock mode pins (CLKMD1, CLKMD2, and CLKMD3). Table 9 shows the standard clock
options available on the ’C50, ’LC50, ’C51, ’LC51, ’C52, ’LC52, ’C53, ’LC53, ’C53S, and ’LC53S. For these
devices, the CLKIN2 pin functions as the external frequency input when using the PLL options. An expanded
set of clock options is shown in Table 10 and is available on the ’LC56, ’C57S, and ’LC57 devices. For these
devices, X2/CLKIN functions as the external frequency input when using the PLL options.
Table 9. Standard Clock Options
CLKMD1CLKMD2CLOCK SOURCE
10PLL clock generator option
01Reserved for test purposes
11
00External divide-by-two option with the internal oscillator disabled
†
PLL multiply-by-one option on ’C50, ’C51, ’C53, ’C53S devices, PLL multiply-by-two option on
’C52 device
External divide-by-two option or internal divide-by-two clock option
with an external crystal
†
Table 10. PLL Clock Option for ’LC56, ’C57S, and ’LC57
internal divide-by-two clock option with external crystal
The internal oscillator is enabled by connecting a crystal across X1 and X2/CLKIN. The frequency of CLKOUT1
is one-half of the crystal’s oscillating frequency. The crystal should be in either fundamental or overtone
operation and parallel resonant, with an effective series resistance of 30 Ω and a power dissipation of 1 mW;
it should be specified at a load capacitance of 20 pF. Overtone crystals require an additional tuned-LC circuit.
Figure 12 shows an external crystal (fundamental frequency) connected to the on-chip oscillator.
recommended operating conditions for internal divide-by-two clock option
MINNOMMAXUNIT
TMS320C5x-400
TMS320C5x-570
TMS320C5x-800
f
Input clock frequency
clk
C1, C2 Load capacitance10pF
†
This device utilizes a fully static design and, therefore, can operate with input clock cycle time (t
at frequencies approaching 0 Hz, but is tested at f
‡
’320C51, ’320C52 currently available at this clock speed
An external frequency source can be used by injecting the frequency directly into X2/CLKIN with X1 left
unconnected. Refer to Table 9 and Table 10 for appropriate configuration of the CLKMD1, CLKMD2 and
CLKMD3 pins to generate the external divide-by-2 clock option. The external frequency injected must conform
to the specifications listed in the timing requirements table.
switching characteristics over recommended operating conditions [H = 0.5 t
(see Figure 13)
’320C5x-40’320C5x-57
MINTYPMAXMINTYPMAX
t
c(CO)
t
d(CIH-COH/L)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
t
c(CO)
t
d(CIH-COH/L)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
Cycle time, CLKOUT148.8 2t
Delay time, X2/CLKIN high to CLKOUT1 high/low3112031120ns
Fall time, CLKOUT155ns
Rise time, CLKOUT155ns
Pulse duration, CLKOUT1 lowH – 3HH + 2 H – 3HH + 2ns
Pulse duration, CLKOUT1 highH – 3HH + 2 H – 3HH + 2ns
Cycle time, CLKOUT125 2t
Delay time, X2/CLKIN high to CLKOUT1 high/low19181918ns
Fall time, CLKOUT144ns
Rise time, CLKOUT144ns
Pulse duration, CLKOUT1 lowH – 3HH + 2H – 3HH + 2ns
Pulse duration, CLKOUT1 highH – 3HH + 2H – 3HH + 2ns
c(CI)
’320C5x-80’320C5x-100
MINTYPMAXMINTYPMAX
c(CI)
†
†
switching characteristics over recommended operating conditions [H = 0.5 t
(see Figure 13)
’320LC5x-40’320LC5x-50’320LC5x-80UNIT
MINTYPMAXMINTYPMAXMINTYPMAXUNIT
t
c(CO)
t
d(CIH-COH/L)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
†
This device utilizes a fully static design and, therefore, can operate with t
approaching 0 Hz but is tested at t
Cycle time, CLKOUT150 2t
Delay time, X2/CLKIN high to
approaching infinity. The device is characterized at frequencies
c(Cl)
†
] (’320C5x only)
c(CO)
35 2t
c(CI)
20 2t
c(CI)
] (’320LC5x only)
c(CO)
25 2t
c(CI)
†
ns
†
ns
†
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
53
TMS320C5x, TMS320LC5x
UNIT
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (’320C5x only) (see Figure 13)
’320C5x-40’320C5x-57’320C5x-80’320C5x-100
MINMAXMINMAXMINMAXMINMAX
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
Cycle time, X2/CLKIN24.4
Fall time, X2/CLKIN
Rise time, X2/CLKIN
Pulse duration, X2/CLKIN low11
Pulse duration, X2/CLKIN high11
‡
‡
†
17.5
5544ns
5544ns
†
†
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (’320LC5x only) (see Figure 13)
†
12.5
†
8
†
8
†
10
†
5
†
5
5
5
†
ns
†
ns
†
ns
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
†
This device utilizes a fully static design and, therefore, can operate with t
approaching 0 Hz, but is tested at a minimum of t
‡
Values derived from characterization data and not tested
Cycle time, X2/CLKIN25
Fall time, X2/CLKIN
Rise time, X2/CLKIN
Pulse duration, X2/CLKIN low11
Pulse duration, X2/CLKIN high11
CLKIN
CLKOUT1
‡
‡
t
c(CI)
t
d(CIH-COH/L)
t
c(CO)
t
w(COH)
= 150 ns to meet device test time requirements.
c(Cl)
t
w(CIH)
Figure 13. External Divide-by-Two Clock Timing
’320LC5x-40’320LC5x-50
MINMAXMINMAXMINMAX
†
20
554ns
554ns
†
9
†
9
approaching ∞. The device is characterized at frequencies
c(Cl)
t
r(CI)
t
w(CIL)
t
f(CO)
t
r(CO)
t
w(COL)
’320LC5x-80
†
12.5
†
†
5
5
t
f(CI)
†
ns
†
ns
†
ns
54
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
PARAMETER
UNIT
PARAMETER
UNIT
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
PLL clock generator option
An external frequency source can be used by injecting the frequency directly into CLKIN2‡ with X1 left
unconnected and X2 connected to VDD. This external frequency is multiplied by the factors shown in Table 9
and T able 10 to generate the internal machine cycle. The multiply-by-one option is available on the ’C50, ’LC50,
’C51, ’LC51, ’C53, ’LC53, ’C53S and ’LC53S. The multiply-by-two option is available on the ’C52 and ’LC52.
Multiplication factors of 1, 2, 3, 4, 5, and 9 are available on the ’LC56, ’LC57, ’C57S and ’LC57S. Refer to T able 9
and T able 10 for appropriate configuration of the CLKMD1, CLKMD2 and CLKMD3 pins to generate the desired
PLL multiplication factor. The external frequency injected must conform to the specifications listed in the timing
requirements table.
switching characteristics over recommended operating conditions [H = 0.5 t
(see Figure 14)
’320C5x-40’320C5x-57
MINTYPMAXMINTYPMAX
t
c(CO)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
t
d(C2H-COH)
t
d(TP)
t
c(CO)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
t
d(C2H-COH)
t
d(TP)
†
Values assured by design and not tested
‡
On the TMS320C57S devices, CLKIN2 functions as the PLL clock input.
Cycle time, CLKOUT148.8753575ns
Fall time, CLKOUT155ns
Rise time, CLKOUT155ns
Pulse duration, CLKOUT1 lowH – 3
Pulse duration, CLKOUT1 highH – 3
Delay time, CLKIN2 high to CLKOUT1
high
Delay time, transitory phase—PLL
synchronized after CLKIN2 supplied
Cycle time, CLKOUT125552045ns
Fall time, CLKOUT144ns
Rise time, CLKOUT144ns
Pulse duration, CLKOUT1 lowH – 3
Pulse duration, CLKOUT1 highH – 3
Delay time, CLKIN2 high to CLKOUT1
high
Delay time, transitory phase—PLL
synchronized after CLKIN2 supplied
†
†
†
†
29162916ns
MINTYPMAXMINTYPMAX
†
†
18151815ns
HH + 2†H – 3
HH + 2†H – 3
c(C2)
c(C2)
ĕ
ĕ
1000t
’320C5x-80’320C5x-100
HH + 2†H – 3
HH + 2†H – 3
1000t
†
†
†
†
] (’320C5x only)
c(CO)
HH + 2
HH + 2
1000t
c(C2)
HH + 2
HH + 2
1000t
c(C2)
†
ns
†
ns
ĕ
ns
†
ns
†
ns
ĕ
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
55
TMS320C5x, TMS320LC5x
PARAMETER
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
switching characteristics over recommended operating conditions [H = 0.5 t
(see Figure 14)
’320LC5x-40’320LC5x-50’320LC5x-80
MINTYPMAXMINTYPMAXMINTYPMAX
t
c(CO)
t
d(C2H-COH)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
t
d(TP)
†
Clocks can only be stopped while executing IDLE2 when using the PLL clock generator option.
‡
Values assured by design and not tested
§
On the ’LC56, ’LC57, and ’LC57S devices, CLKIN2 functions as the PLL clock input.
Cycle time,
CLKOUT1
Delay time,
CLKIN2 high to
CLKOUT1 high
Fall time,
CLKOUT1
Rise time,
CLKOUT1
Pulse duration,
CLKOUT1 low
Pulse duration,
CLKOUT1 high
Delay time,
transitory
phase—PLL
synchronized
after CLKIN2
supplied
5075
291629161815ns
554ns
554ns
‡
H–3
H–3
HH+2‡H–3
‡
HH+2‡H–3
1000t
c(C2)
†
4075
‡
‡
†
HH+2‡H–3
HH+2‡H–3
1000t
c(C2)
2555
‡
‡
] (’320LC5x only)
c(CO)
HH+2
HH+2
1000t
c(C2)
†
ns
‡
ns
‡
ns
ns
56
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
UNIT
t
Cycle time, CLKIN2
UNIT
t
Cycle time, CLKIN2
UNIT
t
Cycle time, CLKIN2
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (’320C5x only) (see Figure 14)
’320C5x-40’320C5x-57
MINMAXMINMAX
c(C2)
t
f(C2)
t
r(C2)
t
w(C2L)
t
w(C2H)
c(C2)
t
f(C2)
t
r(C2)
t
w(C2L)
t
w(C2H)
Multiply-by-one
Multiply-by-two
Fall time, CLKIN2
Rise time, CLKIN2
Pulse duration, CLKIN2 low15 t
Pulse duration, CLKIN2 high15 t
Fall time, CLKIN2
Rise time, CLKIN2
Pulse duration, CLKIN2 low8 t
Pulse duration, CLKIN2 high8 t
¶
¶
Multiply-by-one
Multiply-by-two
¶
¶
†
§
†
§
48.875
97.6150
’320C5x-80’320C5x-100
MINMAXMINMAX
2575
50150
c(C2)
c(C2)
‡
3575
‡
70150
55ns
55ns
–1511 t
–1511 t
‡
‡
44ns
44ns
–87 t
c(C2)
–87 t
c(C2)
c(C2)
c(C2)
2075
40110
c(C2)
c(C2)
‡
‡
–11ns
–11ns
‡
‡
–7ns
–7ns
ns
ns
ns
ns
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (’320LC5x only) (see Figure 14)
’320LC5x-40’320LC5x-50’320LC5x-80
MINMAXMINMAXMINMAX
c(C2)
t
f(C2)
t
r(C2)
t
w(C2L)
t
w(C2H)
†
Not available on ’C52, ’LC52
‡
Clocks can be stopped only while executing IDLE2 when using the PLL clock generator option. The t
restarting clock from IDLE2 in this mode.
§
Available on ’C52, ’LC52, ’LC56, ’C57S, ’LC57, and ’LC57S
¶
Values derived from characterization data and not tested
Fall time, CLKIN2
Rise time, CLKIN2
Pulse duration, CLKIN2 low15 t
Pulse duration, CLKIN2 high15 t
CLKIN2
¶
¶
Multiply-by-one
Multiply-by-two
t
d(TP)
t
c(C2)
†
§
t
d(C2H-COH)
t
c(CO)
5075
100150
c(C2)
c(C2)
t
w(C2H)
‡
4075
‡
80150
554ns
554ns
–1513 t
–1513 t
t
w(C2L)
t
w(COH)
c(C2)
c(C2)
‡
2537.5
‡
50110
–138t
–138t
(the transitory phase) occurs when
d(TP)
t
f(CO)
w(COL)
t
t
r(C2)
t
f(C2)
c(C2)
c(C2)
t
r(CO)
‡
‡
–8ns
–8ns
ns
ns
CLKOUT1
Unstable
Figure 14. PLL Clock Generator Timing
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
57
TMS320C5x, TMS320LC5x
PARAMETER
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MEMORY AND PARALLEL I/O INTERFACE READ
switching characteristics over recommended operating conditions [H = 0.5t
(see Figure 15)
’320C5x-40’320C5x-57’320C5x-80’320C5x-100
MINMAXMINMAXMINMAXMINMAX
t
su(AV-RDL)
t
h(RDH-AV)
t
w(RDL)
t
w(RDH)
t
d(CO-ST)
t
d(CO-RD)
t
d(RDH-WEL)
Setup time, address valid before
†
low
RD
Hold time, address valid after RD
†
high
Pulse duration, RD low
Pulse duration, RD high
Delay time, CLKOUT1 to STRB
rising or falling edge
Delay time, CLKOUT1 to RD rising
or falling edge
Delay time, RD high to WE low2H – 52H – 52H – 42H – 4ns
switching characteristics over recommended operating conditions [H = 0.5t
(see Figure 15)
’320LC5x-40
PARAMETER
t
su(AV-RDL)
t
h(RDH-AV)
t
w(RDL)
t
w(RDH)
t
d(RDH-WEL)
t
d(CO-RD)
t
d(CO-ST)
†
A0–A15, PS, DS, IS, R/W, and BR timings all are included in timings referenced as address.
‡
See Figure 16 for address bus timing variation with load capacitance.
§
These timings are for the cycles following the first cycle after reset, which is always seven wait states.
¶
Values are derived from characterization data and not tested.
#
Timings are valid for zero wait-state cycles only.
Setup time, address valid before RD low
Hold time, address valid after RD high
Pulse duration, RD low
Pulse duration, RD high
Delay time, RD high to WE low2H – 52H – 4ns
Delay time, CLKOUT1 to RD rising or falling edge
Delay time, CLKOUT1 to STRB rising or falling edge
§¶#
§¶#
†
†
§¶
§¶
’320LC5x-50
MINMAXMINMAX
‡
H–10
‡
0
H–2H+2H–2H+2ns
H–2H–2ns
–22–31ns
04–22ns
] (’320C5x only)
c(CO)
‡
H – 6
‡
0
] (’320LC5x only)
c(CO)
’320LC5x-80
‡
H – 7
‡
0
ns
ns
UNIT
ns
ns
58
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
UNIT
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
a(RDAV)
t
a(RDL-RD)
t
su(RD-RDH)
t
h(RDH-RD)
Access time, read data from
address valid
Access time, read data after RD
low
Setup time, read data before RD
high
Hold time, read data after RD high0000ns
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
a(RDAV)
t
su(RD-RDH)
t
h(RDH-RD)
t
a(RDL-RD)
†
See Figure 16 for address bus timing variation with load capacitance.
Access time, read data from address valid2H–17
Setup time, read data before RD high107ns
Hold time, read data after RD high00ns
Access time, read data after RD lowH–10H–7ns
] (’320C5x only) (see Figure 15)
c(CO)
’320C5x-40’320C5x-57’320C5x-80’320C5x-100
MINMAXMINMAXMINMAXMINMAX
2H – 18
H – 10H – 10H – 7H – 6ns
101076ns
] (’320LC5x only) (see Figure 15)
c(CO)
†
†
2H – 15
’320LC5x-40
’320LC5x-50
MINMAXMINMAX
2H – 10
†
†
’320LC5x-80
2H – 10
2H – 10
†
ns
UNIT
†
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
59
TMS320C5x, TMS320LC5x
PARAMETER
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MEMORY AND PARALLEL I/O INTERFACE WRITE
switching characteristics over recommended operating conditions [H = 0.5t
(see Figure 15)
’320C5x-40’320C5x-57’320C5x-80’320C5x-100
MINMAXMINMAXMINMAXMINMAX
t
su(AV-WEL)
t
su(WDV-WEH)
t
h(WEH-AV)
t
h(WEH-WDV)
t
w(WEL)
t
w(WEH)
t
d(CO-ST)
t
d(CO-WE)
t
d(WEH-RDL)
t
en(WEL-BUd)
Setup time, address valid
before WE
Setup time, write data
valid before WE
Hold time, address valid
after WE
Hold time, write data valid
after WE
Pulse duration, WE low
Pulse duration, WE high
Delay time, CLKOUT1 to
STRB
rising or falling
§
edge
Delay time, CLKOUT1 to
WE
rising or falling edge
Delay time, WE high to
RD
low
Enable time, WE low to
data bus driven
low
high
high
†
high
†
§¶
§
§
‡
H–5
2H – 202H§¶2H – 202H§¶2H – 142H§¶2H – 142H
‡
H–10
H–5 H+10
2H – 2 2H + 2
2H – 22H – 22H – 22H – 2ns
–13–22–22–22ns
04–13–13–13ns
3H – 103H – 103H – 73H – 7ns
§
–5
§
§
‡
H–5
‡
H–10
H–5 H+10
2H – 2 2H + 2
§
–5
‡
H–4
‡
H–7
§
H–4 H+7
§
2H – 22H + 22H – 22H + 2ns
§
–4
§
] (’320C5x only)
c(CO)
‡
H–3
‡
H–7
H–4 H+7
§
–4
§¶
ns
ns
ns
§
ns
ns
switching characteristics over recommended operating conditions [H = 0.5t
] (’320LC5x only)
c(CO)
(see Figure 15)
’320LC5x-40
PARAMETER
t
su(AV-WEL)
t
su(WDV-WEH)
t
h(WEH-AV)
t
h(WEH-WDV)
t
w(WEL)
t
w(WEH)
t
d(WEH-RDL)
t
d(CO-ST)
t
d(CO-WE)
t
en(WE-BUd)
†
A0–A15, PS
‡
See Figure 16 for address bus timing variation with load capacitance.
§
Values derived from characterization data and not tested
¶
This value holds true for zero wait states or one software wait state only.
#
STRB
and WE edges are 0–4 ns from CLKOUT1 edges on writes. Rising and falling edges of these signals track each other; tolerance of resulting
pulsewidths is ±2 ns, not ±4 ns.
Setup time, address valid before WE low
Setup time, write data valid before WE high
Hold time, address valid after WE high
Hold time, write data valid after WE highH–5H+10
Pulse duration, WE low
Pulse duration, WE high
Delay time, WE high to RD low3H – 103H – 7ns
Delay time, CLKOUT1 to STRB rising or falling edge
Delay time, CLKOUT1 to WE rising or falling edge
Enable time, WE to data bus driven–5
, DS, IS, R/W, and BR timings are all included in timings referenced as address.
¶§
¶
†
#
†
¶
¶
’320LC5x-50
MINMAXMINMAX
‡
H–7
2H – 202H
‡
H–10
2H – 42H + 22H – 42H + 2ns
2H – 22H – 2ns
04–22ns
04–13ns
§
§¶
§
’320LC5x-80
‡
H–4
2H – 142H
‡
H–7
H–4H+7
§
–4
§¶
UNIT
ns
ns
ns
§
ns
ns
60
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MEMORY AND PARALLEL I/O INTERFACE WRITE (CONTINUED)
A0–A15
R/W
DATA
RD
WE
STRB
t
a(RDL-RD)
t
a(RDAV)
t
su(RD-RDH)
VALID
t
h(RDH-AV)
t
su(AV-RDL)
t
w(RDH)
t
w(RDL)
VALID
t
su(AV-WEL)
t
h(WEH-AV)
t
t
h(RDH-RD)
VALIDVALID
t
d(RDH-WEL)
t
d(CO-RD)
en(WEL-BUd)
t
su(WDV-WEH)
t
w(WEL)
t
h(WEH-WDV)
t
d(WEH-RDL)
t
w(WEH)
t
d(CO-WE)
CLKOUT1
NOTES: A. All timings are for 0 wait states. However , external writes always require two cycles to prevent external bus conflicts. The diagram
illustrates a one-cycle read and a two-cycle write and is not drawn to scale. All external writes immediately preceded by an external
read or immediately followed by an external read require three machine cycles.
B. Refer to Appendix B of
TMS320C5x User’s Guide
(literature number SPRU056) for logical timings of external interface.
t
d(CO-ST)
Figure 15. Memory and Parallel I/O Interface Read and Write Timing
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
61
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MEMORY AND PARALLEL I/O INTERFACE WRITE (CONTINUED)
2.00
1.75
1.50
1.25
1.00
0.75
0.50
0.25
Change in Address Bus Timing– ns
103055708515202545354050806065759095100
Figure 16. Address Bus Timing Variation With Load Capacitance
Change in Load Capacitance – pF
62
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
READY TIMING FOR EXTERNALLY-GENERATED WAIT STATES
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (see Note 5) (see Figure 17 and Figure 18)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
t
su(RY-COH)
t
su(RY-RDL)
t
h(COH-RYH)
t
h(RDL-RY)
t
h(WEL-RY)
t
v(WEL-RY)
NOTE 5: The external READY input is sampled only after the internal software wait states are completed.
Setup time, READY before CLKOUT1 rising edge1076ns
Setup time, READY before RD falling edge1076ns
Hold time, READY after CLKOUT1 rising edge000ns
Hold time, READY after RD falling edge000ns
Hold time, READY after WE falling edgeH + 5H + 4H + 3ns
Valid time, READY after WE falling edgeH – 15H – 10H – 8ns
CLKOUT1
t
su(RY-COH)
t
su(RY-COH)
’320C5x-80
’320LC5x-80
’320C5x-100
UNIT
A0–A15
t
h(COH-RYH)
READY
t
su(RY-RDL)
RD
Wait State
Generated
t
h(RDL-RY)
Internally
Wait State
Generated
by READY
Figure 17. Ready Timing for Externally-Generated Wait States During an External Read Cycle
CLKOUT1
t
h(COH-RYH)
A0–A15
t
su(RY-COH)
READY
t
v(WEL-RY)
t
WE
h(WEL-RY)
Wait State Generated by READY
Figure 18. Ready Timing for Externally-Generated Wait States During an External Write Cycle
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
63
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
RESET, INTERRUPT, AND BIO
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
su(IN-COL)
t
su(RS-COL)
t
su(RS-CIL)
t
su(BI-COL)
t
h(COL-IN)
t
h(COL-BI)
t
w(INL)SYN
t
w(INH)SYN
t
w(INL)ASY
t
w(INH)ASY
t
w(RSL)
t
w(BIL)SYN
t
w(BIL)ASY
t
d(RSH)
†
These parameters must be met to use the synchronous timings. Both reset and the interrupts can operate asynchronously. The pulse durations
require an extra half-cycle to ensure internal synchronization.
‡
Values derived from characterization data and not tested
§
If in IDLE2, add 4H to these timings.
Setup time, INT1–INT4, NMI before CLKOUT1 low
Setup time, RS before CLKOUT1 low15 2H – 5
Setup time, RS before X2/CLKIN low107ns
Setup time, BIO before CLKOUT1 low1510ns
Hold time, INT1–INT4, NMI after CLKOUT1 low
Hold time, BIO after CLKOUT1 low00ns
Pulse duration, INT1–INT4, NMI low, synchronous4H + 15
Pulse duration, INT1–INT4, NMI high, synchronous2H + 15
Pulse duration, INT1–INT4, NMI low, asynchronous
Pulse duration, INT1–INT4, NMI high, asynchronous
Pulse duration, RS low12H12Hns
Pulse duration, BIO low, synchronous1510ns
Pulse duration, BIO low, asynchronous
Delay time, RS high to reset vector fetch34H34Hns
switching characteristics over recommended operating conditions [H = 0.5t
’320C5x-40
’320C5x-57
PARAMETER
t
su(AV-IQL)
t
h(IQL-AV)
t
w(IQL)
t
d(CO-TU)
t
su(AV-IKL)
t
h(IKL-AV)
t
w(IKL)
t
w(TUH)
t
d(CO-XFV)
†
IAQ goes low during an instruction acquisition. It goes low only on the first cycle of the read when wait states are used. The falling edge should
be used to latch the valid address. The AVIS bit in the PMST register must be set to zero for the address to be valid when the instruction being
addressed resides in on-chip memory .
‡
Valid only if the external address reflects the current instruction activity (that is, code is executing on chip with no extern al bus cycles and A VIS
is on or code is executing off chip)
§
IACK
goes low during the fetch of the first word of the interrupt vector. It goes low only on the first cycle of the read when wait states are used.
Address pins A1–A4 can be decoded at the falling edge to identify the interrupt being acknowledged. The AVIS bit in the PMST register must
be set to zero for the address to be valid when the vectors reside in on-chip memory.
NOTE 6: IAQ
Setup time, address valid before IAQ low
Hold time, address valid after IAQ lowH–10
Pulse duration, IAQ lowH–10
Delay time, CLKOUT1 falling edge to TOUT–66–66ns
Setup time, address valid before IACK low
Hold time, address valid after IACK lowH–10
Pulse duration, IACK lowH–10
Pulse duration, TOUT high2H – 122H – 9ns
Delay time, XF valid after CLKOUT101209ns
pin is not present on 100-pin packages.
IACK
pin is not present on 100-pin and 128-pin packages.
EXTERNAL FLAG (XF), AND TOUT (SEE NOTE 6) (CONTINUED)
ADDRESS
t
su(AV-IQL)
†
IAQ
t
su(AV-IKL)
†
IACK
t
w(IKL)
STRB
CLKOUT1
t
w(IQL)
t
h(IQL-AV)
t
h(IKL-AV)
t
d(CO-TU)
XF
TOUT
†
IAQ
and IACK are not affected by wait states.
Figure 20. IAQ, IACK, and XF Timings Example With Two External Wait States
t
d(CO-TU)
t
w(TUH)
t
d(CO-XFV)
66
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
EXTERNAL DMA
switching characteristics over recommended operating conditions [H = 0.5t
(see Figure 21)
PARAMETER
t
d(HOL-HAL)
t
d(HOH-HAH)
t
h(AZ-HAL)
t
en(HAH-Ad)
t
d(XBL-IQL)
t
d(XBH-IQH)
t
d(XSL-RDV)
t
h(XSH-RD)
t
en(IQL-RDd)
t
h(XRL-DZ)
t
h(IQH-DZ)
t
en(D-XRH)
†
HOLD is not acknowledged until current external access request is complete.
‡
This parameter includes all memory control lines.
§
Values derived from characterization data and not tested
¶
This parameter refers to the delay between the time the condition (IAQ
valid.
NOTE 7: X preceding a name refers to external drive of the signal.
Delay time, HOLD low to HOLDA low4H
Delay time, HOLD high before HOLDA high2H2H2Hns
Address high-impedance before HOLDA low
Enable time, HOLDA high to address drivenH–5
Delay time, XBR low to IAQ low4H
Delay time, XBR high to IAQ high2H
Delay time, read data valid after XSTRB low402925ns
Hold time, read data valid after XSTRB high000ns
Enable time, IAQ low to read data driven
Hold time, XR/W low to data high impedance0
Hold time, IAQ high to data high impedanceH
Enable time, data from XR/W going high4
‡
¶
= 0 and XR/W = 1) is satisfied and the time that the ’C5x data lines become
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
§
H–15
§
§
6H
§
4H
§
0
2H
§
15
†
§
§
§
§
§
§
’320C5x-80
’320LC5x-80
4H
§
H–10
§
H–4
4H§6H
2H§4H
0§2H
§
0
10
c(CO)
†
§
§
§
§
§
H
§
3
] (see Note 7)
’320C5x-100
4H
§
H–8
§
H–3
4H§6H
2H§4H
0§2H
§
0
H
2
UNIT
†
§
§
§
8ns
§
§
ns
ns
ns
ns
ns
ns
ns
ns
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature (see Note 7) (see Figure 21)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
t
d(HAL-XBL)
t
d(IQL-XSL)
t
su(AV-XSL)
t
su(DV-XSL)
t
h(XSL-D)
t
h(XSL-WA)
t
w(XSL)
t
w(XSH)
t
su(RW-XSL)
t
h(XSH-RA)
§
Values derived from characterization data and not tested
#
XBR
, XR/W, and XSTRB lines must be pulled up with a 10-kΩ resistor to be certain that they are in an inactive high state during the transition
period between the ’C5x driving them and the external circuit driving them.
NOTE 7: X preceding a name refers to external drive of the signal.
Delay time, HOLDA low to XBR low
Delay time, IAQ low to XSTRB low
Setup time, Xaddress valid before XSTRB low151210ns
Setup time, Xdata valid before XSTRB low151210ns
Hold time, Xdata hold after XSTRB low151210ns
Hold time, write Xaddress hold after XSTRB low151210ns
Pulse duration, XSTRB low454035ns
Pulse duration, XSTRB high454035ns
Setup time, R/W valid before XSTRB low202018ns
Hold time, read Xaddress after XSTRB high000ns
#
#
§
0
§
0
’320C5x-80
’320LC5x-80
§
0
§
0
’320C5x-100
§
0
§
0
UNIT
ns
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
67
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOLD
t
d(HOL-HAL)
HOLDA
t
ADDRESS
BUS/
CONTROL
SIGNALS
XBR
IAQ
XSTRB
XR/W
h(AZ-HAL)
t
su(AV-XSL)
EXTERNAL DMA (CONTINUED)
t
d(HAL-XBL)
t
d(XBL-IQL)
t
h(XSH-RA)
t
d(IQL-XSL)
t
d(XBH-IQH)
t
w(XSH)
t
w(XSL)
t
h(XSH-RD)
t
d(HOH-HAH)
t
su(RW-XSL)
t
h(XRL-DZ)
t
en(IQL-RDd)
t
en(HAH-Ad)
XADDRESS
DATA(RD)
XDATA(WR)
t
d(XSL-RDV)
t
en(IQL-RDd)
t
su(AV-XSL)
t
h(XSL-WA)
t
h(XSL-D)
t
su(DV-XSL)
Figure 21. External DMA Timing
t
h(IQH-DZ)
t
en(D-XRH)
68
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
SERIAL-PORT RECEIVE TIMING
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
su(FS-CK)
t
su(DR-CK)
t
h(CK-FS)
t
h(CK-DR)
†
Values ensured by design but not tested
‡
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested at a much higher frequency to minimize test time.
§
Values derived from characterization data and not tested
CLKR
Cycle time, serial-port clock5.2H
Fall time, serial-port clock8
Rise time, serial-port clock8
Pulse duration, serial-port clock low/high2.1H
Setup time, FSR before CLKR falling edge1076ns
Setup time, DR before CLKR falling edge1076ns
Hold time, FSR after CLKR falling edge1076ns
Hold time, DR valid after CLKR falling edge1076ns
] (see Figure 22)
c(CO)
t
c(SCK)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
†‡
†
approaching ∞. It is characterized approaching an input frequency
c(SCK)
t
w(SCK)
’320C5x-80
’320LC5x-80
5.2H
§
§
2.1H
†‡
6
6
†
’320C5x-100
5.2H
§
§
2.1H
†‡
†
t
f(SCK)
UNIT
ns
§
6
ns
§
6
ns
ns
FSR
DR
Bit
t
h(CK-FS)
t
su(FS-CK)
t
w(SCK)
t
su(DR-CK)
t
h(CK-DR)
Figure 22. Serial-Port Receive Timing
t
r(SCK)
8/167/1521
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
69
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
SERIAL-PORT TRANSMIT TIMING, EXTERNAL CLOCKS, AND EXTERNAL FRAMES
switching characteristics over recommended operating conditions (see Note 8) (see Figure 23)
PARAMETERMINMAXUNIT
t
d(CXH-DXV)
t
dis(CXH-DX)
t
h(CXH-DXV)
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
d(CXH-FXH)
t
h(CXL-FXL)
t
h(CXH-FXL)
†
Values derived from characterization data and not tested
‡
Values ensured by design but not tested
§
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested at a much higher frequency to minimize test time.
¶
If the FSX pulse does not meet this specification, the first bit of serial data is driven on the DX pin until the falling edge of FSX. After the falling
edge of FSX, data is shifted out on the DX pin. The transmit buffer empty interrupt is generated when the t
is met.
NOTE 8: Internal clock with external FSX and vice versa are also allowable. However, FSX timings to CLKX always are defined depending on
Delay time, DX valid after CLKX high25ns
2H – 5
†
ns
UNIT
§ns
†
6
ns
†
6
ns
ns
¶
ns
specification
Disable time, DX invalid after CLKX high40
Hold time, DX valid after CLKX high– 5ns
] (see Note 8) (see Figure 23)
c(CO)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
Cycle time, serial-port clock5.2H
Fall time, serial-port clock8
Rise time, serial-port clock8
Pulse duration, serial-port clock low/high2.1H
Delay time, FSX high after CLKX high2H – 82H – 82H – 5ns
Hold time, FSX low after CLKX low1076ns
Hold time, FSX low after CLKX high2H – 8
c(SCK)
the source of FSX, and CLKX timings always are dependent on the source of CLKX. Specifically, the relationship of FSX to CLKX is
independent of the source of CLKX.
‡
‡
approaching ∞. It is characterized approaching an input frequency
’320C5x-80
’320LC5x-80
§ 5.2H
†
†
2.1H
¶
‡
6
6
‡
2H – 8
h(CXL-FXL)
’320C5x-100
§ 5.2H
†
†
2.1H
¶
and t
‡
‡
h(CXH-FXL)
70
CLKX
FSX
DX
BIt
t
t
d(CXH-FXH)
t
h(CXL-FXL)
c(SCK)
t
h(CXH-FXL)
t
w(SCK)
t
d(CXH-DXV)
t
w(SCK)
t
h(CXH-DXV)
t
r(SCK)
t
f(SCK)
t
dis(CXH-DX)
Figure 23. Serial-Port Transmit Timing of External Clocks and External Frames
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
8/167/1521
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
SERIAL-PORT TRANSMIT TIMING, INTERNAL CLOCKS, AND INTERNAL FRAMES
(SEE NOTE 8)
switching characteristics over recommended operating conditions [H = 0.5t
’320C5x-40
’320C5x-57
PARAMETER
t
d(CX-FX)
t
d(CX-DX)
t
dis(CX-DX)
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
h(CXH-DXV)
†
Values derived from characterization data and not tested
NOTE 8: Internal clock with external FSX and vice versa are also allowable. However, FSX timings to CLKX always are defined depending on
CLKX
FSX
Delay time, CLKX rising edge to FSX–525–418ns
Delay time, CLKX rising edge to DX2518ns
Disable time, CLKX rising edge to DX40
Cycle time, serial-port clock8H8Hns
Fall time, serial-port clock54ns
Rise time, serial-port clock54ns
Pulse duration, serial-port clock low/high4H – 204H – 14ns
Hold time, DX valid after CLKX high–5–4ns
the source of FSX, and CLKX timings always are dependent on the source of CLKX. Specifically, the relationship of FSX to CLKX is
independent of the source of CLKX.
t
t
d(CX-FX)
t
d(CX-FX)
c(SCK)
t
w(SCK)
t
w(SCK)
t
d(CX-DX)
’320LC5x-40
’320LC5x-50
MINTYPMAXMINTYPMAX
†
t
f(SCK)
t
r(SCK)
t
h(CXH-DXV)
] (see Figure 24)
c(CO)
’320C5x-80
’320C5x-100
’320LC5x-80
t
dis(CX-DX)
29
UNIT
†
ns
DX
Bit
21
Figure 24. Serial-Port Transmit Timing of Internal Clocks and Internal Frames
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
8/167 /15
71
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
SERIAL-PORT RECEIVE TIMING IN TDM MODE
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
su(TD-TCH)
t
h(TCH-TD)
t
su(TA-TCH)
t
h(TCH-TA)
t
su(TF-TCH)
t
h(TCH-TF)
†
Values ensured by design and are not tested
‡
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested at a much higher frequency to minimize test time.
§
TFRM timing and waveforms shown in Figure 25 are for external TFRM. TFRM also can be configured as internal. The TFRM internal case is
illustrated in the transmit timing diagram in Figure 26.
¶
Values derived from characterization data and not tested
#
These parameters apply only to the first bits in the serial bit string.
Cycle time, serial-port clock5.2H
Fall time, serial-port clock8
Rise time, serial-port clock8
Pulse duration, serial-port clock low/high2.1H
Setup time, TDAT before TCLK rising edge302118ns
Hold time, TDAT after TCLK rising edge–3–2–2ns
Setup time, TADD before TCLK rising edge
Hold time, TADD after TCLK rising edge
Setup time, TFRM before TCLK rising edge
Hold time, TFRM after TCLK rising edge
] (see Figure 25)
c(CO)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
†‡
†
#
#
§
§
c(SCK)
201210ns
–3–2–2ns
101010ns
101010ns
approaching ∞. It is characterized approaching an input frequency
’320C5x-80
’320LC5x-80
5.2H
¶
¶
2.1H
†‡
8
8
†
’320C5x-100
5.2H
¶
¶
2.1H
§‡
8
8
†
UNIT
ns
¶
ns
¶
ns
ns
TCLK
TDAT
TADD
TFRM
t
f(SCK)
t
B0
h(TCH-TA)
t
su(TF-TCH)
t
h(TCH-TF)
t
t
r(SCK)
t
c(SCK)
B15
w(SCK)
t
su(TA-TCH)
t
h(TCH-TA)
t
su(TD-TCH)
t
h(TCH-TD)
B13B14
A2A0A1
t
w(SCK)
B12
A3
A7
Figure 25. Serial-Port Receive Timing in TDM Mode
B2B8B7
B0B1
72
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
SERIAL-PORT TRANSMIT TIMING IN TDM MODE
switching characteristics over recommended operating conditions [H = 0.5t
’320C5x-40
’320C5x-57
PARAMETER
t
h(TCH-TDV)
t
d(TCH-TFV)
t
d(TC-TDV)
†
TFRM timing and waveforms shown in Figure 28 are for internal TFRM. TFRM can also be configured as external. The TFRM external case is
illustrated in the receive timing diagram in Figure 27.
Hold time, TDAT/TADD valid after TCLK rising edge000ns
Delay time, TFRM valid after TCLK rising edge
Delay time, TCLK to valid TDAT/TADD201512ns
†
’320LC5x-40
’320LC5x-50
MINMAXMINMAXMINMAX
H3H + 10H3H + 73H + 5ns
’320C5x-80
’320LC5x-80
] (see Figure 26)
c(CO)
’320C5x-100
UNIT
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
‡
Values ensured by design and are not tested
§
When SCK is generated internally
¶
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested as a much higher frequency to minimize test time.
#
Values derived from characterization data and not tested
Cycle time, serial-port clock5.2H‡8H
Fall time, serial-port clock8#6#5#ns
Rise time, serial-port clock8#6#5#ns
Pulse duration, serial-port clock low/
high
TCLK
] (see Figure 26)
c(CO)
t
f(SCK)
t
r(SCK)
’320C5x-40
’320C5x-57
’320LC5x-40
’320LC5x-50
MINTYPMAXMINTYPMAXMINTYPMAX
§¶
‡
2.1H
approaching ∞. It is characterized approaching an input frequency
c(SCK)
t
w(SCK)
’320C5x-80
’320LC5x-80
5.2H‡8H
‡
2.1H
t
w(SCK)
§¶
’320C5x-100
5.2H‡8H
‡
2.1H
§¶
UNIT
ns
ns
TDAT
TADD
TFRM
t
c(SCK)
t
h(TCH-TDV)
t
d(TCH-TFV)
Figure 26. Serial-Port Transmit Timing in TDM Mode
t
d(TCH-TFV)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
B15
t
d(TC-TDV)
t
h(TCH-TDV)
t
d(TC-TDV)
A1
A0
B13B14B0
A2
B12
A3
A7
B2B8 B7
B0B1
73
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
BUFFERED SERIAL-PORT RECEIVE TIMING
timing requirements over recommended ranges of supply voltage and operating ambient-air
temperature [H = 0.5t
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
su(FS-CK)
t
su(DR-CK)
t
h(CK-FS)
t
h(CK-DR)
†
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested at a much higher frequency to minimize test time.
‡
Values derived from characterization data and not tested
§
First bit is read when FSR is sampled low by CLKR clock.
CLKR
Cycle time, serial-port clock25
Fall time, serial-port clock6
Rise time, serial-port clock6
Pulse duration, serial-port clock low/high12ns
Setup time, FSR before CLKR falling edge2ns
Setup time, DR before CLKR falling edge0ns
Hold time, FSR after CLKR falling edge12 t
Hold time, DR after CLKR falling edge15ns
] (see Figure 27)
c(CO)
t
c(SCK)
MINMAXUNIT
c(SCK)
approaching ∞. It is characterized approaching an input frequency
c(SCK)
t
t
w(SCK)
f(SCK)
†
ns
‡
ns
‡
ns
§
ns
FSR
DR
Bit
t
h(CK-FS)
t
su(FS-CK)
t
w(SCK)
t
su(DR-CK)
t
h(CK-DR)
Figure 27. Buffered Serial-Port Receive Timing
t
r(SCK)
8/167/1521
74
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
BUFFERED SERIAL-PORT TRANSMIT TIMING OF EXTERNAL FRAMES (SEE NOTES 9 AND 10)
switching characteristics over recommended operating conditions (see Figure 28)
PARAMETERMINMAXUNIT
t
d(CXH-DXV)
t
dis(CXH-DX)
t
dis(CXH-DX)PCM
t
en(CXH-DX)PCM
t
h(CXH-DXV)
timing requirements over recommended operating conditions (see Figure 28)
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
su(FX-CXL)
t
h(CXL-FX)
†
The serial-port design is fully static and, therefore, can operate with t
of 0 Hz but tested at a much higher frequency to minimize test time.
‡
Values derived from characterization data and not tested
§
If the FSX pulse does not meet this specification, the first bit of the serial data is driven on the DX pin until FSX goes low (sampled on falling edge
of CLKX). After falling edge of the FSX, data is shifted out on the DX pin.
NOTE 9: Internal clock with external FSX and vice versa are also allowable. However, FSX timings to CLKX always are defined depending on
NOTE 10: Timings for CLKX and FSX are given with polarity bits (CLKP and FSP) set to 0
the source of FSX, and CLKX timings always are dependent upon the source of CLKX. Specifically, the relationship of FSX to CLKX
is independent of the source of CLKX. External FSX timings are obtained from the “timing requirements over recommended operating
conditions” table listed in the “Buffered Serial-Port Transmit T iming of External Frames” section and internal FSX timings are obtained
from the “switching characteristics over recommended operating conditions” table listed under the “Buffered Serial-Port Transmit T iming
of Internal Frame and Internal Clock” section. Internal CLKX timings are obtained from the “switching characteristics over recommended
operating conditions” table listed under the “Buffered Serial-Port Transmit Timing of Internal Frame and Internal Clock” section and
external CLKX timings are obtained from the “timing requirements over recommended operating conditions” table in the “Buffered
Serial-Port Transmit Timing of External Frames” section.
Delay time, DX valid after CLKX rising edge521ns
Disable time, DX invalid after CLKX rising edge515ns
Disable time in PCM mode, DX invalid after CLKX rising edge15ns
Enable time in PCM mode, DX valid after CLKX rising edge21ns
Hold time, DX valid after CLKX rising edge520ns
MINMAXUNIT
–5
†
‡
‡
§
Cycle time, serial-port clock25
Fall time, serial-port clock4
Rise time, serial-port clock4
Pulse duration, serial-port clock low/high8.5ns
Setup time, FSX before CLKX falling edge5ns
Hold time, FSX after CLKX falling edge5t
approaching ∞. It is characterized approaching an input frequency
c(SCK)
c(SCK)
ns
ns
ns
ns
CLKX
FSX
DX BIt
t
t
su(FX-CXL)
t
h(CXL-FX)
t
c(SCK)
d(CXH-DXV)
t
w(SCK)
t
w(SCK)
t
h(CXH-DXV)
t
r(SCK)
t
f(SCK)
t
dis(CXH-DX)
Figure 28. Buffered Serial-Port Transmit Timing of External Clocks and External Frames
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
8/167/1521
75
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
BUFFERED SERIAL-PORT TRANSMIT TIMING OF INTERNAL FRAME AND INTERNAL CLOCK
(SEE NOTES 9 AND 10)
switching characteristics over recommended operating conditions [H = 0.5t
PARAMETERMINMAXUNIT
t
d(CXH-FXH)
t
d(CXH-FXL)
t
d(CXH-DXV)
t
dis(CXH-DX)
t
dis(CXH-DX)PCM
t
en(CXH-DX)PCM
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
h(CXH-DXV)
†
Values derived from characterization data and not tested
NOTES: 9. Internal clock with external FSX and vice versa are also allowable. However, FSX timings to CLKX always are defined depending
on the source of FSX, and CLKX timings always are dependent upon the source of CLKX. Specifically, the relationship of FSX to
CLKX is independent of the source of CLKX. External FSX timings are obtained from the “timing requirements over recommended
operating conditions” table listed in the “Buffered Serial-Port Transmit T iming of External Frames” section and internal FSX timings
are obtained from the “switching characteristics over recommended operating conditions” table listed under the “Buffered Serial-Port
Transmit Timing of Internal Frame and Internal Clock” section. Internal CLKX timings are obtained from the “switching characteristics
over recommended operating conditions” table listed under the “Buffered Serial-Port Transmit T iming of Internal Frame and Internal
Clock” section and external CLKX timings are obtained from the “timing requirements over recommended operating conditions” table
in the “Buffered Serial-Port Transmit T iming of External Frames” section.
10. Timings for CLKX and FSX are given with polarity bits (CLKP and FSP) set to 0.
Delay time, FSX high after CLKX rising edge10ns
Delay time, FSX low after CLKX rising edge10ns
Delay time, DX valid after CLKX rising edge510ns
Disable time, DX invalid after CLKX rising edge48ns
Disable time in PCM mode, DX invalid after CLKX rising edge10ns
Enable time in PCM mode, DX valid after CLKX rising edge16ns
Cycle time, serial-port clock2H62Hns
Fall time, serial-port clock4
Rise time, serial-port clock4
Pulse duration, serial-port clock low/highH–4ns
Hold time, DX valid after CLKX rising edge48ns
] (see Figure 29)
c(CO)
†
ns
†
ns
CLKX
FSX
DX
Bit
t
d(CXH-FXH)
t
d(CXH-FXL)
c(SCK)
t
w(SCK)
t
w(SCK)
t
d(CXH-DXV)
21
t
h(CXH-DXV)
t
r(SCK)
t
f(SCK)
t
dis(CXH-DX)
t
Figure 29. Buffered Serial-Port Transmit Timing of Internal Clocks and Internal Frames
8/167 /15
76
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOST PORT INTERFACE (TMS320C57S, TMS320LC57 ONLY)
switching characteristics over recommended operating conditions [H = 0.5t
] (See Notes 1 1
c(CO)
and 12) (see Figure 30 through Figure 33)
PARAMETERMINMAXUNIT
t
d(DSL-HDV)
t
d(HEL-HDV1)
t
d(DSL-HDV2)
t
d(DSH-HYH)
t
su(HDV-HYH)
t
h(DSH-HDV)
t
d(COH-HYH)
t
d(DSH-HYL)
t
d(COH-HTX)
†
Host-only mode timings apply for read accesses to HPIC or HPIA, write accesses to BOB, and resetting DSPINT or HINT to 0 in shared-access
mode. HRDY does not go low for these accesses.
‡
Shared-access mode timings are met automatically if HRDY is used.
§
HD release
NOTES: 11. SAM = shared-access mode, HOM = host-only mode
12. On host-read accesses to the HPI, the setup time of HD before DS rising edge depends on the host waveforms and cannot be
Delay time, DS low to HD valid5ns
Delay time, HDS falling to HD valid for first byte of a subsequent read:
Case 1: Shared-access mode if t
Case 2: Shared-access mode if t
Case 3: Host-only mode if t
Case 4: Host-only mode if t
Delay time, DS low to HD valid, second byte20ns
Delay time, DS high to HRDY highns
Setup time, HD valid before HRDY rising edge3H–10ns
Hold time, HD valid after DS rising edge012
Delay time, CLKOUT rising edge to HRDY high10ns
Delay time, HDS or HCS high to HRDY low12ns
Delay time, CLKOUT rising edge to HINT change10ns
HAD stands for HCNTRL0, HCNTRL1, and HR/W
HDS
refers to either HDS1 or HDS2.
DS refers to the logical OR of HCS and HDS.
specified here.
w(HDS
w(HDS
w(HDS
w(HDS
)h
)h
< 7H
> 7H
< 7H † ‡
)h
> 7H
)h
.
7H+20–t
40–t
w(DSH)
w(DSH)
20
20
ns
§
ns
timing requirements over recommended operating conditions [H = 0.5t
] (See Note 11)
c(CO)
(see Figure 30 through Figure 33)
MINMAXUNIT
t
su(HBV-DSL)
t
h(DSL-HBV)
t
su(HSL-DSL)
t
w(DSL)
t
w(DSH)
t
c(DSH-DSH)
t
su(HDV-DSH)
t
h(DSH-HDV)
¶
A host not using HRDY must meet the 10 H requirement all the time unless a software handshake is used to change the access rate according
to the HPI mode.
#
When HAS
NOTE 11: SAM = shared-access mode, HOM = host-only mode
HAD stands for HCNTRL0, HCNTRL1, and HR/W
HDS
DS
Setup time, HAD/HBIL valid before HAS or DS falling edge
Hold time, HAD/HBIL valid after HAS or DS falling edge
Setup time, HAS low before DS falling edge10ns
Pulse duration, DS low25ns
Pulse duration, DS high10ns
Cycle time, DS rising edge to next DS rising edge:
Case 1: When using HRDY (see Figure 32)
Case 2a: SAM accesses and HOM active writes to DSPINT or HINT without using HRDY
(see Figure 30 and Figure 31)
Case 2b: When not using HRDY for other HOM accesses
Setup time, HD valid before DS rising edge10ns
Hold time, HD valid after DS rising edge0ns
is tied to VDD, timing is referenced to DS.
.
refers to either HDS1 or HDS2.
refers to the logical OR of HCS and HDS.
#
#
10ns
10ns
50
¶
10H
50
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
77
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOST PORT INTERFACE (TMS320C57S, TMS320LC57 ONLY) (CONTINUED)
FIRST BYTESECOND BYTE
HAD
HBIL
t
w(DSH)
HCS
HDS
HD
READ
HD
WRITE
t
d(HEL-HDV1)
t
d(DSL-HDV)
Valid
t
t
c(DSH-DSH)
t
su(HDV-DSH)
su(HBV-DSL)
ValidValid
t
h(DSL-HBV)
t
w(DSH)
t
w(DSL)
ValidValid
Valid
t
h(DSH-HDV)
t
su(HDV-DSH)
t
h(DSH-HDV)
t
h(DSL-HBV)
t
su(HBV-DSL)
t
w(DSL)
t
d(DSL-HDV2)
Valid
Figure 30. Read/Write Access Timings Without HRDY or HAS
t
h(DSH-HDV)
t
h(DSH-HDV)
78
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOST PORT INTERFACE (TMS320C57S, TMS320LC57 ONLY) (CONTINUED)
FIRST BYTESECOND BYTE
HAS
t
su(HSL-DSL)
t
h(DSL-HBV)
HAD
HBIL
HCS
HDS
HD
READ
HD
WRITE
t
w(DSH)
t
d(HEL-HDV1)
t
d(DSL-HDV)
ValidValidValid
t
su(HBV-DSL)
t
t
w(DSL)
su(HDV-DSH)
c(DSH-DSH)
t
d(DSL-HDV2)
t
h(DSH-HDV)
ValidValid
t
su(HDV-DSH)t
t
h(DSH-HDV)
Valid
Valid
t
c(DSH-DSH)
t
h(DSH-HDV)
t
h(DSH-HDV)
Figure 31. Read/Write Access Timings Using HAS Without HRDY
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
79
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOST PORT INTERFACE (TMS320C57S, TMS320LC57 ONLY) (CONTINUED)
FIRST BYTESECOND BYTE
HAS
t
t
su(HBV-DSL)
HAD
su(HSL-DSL)
t
h(DSL-HBV)
t
su(HBV-DSL)
HBIL
t
w(DSH)
HCS
HDS
HRDY
HD
READ
HD
WRITE
†
t
d(HEL-HDV1)
t
d(DSL-HDV)
t
t
su(HDV-DSH)
t
h(DSL-HBV)
w(DSL)
t
d(DSH-HYL)
†
t
c(DSH-DSH)
t
d(DSH-HYH)
t
h(DSH-HDV)
ValidValid
t
su(HDV-DSH)
t
h(DSH-HDV)
Valid
t
su(HDV-HYH)
t
d(DSL-HDV2)
Valid
t
h(DSH-HDV)
t
h(DSH-HDV)
CLKOUT
HINT
†
When HAS
80
is tied to V
DD
t
d(COH-HYH)
t
d(COH-HTX)
Figure 32. Read/Write Access Timing With HRDY
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
HOST PORT INTERFACE (TMS320C57S, TMS320LC57 ONLY) (CONTINUED)
HCS
t
d(DSH-HYL)
HRDY
t
d(DSH-HYH)
HDS
Figure 33. HRDY Signal When HCS Is Always Low
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
81
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MECHANICAL DATA
PQ (S-PQFP-G132) PLASTIC QUAD FLATPACK
0.800
(20,32)
SQ
18
50
132117
0.966 (24,54)
0.934 (23,72)
1.090 (27,69)
1.070 (27,18)
1.112 (28,25)
1.088 (27,64)
SQ
SQ
SQ
117
8351
116
84
0.150 (3,81)
0.130 (3,30)
0.020
(0,51) MIN
0.012 (0,30)
0.008 (0,20)
0.025 (0,635)
0.010 (0,25)
0.046 (1,17)
0.036 (0,91)
0.006 (0,15)
M
0.006
(0,16)
NOM
Gage Plane
0°–8°
0.180 (4,57) MAX
NOTES: A. All linear dimensions are in inches (millimeters).
82
B. This drawing is subject to change without notice.
C. Falls within JEDEC MO-069
Thermal Resistance Characteristics
PARAMETER
R
ΘJA
R
ΘJC
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
Seating Plane
0.004 (0,10)
°C/W
35
8.5
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MECHANICAL DATA
PBK (S-PQFP-G128) PLASTIC QUAD FLATPACK
97
128
0,40
96
1
11,60 TYP
14,20
SQ
13,80
16,20
SQ
15,80
0,23
0,13
65
32
0,07
64
33
M
0,05 MIN
0,13 NOM
Gage Plane
0,25
0°–7°
1,45
1,35
1,60 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
PARAMETER
R
R
Seating Plane
Thermal Resistance Characteristics
ΘJA
ΘJC
0,75
0,45
0,08
4040279-3/B 10/94
°C/W
58
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
83
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MECHANICAL DATA
PJ (R-PQFP-G100)PLASTIC QUAD FLA TPACK
81
100
80
0,65
1
18,85 TYP
20,20
19,80
24,00
23,20
0,40
0,20
51
30
0,13
M
50
12,35 TYP
31
18,0014,20
17,2013,80
0,15 NOM
Gage Plane
2,70 TYP
3,10 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Contact field sales office to determine if a tighter coplanarity requirement is available for this package.
PARAMETER
R
R
ΘJC
Thermal Resistance Characteristics
ΘJA
°C/W
78
13
0,10 MIN
Seating Plane
0,25
0°–10°
1,10
0,70
0,15
4040012/B 10/94
84
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MECHANICAL DATA
PZ (S-PQFP-G100) PLASTIC QUAD FLATPACK
76
100
0,50
75
0,27
0,17
51
50
26
1
12,00 TYP
14,20
SQ
13,80
16,20
SQ
15,80
25
0,08
M
0,05 MIN
0,13 NOM
Gage Plane
0,25
0°–7°
1,45
1,35
1,60 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MO-136
PARAMETER
R
R
Seating Plane
Thermal Resistance Characteristics
ΘJA
ΘJC
0,75
0,45
0,08
4040149/B 10/94
°C/W
58
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
85
TMS320C5x, TMS320LC5x
DIGITAL SIGNAL PROCESSORS
SPRS030A – APRIL 1995 – REVISED APRIL 1996
MECHANICAL DATA
PGE (S-PQFP-G144) PLASTIC QUAD FLATPACK
109
144
1,45
1,35
108
73
72
0,27
0,17
0,50
37
1
17,50 TYP
20,20
SQ
19,80
22,20
SQ
21,80
36
0,05 MIN
0,08
0,25
0,75
0,45
M
0,13 NOM
Gage Plane
0°–7°
1,60 MAX
NOTES: A. All linear dimensions are in millimeters.
86
B. This drawing is subject to change without notice.
C. Falls within JEDEC MO-136
PARAMETER
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
Thermal Resistance Characteristics
R
ΘJA
R
ΘJC
Seating Plane
0,08
4040147/B 10/94
°C/W
40
9.9
PACKAGE OPTION ADDENDUM
www.ti.com
25-Nov-2005
PACKAGING INFORMATION
Orderable DeviceStatus
TMP320LBC57PBK80OBSOLETELQFPPBK128TBDCall TICall TI
TMS320LC52PZAOBSOLETELQFPPZ100TBDCall TICall TI
TMS320LC53SPZOBSOLETELQFPPZ100TBDCall TICall TI
TMS320LC53SPZ50OBSOLETELQFPPZ100TBDCall TICall TI
(3)
Addendum-Page 3
PACKAGE OPTION ADDENDUM
www.ti.com
(1)
The marketing status values are defined as follows:
25-Nov-2005
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in
a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS) or Green (RoHS & no Sb/Br) - please check
http://www.ti.com/productcontent for the latest availability information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements
for all 6 substances, including the requirement that lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered
at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame
retardants (Br or Sb do not exceed 0.1% by weight in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder
temperature.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is
provided. TI bases its knowledge and belief on information provided by third parties, and makes no representation or warranty as to the
accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and continues to take
reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on
incoming materials and chemicals. TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited
information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI
to Customer on an annual basis.
Addendum-Page 4
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications,
enhancements, improvements, and other changes to its products and services at any time and to discontinue
any product or service without notice. Customers should obtain the latest relevant information before placing
orders and should verify that such information is current and complete. All products are sold subject to TI’s terms
and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are used to the extent TI
deems necessary to support this warranty . Except where mandated by government requirements, testing of all
parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for
their products and applications using TI components. To minimize the risks associated with customer products
and applications, customers should provide adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right,
copyright, mask work right, or other TI intellectual property right relating to any combination, machine, or process
in which TI products or services are used. Information published by TI regarding third-party products or services
does not constitute a license from TI to use such products or services or a warranty or endorsement thereof.
Use of such information may require a license from a third party under the patents or other intellectual property
of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of information in TI data books or data sheets is permissible only if reproduction is without
alteration and is accompanied by all associated warranties, conditions, limitations, and notices. Reproduction
of this information with alteration is an unfair and deceptive business practice. TI is not responsible or liable for
such altered documentation.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that
product or service voids all express and any implied warranties for the associated TI product or service and
is an unfair and deceptive business practice. TI is not responsible or liable for any such statements.
Following are URLs where you can obtain information on other Texas Instruments products and application
solutions:
ProductsApplications
Amplifiersamplifier.ti.comAudiowww.ti.com/audio
Data Convertersdataconverter.ti.comAutomotivewww.ti.com/automotive
DSPdsp.ti.comBroadbandwww.ti.com/broadband
Interfaceinterface.ti.comDigital Controlwww.ti.com/digitalcontrol
Logiclogic.ti.comMilitarywww.ti.com/military
Power Mgmtpower.ti.comOptical Networkingwww.ti.com/opticalnetwork
Microcontrollersmicrocontroller.ti.comSecuritywww.ti.com/security
Telephonywww.ti.com/telephony
Video & Imagingwww.ti.com/video
Wirelesswww.ti.com/wireless
Mailing Address:Texas Instruments
Post Office Box 655303 Dallas, Texas 75265
Copyright 2005, Texas Instruments Incorporated
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.