IACK
MSC
CLKOUT1
CLKOUT2
XF
HOLDA
DX
FSX
X2 CLKIN
X1
BR
STRB
R/W
PS
IS
DS
V
SS
ADVANCE INFORMATION
This data sheet provides complete design documentation for the second-generation devices of the TMS320
family . This facilitates the selection of the devices best suited for user applications by providing all specifications
and special features for each TMS320 member. This data sheet is divided into four major sections: architecture,
electrical specifications (NMOS and CMOS), timing diagrams, and mechanical data. In each of these sections,
generic information is presented first, followed by specific device information. An index is provided for quick
reference to specific information about a device.
ADVANCE INFORMATION concerns new products in the
sampling or preproduction phase of development.
Characteristic data and other specifications are subject to
change without notice.
Ground pins
Output from internal oscillator for crystal
I
Input to internal oscillator from crystal or external clock
Master clock output (crystal or CLKIN frequency/4)
A second clock output signal
16-bit data bus D15 (MSB) through D0 (LSB). Multiplexed between program, data, and I/O spaces.
16-bit address bus A15 (MSB) through A0 (LSB)
Program, data, and I/O space select signals
Read/write signal
Strobe signal
I
Reset input
I
External user interrupt inputs
I
Microprocessor/microcomputer mode select pin
Microstate complete signal
Interrupt acknowledge signal
I
Data ready input. Asserted by external logic when using slower devices to indicate that the current bus transaction
is complete.
Bus request signal. Asserted when the TMS320C2x requires access to an external global data memory space.
External flag output (latched software-programmable signal)
I
Hold input. When asserted, TMS320C2x goes into an idle mode and places the data, address, and control lines in
the high impedance state.
Hold acknowledge signal
I
Synchronization input
I
Branch control input. Polled by BIOZ instruction.
I
Serial data receive input
I
Clock for receive input for serial port
I
Frame synchronization pulse for receive input
Serial data transmit output
I
Clock for transmit output for serial port
Frame synchronization pulse for transmit. Configuration as either an input or an output.
DEFINITION
CC
CC
A10/61
B10/62
CC
CC
SS
SS
SS
H2/23
L6/35
B1/10
K11/44
L2/27
2
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
description
The TMS320 family of 16/32-bit single-chip digital signal processors combines the flexibility of a high-speed
controller with the numerical capability of an array processor, thereby offering an inexpensive alternative to
multichip bit-slice processors. The highly paralleled architecture and efficient instruction set provide speed and
flexibility to produce a MOS microprocessor family that is capable of executing more than 12.5 MIPS (million
instructions per section). The TMS320 family optimizes speed by implementing functions in hardware that other
processors implement through microcode or software. This hardware-intensive approach provides the design
engineer with processing power previously unavailable on a single chip.
The TMS320 family consists of three generations of digital signal processors. The first generation contains the
TMS32010 and its spinoffs. The second generation includes the TMS32020, TMS320C25, and TMS320E25,
which are described in this data sheet. The TMS320C30 is a floating-point DSP device designed for even higher
performance. Many features are common among the TMS320 processors. Specific features are added in each
processor to provide different cost/performance tradeoffs. Software compatibility is maintained throughout the
family to protect the user’s investment in architecture. Each processor has software and hardware tools to
facilitate rapid design.
introduction
The TMS32010, the first NMOS digital signal processor in the TMS320 family, was introduced in 1983. Its
powerful instruction set, inherent flexibility, high-speed number-crunching capabilities, and innovative
architecture have made this high-performance, cost-effective processor the ideal solution to many
telecommunications, computer, commercial, industrial, and military applications. Since that time, the
TMS320C10, a low-power CMOS version of the industry-standard TMS32010, and other spinoff devices have
been added to the first generation of the TMS320 family.
The second generation of the TMS320 family (referred to as TMS320C2x) includes four members, the
TMS32020, TMS320C25, TMS320C25-50, and TMS320E25. The architecture of these devices is based upon
that of the TMS32010.
The TMS32020, processed in NMOS technology, is source-code compatible with he TMS32010 and in many
applications is capable of two times the throughput of the first-generation devices. Its enhanced instruction set
(109 instructions), large on-chip data memory (544 words), large memory spaces, on-chip serial port, and
hardware timer make the TMS32020 a powerful addition to the TMS320 family.
The TMS320C25 is the second member of the TMS320 second generation. It is processed in CMOS technology,
is capable of an instruction cycle time of 100 ns, and is pin-for-pin and object-code compatible with the
TMS32020. The TMS320C25’s enhanced feature set greatly increases the functionality of the device over the
TMS32020. Enhancements included 24 additional instructions (133 total), eight auxiliary registers, an
eight-level hardware stack, 4K words of on-chip program ROM, a bit-reversed indexed-addressing mode, and
the low-power dissipation inherent to the CMOS process. An extended-temperature range version
(TMS320C25GBA) is also available.
The TMS320C25-50 is a high-speed version of the TMS320C25. It is capable of an instruction cycle time of less
than 80 ns. It is architecturally identical to the original 40-MHz version of the TMS320C25 and, thus, is pin-for-pin
and object-code compatible with the TMS320C25.
The TMS320E25 is identical to the TMS320C25, with the exception that the on-chip 4K-word program ROM is
replaced with a 4K-word on-chip program EPROM. On-chip EPROM allows realtime code development and
modification for immediate evaluation of system performance.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
3
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Key Features: TMS32020
•200-ns Instruction Cycle Time
•544 Words of On-Chip Data RAM
•128K Words of Total Data/Program
Memory Space
•Wait States for Communication to Slower Off-Chip
Memories
•Source Code Compatible With the TMS320C1x
•Single-Cycle Multiply/Accumulate Instructions
•Repeat Instructions
•Global Data Memory Interface
•Block Moves for Data/Program Management
•Five Auxiliary Registers With Dedicated
Arithmetic Unit
•Serial Port for Multiprocessing or Interfacing
to Codecs, Serial Analog-to-Digital
Converters, etc.
Key Features: TMS320C25, TMS320C25-50, TMS320E25
• 80-ns Instruction Cycle Time (TMS320C25-50)
• 100-ns Instruction Cycle Time (TMS320C25)
• 4K Words of On-Chip Secure Program EPROM
(TMS320E25)
• 4K Words of On-Chip Program
ROM (TMS320C25)
• 544 Words of On-Chip RAM
• 128K Words of Total Program/Data
Memory Space
• Wait States for Communications to
Slower Off-Chip Memories
• Object-Code Compatible With the TMS32020
• Source-Code Compatible W ith TMS320C1x
• 24 Additional Instructions to Support
Adaptive Filtering, FFTs, and
Extended-Precision Arithmetic
• Block Moves for Data/Program Management
• Single-Cycle Multiply/Accumulate Instructions
• Eight Auxiliary Registers W ith Dedicated
Arithmetic Unit
• Bit-Reversed Indexed-Addressing Mode for
Radix-2 FFTS
• Double-Buffered Serial Port
+5 VGND
Interrupts
256-Word
Data/Prog
RAM
32-BIT ALU/ACC
288-Word
Multiplier
Shifters
Timer
Data
RAM
Data (16)
Multi-
Processor
Interface
Serial
Interface
Address (16)
•On-Chip Clock Generator
•Single 5-V Supply
•NMOS Technology
•68-Pin Grid Array (PGA) Package
+5 VGND
Interrupts
MP/MC
256-Word
Data/Prog
RAM
32-Bit ALU/ACC
288-Word
Data
RAM
4K-Words
ROM/EPROM
Multiplier
Shifters
Timer
Data (16)
Multi-
Processor
Interface
Serial
Interface
Address (16)
• On-Chip Clock Generator
• Single 5-V Supply
• Internal Security Mechanism (TMS320E25)
• 68-to-28 Pin Conversion Adapter Socket
• CMOS Technology
• 68-Pin Grid Array (PGA) Package
(TMS320C25)
• 68-Lead Plastic Leaded Chip Carrier (PLCC)
Package (TMS320C25, TMS320C25-50)
• 68-Lead CER-QUAD Package (TMS320E25)
4
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
T able 1 provides an overview of the second-generation TMS320 processors with comparisons of memory, I/O,
cycle timing, power, package type, technology , and military support. For specific availability , contact the nearest
TI Field Sales Office.
The TMS320 family utilizes a modified Harvard architecture for speed and flexibility. In a strict Harvard
architecture, program and data memory lie in two separate spaces, permitting a full overlap of instruction fetch
and execution. The TMS320 family’s modification of the Harvard architecture allows transfers between program
and data spaces, thereby increasing the flexibility of the device. This modification permits coefficients stored
in program memory to be read into the RAM, eliminating the need for a separate coefficient ROM. It also makes
available immediate instructions and subroutines based on computed values.
Increased throughput on the TMS320C2x devices for many DSP applications is accomplished by means of
single-cycle multiply/accumulate instructions with a data move option, up to eight auxiliary registers with a
dedicated arithmetic unit, and faster I/O necessary for data-intensive signal processing.
The architectural design of the TMS320C2x 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.
32-bit ALU/accumulator
The 32-bit Arithmetic Logic Unit (ALU) and accumulator perform a wide range of arithmetic and logical
instructions, the majority of which execute in a single clock cycle. The ALU executes a variety of branch
instructions dependent on the status of the ALU or a single bit in a word. These instructions provide the following
capabilities:
•Branch to an address specified by the accumulator
•Normalize fixed-point numbers contained in the accumulator
•Test a specified bit of a word in data memory
One input to the ALU is always provided from the accumulator, and the other input may be provided from the
Product Register (PR) of the multiplier or the input scaling shifter which has fetched data from the RAM on the
data bus. After the ALU has performed the arithmetic or logical operations, the result is stored in the accumulator.
The 32-bit accumulator is split into two 16-bit segments for storage in data memory. Additional shifters at the
output of the accumulator perform shifts while the data is being transferred to the data bus for storage. The
contents of the accumulator remain unchanged.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
5
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
functional block diagram (TMS320C2x)
SYNC
IS
DS
PS
X1
X2/CLKIN
CLKOUT1
MCS(16)
(4096
Instruction
16
CLKOUT2
16
16
161616
Address
Program
ROM/
EPROM
× 16)
16
Data Bus
R/W
STRB
READY
BR
XF
HOLD
HOLDA
MSC
BIO
RS
IACK
MP/MC
INT(2-0)
A15-A0
D15-D0
Controller
16
3
16
16
16
MUXMUX
16
PFC(16)
16
16
MUX
PC(16)
Stack
(8 x 16)
Program Bus
16
16
1616
QIR(16)
IR(16)
STO(16)
ST1(16)
RPTC(8)
IFR(6)
RSR(16)
16
16
16
16
6
8
16
XSR(16)
DRR(16)
DXR(16)
TIM(16)
PRD(16)
IMR(6)
GREG(8)
Program Bus
DR
CLKR
FSR
DX
CLKX
FSX
16
16
16
16
3
MUX
Block B2
× 16)
(32
Data RAM
Block B1
(256
16
16
× 16)
16
3
ARP(3)
3
ARB(3)
3
LEGEND:
ACCH = Accumulator highIFR= Interrupt flag registerPC= Program counter
ACCL = Accumulator lowIMR= Interrupt mask registerPFC= Prefetch counter
ALU= Arithmetic logic unitIR= Instruction registerRPTC= Repeat instruction counter
ARAU = Auxiliary register arithmetic unitMCS=Microcall stackGREG =Global memory allocation register
ARB= Auxiliary register pointer bufferQIR= Queue instruction registerRSR= Serial port receive shift register
ARP= Auxiliary register pointerPR= Product registerXSR= Serial port transmit shift register
DP= Data memory page pointerPRD= Period register for timerAR0-AR7 = Auxiliary registers
DRR= Serial port data receive registerTIM=TimerST0, ST1= Status registers
DXR= Serial port data transmit registerTR= Temporary registerC= Carry bit
The TMS320C2x scaling shifter has 16-bit input connected to the data bus and a 32-bit output connected to the
ALU. The scaling shifter produces a left shift of 0 to 16 bits on the input data, as programmed in the instruction.
The LSBs of the output are filled with zeroes, and the MSBs may be either filled with zeroes or sign-extended,
depending upon the status programmed into the SXM (sign-extension mode) bit of status register ST1.
16 × 16-bit parallel multiplier
The 16 × 16-bit hardware multiplier is capable of computing a signed or unsigned 32-bit product in a single
machine cycle. The multiplier has the following two associated registers.
•A 16-bit Temporary Register (TR) that holds one of the operands for the multiplier, and
•A 32-bit Product Register (PR) that holds the product.
Incorporated into the instruction set are single-cycle multiply/accumulate instructions that allow both operands
to be processed simultaneously. The data for these operations may reside anywhere in internal or external
memory, and can be transferred to the multiplier each cycle via the program and data buses.
Four product shift modes are available at the Product Register (PR) output that are useful when performing
multiply/accumulate operations, fractional arithmetic, or justifying fractional products.
timer
The TMS320C2x provides a memory-mapped 16-bit timer for control operations. The on-chip timer (TIM)
register is a down counter that is continuously clocked by CLKOUT1 on the TMS320C25. The timer is clocked
by CLKOUT1/4 on the TMS32020. A timer interrupt (TINT) is generated every time the timer decrements to zero.
The timer is reloaded with the value contained in the period (PRD) register within the next cycle after it reaches
zero so that interrupts may be programmed to occur at regular intervals of PRD + 1 cycles of CLKOUT 1 on the
TMS320C25 or 4 × PRD × CLKOUT 1 cycles on the TMS32020.
memory control
The TMS320C2x provides a total of 544 16-bit words of on-chip data RAM, divided into three separate blocks
(B0, B1, and B2). Of the 544 words, 288 words (blocks B1 and B2) are always data memory, and 256 words
(block B0) are programmable as either data or program memory . A data memory size of 544 words allows the
TMS320C2x to handle a data array of 512 words (256 words if on-chip RAM is used for program memory), while
still leaving 32 locations for intermediate storage. When using block B0 as program memory, instructions can
be downloaded from external program memory into on-chip RAM and then executed.
When using on-chip program RAM, ROM, EPROM, or high-speed external program memory , the TMS320C2x
runs at full speed without wait states. However, the READY line can be used to interface the TMS320C2x to
slower, less-expensive external memory . Downloading programs from slow off-chip memory to on-chip program
RAM speeds processing while cutting system costs.
The TMS320C2x provides three separate address spaces for program memory, data memory, and I/O. The
on-chip memory is mapped into either the 64K-word data memory or program memory space, depending upon
the memory configuration (see Figure 1). The CNFD (configure block B0 as data memory) and CNFP (configure
block B0 as program memory) instructions allow dynamic configuration of the memory maps through software.
Regardless of the configuration, the user may still execute from external program memory.
The TMS320C2x has six registers that are mapped into the data memory space: a serial port data receive
register, serial port data transmit register, timer register, period register, interrupt mask register, and global
memory allocation register.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
7
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
0(0000h)
31(001Fh)
32(0020h)
65,535(FFFFh)
If MP/MC
(Microprocessor Mode)
ProgramProgramData
Interrupts
and Reserved
(External)
External
= 1
Interrupts
and Reserved
(On-Chip
31(001Fh)
32(0020h)
4015(0FAFh)
4016(0FB0h)
4095(0FFFh)
4096(1000h)
65,535(0FFFFh)
ROM/EPROM)
On-Chip
ROM/EPROM
Reserved
External
If MP/MC = 0
(Microcomputer Mode on TMS320C25)
0(0000h)0(0000h)
5(0005h)
6(0006h)
95(005Fh)
96(0060h)
127(007Fh)
128(0080h)
511(01FFh)
512(0200h)
767(02FFh)
768(0300h)
1023(03FFh)
1024(0400h)
65,535(0FFFFh)
(a) Memory Maps After a CNFD Instruction
On-Chip
Memory-Mapped
Registers
Reserved
On-Chip
Block B2
Reserved
On-Chip
Block B0
On-Chip
Block B1
External
Page 0
Pages 1-3
Pages 4-5
Pages 6 -7
Pages 8 -511
0(0000h)
31(001Fh)
32(0020h)
65,279(0FEFFh)
65,280(0FF00h)
65,535(0FFFFh)
If MP/MC
(Microprocessor Mode)
ProgramProgramData
Interrupts
and Reserved
(External)
Block B0
= 1
External
On-Chip
0(0000h)
31(001Fh)
32(0020h)
4015(0FAFh)
4016(0FB0h)
4095(0FFFh)
4096(1000h)
65,279(0FEFFh)
65,280(0FF00h)
65,535(0FFFFh)
If MP/MC
(Microcomputer Mode on TMS320C25)
Interrupts
and Reserved
(On-Chip
ROM/EPROM)
On-Chip
ROM/EPROM
Reserved
External
On-Chip
Block B0
= 0
0(0000h)
5(0005h)
6(0006h)
95(005Fh)
96(0060h)
127(007Fh)
128(0080h)
511(01FFh)
512(0200h)
767(02FFh)
768(0300h)
1023(03FFh)
1024(0400h)
65,535(0FFFFh)
(b) Memory Maps After a CNFP Instruction
On-Chip
Memory-Mapped
Registers
Reserved
On-Chip
Block B2
Reserved
Does Not
Exist
On-Chip
Block B1
External
Page 0
Pages 1-3
Pages 4-5
Pages 6 -7
Pages 8 -511
Figure 1. Memory Maps
8
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
interrupts and subroutines
The TMS320C2x has three external maskable user interrupts INT2-INT0, available for external devices that
interrupt the processor. Internal interrupts are generated by the serial port (RINT and XINT), by the timer (TINT),
and by the software interrupt (TRAP) instruction. Interrupts are prioritized with reset (RS
priority and the serial port transmit interrupt (XINT) having the lowest priority. All interrupt locations are on
two-word boundaries so that branch instructions can be accommodated in those locations if desired.
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 is completed. This mechanism applies to
instructions that are repeated and to instructions that become multicycle due to the READY signal.
external interface
The TMS320C2x supports a wide range of system interfacing requirements. Program, data, and I/O address
spaces provide interface to memory and I/O, thus maximizing system throughput. 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. 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 TMS320C2x processor waits until the other device completes its function and
signals the processor via the READY line. Then, the TMS320C2x continues execution.
A full-duplex serial port provides communication with serial devices, such as codecs, serial A/D converters, and
other serial systems. The interface signals are compatible with codecs and many other serial devices with a
minimum of external hardware. The serial port may also be used for intercommunication between processors
in multiprocessing applications.
) having the highest
The serial port has two memory-mapped registers: the data transmit register (DXR) and the data receive register
(DRR). Both registers operate in either the byte mode or 16-bit word mode, and may be accessed in the same
manner as any other data memory location. Each register has an external clock, a framing synchronization
pulse, and associated shift registers. One method of multiprocessing may be implemented by programming one
device to transmit while the others are in the receive mode. The serial port on the TMS320C25 is double-buffered
and fully static.
multiprocessing
The flexibility of the TMS320C2x allows configurations to satisfy a wide range of system requirements and can
be used as follows:
•A standalone processor
•A multiprocessor with devices in parallel
•A slave/host multiprocessor with global memory space
•A peripheral processor interfaced via processor-controlled signals to another device.
For multiprocessing applications, the TMS320C2x has the capability of allocating global data memory space
and communicating with that space via the BR (bus request) and READY control signals. Global memory is data
memory shared by more than one processor. Global data memory access must be arbitrated. The 8-bit
memory-mapped GREG (global memory allocation register) specifies part of the TMS320C2x’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 is asserted to request control of the bus. The
length of the memory cycle is controlled by the READY line.
The TMS320C2x supports DMA (direct memory access) to its external program/data memory using the HOLD
and HOLDA signals. Another processor can take complete control of the TMS320C2x’s external memory by
asserting HOLD
high-impedance state, and assert HOLDA. On the TMS320C2x, program execution from on-chip ROM may
proceed concurrently when the device is in the hold mode.
low. This causes the TMS320C2x to place its address data and control lines in a
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
9
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
instruction set
The TMS320C2x microprocessor implements a comprehensive instruction set that supports both
numeric-intensive signal processing operations as well as general-purpose applications, such as
multiprocessing and high-speed control. The TMS32020 source code is upward-compatible with TMS320C25
source code. TMS32020 object code runs directly on the TMS320C25.
For maximum throughput, the next instruction is prefetched while the current one is being executed. Since the
same data lines are used to communicate to external data/program or I/O space, the number of cycles may vary
depending upon 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 TMS320C2x instruction set provides three memory addressing modes: direct, indirect, and immediate
addressing.
Both direct and indirect addressing can be used to access data memory . In direct addressing, seven bits of the
instruction word are concatenated with the nine bits of the data memory page pointer to form the 16-bit data
memory address. Indirect addressing accesses data memory through the auxiliary registers. In immediate
addressing, the data is based on a portion of the instruction word(s).
In direct memory addressing, the instruction word contains the lower seven bits of the data memory address.
This field is concatenated with the nine bits of the data memory page pointer to form the full 16-bit address. Thus,
memory is paged in the direct addressing mode with a total of 512 pages, each page containing 128 words.
Up to eight auxiliary registers (AR0-AR7) provide flexible and powerful indirect addressing (five on the
TMS32020, eight on the TMS320C25). 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: auto-increment or auto-decrement, post-indexing by either adding
or subtracting the contents of AR0, single indirect addressing with no increment or decrement, and bit-reversal
addressing (used in FFT s on the TMS320C25 only) 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 may be modified.
repeat feature
A repeat feature, used with instructions such as multiply/accumulates, block moves, I/O transfers, and table
read/writes, allows a single instruction to be performed up to 256 times. The repeat counter (RPTC) is loaded
with either a data memory value (RPT instruction) or an immediate value (RPTK instruction). The value of this
operand is one less than the number of times that the next instruction is executed. Those instructions that are
normally multicycle are pipelined when using the repeat feature, and effectively become single-cycle
instructions.
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
instruction set summary
Table 2 lists the symbols and abbreviations used in Table 3, the TMS320C25 instruction set summary. Table 3
consists primarily of single-cycle, single-word instructions. Infrequently used branch, I/O, and CALL instructions
are multicycle. The instruction set summary is arranged according to function and alphabetized within each
functional grouping. The symbol (
instruction set. The symbol (‡) indicates instructions that are not included in the TMS32020 instruction set.
SYMBOLDEFINITION
B
CM
D
FO
I
K
PA
PM
AR
S
X
†
) indicates those instructions that are not included in the TMS320C1x
Table 2. Instruction Symbols
4-bit field specifying a bit code
2-bit field specifying compare mode
Data memory address field
Format status bit
Addressing mode bit
Immediate operand field
Port address (PA0 through P A15 are predefined assembler symbols
equal to 0 through 15, respectively .)
2-bit field specifying P register output shift code
3-bit operand field specifying auxiliary register
4-bit left-shift code
3-bit accumulator left-shift field
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
11
TMS320C25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary
ACCUMULATOR MEMORY REFERENCE INSTRUCTIONS
MNEMONIC
ABSAbsolute value of accumulator11100111 000 01 10 11
ADDAdd to accumulator with shift10000I
‡
ADDC
ADDHAdd to high accumulator101001000I
ADDK
ADDS
ADDT
ADLK
ANDAND with accumulator101001110I
ANDK
CMPL
LACLoad accumulator with shift10010I
LACKLoad accumulator immediate short111001010
LACT
LALK
†
NEG
NORM
OROR with accumulator101001101I
†
ORK
‡
ROL
‡
ROR
SACHStore high accumulator with shift101101I
SACLStore low-order accumulator with shift101100I
SBLK†
†
SFL
†
SFR
SUBSubtract from accumulator with shift10001I
SUBB
SUBCConditional subtract101000111I
SUBHSubtract from high accumulator101000100I
SUBK
SUBS
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.
Add to accumulator with carry101000011I
‡
Add to accumulator short immediate111001100
Add to low accumulator with sign
extension suppressed
Add to accumulator with shift specified by
T register
†
Add to accumulator long immediate with shift211 0 100000010
†
AND immediate with accumulator with shift211 0 100000100
†
Complement accumulator11100111000100111
Load accumulator with shift specified by
†
T register
†
Load accumulator long immediate with shift211 0 100000001
Negate accumulator11100111000100011
†
Normalize contents of accumulator1110011101XXX0010
OR immediate with accumulator with shift211 0 100000101
Rotate accumulator left11100111000110100
Rotate accumulator right11100111000110101
Subtract from accumulator long immediate
with shift
Subtract from accumulator short immediate111001101
Subtract from low accumulator with sign
extension suppressed
DESCRIPTION
NO.
WORDS
15 14 13 12 11 10 9 8 76 54 32 10
1
01001001I
1
01001010I
1
01000010I
2
11 0 100000011
101000101I
INSTRUCTION BIT CODE
S
S
S
S
S
S
XD
S
SD
D
D
D
K
D
D
D
D
K
D
D
DX
D
D
D
K
D
12
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary (continued)
ACCUMULATOR MEMORY REFERENCE INSTRUCTIONS
TMS320C25
MNEMONIC
Subtract from accumulator with shift specified by
†
SUBT
XORExclusive-OR with accumulator101001100I
XORK
ZACZero accumulator11100101000000000
ZALHZero low accumulator and load high accumulator101000000I
ZALR
ZALS
MNEMONIC
ADRK‡Add to auxiliary register short immediate101111110
CMPR
LARLoad auxiliary register100110I
LARKLoad auxilliary register short immediate111000
LARPLoad auxilliary register pointer10101010110001
LDPLoad data memory page pointer101010010I
LDPKLoad data memory page pointer immediate11100100
LRLK†Load auxiliary register long immediate21101000000000
MARModify auxiliary register101010101I
SARStore auxiliary register101110I
SBRK‡Subtract from auxiliary register short immediate101111111
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.
T register
Exclusive-OR immediate with accumulator with
†
shift
Zero low accumulator and load high accumulator
‡
with rounding
Zero accumulator and load low accumulator with
sign extension suppressed
Compare auxiliary register with auxiliary
†
register AR0
DESCRIPTION
AUXILIARY REGISTERS AND DATA PAGE POINTER INSTRUCTIONS
DESCRIPTION
NO.
WORDS
WORDS
15 14 13 12 11 10 9 8 76 54 32 10
101000110I
11 0 100000110
2
01111011I
1
1
01000001I
NO.
15 14 13 12 11 10 9 8 76 54 32 10
11001110010100
1
INSTRUCTION BIT CODE
D
D
S
D
D
D
INSTRUCTION BIT CODE
K
CM
DR
KR
R
D
DP
R
D
DR
K
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
13
TMS320C25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary (continued)
T REGISTER, P REGISTER, AND MULTIPLY INSTRUCTIONS
MNEMONIC
APACAdd P register to accumulator11100111 00 001 01 01
†
LPH
LTLoad T register100111100I
LTALoad T register and accumulate previous product100111101I
LTD
LTP
LTS
MAC†Multiply and accumulate201011101I
MACD†Multiply and accumulate with data move201011100I
MPY
MPYA‡Multiply and accumulate previous product100111010I
MPYKMultiply immediate1101
MPYS‡
MPYU‡
PACLoad accumulator with P register11100111000010100
SPACSubtract P register from accumulator11100111000010110
SPH
SPL
SPM
SQRA†Square and accumulate100111001I
SQRS†Square and subtract previous product10101101 0I
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.
Load high P register101010011I
Load T register, accumulate previous product,
and move data
Load T register and store P register in
†
accumulator
†
Load T register and subtract previous product101011011I
Multiply (with T register, store product in
P register)
Multiply and subtract previous product100111011I
Multiply unsigned111001111I
‡
Store high P register101111101I
‡
Store low P register101111100I
†
Set P register output shift mode111001110000010
DESCRIPTION
NO.
WORDS
1
1
1
15 14 13 12 11 10 9 8 76 54 32 10
00111111I
00111110I
00111000I
INSTRUCTION BIT CODE
D
D
D
D
D
D
D
D
D
D
K
D
D
D
D
PM
D
D
14
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary (continued)
BRANCH/CALL INSTRUCTIONS
TMS320C25
MNEMONIC
BBranch unconditionally21111111 11
BACC†Branch to address specified by accumulator11100111000100101
BANZBranch on auxiliary register not zero2111110111
BBNZ†Branch if TC bit ≠ 02111110011
†
BBZ
BC
BGEZBranch if accumulator ≥ 02111101001
BGZBranch if accumulator > 02111100011
BIOZBranch on I/O status = 02111110101
BLEZBranch if accumulator ≤ 02111100101
BLZBranch if accumulator < 02111100111
BNC‡Branch on no carry2010111111
BNV†Branch if no overflow2111101111
BNZBranch if accumulator ≠ 02111101011
BVBranch on overflow2111100001
BZBranch if accumulator = 02111101101
CALACall subroutine indirect11100111000100100
CALLCall subroutine2111111101
RETReturn from subroutine11100111000100110
Branch if TC bit = 02111110001
‡
Branch on carry2010111101
DESCRIPTION
I/O AND DATA MEMORY OPERATIONS
NO.
WORDS
15 14 13 12 11 10 9 8 76 54 32 10
INSTRUCTION BIT CODE
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
D
MNEMONIC
BLKD†Block move from data memory to data memory211101101I
Block move from program memory to data
†
BLKP
DMOVData move in data memory101010110I
FORT†Format serial port registers1110011100000111FO
INInput data from port11000I
OUTOutput data to port11110I
RFSM‡Reset serial port frame synchronization mode11100111000110110
RTXM†Reset serial port transmit mode11100111000100000
RXF†Reset external flag11100111000001100
SFSM‡Set serial port frame synchronization mode11100111000110111
STXM†Set serial port transmit mode11100111000100001
SXF
TBLRTable read101011000I
TBLWTable write101011001I
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.
memory
†
Set external flag11100111000001101
DESCRIPTION
NO.
WORDS
2
15 14 13 12 11 10 9 8 76 54 32 10
11111100I
INSTRUCTION BIT CODE
PA
PA
D
D
D
D
D
D
D
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
15
TMS320C25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 3. TMS320C25 Instruction Set Summary (concluded)
IDLE
LSTLoad status register STO101010000I
LST1
NOPNo operation10101010100000000
POPPop top of stack to low accumulator11100111000011101
POPD
PSHD
PUSHPush low accumulator onto stack11100111000011100
‡
RC
RHM
ROVMReset overflow mode11100111000000010
†
RPT
RPTK
RSXM
‡
RTC
‡
SC
‡
SHM
SOVMSet overflow mode11100111000000011
SSTStore status register ST0101111000I
SST1
SSXM
‡
STC
TRAP
†
These instructions are not included in the TMS320C1x instruction set.
‡
These instructions are not included in the TMS32020 instruction set.
Test bit11001I
Test bit specified by T register101010111I
†
Configure block as data memory11100111000000100
†
Configure block as program memory11100111000000101
Idle until interrupt11100111000011111
†
Load status register ST1101010001I
†
Pop top of stack to data memory101111010I
†
Push data memory value onto stack101010100I
Reset carry bit11100111000110000
‡
Reset hold mode11100111000111000
Repeat instruction as specified by data
memory value
Repeat instruction as specified by immediate
†
value
†
Reset sign-extension mode11100111000000110
Reset test/control flag11100111000110010
Set carry bit11100111000110001
Set hold mode11100111000111001
†
Store status register ST1101111001I
†
Set sign-extension mode11100111000000111
Set test/control flag11100111000110011
†
Software interrupt11100111 00 001 11 10
DESCRIPTION
NO.
WORDS
1
1
15 14 13 12 11 10 9 8 76 54 32 10
01001011I
11001011
INSTRUCTION BIT CODE
B
D
D
D
D
D
D
D
K
D
D
16
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS32020
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
TMS32020 PRODUCT NOTIFICATION
Texas Instruments has identified an unusual set of circumstances that will cause the BIT (Test Bit) instruction
on the TMS32020 to affect the contents of the accumulator; ideally, the BIT instruction should not affect the
accumulator. This set of conditions is:
1. The overflow mode is set (the OVM status register bit is set to one.)
2. And, the two LSBs of the BIT instruction opcode word are zero.
a. When direct memory addressing is used, every fourth data word is affected; all other locations are not
affected.
b. When indirect addressing is used, the two LSBs will be zero if a new ARP is not selected or if a new
ARP is selected and that ARP is 0 or 4.
3. And, adding the contents of the accumulator with the contents of the addressed data memory location,
shifted by 2
If all of these conditions are met, the contents of the accumulator will be replaced by the positive or negative
saturation value, depending on the polarity of the overflow.
Various methods for avoiding this phenomenon are available:
(bit code)
, causes an overflow of the accumulator.
•If the TMS32020 is not in the saturation mode when the BIT instruction is executed, the device operates
properly and the accumulator is not affected.
•Execute the Reset Overflow Mode (ROVM) instruction immediately prior to the BIT instruction and the Set
Overflow Mode (SOVM) instruction immediately following the BIT instruction.
•If direct memory addressing is being used during the BIT instructions, reorganize memory so that the page
relative locations 0, 4, 8, C, 10 . . . are not used.
•If indirect addressing is being used during the Bit instruction, select a new ARP which is not AR0 or AR4.
If necessary, follow the instruction with a LARP AR0 or LARP AR4 to restore the code.
•Use the T est Bit Specified by T Register (BITT) instruction instead of the BIT instruction. The BITT instruction
operates correctly and will not affect the accumulator under any circumstances.
•Replace TMS32020 with TMS320C25 for ideal pin-to-pIn and object-code compatibility . The BIT instruction
on the TMS320C25 executes properly and will not affect the accumulator under any circumstances.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
17
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
development support
Together, Texas Instruments and its authorized third-party suppliers offer an extensive line of development
support products to assist the user in all aspects of TMS320 second-generation-based design and
development. These products range from development and application software to complete hardware
development and evaluation systems. T able 4 lists the development support products for the second-generation
TMS320 devices.
System development may begin with the use of the simulator, Software Development System (SWDS), or
emulator (XDS) along with an assembler/linker. These tools give the TMS320 user various means of evaluation,
from software simulation of the second-generation TMS320s (simulator) to full-speed in-circuit emulation with
hardware and software breakpoint trace and timing capabilities (XDS).
Software and hardware can be developed simultaneously by using the macro assembler/linker, C compiler , and
simulator for software development, the XDS for hardware development, and the Software Development
System for both software development and limited hardware development.
Many third-party vendors offer additional development support for the second-generation TMS320s, including
assembler/linkers, simulators, high-level languages, applications software, algorithm development tools,
application boards, software development boards, and in-circuit emulators. Refer to the
Development Support Reference Guide
support products offered by both Texas Instruments and its third-party suppliers.
(SPRU011A) for further information about TMS320 development
TMS320 Family
Additional support for the TMS320 products consists of an extensive library or product and applications
documentation. Three-day DSP design workshops are offered by the TI Regional Technology Centers (RTCs).
These workshops provide insight into the architecture and the instruction set of the second-generation
TMS320s as well as hands-on training with the TMS320 development tools. When technical questions arise
regarding the TMS320 family, contact the Texas Instruments TMS320 Hotline at (713) 274-2320. Or, keep
informed on the latest TI and third-party development support tools by accessing the DSP Bulletin Board Service
(BBS) at (713) 274-2323. The BBS serves 2400-, 1200- and 300-bps modems. Also, TMS320 application
source code may be downloaded from the BBS.
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320 SECOND-GENERATION
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
Table 4. TMS320 Second-Generation Software and Hardware Support
SOFTWARE TOOLSPART NUMBER
Macro Assembler/Linker
IBM MS/PC-DOSTMDS3242850-02
VAX/VMSTMDS3242250-08
VAX ULTRIXTMDS3242260-08
SUN UNIXTMDS3242550-08
Simulator
IBM MS/PC-DOSTMDS3242851-02
VAX/VMSTMDS3242251-08
C Compiler
IBM MS/PC-DOSTMDX3242855-02
VAX/VMSTMDX3242255-08
VAX ULTRIXTMDX3242265-08
SUN UNIXTMDX3242555-08
DEVICES
Digital Filter Design Package (DFDP)
IBM PC-DOSDFDP-IBM002
DSP Software Library
IBM MS/PC-DOSTMDC3240812-12
VAX/VMSTMDC3204212-18
HARDWARE TOOLSPART NUMBER
Analog Interface Board 2 (AIB2)RTC/AIB320A-06
Analog Interface Board AdaptorRTC/ADP320A-06
EPROM Programmer Adaptor Socket
(68 to 28-pin)
Software Development System (SWDS)TMDX3268821
XDS/22 Emulator (see Note)TMDS3262221
XDS/22 Upgrade (TMS32020 to TMS320C2x)TMDX3282226
NOTE: Emulation support for the TMS320C25-50 is available from Macrochip
Research, Inc.; refer to the
(SPRU011A) for the mailing address.
Guide
TMS320 Family Development Support Reference
TMDX3270120
IBM is a trademark of International Business Machines Corporation.
PC-DOS is a trademark of International Business Machines Corporation.
VAX and VMS are trademarks of Digital Equipment Corporation.
XDS is a trademark of Texas Instruments Incorporated.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
19
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
documentation support
Extensive documentation supports the second-generation TMS320 devices from product announcement
through applications development. The types of documentation include data sheets with design specifications,
complete user’s guides, and 750 pages of application reports published in the book,
Applications with the TMS320 Family
TMS320C25
A series of DSP textbooks is being 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 provides access to large amounts of information pertaining to the TMS320 family.
(SPRA014A), is available for that device.
(SPRA012A). An application report,
Details on Signal Processing
Digital Signal Processing
Hardware Interfacing to the
, is published
Refer to the
TMS320 documentation. To receive copies of second-generation TMS320 literature, call the Customer
Response Center at 1-800-232-3200.
TMS320 Family Development Support Reference Guide
(SPRU01 1A) for further information about
specification overview
The electrical specifications for the TMS32020, TMS320C25, TMS320E25, and TMS320C25-50 are given in
the following pages. Note that the electrical specifications for the TMS320E25 are identical to those for the
TMS320C25, with the addition of EPROM-related specifications. A summary of differences between
TMS320C25 and TMS320C25-50 specifications immediately follows the TMS320C25-50 specification.
20
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS32020
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
absolute maximum ratings over specified temperature range (unless otherwise noted)†
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only, and
functional operation of the device at these or any other conditions beyond those indicated in the “Recommended Operating Conditions” section of
this specification is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability .
‡
All voltage values are with respect to VSS.
recommended operating conditions
V
CC
V
SS
V
IH
IL
I
OH
I
OL
T
A
NOTES: 1. Case temperature (TC) must be maintained below 90°C.
Supply voltage4.7555.25V
Supply voltage0V
High-level input voltage
Low-level input voltageV
High-level output current300µA
Low-level output current2mA
Operating free-air temperature (see Notes 1 and 2)070°C
All inputs except CLKIN2VCC + 0.3V
CLKIN2.4VCC + 0.3V
All inputs except CLKIN– 0.30.8V
CLKIN– 0.30.8V
= 6°C/Watt.
θJC
MINNOMMAXUNIT
electrical characteristics over specified free-air temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP§MAXUNIT
V
OH
V
OL
I
Z
I
I
I
CC
C
I
C
O
§
All typical values for ICC are at VCC = 5 V, TA = 25°C.
should be placed in conductive foam. In a circuit, unused inputs should always be connected to an appropriated logic voltage level, preferably either
VCC or ground. Specific guidelines for handling devices of this type are contained in the publication
Electrostatic-Discharge-Sensitive (ESDS) Devices and Assemblies
This device contains circuits to protect its inputs and outputs against damage due to high static voltages or electrostatic fields. These
circuits have been qualified to protect this device against electrostatic discharges (ESD) of up to 2 kV according to MIL-STD-883C,
Method 3015; however, it is advised that precautions should be taken to avoid application of any voltage higher than maximum-rated
voltages to these high-impedance circuits. During storage or handling, the device leads should be shorted together or the device
available from Texas Instruments.
CC
–1010µA
Guidelines for Handling
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
21
TMS32020
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
The TMS32020 can use either its internal oscillator or an external frequency source for a clock.
internal clock option
The internal oscillator is enabled by connecting a crystal across X1 and X2/CLKIN (see Figure 2). The frequency
of CLKOUT1
is one-fourth the crystal fundamental frequency. The crystal should be fundamental
mode, and parallel resonant, with an effective series resistance of 30
and be specified at a load capacitance of 20 pF.
PARAMETERTEST CONDITIONSMINTYP†MAXUNIT
f
x
f
xs
C1, C2TA = 0°C to 70°C10pF
†
Value derived from characterization data; minimum fsx at test = 825 kHz.
Input clock frequencyTA = 0°C to 70°C6.720.5MHz
Serial port frequencyTA = 0°C to 70°C50
ADVANCE INFORMATION
CLOCK CHARACTERISTICS AND TIMING
Ω, a power dissipation of 1 mW,
†
2563MHz
X1
X2/CLKIN
Crystal
C2C1
Figure 2. Internal Clock Option
external clock option
An external frequency source can be used by injecting the frequency directly into X2/CLKIN with X1 left
unconnected. The external frequency injected must conform to the specifications listed in the following table.
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINNOMMAXUNIT
t
c(C)
t
d(CIH-C)
t
f(C)
t
r(C)
t
w(CL)
t
w(CH)
td(C1-C2)CLKOUT1 high to CLKOUT2 low, CLKOUT2 high to CLKOUT1 high, etc.Q – 10QQ+10ns
NOTE 3: Q = 1/4t
CLKOUT1/CLKOUT2 cycle time195597ns
CLKIN high to CLKOUT1/CLKOUT2/STRB high/low2560ns
CLKOUT1/CLKOUT2/STRB fall time10ns
CLKOUT1/CLKOUT2/STRB rise time10ns
CLKOUT1/CLKOUT2 low pulse duration2Q – 152Q 2Q + 15ns
CLKOUT1/CLKOUT2 high pulse duration2Q – 152Q 2Q + 15ns
.
c(C)
22
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
timing requirements over recommended operating conditions (see Note 3)
t
c(C)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
t
su(S)
t
h(S)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
CLKIN cycle time195597ns
CLKIN fall time10
CLKIN rise time10
CLKIN low pulse duration, t
CLKIN high pulse duration, t
SYNC setup time before CLKIN low10Q – 10ns
SYNC hold time from CLKIN low15ns
.
4. CLKIN duty cycle [t
c(C)
r(CI)
+ t
= 50 ns (see Note 4)40ns
c(CI)
= 50 ns (see Note 4)40ns
c(CI)
w(CIH)]/tc(CI)
must be within 40-60%.
2.15 V
RL = 825 Ω
TMS32020
MINNOMMAXUNIT
†
ns
†
ns
2.0 V
1.88 V
0.92 V
0.80 V
2.4 V
2.2 V
0.8 V
0.6 V
From Output
Under Test
Figure 3. Test Load Circuit
0
(a) Input
0
Test
Point
CL = 100 pF
VIH (Min)
VIL (Max)
VOH (Min)
VOL (Max)
ADVANCE INFORMATION
(b) Output
Figure 4. Voltage Reference Levels
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
23
TMS32020
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(C1-S)
t
d(C2-S)
t
su(A)
t
h(A)
t
w(SL)
t
w(SH)
t
su(D)W
t
h(D)W
t
en(D)
t
ADVANCE INFORMATION
dis(D)
t
d(MSC)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
STRB from CLKOUT1 (if STRB is present)Q – 15QQ + 15ns
CLKOUT2 to STRB (if STRB is present)– 15015ns
Address setup hold time before STRB low (see Note 5)Q – 30ns
Address hold time after STRB high (see Note 5)Q – 15ns
STRB low pulse duration (no wait states, see Note 6)2Qns
STRB high pulse duration (between consecutive cycles, see Note 6)2Qns
Data write setup time before STRB high (no wait states)2Q – 45ns
Data write hold time from STRB highQ – 15Qns
Data bus starts being driven after STRB low (write cycle)0
Data bus three-state after STRB high (write cycle)Q Q+30†ns
MSC valid from CLKOUT1–25025ns
.
5. A15-A0, PS, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
6. Delays between CLKOUT1/CLKOUT2 edges and STRB
c(C)
edges track each other, resulting in t
no wait states.
†
w(SL)
and t
being 2Q with
w(SH)
ns
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
a(A)
t
su(D)R
t
h(D)R
t
d(SL-R)
t
d(C2H-R)
t
h(SL-R)
t
h(C2H-R)
t
d(M-R)
t
h(M-R)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
Read data access time from address time (read cycle, see Notes 5 and 7)3Q – 70
Data read setup time before STRB high40ns
Data read hold time from STRB high0ns
READY valid after STRB low (no wait states)Q – 40ns
READY valid after CLKOUT2 highQ – 40ns
READY hold time after STRB low (no wait states)Q – 5ns
READY hold after CLKOUT2 highQ – 5ns
READY valid after MSC valid2Q – 50ns
READY hold time after MSC valid0ns
.
5. A15-A0, PS, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
7. Read data access time is defined as t
c(C)
a(A)
= t
su(A)
+ t
w(SL)
– t
su(D)R
.
†
ns
24
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
RS, INT, BIO, AND XF TIMING
switching characteristics over recommended operating conditions (see Note 3 and 8)
PARAMETERMINTYPMAXUNIT
t
d(RS)
t
d(IACK)
t
d(XF)
NOTES: 3. Q = 1/4t
CLKOUT1 low to reset state entered45ns
CLKOUT1 to IACK valid– 25025ns
XF valid before falling edge of STRBQ – 30ns
.
c(C)
, INT , and BIO are asynchronous inputs and can occur at any time during a clock cycle. However , if the specified setup time is met,
8. RS
the exact sequence shown in the timing diagrams will occur.
timing requirements over recommended operating conditions (see Note 3 and 8)
MINNOMMAXUNIT
t
su(IN)
t
h(IN)
t
f(IN)
t
w(IN)
t
w(RS)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
INT/BIO/RS setup before CLKOUT1 high50ns
INT/BIO/RS hold after CLKOUT1 high0ns
INT/BIO fall time15
INT/BIO low pulse durationt
RS low pulse duration3t
.
8. RS
c(C)
, INT , and BIO are asynchronous inputs and can occur at any time during a clock cycle. However , if the specified setup time is met,
the exact sequence shown in the timing diagrams will occur.
c(C)
c(C)
TMS32020
†
ns
ns
ns
HOLD TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(C1L-AL)
t
dis(AL-A)
t
dis(C1L-A)
t
d(HH-AH)
t
en(A-C1L)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
HOLDA low after CLKOUT1 low–25
HOLDA low to address three-state15
Address three-state after CLKOUT1 low (HOLD mode, see Note 9)30
HOLD high to HOLDA high50ns
Address driven before CLKOUT1 low (HOLD mode, see Note 9)10
.
9. A15-A0, PS, DS, IS, STRB, and R/W timings are all included in timings referenced as “address.”
c(C)
†
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
d(C2H-H)
NOTE 3: Q = 1/4t
HOLD valid after CLKOUT2 highQ – 45ns
.
c(C)
†
25ns
ns
†
ns
†
ns
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
25
TMS32020
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
SERIAL PORT TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(CH-DX)
t
d(FL-DX)
t
d(CH-FS)
NOTES: 3. Q = 1/4t
timing requirements over recommended operating conditions (see Note 3)
t
c(SCK)
t
ADVANCE INFORMATION
f(SCK)
t
r(SCK)
t
w(SCK)
t
w(SCK)
t
su(FS)
t
h(FS)
t
su(DR)
t
h(DR)
†
Value derived from characterization data; minimum fsx at test = 825 kHz.
‡
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
DX valid after CLKX rising edge (see Note 10)100ns
DX valid after FSX falling edge (TXM = 0, see Note 10)50ns
FSX valid after CLKX rising edge (TXM = 1)60ns
.
10. The last occurrence of FSX falling and CLKX rising.
11. The duty cycle of the serial port clock must be within 40-60%.
c(C)
Serial port clock (CLKX/CLKR) cycle time39020 000
Serial port clock (CLKX/CLKR) fall time50
Serial port clock (CLKX/CLKR) rise time50
Serial port clock (CLKX/CLKR) low pulse duration (see Note 11)15012 000ns
Serial port clock (CLKX/CLKR) high pulse duration (see Note 11)15012 000ns
FSX/FSR setup time before CLKX/CLKR falling edge (TXM = 0)20ns
FSX/FSR hold time after CLKX/CLKR falling edge (TXM = 0)20ns
DR setup time before CLKR falling edge20ns
DR hold time after CLKR falling edge20ns
.
c(C)
MINNOMMAXUNIT
†
ns
‡
ns
‡
ns
26
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
absolute maximum ratings over specified temperature range (unless otherwise noted)
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only, and
functional operation of the device at these or any other conditions beyond those indicated in the “Recommended Operating Conditions” section of
this specification is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability .
‡
All voltage values are with respect to VSS.
recommended operating conditions
MINNOMMAXUNIT
V
V
V
V
I
I
T
CC
SS
IH
IL
OH
OL
A
Supply voltage4.7555.25V
Supply voltage0V
All inputs except CLKIN/CLKX/CLKR/INT (0-2)2.35VCC + 0.3V
High-level input voltageINT (0-2)2.5VCC + 0.3V
CLKIN/CLKX/CLKR3.5VCC + 0.3V
Low-level input voltage
High-level output current300µA
Low-level output current2mA
Operating free-air temperature
All inputs except MP/MC– 0.30.8V
MP/MC– 0.30.8V
TMS320C25, TMS320E25070°C
TMS320C25GBA– 4085°C
electrical characteristics over specified free-air temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP§MAXUNIT
V
OH
V
OL
I
Z
I
I
I
CC
C
I
C
O
§
All typical values are at VCC = 5 V, TA = 25°.
or the device should be placed in conductive foam. In a circuit, unused inputs should always be connected to an appropriate logic voltage level,
preferably either VCC or ground. Specific guidelines for handling devices of this type are contained in the publication “Guidelines for Handling
Electrostatic-Discharge Sensitive (ESDS) Devices and Assemblies” available from Texas Instruments
Low-level input voltageTA = 0°C, VCC = MAX, fx = MAX
Input capacitance15pF
Output capacitance15pF
Caution. This device contains circuits to protect its inputs and outputs against damage due to high static voltages or electrostatic
fields. These circuits have been qualified to protect this device against electrostatic discharges (ESD) of up to 2 kV according to
MIL-STD-883C, Method 3015; however, it is advised that precautions to be taken to avoid application of any voltage higher than
maximum rated voltages to these high-impedance circuits. During storage or handling, the device leads should be shorted together
Normal110185
Idle/HOLD50100
CC
–1010µA
mA
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
27
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
The TMS32025 can use either its internal oscillator or an external frequency source for a clock.
internal clock option
The internal oscillator is enabled by connecting a crystal across X1 and X2/CLKIN (see Figure 2). The frequency
f
x
f
xs
C1, C2TA = 0°C to 70°C10pF
†
ADVANCE INFORMATION
The serial port was tested at a minimum frequency of 1.25 MHz. However, the serial port was fully static but will properly function down
to fsx = 0 Hz.
of CLKOUT1
or overtone mode, and parallel resonant, with an effective series resistance of 30
of 1 mW, and be specified at a load capacitance of 20 pF. Note that overtone crystals require an additional tuned
LC circuit; see the application report,
Input clock frequencyTA = 0°C to 70°C6.740.96MHz
Serial port frequencyTA = 0°C to 70°C0
is one-fourth the crystal fundamental frequency. The crystal should be either fundamental
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
CLOCK CHARACTERISTICS AND TIMING
Hardware Interfacing to the TMS320C25
Ω, a power dissipation
(SPRA014A).
†
5120MHz
X1
X2/CLKIN
Crystal
C2C1
Figure 2. Internal Clock Option
external clock option
An external frequency source can be used by injecting the frequency directly into X2/CLKIN with X1 left
unconnected. The external frequency injected must conform to the specifications listed in the following table.
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
c(C)
t
d(CIH-C)
t
f(C)
t
r(C)
t
w(CL)
t
w(CH)
t
d(C1-C2
NOTE 3: Q = 1/4t
CLKOUT1/CLKOUT2 cycle time97.7597ns
CLKIN high to CLKOUT1/CLKOUT2/STRB high/low530ns
CLKOUT1/CLKOUT2/STRB fall time5ns
CLKOUT1/CLKOUT2/STRB rise time5ns
CLKOUT1/CLKOUT2 low pulse duration2Q – 82Q2Q + 8ns
CLKOUT1/CLKOUT2 high pulse duration2Q – 82Q2Q + 8ns
)CLKOUT1 high to CLKOUT2 low, CLKOUT2 high to CLKOUT1 high, etc.Q – 5QQ + 5ns
.
c(C)
28
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
timing requirements over recommended operating conditions (see Note 3)
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
t
su(S)
t
h(S)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
CLKIN cycle time24.4150ns
CLKIN fall time5
CLKIN rise time5
CLKIN low pulse duration, t
CLKIN high pulse duration, t
SYNC setup time before CLKIN low5Q – 5ns
SYNC hold time from CLKIN low8ns
.
4. CLKIN duty cycle [t
TMS320C25
c(C)
CLKIN
F11
r(CI)
+ t
= 50 ns (see Note 4)20ns
c(CI)
= 50 ns (see Note 4)20ns
c(CI)
]/t
w(CIH)
74HC04
must be within 40-60%.
c(CI)
+5 V
10 kΩ
f
crystal
4.7 kΩ
MINNOMMAXUNIT
†
ns
†
ns
47 pF
TMS320C25
TMS320C25-50
TMS320E25
f
crystal,
40.96
51.20
40.96
74AS04
(MHz)L, (µH)
1.8
1.0
1.8
10 kΩ
C = 20 pF0.1 µF
L
Figure 3. External Clock Option
Shown above is a crystal oscillator circuit suitable for providing the input clock signal to the TMS320C25,
TMS320E25, and TMS320C25-50. Please refer to
Hardware Interfacing to the TMS320C25
(document number
SPRA014A) for details on circuit operation.
2.15 V
RL = 825 Ω
From Output
Under Test
Test
Point
ADVANCE INFORMATION
CL = 100 pF
Figure 4. Test Load Circuit
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
29
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
2.0 V
1.88 V
0.92 V
0.80 V
VIH (Min)
VIL (Max)
0
(a) Input
2.4 V
2.2 V
0.8 V
0.6 V
0
Figure 5. Voltage Reference Levels
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions (see Note 3)
ADVANCE INFORMATION
t
d(C1-S)
t
d(C2-S)
t
su(A)
t
h(A)
t
w(SL)
t
w(SH)
t
su(D)W
t
h(D)W
t
en(D)
t
dis(D)
t
d(MSC)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
STRB from CLKOUT1 (if STRB is present)Q – 6QQ + 6ns
CLKOUT2 to STRB (if STRB is present)– 606ns
Address setup time before STRB low (see Note 5)Q – 12ns
Address hold time after STRB high (see Note 5)Q – 8ns
STRB low pulse duration (no wait states, see Note 6)2Q – 52Q + 5ns
STRB high pulse duration (between consecutive cycles, see Note 6)2Q – 52Q + 5ns
Data write setup time before STRB high (no wait states)2Q – 20ns
Data write hold time from STRB highQ – 10Qns
Data bus starts being driven after STRB low (write cycle)0
Data bus three-state after STRB high (write cycle)Q Q+15†ns
MSC valid from CLKOUT1– 12012ns
.
5. A15-A0, PS
6. Delays between CLKOUT1/CLKOUT2 edges and STRB
c(C)
, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
states.
PARAMETERMINTYPMAXUNIT
edges track each other, resulting in t
(b) Output
†
and t
w(SL)
being 2Q with no wait
w(SH)
VOH (Min)
VOL (Max)
ns
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
a(A)
t
su(D)R
t
h(D)R
t
d(SL-R)
t
d(C2H-R)
t
h(SL-R)
t
h(C2H-R)
t
d(M-R)
t
h(M-R)
NOTES: 3. Q = 1/4t
30
Read data access time from address time (read cycle, see Notes 5 and 7)3Q – 35ns
Data read setup time before STRB high23ns
Data read hold time from STRB high0ns
READY valid after STRB low (no wait states)Q – 20ns
READY valid after CLKOUT2 highQ – 20ns
READY hold time after STRB low (no wait states)Q + 3ns
READY hold after CLKOUT2 highQ + 3ns
READY valid after MSC valid2Q – 25ns
READY hold time after MSC valid0ns
.
c(C)
5. A15-A0, PS
7. Read data access time is defines as t
, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
= t
su(A)
+ t
a(A)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
w(SL)
– t
su(D)R
.
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
RS, INT, BIO, AND XF TIMING
switching characteristics over recommended operating conditions (see Note 3 and 8)
PARAMETERMINTYPMAXUNIT
t
d(RS)
t
d(IACK)
t
d(XF)
NOTES: 3. Q = 1/4t
timing requirements over recommended operating conditions (see Note 3 and 8)
t
su(IN)
t
h(IN)
t
f(IN)
t
w(IN)
t
w(RS)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
CLKOUT1 low to reset state entered22
CLKOUT1 to IACK valid– 6012ns
XF valid before falling edge of STRBQ – 15ns
.
c(C)
, INT, and BIO are asynchronous inputs and can occur at any time during a clock cycle. However, if the specified setup time is
8. RS
met, the exact sequence shown in the timing diagrams will occur.
MINNOMMAXUNIT
INT/BIO/RS setup before CLKOUT1 high32ns
INT/BIO/RS hold after CLKOUT1 high0ns
INT/BIO fall time8
INT/BIO low pulse durationt
RS low pulse duration3
.
8. RS
c(C)
, INT, and BIO are asynchronous inputs and can occur at any time during a clock cycle. However, if the specified setup time is
met, the exact sequence shown in the timing diagrams will occur.
c(C)
tc(C)
†
ns
†
ns
ns
ns
HOLD TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(C1L-AL)
t
dis(AL-A)
t
dis(C1L-A)
t
d(HH-AH)
t
en(A-C1L)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
HOLDA low after CLKOUT1 low010ns
HOLDA low to address three-state0
Address three-state after CLKOUT1 low (HOLD mode, see Note 9)20
HOLD high to HOLDA high25ns
Address driven before CLKOUT1 low (HOLD mode, see Note 9)8
.
9. A15-A0, PS, DS, IS, STRB, and R/W timings are all included in timings referenced as “address.”
c(C)
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
d(C2H-H)
NOTE 3:Q = 1/4t
HOLD valid after CLKOUT2 highQ – 24ns
.
c(C)
†
ns
†
ns
†
ns
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
31
TMS320C25, TMS320E25
SPRS010B — MA Y 1987—REVISED NOVEMBER 1990
SERIAL PORT TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(CH-DX)
t
d(FL-DX)
t
d(CH-FS)
NOTES: 3. Q = 1/4t
timing requirements over recommended operating conditions (see Note 3)
t
c(SCK)
t
ADVANCE INFORMATION
f(SCK)
t
r(SCK)
t
w(SCK)
t
w(SCK)
t
su(FS)
t
h(FS)
t
su(DR)
t
h(DR)
†
The serial port was tested at a minimum frequency of 1.25 MHz. However, the serial port was fully static but will properly function down
to fsx = 0 Hz.
‡
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4t
DX valid after CLKX rising edge (see Note 10)75ns
DX valid after FSX falling edge (TXM = 0, see Note 10)40ns
FSX valid after CLKX rising edge (TXM = 1)40ns
.
10. The last occurrence of FSX falling and CLKX rising.
11. The duty cycle of the serial port clock must be within 40-60%.
c(C)
Serial port clock (CLKX/CLKR) cycle time
Serial port clock (CLKX/CLKR) fall time25
Serial port clock (CLKX/CLKR) rise time25
Serial port clock (CLKX/CLKR) low pulse duration (see Note 11)80ns
Serial port clock (CLKX/CLKR) high pulse duration (see Note 11)80ns
FSX/FSR setup time before CLKX/CLKR falling edge (TXM = 0)18ns
FSX/FSR hold time after CLKX/CLKR falling edge (TXM = 0)20ns
DR setup time before CLKR falling edge10ns
DR hold time after CLKR falling edge20ns
.
c(C)
†
MINNOMMAXUNIT
200ns
‡
ns
‡
ns
32
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
EPROM PROGRAMMING
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
absolute maximum ratings over specified temperature range (unless otherwise noted)
Input voltage range on pins 24 and 25 – 0.3 V to 15 V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
†
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only, and
functional operation of the device at these or any other conditions beyond those indicated in the “Recommended Operating Conditions” section of
this specification is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability .
‡
All voltage values are with respect to GND.
recommended operating conditions
MINNOMMAXUNIT
V
CC
V
CC
V
PP
V
PP
NOTES: 12. VPP can be connected to VCC directly (except in the program mode). VCC supply current in this case would be ICC + IPP. During
Programming mode supply voltage (see Note 13)6V
Read mode supply voltage4.7555.25V
Programming mode supply voltage1212.513V
Read mode supply voltage (see Note 12)V
programming, VPP must be maintained at 12.5 V (± 0.25 V).
13. VCC must be applied before or at the same time as VPP and removed after or at the same time as VPP. This device must not be
inserted into or removed from the board when VPP or VCC is applied.
CC
V
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP§MAXUNIT
I
PP1
I
PP2
§
All typical values for ICC are at VCC = 5 V, TA = 25°C.
VPP supply currentVPP = VCC = 5.25 V100µA
VPP supply current (during program pulse)VPP = 13 V3050mA
recommended timing requirements for programming, TA = 25°C, V
= 6 V, VPP = 12.5 V
CC
(see Notes 14 and 15)
MINNOMMAXUNIT
t
w(IPGM)
t
w(FPGM)
t
su(A)
t
su(E)
t
su(G)
t
dis(G)
t
en(G)
t
su(D)
t
su(VPP)
t
su(VCC)
t
h(A)
t
h(D)
¶
Value derived from characterization data and not tested.
NOTES: 14. For all switching characteristics and timing measurements, input pulse levels are 0.4 V to 2.4 V and VPP = 12.5 V ± 0.5 V during
Initial program pulse duration0.9511.05ms
Final pulse duration2.8578.75ms
Address setup time2µs
E setup time2µs
G setup time2µs
Output disable time from G0130¶ns
Output enable time from G150¶ns
Data setup time2µs
VPP setup time2µs
VCC setup time2µs
Address hold time0µs
Data hold time2µs
programming.
15. Common test conditions apply for t
except during programming.
dis(G)
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
33
TMS320C25-50
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
absolute maximum ratings over specified temperature range (unless otherwise noted)
Stresses beyond those listed under “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress rating only, and
functional operation of the device at these or any other conditions beyond those indicated in the “Recommended Operating Conditions” section of
this specification is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability .
The TMS320C25-50 can use either its internal oscillator or an external frequency source for a clock.
internal clock option
The internal oscillator is enabled by connecting a crystal across X1 and X2, CLKIN. The frequency of CLKOUT1
is one-fourth the crystal fundamental frequency . The crystal should be in either fundamental or overtone mode,
and parallel resonant, with an effective series resistance of 30 Ω, a power dissipation of 1 mW, and be specified
at a load capacitance of 20 pF. Note that overtone crystals require an additional tuned LC circuit.
PARAMETERTEST CONDITIONSMINTYP†MAXUNIT
f
x
f
sx
C1, C2TA = 0°C to 70°C10pF
†
The serial port was tested at a minimum frequency of 1.25 MHz. However, the serial port was fully static but will properly function down to
fsx = 0 Hz.
Input clock frequencyTA = 0°C to 70°C6.751.2MHz
Serial port frequencyTA = 0°C to 70°C06.4MHz
X1
X2/CLKIN
Crystal
C2C1
Figure 6. Internal Clock Option
external clock option
An external frequency source can be used by injecting the frequency directly into X2/CLK, with X1 left
unconnected. The external frequency injected must conform to specifications listed in the following table.
switching characteristics over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
c(C)
t
d(CIH-C)
t
f(C)
t
r(C)
t
w(CL)
t
w(CH)
t
d(C1-C2)
CLKOUT1, CLKOUT2 cycle time78.13597ns
CLKIN high to CLKOUT1, CLKOUT2, STRB high, low1227ns
CLKOUT1, CLKOUT2, STRB fall time4ns
CLKOUT1, CLKOUT2, STRB rise time4ns
CLKOUT1, CLKOUT2, STRB low pulse duration2Q – 72Q + 3ns
CLKOUT1, CLKOUT2, STRB high pulse duration2Q – 32Q + 7ns
CLKOUT1 high to CLKOUT2 low,
CLKOUT2 high to CLKOUT1 high, etc.
Q – 6Q + 2ns
ADVANCE INFORMATION
NOTE 3: Q = 1/4 t
c(C)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
35
TMS320C25-50
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
ADVANCE INFORMATION
TMS320C25
CLKIN
F11
74HC04
+5 V
10 kΩ
47 pF
TMS320C25
TMS320C25-50
TMS320E25
f
crystal,
f
crystal
4.7 kΩ
74AS04
(MHz)L, (µH)
40.96
51.20
40.96
1.8
1.0
1.8
Figure 7. External Clock Option
timing requirements over recommended operating conditions (see Note 3)
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
t
su(S)
t
h(S)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
CLKIN cycle time
CLKIN fall time5
CLKIN rise time5
CLKIN low pulse duration, t
CLKIN high pulse duration, t
SYNC setup time before CLKIN low4Q – 4ns
SYNC hold time from CLKIN low4ns
4. CLKIN duty cycle [t
c(C)
r(CI)
+ t
w(CIH)
= 50 ns (see Note 4)20ns
c(CI)
= 50 ns (see Note 4)20ns
c(CI)
]/t
must be within 40-60%.
c(CI)
C = 20 pF0.1 µF
10 kΩ
MINNOMMAXUNIT
19.5
3
150ns
†
ns
†
ns
L
36
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(C1-S)
t
d(C2-S)
t
su(A)
t
n(A)
t
w(SL)
t
w(SH)
t
su(D)W
t
h(D)W
t
en(D)
t
dis(D)
t
d(MSC)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
STRB from CLKOUT (if STRB is present)Q – 5Q + 3ns
CLKOUT2 to STRB (if STRB is present)– 25ns
Address setup time before STRB low (see Note 5)Q – 11ns
Address hold time after STRB high (see Note 5)Q – 4ns
STRB low pulse duration (no wait states, see Note 6)2Q – 52Q + 2ns
STRB high pulse duration (between consecutive cycles, see Note 6)2Q – 22Q + 5
Data write setup time before STRB high (no wait)2Q – 17ns
Data write hold time from STRB highQ – 5ns
and t
†
being 2Q with no wait states.
w(SH)
Data bus starts being driven after STRB low (write)0
Data bus high-impedance state after STRB high, (write)QQ + 15
MSC valid from CLKOUT1–19ns
5. A15-A0, PS
6. Delay between CLKOUT1, CLKOUT2, and STRB
c(C)
, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
edges track each other, resulting in t
w(SL)
TMS320C25-50
†
ns
ns
†
ns
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
a(A)
t
su(D)R
t
h(D)R
t
d(SL-R)
t
d(C2H-R)
t
h(SL-R)
t
h(C2H-R)
t
d(M-R)
t
h(M-R)
NOTES: 3. Q = 1/4 t
Read data access time from address time (see Notes 5 and 7)3Q – 30ns
Data read setup time before STRB high19ns
Data read hold time from STRB high0ns
READY valid after STRB low (no wait states)Q – 21ns
READY valid after CLKOUT2 highQ – 21ns
READY hold time after STRB low (no wait states)Q – 1ns
READY valid after CLKOUT2 highQ – 1ns
READY valid after MSC valid2Q – 24ns
READY hold time after MSC valid0ns
5. A15-A0, PS
7. Read data access time is defined as t
c(C)
, DS, IS, R/W, and BR timings are all included in timings referenced as “address”.
a(A)
= t
su(A)
+ t
w(SL)
– t
su(D)R
.
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
37
TMS320C25-50
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
RS, INT, BIO, AND XF TIMING
switching characteristics over recommended operating conditions (see Notes 3 and 16)
PARAMETERMINTYPMAXUNIT
t
d(RS)
t
d(IACK)
t
d(XF)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
timing requirements over recommended operating conditions (see Notes 3 and 16)
t
su(IN)
t
ADVANCE INFORMATION
h(IN)
t
f(IN)
t
w(IN)
t
w(RS)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
CLKOUT1 low to reset state entered22
CLKOUT1 to IACK valid– 57ns
XF valid before falling edge of STRBQ – 8ns
16. RS
16. RS
c(C)
, INT, BIO are asynchronous inputs and can occur at any time during a clock cycle.
MINNOMMAXUNIT
INT, BIO, RS setup before CLKOUT1 high25ns
INT, BIO, RS hold after CLKOUT1 high0ns
INT, BIO fall time8
INT, BIO low pulse durationt
RS low pulse duration3t
c(C)
, INT, BIO are asynchronous inputs and can occur at any time during a clock cycle.
c(C)
c(C)
†
ns
†
ns
ns
ns
HOLD TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(CIL-AL)
t
dis(AL-A)
t
dis(CIL-A)
t
d(HH-AH)
t
en(A-CIL)
†
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
HOLDA low after CLKOUT1 low1
HOLDA low to address high-impedance0
Address high-impedance after CLKOUT1 low (HOLD mode, see Note 17)20
HOLD high to HOLDA high19ns
Address driven before CLKOUT1 low (HOLD mode, see Note 17)8
17. A15-A0, PS
c(C)
, DS, STRB, and R/W timings are all included in timings referenced as “address”.
†
timing requirements over recommended operating conditions (see Note 3)
MINNOMMAXUNIT
t
d(C2H-H)
NOTE 3: Q = 1/4 t
HOLD valid after CLKOUT2 highQ – 19ns
c(C)
†
11ns
ns
†
ns
†
ns
38
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C25-50
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
SERIAL PORT TIMING
switching characteristics over recommended operating conditions (see Note 3)
PARAMETERMINTYPMAXUNIT
t
d(CH-DX)
t
d(FL-DX)
t
d(CH-FS)
NOTES: 3. Q = 1/4 t
timing requirements over recommended operating conditions (see Note 3)
t
c(SCK)
t
f(SCK)
t
r(SCK)
t
w(SCK)
t
su(FS)
t
h(FS)
t
su(DR)
t
h(DR)
†
The serial port was tested at a minimum frequency of 1.25 MHz. However, the serial port was fully static but will properly function down to
fsx = 0 Hz.
‡
Value derived from characterization data and not tested.
NOTES: 3. Q = 1/4 t
DX valid after CLKX rising edge (see Note 18)75ns
DX valid after falling edge (TXM = 0, see Note 18)40ns
FSX valid after CLKX raising edge (TXM = 1)40ns
18. The last occurrence of FSX falling and CLKX rising.
19. The cycle of the serial port must be within 40%-60%.
c(C)
MINNOMMAXUNIT
Serial port clock (CLKX/CLKR) cycle time
Serial port clock (CLKX/CLKR) fall time25
Serial port clock (CLKX/CLKR) rise time25
Serial port clock (CLKX/CLKR) low or high pulse duration (see Note 19)64ns
FSX or FSR setup time before CLKX, CLKR falling edge (TXM = 0)5ns
FSX or FSR hold time before CLKX, CLKR falling edge (TXM = 0)10ns
DR setup time before CLKR falling edge5ns
DR hold time after CLKR falling edge10ns
c(C)
†
160ns
‡
ns
‡
ns
CONTRAST SUMMARY OF ELECTRICAL SPECIFICATIONS
The following table presents electrical parameters which differ between TMS320C25 (40 MHz, 100 ns) and
TMS320C25-50 (50 MHz, 80 ns).
This section contains all the timing diagrams for the TMS320 second-generation devices. Refer to the top corner
of page for the specific device.
Timing measurements are referenced to and from a low voltage of 0.8 voltage and a high voltage of 2 volts,
unless otherwise noted.
clock timing
t
c(CI)
t
X/2CLKIN
SYNC
t
d(CIH-C)
t
su(S)
t
h(S)
t
su(S)
f(CI)
t
w(CL)
t
d(CIH-C)
t
w(CIL)
t
c(C)
t
r(CI)
t
w(CIH)
DEVICES
CLKOUT1
STRB
CLKOUT2
t
d(C1-C2)
t
d(CIH-C)
t
d(C1-C2)
t
d(C1-C2)
t
d(CIH-C)
t
c(C)
t
d(C1-C2)
t
w(CH)
t
r(C)
t
w(CH)
t
f(C)
t
w(CL)
t
r(C)
t
f(C)
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
41
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
memory read timing
CLKOUT1
CLKOUT2
t
d(C1-S)
t
d(C1-S)
ADVANCE INFORMATION
STRB
A15-A0,
BR, PS, DS
or IS
R/W
READY
D15-D0
t
su(A)
t
d(C2-S)
t
d(SL-R)
t
h(SL-R)
t
a(A)
t
w(SL)
Valid
t
d(C2-S)
t
su(D)R
Data In
t
w(SH)
t
h(D)R
t
h(A)
42
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
memory write timing
CLKOUT1
CLKOUT2
STRB
A15-A0,
BR, PS, DS
or IS
t
su(A)
Valid
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
t
h(A)
R/W
READY
D15-D0
t
en(D)
t
su(D)W
Data Out
t
dis(D)
t
h(D)W
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
43
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
one wait-state memory access timing
CLKOUT1
CLKOUT2
STRB
A15-A0, BR,
PS
, DS, R/W or
ADVANCE INFORMATION
IS
READY
t
d(C2H-R)
t
h(C2H-R)
t
h(C2H-R)
Valid
t
d(C2H-R)
D15-D0
(For Read
Operation)
D15-D0
(For Write
Operation)
MSC
t
d(M-R)
t
d(MSC)
t
h(M-R)
t
d(MSC)
t
d(M-R)
Data Out
t
h(M-R)
Data In
44
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
reset timing
CLKOUT1
RS
A15-A0
D15-D0
t
su(IN)
t
w(RS)
t
d(RS)
t
h(IN)
t
su(IN)
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
Valid
Fetch
Location 0
PS
STRB
Control
†
Signals
IACK
Serial Port
†
Control signals are DS
‡
Serial port controls are DX and FSX.
Control
‡
, IS, R/W, and XF.
Valid
Begin
Program
Execution
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
45
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
interrupt timing (TMS32020)
CLKOUT1
STRB
INT2-INT0
A15-A0
ADVANCE INFORMATION
IACK
interrupt timing (TMS320C25)
CLKOUT1
STRB
t
su(IN)
t
w(IN)
t
f(IN)
FETCH NFETCH N + 1FETCH IFETCH I + 1
t
d(IACK)
t
su(IN)
t
h(IN)
t
d(IACK)
INT2-INT0
A15-A0
IACK
46
t
h(IN)
t
w(IN)
t
f(IN)
FETCH NFETCH N + 1FETCH N + 2N + 3
t
d(IACK)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
t
d(IACK)
FETCH I
serial port receive timing
CLKR
FSR
t
su(FS)
DR
t
h(FS)
t
h(DR)
t
t
su(DR)
f(SCK)
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
t
c(SCK)
t
r(SCK)
t
w(SCK)
t
w(SCK)
serial port transmit timing
t
CLKX
t
d(CH-DX)
FSX
(Input,
TXM = 0)
t
su(FS)
DX
t
d(CH-FS)
FSX
(Output,
TXM = 1)
w(SCK)
t
h(FS)
t
c(SCK)
t
r(SCK)
t
f(SCK)
t
w(SCK)
t
t
d(FL-DX)
N = 1N = 8,16
t
d(CH-FS)
d(CH-DX)
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
47
TMS32020
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
BIO timing
CLKOUT1
STRB
FETCH Branch AddressFETCH Next Instruction
A15-A0
ADVANCE INFORMATION
external flag timing
CLKOUT1
A15-A0
BIO
STRB
t
su(IN)
FETCH
BIOZ
PC = NPC
t
h(IN)
Valid
Valid
PC = N – 1PC
= N +
1PC
FETCH
SXF/RXF
=
NPC
= N +
2PC
ValidValid
= N +
1PC
= N +
or Branch Address
t
= N +
3
d(XF)
2
48
XF
Valid
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
BIO timing
CLKOUT1
STRB
TMS320C25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
A15-A0
BIO
external flag timing
CLKOUT1
STRB
t
su(IN)
FETCH Branch Address
FETCH
BIOZ
PC = NPC
t
h(IN)
Valid
= N +
1PC
FETCH Next Instruction
= N +
or Branch Address
2
t
d(XF)
A15-A0
XF
FETCH
SXF/RXF
PC = NPC
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
Valid
= N +
1PC
ValidValid
= N +
2PC
= N +
ADVANCE INFORMATION
3
Valid
49
TMS32020
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
HOLD timing (part A)
CLKOUT1
CLKOUT2
STRB
ADVANCE INFORMATION
HOLD
A15-A0
PS
, DS,
or IS
R/W
D15-D0
HOLDA
FETCH
EXECUTE
t
d(C2H-H)
NN + 1N + 2
ValidValid
InIn
NN + 1N/AN/A
N – 1NDummyDead
†
t
dis(C1L-A)
t
dis(AL-A)
t
d(C1L-AL)
†
HOLD
is an asynchronous input and can occur at any time during a clock cycle. If the specified timing is met, the exact sequence shown will occur;
otherwise, a delay of one CLKOUT2 cycle will occur.
50
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
HOLD timing (part B)
CLKOUT1
CLKOUT2
STRB
TMS32020
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
t
en(A-C1L)
HOLD
A15-A0
, DS,
PS
or IS
R/W
D15-D0
HOLDA
FETCH
EXECUTE
t
d(C2H-H)
t
d(HH-AH)
N/AN /AN + 2N + 3
DeadDeadN + 1N + 2
†
ValidValid
InIn
N + 2N + 3
ADVANCE INFORMATION
†
HOLD
is an asynchronous input and can occur at any time during a clock cycle. If the specified timing is met, the exact sequence shown will occur;
otherwise, a delay of one CLKOUT2 cycle will occur.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
51
TMS320C25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
HOLD timing (part A)
CLKOUT1
CLKOUT2
STRB
ADVANCE INFORMATION
HOLD
A15-A0
PS
, DS,
or IS
R/W
D15-D0
HOLDA
FETCH
EXECUTE
t
d(C2H-H)
NN + 1N + 2
ValidValid
InIn
NN + 1––
N – 2N – 1N–
†
t
dis(C1L-A)
t
dis(AL-A)
t
d(C1L-AL)
†
is an asynchronous input and can occur at any time during a clock cycle. If the specified timing is met, the exact sequence shown will occur;
HOLD
otherwise, a delay of one CLKOUT2 cycle will occur.
52
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
HOLD timing (part B)
CLKOUT1
CLKOUT2
STRB
TMS320C25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
t
en(A-C1L)
HOLD
PS, DS,
or IS
R/W
D15-D0
HOLDA
A15-A0
FETCH
EXECUTE
t
d(C2H-H)
t
d(HH-AH)
–––N + 2
–––N + 1
†
N + 2N + 2
Valid
In
ADVANCE INFORMATION
†
HOLD
is an asynchronous input and can occur at any time during a clock cycle. If the specified timing is met, the exact sequence shown will occur;
otherwise, a delay of one CLKOUT2 cycle will occur.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
53
TMS320 SECOND-GENERATION
DEVICES
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
TYPICAL SUPPLY CURRENT CHARACTERISTICS FOR TMS320C25
ICC vs f
170
160
150
140
130
120
110
100
90
CC,
80
I mA
70
60
50
40
30
20
10
48 12 16 20 24 28 32 36 40 44 48 52
TMS320C25FNL (PLCC) reflow soldering precautions
ADVANCE INFORMATION
Normal Operating Mode
TA = 25°C
f
(CLKIN)
(CLKIN)
and V
, MHz
CC
VCC = 5.50 V
VCC = 5.25 V
VCC = 5.00 V
VCC = 4.75 V
VCC = 4.50 V
Recent tests have identified an industry-wide problem experienced by surface mounted devices exposed to
reflow soldering temperatures. This problem involves a package cracking phenomenon sometimes
experienced by large (e.g., 68-lead) plastic leaded chip carrier (PLCC) packages during surface mount
manufacturing. This phenomenon occur if the TMS320C25FNL is exposed to uncontrolled levels of humidity
prior to reflow solder. This moisture can flash to steam during solder reflow, causing sufficient stress to crack
the package and compromise device integrity. If the TMS320C25FNL is being socketed,
precautions are required. In addition, once the device is soldered into the board, no special handling precautions
are required.
ICC vs f
80
70
60
50
40
CC,
I mA
30
20
10
0
48 12 16 20 24 28 32 36 40 44 48 52
Powerdown Mode
f
(CLKIN)
(CLKIN)
and V
, MHz
CC
VCC = 5.50 V
VCC = 5.25 V
VCC = 5.00 V
VCC = 4.75 V
VCC = 4.50 V
no
special handling
In order to minimize moisture absorption, TI ships the TMS320C25FNL in “dry pack” shipping bags with a RH
indicator card and moisture-absorbing desiccant. These moisture-barrier shipping bags will adequately block
moisture transmission to allow shelf storage for 12 months from date of seal when stored at less than 60%
relative humidity (RH) and less than 30°C. Devices may be stored outside the sealed bags indefinitely if stored
at less than 25% RH and 30°C.
Once the bag seal is broken, the devices should be stored at less than 60% RH and 30°C as well as reflow
soldered within two days of removal. In the event that either of the above conditions is not met, TI recommends
these devices be baked in a clean oven at 125°C and 10% maximum RH for 24 hours. This restores the devices
to their “dry packed” moisture level.
NOTE
Shipping tubes will not withstand the 125
°C baking process. Devices should be transferred to a metal tray or tube be-
fore baking. Standard ESD precautions should be followed.
In addition, TI recommends that the reflow process not exceed two solder cycles and the temperature not
exceed 220°C.
If you have any additional questions or concerns, please contact your local TI representative.
This hermetically-sealed chip carrier package consists of a ceramic base, ceramic cap, and a 68-lead frame.
Hermetic sealing is accomplished with glass. The FZ package is intended for both socket- or surface- mounting.
Having a Sn/Pb ratio of 60/40, the tin/lead-coated leads do not require special cleaning or processing
when being surface-mounted.
1,02 (0.040) × 45°
A
(see Note 2)
(see Note 1)
Thermal Resistance Characteristics
PARAMETER
R
θJA
R
θJC
B
Junction-to-free-air
thermal resistance
Junction-to-case
thermal resistance
A
(see Note 2)
B
MAXUNIT
49°C/W
8°C/W
0,81 (0.032)
0,66 (0.026)
0,64 (0.025)
R
Max
3 Places
4,57 (0.180)
3,94 (0.155)
3,55 (0.140)
3,05 (0.120)
1,27 (0.050) Typ
(see Note 3)
C
(At Seating
Plane)
0,51 (0.020)
0,36 (0.014)
1,016 (0.040) Min
Ref
3,05 (0.120)
2,29 (0.090)
Seating Plane
(see Note 4)
ADVANCE INFORMATION
JEDEC
OUTLINE
MO-087AA28
MO-087AB44
–––68
NOTES: 1. Glass is optional, and the diameter is dependent on device application.
2. Centerline of center pin, each side, is within 0,10 (0.004) of package centerline as determined by dimension B.
3. Location of each pin is within 0,127 (0.005) of true position with respect to center pin on each side.
4. The lead contact points are within 0,15 (0.006) of being planar.
NO. OF
TERMINALS
(0.485)
(0.685)
(0.985)
ALL LINEAR DIMENSIONS ARE IN MILLIMETERS AND PARENTHETICALLY IN INCHES
ABC
MINMAXMINMAXMINMAX
12,32
17,40
25,02
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
12,57
(0.465)
17,65
(0.695)
25,27
(0.995)
10,92
(0.430)
16,00
(0.630)
23,62
(0.930)
11,56
(0.455)
16,64
(0.655)
24,26
(0.955)
10,41
(0.410)
15,49
(0.610)
23,11
(0.910)
10,92
(0.430)
16,00
(0.630)
23,62
(0.930)
57
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
programming the TMS320E25 EPROM cell
The TMS320E25 includes a 4K × 16-bit EPROM, implemented from an industry-standard EPROM cell, to
perform prototyping and early field testing and to achieve low-volume production. When used with a 4K-word
masked-ROM TMS320C25, the TMS320E25 yields a high-volume, low-cost production as a result of more
migration paths for data. An EPROM adapter socket (part # TMDX3270120), shown in Figure 8, is available to
provide 68-pin to 28-pin conversion for programming the TMS320E25.
ADVANCE INFORMATION
Figure 8. EPROM Adapter Socket
Key features of the EPROM cell include standard programming and verification. For security against copyright
violations, the EPROM cell features an internal protection mechanism to prevent proprietary code from being
read. The protection feature can be used to protect reading the EPROM contents. This section describes
erasure, fast programming and verification, and EPROM protection and verification.
fast programming and verification
The TMS320E25 EPROM cell is programmed using the same family and device codes as the TMS27C64
8K × 8-bit EPROM. The TMS27C64 EPROM series are ultraviolet-light erasable, electrically programmable
read-only memories, fabricated using HVCMOS technology. The TMS27C64 is pin-compatible with existing
28-pin ROMs and EPROMs. The TMS320E25, like the TMS27C64, operates from a single 5-V supply in the
read mode; however, a 12.5-V supply is needed for programming. All programming signals are TTL level. For
programming outside the system, existing EPROM programmers can be used. Locations may be programmed
singly , in blocks, or at random. When programmed in blocks, the data is loaded into the EPROM cell one byte
at a time, the high byte first and the low byte second.
58
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
Figure 9 shows the wiring conversion to program the TMS320E25 using the 28-pin pinout of the TMS27C64.
The pin nomenclature table provides a description of the TMS27C64 pins. The code to be programmed into the
device should be serial mode. The TMS320E25 uses 13 address lines to address the 4K-word memory in byte
format.
A12 (MSB)-A0 (LSB)
CLIN
E
EPT
G
GND
PGM
Q8 (MSB)-Q1 (LSB)
RS
V
CC
V
PP
PP
A7A6A5A4A3A2A1
V
A12
1234567
TMS27C64
A0
8
9
1011121314
Q1Q2Q3
GND
Pin Nomenclature (TMS320E25)
I
I
I
I
I
I
I
I/O
I
I
I
On-chip EPROM programming address lines
Clock oscillator input
EPROM chip select
EPROM test mode select
EPROM read/verify select
Ground
EPROM write/program select
Data lines for byte-wide programming of on-chip 8K bytes of EPROM
Reset for initializing the device
5-V power supply
12.5-V power supply
Figure 9. TMS320E25 EPROM Conversion to TMS27C64 EPROM Pinout
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
ADVANCE INFORMATION
59
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
Table 5 shows the programming levels required for programming, verifying and reading the EPROM cell. The
paragraphs following the table describe the function of each programming level.
VIH = TTL high level; VIL = TTL low level; ADDR = byte address bit
VPP = 12.5 V ± 0.5 V; VCC = 5 ± 0.25 V; X = don’t care
PULSE
Q
OUT
PIN
251V
61,3528V
27,44,1014V
= low-going TTL level pulse; DIN = byte to be programmed at ADDR
= byte stored at ADDR; RBIT = ROM protect bit.
TMS27C64
PIN
PROGRAM
IL
IH
PP
CC+1
SS
SS
SS
SS
IN
PROGRAM
VERIFY
V
IL
PULSEXPULSEV
IH
V
PP
V
CC+1
V
SS
V
SS
V
SS
V
SS
Q
OUT
PROGRAM
INHIBIT
V
IH
XV
V
PP
V
CC+1
V
SS
V
SS
V
SS
V
SS
HI-ZQ
READ
V
IL
IH
V
CC
V
CC
V
SS
V
SS
V
SS
V
SS
OUT
OUTPUT
DISABLE
V
IL
IH
V
IH
V
CC
V
CC
V
SS
V
SS
V
SS
V
SS
HI-Z
Before programming, the device is erased by exposing the chip through the transparent lid to high-intensity
ultraviolet light (wavelength 2537 Å). The recommended minimum exposure dose (UV-intensity ×
exposure-time) is 15 W•s/cm2. A typical 12 mW/cm2, filterless UV lamp will erase the device in 21 minutes. The
lamp should be located approximately 2.5 cm above the chip during erasure. After erasure, all bits are in the
high state. Note that normal ambient light contains the correct wavelength for erasure. Therefore, when using
the TMS320E25, the window should be covered with an opaque label.
After erasure (all memory bits in the cell are logic one), logic zeroes are programmed into the desired locations.
The fast programming algorithm, shown in Figure 10, is normally used to program the entire EPROM contents,
although individual locations may be programmed separately . A programmed logic zero can be erased only by
ultraviolet light. Data is presented in parallel (eight bits) on pins Q8-Q1. Once addresses and data are stable,
is pulsed. The programming mode is achieved when VPP = 12.5 V , PGM = VIL, VCC = 6 V , G = VIH, and
PGM
E = VIL More than one TMS320E25 can be programmed when the devices are connected in parallel. Locations
can be programmed in any order.
Programming uses two types of programming pulses: prime and final. The length of the prime pulse is 1 ms.
After each prime pulse, the byte being programmed is verified. If correct data is read, the final programming
pulse is applied; if correct data is not read, an additional 1-ms prime pulse is applied up to a maximum of 15
times. The final programming pulse is 4 ms times the number of prime programming pulses applied. This
sequence of programming and verification is performed at V
= 6 V, and VPP = 12.5 V. When the full fast
CC
programming routine is complete, all bits are verified with VCC = VPP = 5 V.
60
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
program verify
Programmed bits may be verified with VPP = 12.5 V when G = VIL, E = VIL, and PGM = VIH. Figure 1 1 shows
the timing for the program and verify operation.
Start
Address = First
Location
VCC = 6 ± 0.25 V
VPP = 12.5 V ± 0.25
V
X = 0
Program One
1-ms Pulse
No
YesFail
X = 25?
Device
Failed
VCC = VPP = 5 V ± 0.25 V
Fail
Increment X
Verify
One
Byte
Pass
Program One
Pulse of
3X-ms Duration
Last
Address?
Yes
Compare All
Bytes to Original
Data
Pass
No
Increment
Address
ADVANCE INFORMATION
Device
Passed
Figure 10. Fast Programming Flowchart
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
61
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
ADVANCE INFORMATION
A12-A0
Q8-Q1
V
PP
V
CC
PGM
Program
Address StableAddress N + 1
Data In StableData Out Valid
E
G
HI-Z
Verify
V
IH
V
IL
VIH/V
VIL/V
V
PP
V
CC
VCC +
V
CC
V
IH
V
IL
V
IH
V
IL
V
IH
V
IL
OH
OL
1
Figure 11. Fast Programming Timing
program inhibit
Programming may be inhibited by maintaining a high level input on the E pin or PGM pin.
read
The EPROM contents may be read independent of the programming cycle, provided the RBIT (ROM protect
bit) has not been programmed. The read is accomplished by setting E to zero and pulsing G low. The contents
of the EPROM location selected by the value on the address inputs appear on Q8-Q1.
output disable
During the EPROM programming process, the EPROM data outputs may be disabled, if desired, by establishing
the output disable state. This state is selected by setting the G
and PGM pins high. While output disable is
selected, Q8-Q1 are placed in the high-impedance state.
ROM protection and verification
This section describes the code protection feature included in the EPROM cell, which protects code against
copyright violations. Table 6 shows the programming levels required for protecting and verifying the EPROM.
The paragraphs following the table describe the protect and verify functions.
62
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
Table 6. TMS320E25 Protect and Verify EPROM Mode Levels
SIGNAL
†
In accordance with TMS27C64.
EPROM protect
†
E2220V
G4222V
PGM4127V
V
PP
V
CC
V
SS
CLKIN5214V
RS6514V
EPT2426V
Q8-Q118-1111-13, 15-19Q8 = PULSEQ8 = RBIT
A12-A1040-382, 23, 21,XX
A9-A737, 36, 3424, 25, 3XX
A6334XV
A5325XX
A4316V
A3-A030-28, 267-10XX
LEGEND;
VIH = TTL high level; VIL = TTL low level; VCC = 5 V ± 0.25 V
VPP = 12.5 V ± 0.5 V; X = don’t care
PULSE
= low-going TTL level pulse; RBIT = ROM protect bit.
The EPROM protect facility is used to completely disable reading of the EPROM contents to guarantee security
of propietary algorithms. This facility is implemented through a unique EPROM cell called the RBIT (EPROM
protect bit) cell. Once the contents to be protected are programmed into the EPROM, the RBIT is programmed,
disabling access to the EPROM contents and disabling the microprocessor mode on the device. Once
programmed, the RBIT can be cleared only by erasing the entire EPROM array with ultraviolet light, thereby
maintaining security of the propietary algorithm. Programming the RBIT is accomplished using the EPROM
protect cycle, which consists of setting the E
, G, PGM, and A4 pins high, VPP and EPT to 2.5 V ± 0.5 V, and
pulsing Q8 low. The complete sequence of operations involved in programming the RBIT is shown in the
flowchart of Figure 12. The required setups in the figure are detailed in Table 6.
ADVANCE INFORMATION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
63
TMS320E25
SPRS010B — MA Y 1987— REVISED NOVEMBER 1990
Start
X = 0
Program One
Pulse of 3X-ms
Duration
ADVANCE INFORMATION
Fail
EPROM
Protect
Setup
Program One
1-ms Pulse
X = X + 1
X = 25?
No
Protect
Verify
Setup
Verify
RBIT
Pass
EPROM
Protect
Setup
Yes
Device
Failed
Protect
Verify
Setup
Verify
RBIT
Device
Passed
Figure 12. EPROM Protect Flowchart
protect verify
Protect verify is used following the EPROM protect to verify correct programming of the RBIT (see Figure 12).
When using protect verify , Q8 outputs the state of the RBIT . When RBIT = 1, the EPROM is unprotected; when
RBIT = 0, the EPROM is protected. The EPROM protect and verify timings are shown in Figure 13.
TMS320C25GBANRNDCPGAGB6821TBDAUN / A for Pkg Type
TMS320C25GBLNRNDCPGAGB6821TBDAUN / A for Pkg Type
TMS320C25PHLNRNDQFPPH8066Green (RoHS &
(1)
The marketing status values are defined as follows:
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), Pb-Free (RoHS Exempt), 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.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and
package, or 2) lead-based die adhesive used between the die and leadframe. The component is otherwise considered Pb-Free (RoHS
compatible) as defined above.
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)
(1)
Package
Type
Package
Drawing
Pins Package
Qty
Eco Plan
no Sb/Br)
no Sb/Br)
no Sb/Br)
no Sb/Br)
no Sb/Br)
(2)
Lead/Ball Finish MSL Peak Temp
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-3-260C-168 HR
CU NIPDAULevel-4-260C-72 HR
(3)
(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.
OTHER QUALIFIED VERSIONS OF TMS320C25 :
Military: SMJ320C25
•
NOTE: Qualified Version Definitions:
Military - QML certified for Military and Defense Applications