The TMS32010 digital signal processor (DSP), introduced in 1983, was the first DSP in the TMS320 family . From
it has evolved this TMS320C1x generation of 16-bit DSPs. All ′C1x DSPs are object code compatible with the
TMS32010 DSP. The ′C1x DSPs combine 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 CMOS
microprocessor generation capable of executing up to 8.77 MIPS (million instructions per second) (′C16). These
′C1x devices utilize a modified Harvard architecture to optimize speed and flexibility , implementing functions in
hardware that other processors implement through microcode or software.
The ′C1x generation’s powerful instruction set, inherent flexibility, high-speed number-handling capabilities,
reduced power consumption, and innovative architecture have made these cost-effective DSPs the ideal
solution for many telecommunications, computer, commercial, industrial, and military applications.
This data sheet provides detailed design documentation for the ′C1x DSPs. It facilitates the selection of devices
best suited for various user applications by providing specifications and special features for each ′C1x DSP.
This data sheet is arranged as follows: introduction, quick reference table of device parameters and packages,
summary overview of each device, architecture overview, and the ′C1x device instruction set summary. These
are followed by data sheets for each ′C1x device providing available package styles, terminal function tables,
block diagrams, and electrical and timing parameters. An index is provided to facilitate data sheet usage.
PRODUCTION DATA information is current as of
publication date. Products conform to specifications
per the terms of Texas Instruments standard warranty.
Production processing does not necessarily include
testing of all parameters.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
Copyright 1991, Texas Instruments Incorporated
1
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
T able 1 provides an overview of ′C1x processors with comparisons of memory , I/O, cycle timing, military support,
and package types. For specific availability, contact the nearest TI Field Sales Office.
3. Military versions planned; contact nearest TI Field Sales Office for availability .
4. On-chip 16-bit I/O, four capture inputs, and six compare outputs are available.
5. On-chip 16-bit coprocessor interface is optional by pin selection.
RAMROMEPROMPROG.SERIALPARALLEL(ns)DIPPLCCCER-QUAD
256—4K4K17 × 16 (4)160—68—
256—4K4K—8 × 162004044—
†
256—4K—26 × 16 (5)2004044
MEMORYI/OCYCLEPACKAGE (1)
2
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
description
TMS320C10
The ′C10 provides the core CPU used in all other ′C1x devices. Its microprocessor operates at 5 MIPS. It
provides a parallel I/O of 8 × 16 bits. Three versions with cycle times of 160, 200, and 280 ns are available as
illustrated in Table 1. The ′C10 versions are offered in plastic 40-pin DIP or a 44-lead PLCC packages.
TMS320C14/E14/P14
The ′C14/E14/P14 devices, using the ′C10 core CPU, offer expanded on-chip RAM, and ROM or EPROM
(′E14/P14), 16 pins of bit selectable parallel I/O, an I/O mapped asynchronous serial port, four 16-bit timers, and
external/internal interrupts. The ′C14 devices can provide for microcomputer/microprocessor operating modes.
Three versions with cycle times of 160-ns are available as illustrated in Table 1. These devices are offered in
68-pin plastic PLCC or ceramic CER-QUAD packages.
TMS320C15/E15/P15
The ′C15/E15/P15 devices are a version of the ′C10, offering expanded on-chip RAM, and ROM or EPROM
(′E15/P15). The ′P15 is a one-time programmable (OTP), windowless EPROM version. These devices can
operate in the microcomputer or microprocessor modes. Five versions are available with cycle times of 160 to
200 ns (see Table 1). These devices are offered in 40-pin DIP, 44-pin PLCC, or 44-pin ceramic packages.
TMS320LC15
The ′LC15 is a low-power version of the ′C15, utilizing a V
requirement reduction over the typical 5-V ′C1x device. It operates at a cycle time of 250 ns. The device is offered
in 40-pin DIP or 44-lead PLCC packages.
of only 3.3-V . This feature results in a 2.3: 1 power
DD
TMS320C16
The ′C16 offers on-chip RAM of 256-words, an expanded program memory of 64K-words, and a fast instruction
cycle time of 114 ns (8.77 MIPS). It is offered in a 64-pin quad flat-pack package.
TMS320C17/E17/P17
The ′C17/E17/P17 versions consist of five major functional units: the ′C15 microcomputer, a system control
register, a full-duplex dual channel serial port, µ-law/A-law companding hardware, and a coprocessor port. The
dual-channel serial port is capable of full-duplex serial communication and offers direct interface to two
combo-codecs. The hardware companding logic can operate in either µ-law or A-law format with either
sign-magnitude or twos complement numbers in either serial or parallel modes. The coprocessor port allows
the ′C17/E17/P17 to act as a slave microcomputer or as a master to a peripheral microcomputer .
The ′P17 utilizes a one-time programmable (OTP) windowless EPROM version of the ′E17.
TMS320LC17
The ′LC17 is a low-power version of the ′C17, utilizing a V
2.3: 1 power requirement reduction over the typical 5-V ′C1x device. It operates at a cycle time of 278 ns.
The ′C1x DSPs use 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 one-cycle
execution. The ′C1x DSPs modification 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.
32-bit accumulator
All ′C1x devices contain a 32-bit ALU and accumulator for support of double-precision, twos-complement
arithmetic. The ALU is a general-purpose arithmetic unit that operates on 16-bit words taken from the data RAM
or derived from immediate instructions. In addition to the usual arithmetic instructions, the ALU can perform
Boolean operations, providing the bit manipulation ability required of a high-speed controller. The accumulator
stores the output from the ALU and is often an input to the ALU. It operates with a 32-bit word length. The
accumulator is divided into a high-order word (bits 31 through 16) and a low-order word (bits 15 through 0).
Instructions are provided for storing the high- and low-order accumulator words in memory.
shifters
Two shifters are available for manipulating data. The ALU barrel shifter performs a left-shift of 0 to 16 places
on data memory words loaded into the ALU. This shifter extends the high-order bit of the data word and zero-fills
the low-order bits for twos-complement arithmetic. The accumulator parallel shifter performs a left-shift of 0, 1
or 4 places on the entire accumulator and places the resulting high-order accumulator bits into data RAM. Both
shifters are useful for scaling and bit extraction.
16 × 16-bit parallel multiplier
The multiplier performs a 16 × 16-bit twos-complement multiplication with a 32-bit result in a single instruction
cycle. The multiplier consists of three units: the T Register, P Register, and a multiplier array. The 16-bit T
Register stores the multiplicand, and the P Register stores the 32-bit product. Multiplier values either come from
the data memory or are derived immediately from the MPYK (multiply immediate) instruction word. The fast
on-chip multiplier allows the device to perform fundamental operations such as convolution, correlation, and
filtering.
data and program memory
Since the ′C1x devices use a Harvard type architecture, data and program memory reside in two separate
spaces. These DSP devices have 144-or 256-words of on-chip data RAM and 1.5K- to 8K-words of on-chip
program ROM. On-chip program EPROM of 4K-words is provided in the ′E14/E15/E17 devices. An on-chip
one-time programmable 4K-word EPROM is provided in the ′P14/P15/P17 devices. The EPROM cell utilizes
standard PROM programmers and is programmed identically to a 64K CMOS EPROM (TMS27C64).
(Reference Table 1.)
program memory expansion
All ′C1x devices except the ′C17/E17/LC17/P17 devices are capable of executing from off-chip external memory
at full speed for those applications requiring external program memory space. This allows for external
RAM-based systems to provide multiple functionality. The ′C17/E17/LC17/P17 devices provide no external
memory expansion. (Reference Table 1.)
microcomputer/microprocessor operating modes
All devices except the ′x17 offer two modes of operation defined by the state of the MC/MP
microcomputer mode (MC/MP = 1) or the microprocessor mode (MC/MP = 0 ). In the microcomputer mode,
on-chip ROM is mapped into the program memory space. In the microprocessor mode, all words of progam
memory are external.
pin: the
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
5
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
interrupts and subroutines
All devices except the ′C16 contain a four-level stack for saving the contents of the program counter during
interrupts and subroutine calls. Because of the larger 64K program space, the ′C16’s hardware stack has been
increased to eight levels. Instructions are available for saving the device’s complete context. PUSH and POP
instructions permit a level of nesting restricted only by the amount of available RAM. The interrupts used in these
devices are maskable.
input/output
The 16-bit parallel data bus can be utilized to perform I/O functions in two cycles. The I/O ports are addressed
by the three LSBs on the address lines. In addition, a polling input for bit test and jump operations (BIO
an interrupt pin (INT) have been incorporated for multitasking. The bit selectable I/O of the ′C14 is suitable for
microcontroller applications.
serial port (TMS320C17/E17)
Two of the I/O ports on the ′C17/E17 are dedicated to the serial port and companding hardware. I/O port 0 is
dedicated to control register 0, which controls the serial port, interrupts, and companding hardware. I/O port 1
accesses control register 1, as well as both serial port channels, and companding hardware. The six remaining
I/O ports are available for external parallel interfaces.
serial port (TMS320C14/E14)
The ′C14/E14 devices include one I/O-mapped serial port that operates asynchronously. I/O-mapped control
registers are used to configure port parameters such as inter-processor communication protocols and baud
rate.
) and
companding hardware (TMS320C17/E17)
On-chip hardware enables the ′C17/E17 to compand (COMpress/exP AND) data in either µ-law or A-law format.
The companding logic operation is configured via the system control register. Data may be companded in either
serial mode for operation on serial port data (converting between linear and logarithmic PCM) or a parallel mode
for computation inside the device. The ′C17/E17 allows the hardware companding logic to operate with either
sign-magnitude or twos-complement numbers.
coprocessor port (TMS320C17/E17)
The coprocessor port on the ′C17/E17 provides a direct connection to most microcomputers and
microprocessors. The port is accessed through I/O port 5 using IN and OUT instructions. The coprocessor
interface allows the device to act as a peripheral (slave) microcomputer to a microprocessor, or as a master to
a peripheral microcomputer. In the microcomputer mode, the 16 data lines are used for the 6 parallel 16-bit I/O
ports. In the coprocessor mode, the 16-bit parallel port is reconfigured to operate as a 16-bit latched bus
interface. For peripheral transfer, an 8-bit or 16-bit length of the coprocessor port can be selected.
6
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
instruction set
A comprehensive instruction set supports both numeric-intensive operations, such as signal processing, and
general-purpose operations, such as high-speed control. All of the ′C1x devices are object-code compatible and
use the same 60 instructions. The instruction set consists primarily of single-cycle single-word instructions,
permitting execution rates of more than six million instructions per second. Only infrequently used branch and
I/O instructions are multicycle. Instructions that shift data as part of an arithmetic operation execute in a single
cycle and are useful for scaling data in parallel with other operations.
NOTE
The BIO pin on other ′C1x devices is not available for use in the ′C14/E14/P14. An attempt to execute the
BIOZ (Branch on BIO
Three main addressing modes are available with the instruction set: direct, indirect, and immediate addressing.
direct addressing
In direct addressing, seven bits of the instruction word concatenated with the 1-bit data page pointer form the
data memory address. This implements a paging scheme in which the first page contains 128 words, and the
second page contains up to 128 words.
indirect addressing
Indirect addressing forms the data memory address from the least-significant eight bits of one of the two auxiliary
registers, AR0-AR1. The Auxiliary Register Pointer (ARP) selects the current auxiliary register. The auxiliary
registers can be automatically incremented or decremented and the ARP changed in parallel with the execution
of any indirect instruction to permit single-cycle manipulation of data tables. Indirect addressing can be used
with all instructions requiring data operands, except for the immediate operand instructions.
low) instruction will result in a two cycle NOP action.
immediate addressing
Immediate instructions derive data from part of the instruction word rather than from the data RAM. Some useful
immediate instructions are multiply immediate (MPYK), load accumulator immediate (LACK), and load auxiliary
register immediate (LARK).
instruction set summary
T able 2 lists the symbols and abbreviations used in T able 3, the instruction set summary . T able 3 contains a short
description and the opcode for each ′C1x instruction. The summary is arranged according to function and
alphabetized within each functional group.
Table 2. Instruction Symbols
SYMBOLMEANING
ACCAccumulator
DData memory address field
MAddressing mode bit
KImmediate operand field
PA3-bit port address field
R1-bit operand field specifying auxiliary register
S4-bit left-shift code
X3-bit accumulator left-shift field
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
7
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
Table 3. TMS320C1x Instruction Set Summary
ACCUMULATOR INSTRUCTIONS
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
ABSAbsolute value of accumulator110111111 1 1 0 0 0 1 0 0 0
ADDAdd to accumulator with shift110000M
ADDHAdd to high-order accumulator bits1101100000M
ADDSAdd to accumulator with no sign extension1101100001M
ANDAND with accumulator1101111001M
LACLoad accumulator with shift110010M
LACKLoad accumulator immediate1101111110
OROR with accumulator1101111010M
SACHStore high-order accumulator bits with shift1101011M
SACLStore low-order accumulator bits1101010000M
SUBSubtract from accumulator with shift110001M
SUBCConditional subtract (for divide)1101100100M
SUBHSubtract from high-order accumulator bits1101100010M
SUBSSubtract from accumulator with no sign extension1101100011M
XORExclusive OR with accumulator1101111000M
ZACZero accumulator110111111110001001
ZALHZero accumulator and load high-order bits1101100101M
ZALSZero accumulator and load low-order bits with no sign extension1101100110M
AUXILIARY REGISTER AND DATA PAGE POINTER INSTRUCTIONS
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
LARLoad auxiliary register110011100 R M
LARKLoad auxiliary register immediate110111000R
LARPLoad auxiliary register pointer immediate11011010001000000K
LDPLoad data memory page pointer1101101111M
LDPKLoad data memory page pointer immediate11011011100000000K
MARModify auxiliary register and pointer1101101000M
SARStore auxiliary register110011000 R M
NO.
CYCLES
NO.
CYCLES
NO.
WORDS
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
NO.
WORDS
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
OPCODE
S
S
X
S
OPCODE
D
D
D
D
D
K
D
D
D
D
D
D
D
D
D
D
D
K
D
D
D
8
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C1x
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
Table 3. TMS320C1x Instruction Set Summary (continued)
BRANCH INSTRUCTIONS
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
BBranch unconditionally22
BANZBranch on auxiliary register not zero22
BGEZBranch if accumulator
BGZBranch if accumulator > 022
BIOZBranch on BIO
BLEZBranch if accumulator
BLZBranch if accumulator < 022
BNZBranch if accumulator ≠ 022
BVBranch on overflow22
BZBranch if accumulator = 022
CALACall subroutine from accumulator
CALLCall subroutine immediately22
RETReturn from subroutine or interrupt routine
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
APACAdd P register to accumulator110111111 1 1 0 0 0 1 1 1 1
LTLoad T Register1101101010M
LTALTA combines LT and APAC into one instruction1101101100M
LTDLTD combines LT, APAC, and DMOV into one instruction1101101011M
MPYMultiply with T register, store product in P register1101101101M
MPYK
PACLoad accumulator from P register110111111110001110
SPACSubtract P register from accumulator110111111 1 1 0 0 1 0 0 0 0
†
This instruction is a NOP on the ′320C14/E14/P14.
Multiply T register with immediate operand; store product
in P register
Table 3. TMS320C1x Instruction Set Summary (concluded)
CONTROL INSTRUCTIONS
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
DINTDisable interrupt110111111 1 1 0 0 0 0 0 0 1
EINTEnable interrupt110111111110000010
LSTLoad status register1101111011M
NOPNo operation110111111110000000
POPPOP stack to accumulator210111111110011101
PUSHPUSH stack from accumulator210111111110011100
ROVMReset overflow mode110111111110001010
SOVMSet overflow mode110111111110001011
SSTStore status register1101111100M
I/O AND DATA MEMORY OPERATIONS
MNEMONICDESCRIPTIONINSTRUCTION REGISTER
DMOVCopy contents of data memory location into next higher location110110100 1 M
INInput data from port2101000M
OUTOutput data to port2101001M
TBLRTable read from program memory to data RAM3101100111M
TBLWTable write from data RAM to program memory310111110 1 M
Memory enable indicates that D15-D0 will accept external memory instruction.
O
No connection
I
Reset for initializing the device
I
+ 5 V supply
I
Ground
O
Write enable for device output data on D15-D0
O
Crystal output for internal oscillator
I
Crystal input internal oscillator or external system clock input
DEFINITION
12
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
functional block diagram
WE
DEN
MEN
BIO
MC/MP
INT
RS
A11-A0/
PA2-PA0
X1
Controller
MUX
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
X2/CLKINCLKOUT
Program Bus
16
3
3
12 LSB
MUX
12
12
PC (12)
12
Stack
4 × 12
Program Bus
12
12
Instruction
Program
ROM/EPROM
(1.5K Words)
Address
16
MUX
D15-D0
ARP
Legend:
ACC = Accumulator
ALU = Arithmetic Logic Unit
ARP = Auxiliary Register Pointer
AR0 = Auxiliary Register 0
AR1 = Auxiliary Register 1
DP= Data Page Pointer
P= P Register
PC= Program Counter
T= T Register
AR0 (16)
AR1 (16)
16
8
MUX
8
Address
Data RAM
(144 Words)
Data
1616
Data Bus
7
8
16
16
DP
Shifter
(0–16)
32
32
32
Shifter (0,1,4)
ALU (32)
32
ACC (32)
32
16
16
T(16)
Multiplier
P(32)
32
MUX
32
16
16
Data Bus
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
13
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical specifications
This section contains the electrical specifications for all speed versions of the ′C10 Digital Signal Processors,
including test parameter measurement information.
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Supply voltage range VCC (see Note 6) –0.3 V to 7 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 .
NOTE 6: All voltage values are with respect to V
SS.
recommended operating conditions
MINNOMMAXUNIT
V
Supply voltage4.555.25V
CC
V
Supply voltage0V
SS
High-level input voltage
V
IH
Low-level input voltage
V
IL
I
High-level output current, all outputs–300µA
OH
I
Low-level output current2mA
OL
Operating free-air temperature
T
A
CLKIN3V
All remaining inputs2V
MC/MP0.6V
All remaining inputs0.8V
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
V
High-level output voltage
OH
V
Low-level output voltageIOL = MAX0.30.5V
OL
I
Off-state output current
OZ
I
Input current
I
C
Input capacitance
i
C
oOutput capacitance
†
All typical values are at VCC = 5 V, TA = 25°C.
‡
Values derived from characterization data and not tested.
NOTE 7: This voltage specification is included for interface to HC logic. However, note that all of the other timing parameters defined in this data
sheet are specified for TTL logic levels and will differ for HC logic levels.
Data bus25
All others15
Data bus25
All others10
IOH = MAX2.43
IOH = 20 µA (see Note 7)VCC– 0.4
VCC = MAX
VCC = VSS to V
f = 1 MHz, all other pins 0 V
VO = 2.4 V20
VO = 0.4 V–20
All inputs except CLKIN±20
CC
CLKIN±50
†
MAXUNIT
‡
‡
‡
‡
‡
V
µA
µA
pF
pF
INTERNAL CLOCK OPTION
X1X2/CLKIN
Crystal
C1C2
Figure 1. Internal Clock Option
PARAMETER MEASUREMENT INFORMATION
2.15 V
RL = 825 Ω
From Output
Under Test
Figure 2. Test Load Circuit
Test
Point
CL = 100 pF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
15
TMS320C10, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETER
‡
Supply current
I
CC
†
All typical values are at TA = 70°C and are used for thermal resistance calculations.
‡
ICC characteristics are inversely proportional to temperature. For ICC dependence on temperature, frequency, and loading.
TMS320C10f = 20.5 MHz, VCC = 5.5 V, TA = – 40°C to 85°C3355
TMS320C10-25f = 25.6 MHz, VCC = 5.5 V TA = – 0°C to 70°C4065
CLOCK CHARACTERISTICS AND TIMING
The ′C10/C10-25 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 1). The frequency
of CLKOUT is one-fourth the crystal fundamental frequency. The crystal should be fundamental mode, and
parallel resonant, with an effective series resistance of 30 ohms, a power dissipation of 1 mW , and should be
specified at a load capacitance of 20 pF.
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Crystal frequency, f
C1, C2TA = – 40°C to 85°C10pF
x
TMS320C10TA = – 40°C to 85°C6.720.5
TMS320C10-25TA = 0°C to 70°C6.725.6
TEST CONDITIONS
(SEE FIGURE 2)
MINTYP†MAXUNIT
mA
MHz
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 table below.
switching characteristics over recommended operating conditions
PARAMETERUNITTEST CONDITIONS
t
c(C)
t
r(C)
t
f(C)
t
w(CL)
t
w(CH)
t
d(MCC)
§
t
c(C)
¶
Values derived from characterization data and not tested.
CLKOUT cycle time
CLKOUT rise time10
CLKOUT fall time8
Pulse duration, CLKOUT low92
Pulse duration, CLKOUT high90
Delay time, CLKIN↑ to CLKOUT↓25
is the cycle time of CLKOUT, i.e., 4t
§
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
(4 times CLKIN cycle time if an external oscillator is used).
c(MC)
MINNOMMAXMINNOMMAX
TMS320C10TMS320C10-25
195.12200156.25160ns
¶
¶
¶
¶
¶
60
¶
2550
10
72
70
¶
¶
8
¶
¶
timing requirements over recommended operating conditions
TMS320C10TMS320C10-25
MINNOMMAXMINNOMMAX
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
¶
Values derived from characterization data and not tested.
Master clock cycle time48.7850150 39.0640150
Rise time, master clock input5
Fall time, master clock input5
Pulse duration, master clock0.4t
Pulse duration, master clock low20
Pulse duration, master clock high20
c(MC)
¶
¶
¶
0.6t
¶
¶
10
10
c(MC)
¶
¶
¶
0.45t
c(MC)
¶
5
¶
5
¶
0.55t
¶
15
¶
15
10
10
c(MC)
ns
ns
ns
ns
¶
ns
UNIT
¶
ns
¶
ns
¶
ns
¶
ns
ns
ns
16
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions
PARAMETER
t
d1
t
d2
t
d3
t
d4
t
d5
t
d6
t
d7
t
d8
t
d9
t
d10
t
v
t
h(A-WMD)
t
su(A-MD)
†
Values derived from characterization data and not tested.
NOTE 8: For interfacing I/O devices, see Figure 3.
Delay time, CLKOUT↓ to
address bus valid
Delay time, CLKOUT↓
to MEN
↓
Delay time, CLKOUT↓
to MEN
↑
Delay time, CLKOUT↓
to DEN
↓
Delay time, CLKOUT↓
to DEN
↑
Delay time, CLKOUT↓ to WE↓1/2t
Delay time, CLKOUT↓ to WE↑–10
Delay time, CLKOUT↓ to data
bus OUT valid
Time after CLKOUT↓ that data
bus starts to be driven
Time after CLKOUT↓that data
bus stops being driven
Data bus OUT valid after
CLKOUT↓
Address hold time after WE↑,
MEN
↑, or DEN↑ (see Note 8)
Address bus setup time prior
to MEN
↓ or DEN↓
CONDITIONS
RL = 825 Ω
CL = 100 pF,
(see Figure 2)
TEST
1/4t
1/4t
1/4t
1/4t
1/4t
TMS320C10TMS320C10-25
MINTYPMAXMINTYPMAX
†
10
–5†1/4t
c(C)
†
–10
†1
–5
c(C)
†
–10
–5†1/2t
c(C)
†
†
–5
c(C)
–101/4t
c(C)
†
–10
–451/4t
c(C)
1/4t
1/4t
/4t
c(C)
5010
+15 1/4t
c(C)
15–10
+15 1/4t
c(C)
15–10
+ 15 1/2t
c(C)
15–10
+ 651/4t
c(C)
+ 40
TMS320C10, TMS320C10-25
UNIT
†
–5†1/4t
c(C)
†
–5†1/4t
c(C)
†
†
–5
c(C)
†
1/4t
†
–10
†
–5
c(C)
–10ns
c(C)
†
–35ns
c(C)
1/2t
1/4t
40ns
c(C)
12ns
c(C)
12ns
c(C)
12ns
+ 52
c(C)
+ 40
c(C)
+ 12ns
+ 12ns
+ 12ns
†
ns
ns
†
ns
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
17
TMS320C10, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
timing requirements over recommended operating conditions
TEST CONDITION
t
t
NOTE 9: Data may be removed from the data bus upon MEN↑ or DEN↑ preceding CLKOUT↓.
Setup time, data bus valid prior to CLKOUT↓5040ns
su(D)
Hold time, data bus held valid after CLKOUT↓
h(D)
(see Note 9)
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
SUGGESTED I/O DECODE CIRCUIT
The circuit shown in Figure 3 is a design example for interfacing I/O devices to the ′C10/C10-25. This circuit
decodes the address for output operations using the OUT instruction. The same circuit can be used to decode
input and output operations if the inverter (’ALS04) is replaced with a NAND gate and both DEN and WE are
connected. Inputs and outputs can be decoded at the same port provided the output of the decoder (’AS137)
is gated with the appropriate signal (DEN
be increased when the circuit shown in Figure 3 is repeated to support IN instructions with DEN connected rather
than WE.
The table write (TBL W) function requires a dif ferent circuit. A detailed discussion of an example circuit for this
function is described in the application report, “Interfacing External Memory to the TMS32010”, published in the
book,
Digital Signal Processing Applications with the TMS320 Famil
or WE) to select read or write (using an ’ALS32). Access times can
TMS320C10TMS320C10-25
MINNOMMAX MINNOM MAX
00ns
y (SPRA012A).
UNIT
TMS320C1074AS137
32
WE
2
PA0
1
PA1
40
PA2
74ALS04
4
GL
1
A
2
B
3
C
6
V
CC
G1
5
2
G
Figure 3. I/O Decode Circuit
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
15
14
13
12
11
10
9
7
I/O Device
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C10, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
RESET (RS) TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
t
d11
t
dis(R)
†
Values derived from characterization data and not tested.
Delay time, DEN↑, WE↑, and MEN↑ from RS1/2t
Data bus disable time after RS
timing requirements over recommended operating conditions
PARAMETER
t
su(R)
t
w(R)
NOTE 10: RS can occur anytime during a clock cycle. Time given is minimum to ensure synchronous operation.
Reset (RS) setup time prior to CLKOUT (see Note 10)5040ns
RS pulse duration5t
INTERRUPT (INT) TIMING
RL 825 Ω,
CL = 100 pF,
(see Figure 2)
TMS320C10TMS320C10-25
MINNOMMAXMINNOMMAX
c(C)
5t
c(C)
1/4t
+50†ns
c(C)
+50
c(C)
†
ns
UNIT
ns
timing requirements over recommended operating conditions
TMS320C10TMS320C10-25
MINNOMMAXMINNOMMAX
t
f(INT)
t
w(INT)
t
su(INT)
Fall time, INT1515ns
Pulse duration, INTt
Setup time, INT↓ before CLKOUT↓5040ns
c(C)
IO (BIO) TIMING
timing requirements over recommended operating conditions
TMS320C10TMS320C10-25
MINNOMMAXMINNOMMAX
t
f(IO)
t
w(IO)
t
su(IO)
Fall time, BIO1515ns
Pulse duration, BIOt
Setup time, BIO↓ before CLKOUT↓5040ns
c(C)
t
c(C)
t
c(C)
UNIT
ns
UNIT
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
19
TMS320C10-14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
‡
Supply current
I
CC
†
All typical values are at TA = 70°C and are used for thermal resistance calculations.
‡
ICC characteristics are inversely proportional to temperature; i.e., ICC decreases approximately linearly with temperature.
f = 14.4, MHz, VCC = 5.5 V, TA = 0°C to 70°C2865mA
CLOCK CHARACTERISTICS AND TIMING
The TMS320C10-14 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 1). The frequency
of CLKOUT is one-fourth the crystal fundamental frequency. The crystal should be fundamental mode, and
parallel resonant, with an effective series resistance of 30 ohms, a power dissipation of 1 mW , and be specified
at a load capacitance of 20 pF.
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Crystal frequency, f
C1, C2TA = 0°C to 70°C10pF
x
TA = 0°C to 70°C6.714.4MHz
†
MAXUNIT
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 table below.
switching characteristics over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
c(C)
t
r(C)
t
f(C)
t
w(CL)
t
w(CH)
t
d(MCC)
§t
c(C)
¶
Values derived from characterization data and not tested.
CLKOUT cycle time
CLKOUT rise time10ns
CLKOUT fall time8ns
Pulse duration, CLKOUT low131ns
Pulse duration, CLKOUT high129ns
Delay time, CLKIN↑ to CLKOUT↓25
is the cycle time of CLKOUT, i.e., 4t
§
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
(4 times CLKIN cycle time if an external oscillator is used).
c(MC)
277.78ns
¶
timing requirements over recommended operating conditions
MINNOMMAXUNIT
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
¶
Values derived from characterization data and not tested.
Master clock cycle time69.5150ns
Rise time, master clock input5
Fall time, master clock input5
Pulse duration, master clock0.4t
Pulse duration, master clock low, t
Pulse duration, master clock high, t
= 50 ns20
c(MC)
= 50 ns20
c(MC)
c(MC)
¶
10
¶
10
¶
0.6t
c(MC)
¶
¶
60
¶
ns
¶
ns
¶
ns
¶
ns
ns
ns
20
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
t
d1
t
d2
t
d3
t
d4
t
d5
t
d6
t
d7
t
d8
t
d9
t
d10
t
v
t
h(A-WMD)
t
su(A-MD)
†
Values derived from characterization data and not tested.
NOTE 8: For interfacing I/O devices, see Figure 3.
Delay time, CLKOUT↓ to address bus valid10
Delay time, CLKOUT↓ to MEN↓1/4t
Delay time, CLKOUT↓ to MEN↑–10
Delay time, CLKOUT↓ to DEN↓1/4t
Delay time, CLKOUT↓ to DEN↑–10
Delay time, CLKOUT↓ to WE↓1/2t
Delay time, CLKOUT↓ to WE↑–10
Delay time, CLKOUT↓ to data bus OUT valid1/4t
Time after CLKOUT↓ that data bus starts to be driven1/4t
Time after CLKOUT↓that data bus stops being driven1/4t
Data bus OUT valid after CLKOUT↓1/4t
Address hold time after WE↑, MEN↑, or DEN↑
(see Note 8)
Address bus setup time prior to MEN↓ or DEN↓1/4t
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
TMS320C10-14
†
†
– 5
c(C)
†
†1
– 5
c(C)
†
†
– 5
c(C)
†
†
– 5
c(C)
– 10ns
c(C)
†
–10
– 45ns
c(C)
1/4t
/4t
1/2t
c(C)
c(C)
c(C)
c(C)
c(C)
50ns
15ns
15ns
15ns
+15ns
+15ns
+15ns
+ 65ns
ns
+ 40†ns
ns
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
su(D)
t
h(D)
NOTE 9: Data may be removed from the data bus upon MEN↑ or DEN↑ preceding CLKOUT↓.
Setup time, data bus valid prior to CLKOUT↓50ns
Hold time, data bus held valid after CLKOUT↓ (see Note 9)0ns
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
21
TMS320C10-14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
RESET (RS) TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
t
d11
t
dis(R)
†
Values were derived from characterization data and not tested.
Delay time, DEN↑, WE↑, and MEN↑ from RS1/2t
Data bus disable time after RS
timing requirements over recommended operating conditions
t
su(R)
t
w(R)
NOTE 10: RS can occur anytime during a clock cycle. Time given is minimum to ensure synchronous operation.
Reset (RS) setup time prior to CLKOUT (see Note 10)50ns
RS pulse duration5t
INTERRUPT (INT) TIMING
timing requirements over recommended operating conditions
t
f(INT)
t
w(INT)
t
su(INT)
Fall time, INT15ns
Pulse duration, INTt
Setup time, INT↓ before CLKOUT↓50ns
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
MINNOMMAXUNIT
c(C)
MINNOMMAXUNIT
c(C)
1/4t
c(C)
c(C)
+ 50
+ 50
†
ns
†
ns
ns
ns
IO (BIO) TIMING
timing requirements over recommended operating conditions
t
f(IO)
t
w(IO)
t
su(IO)
Fall time, BIO15ns
Pulse duration, BIOt
Setup time, BIO↓ before CLKOUT↓50ns
MINNOMMAXUNIT
c(C)
ns
22
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TIMING DIAGRAMS
Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2 volts, unless
otherwise noted.
clock timing
†
t
d(MCC)
and t
X2/CLKIN
CLKOUT
w(MCP)
t
r(MC)
t
c(MC)
t
w(MCL)
t
f(MC)
d(MCC)
t
f(C)
†
t
w(CL)
t
are referenced to an intermediate level of 1.5 V on the CLKIN waveform.
t
w(MCH)
t
c(C)
t
w(MCP)
t
r(C)
†
t
w(CH)
memory read timing
CLKOUT
t
d3
MEN
A11-A0
D15-D0
t
c(C)
t
d2
t
t
d1
su(A-MD)
Address Bus Valid
t
su(D)
Instruction Valid
t
h(A-WMD)
t
h(D)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
23
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
TBLR instruction timing
CLKOUT
t
MEN
A11-A0
D15-D0
Legend:
1. TBLR Instruction Prefetch7. Address Bus V alid
2. Dummy Prefetch8. Address Bus Valid
3. Data Fetch9. Instruction Valid
4. Next Instruction Prefetch10. Instruction Valid
5. Address Bus Valid11. Data Input Valid
6. Address Bus Valid12. Instruction Valid
12 3 4
5678
9101112
d3
t
su(D)
t
d2
t
d1
t
h(D)
t
d3
TBLW instruction timing
CLKOUT
MEN
A11-A0
WE
D15-D0
Legend:
1. TBLW Instruction Prefetch7. Address Bus Valid
2. Dummy Prefetch8. Instruction Valid
3. Next Instruction Prefetch9. Instruction Valid
4. Address Bus Valid10. Data Output Valid
5. Address Bus Valid11. Instruction Valid
6. Address Bus Valid
123
4567
891011
t
d6
t
d8
t
d9
t
v
t
d7
t
d10
24
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
IN instruction timing
CLKOUT
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MEN
A11-A0
DEN
D15-D0
Legend:
1. IN Instruction Prefetch5.Address Bus Valid
2. Next Instruction Prefetch6.Instruction Valid
3. Address Bus Valid7.Data Input Valid
4. Peripheral Address Valid8.Instruction Valid
12
345
t
d4
678
OUT instruction timing
CLKOUT
MEN
12
t
su(A-MD)
t
su(D)
t
d5
t
h(D)
A11-A0
WE
D15-D0
Legend:
1. OUT Instruction Prefetch5. Address Bus Valid
2. Next Instruction Prefetch6. Instruction Valid
3. Address Bus Valid7. Data Output Valid
4. Peripheral Address Valid8. Instruction Valid
34 5
t
d6
t
d9
t
d8
678
t
d7
t
t
v
d10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
25
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
reset timing
CLKOUT
t
su(R)
RS
t
w(R)
DEN
MEN
D15-D0
MEN
WE
(see
Note E)
t
dis(R)
Data
Out
t
d11
Data Shown Relative to WE
t
su(R)
Data In From
PC ADDR 0
Data In From
PC ADDR PC+1
AB = Address Bus
Address
Bus
NOTES: A. RS forces DEN, WE, and MEN high and places data bus D0 through D15 in a high-impedance state. AB outputs (and program count-
er) are synchronously cleared to zero after the next complete CLK cycle from RS
B. RS
must be maintained for a minimum of five clock cycles.
C. Resumption of normal program will commence after one complete CLK cycle from RS
D. Due to the synchronization action on RS
cycle.
E. Diagram shown is for definition purpose only . DEN
F. During a write cycle, RS
AB = PCAB = PC+1
, time to execute the function can vary dependent upon when RS↑ or RS↓ occur in the CLK
, WE, and MEN are mutually exclusive.
may produce an invalid write address.
AB = PC = 0
↓.
↑.
AB = PC+1
interrupt timing
CLKOUT
t
su(INT)
INT
t
f(INT)
t
w(INT)
BIO timing
26
CLKOUT
BIO
t
su(IO)
t
f(IO)
t
w(IO)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C10, TMS320C10-14, TMS320C10-25
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TYPICAL POWER VS. FREQUENCY GRAPHS
52
46
40
34
28
- Supply Current - mAI
CC
I
22
16
10
1.2481216202428
42
VCC = 5.5 V
VCC = 5.0 V
VCC = 4.5 V
fx - Crystal Frequency - MHz
(a) – 40°C to 85°C Temperature Range
TA = – 40°C
TA = 85°C
TA = – 40°C
TA = 85°C
TA = – 40°C
TA = 85°C
36
30
With Load
24
18
- Supply Current - mA
CC
12
6
0
1.2481216202428
(b) Voltage = 5 V; Temperature = 25°C
Without Load
fx - Crystal Frequency - MHz
Figure 4. Typical CMOS ICC vs Frequency
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
27
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
Key Features: TMS320C14/E14/P14
• 160-ns Instruction Cycle
• 256 Words of On-Chip Data RAM
• 4K Words of On-Chip Program ROM
(TMS320C14)
• 4K Words of On-Chip Program EPROM
(TMS320E14/P14)
• One-Time Programmable (OTP) Windowless
EPROM Version Available (′320P14)
• EPROM Code Protection for Copyright Security
• External Memory Expansion up to 4K-Words
at Full Speed (Microprocessor Mode)
• 16 × 16-Bit Multipler With 32-Bit Product
• 0 to 16-Bit Barrel Shifter
• Seven Input and Seven Output External Ports
• Bit Selectable I/O Port (16 Pins)
• 16-Bit Bidirectional Data Bus With Greater than
50-Mbps Transfer Rate
• Asynchronous Serial Port
• 15 Internal/External Interrupts
• Event Manager With Capture Inputs and
Compare Outputs
• Four Independent Timers [Watchdog,
General Purpose (2), Serial Port]
• Four-Level Hardware Stack
• Packaging: 68-Pin PLCC (FN Suffix)
or CLCC (FZ Suffix)
• Single 5-V Supply
• Operating Free-Air Temperature
...0°C to 70°C
Interrupt
TCLK/CLKR
TCLK2/CLKX
WE
REN
RS
INT
CLKOUT
/MC/MP
NMI
WDT
CLKIN
+5 VGND
256-Word RAM
8K-Word ROM/
EPROM
32-Bit ALU/ACC
Multiplier
Shifters
TMS320C14, TMS320E14/P14
FN/FZ Packages
(Top View)
CC2VSS2
V
CMP3
CAP0
A9
CMP0
CMP1
A10
A11
9876543216867666564636261
10
11
A8
12
A7
13
A6
14
15
16
17
18
19
A5
20
A4
21
22
23
24
A3
25
A2
26
27 28 2930 31 32 33 34 35 3637 38 39 40 41 42 43
A1
A0
IOP15
IOP14
IOP13
V
IOP12
CC1
CMP2
D15
SS1
V
D14
CAP1
IOP11
Address (12)
D2
CMP5/CAP3/FSX
AMP4/CAP2/FSR
D0
D1
D13
D12
IOP9
IOP10
IOP8
Data (16)
D3
D4
60
D5
59
D6
58
D7
57
IOP0
56
IOP1
55
IOP2
54
IOP3
53
IOP4
52
IOP5
51
D8
50
D9
49
RXD/DATA
48
TXD/CLK
47
D10
46
IOP6
45
IOP7
44
D11
28
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
introduction
The ′C14/E14/P14 are 16/32-bit single-chip digital signal processing (DSP) microcontrollers that combine the
high performance of a DSP with on-chip peripherals. With a 160-ns instruction cycle, these devices are capable
of executing up to 6.4 million instructions per second (MIPS). The ′C14/E14/P14 DSPs are ideal for applications
such as automotive control systems, computer peripherals, industrial controls, and military command/control
system applications.
Control-specific on-chip peripherals include: An event manager with 6 channel PWM D/A/, 6-bit I/O pins, an
asynchronous serial port, four 16-bit timers, and internal/external interrupts.
With 4K-words of on-chip ROM, the ′C14 is a mask programmable device. Code is provided by the customer,
and TI incorporates the customer’s code into the photomask. It is offered in a 68-pin plastic chip carrier package
(FN suffix), rated for operation from 0°C to 70°C.
The ′E14 is provided with a 4K-word on-chip EPROM. This EPROM version is excellent for prototyping and for
customized applications. It is programmable with standard EPROM programmers. It is offered in a 68-pin
(windowed) cerquad package (FZ suffix), rated for operation from 0°C to 70°C.
The ′P14 features a one-time programmable 4K-word on-chip EPROM. The ′P14 is provided in an
unprogrammed state and is programmed as if it were a blank ′E14. It is offered in a low-cost,
volume-production-oriented, 68-pin plastic leaded chip carrier (PLCC) package (FN suffix), rated for operation
from 0°C to 70°C.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
29
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
Each device can execute programs form either internal (MC/MP=0) or external program memory (MC/MP=1).
For proprietary code security, the ′E14 and ′P14 incorporate an EPROM protect bit (RBIT). If this bit is
programmed, the device’s internal program memory cannot be accessed by any external means.
INT18IExternal interrupt input. The interrupt signal is generated by a high-to-low transition on this pin.
NMI/MC/MP22INon-maskable interrupt. When this pin is brought low, the device is interrupted irrespective of the
5
6
9
12
13
14
20
21
25
26
27
28
35
36
39
40
43
46
49
50
57
58
59
60
61
62
63
64
†
I/O/Z
O/ZProgram memory address bus A11 (MSB) through A0 (LSB) and port addresses P A2 (MSB) through
I/O/ZParallel data bus D15 (MSB) through D0 (LSB). The data bus is always in the high-impedance state
PA0 (LSB). Addresses A11 through A0 are always active and never go to high impedance except
during reset. During execution of the IN and OUT instructions, pins 26, 27, and 28 carry the port
addresses. Pins A3 through A11 are held high when port accesses are made on pins PA0 through
PA2.
except when WE
state of the INTM bit in status register ST.
is active (low). The data bus is also active when internal peripherals are written to.
INTERRUPT AND MISCELLANEOUS SIGNALS
ADDRESS/DATA BUSES
Microcomputer/microprocessor select. This pin is also sampled when RS
internal program memory is selected. If low during reset, external memory will be selected.
WE15OWrite enable. When active low, WE indicates that device will output data on the bus.
REN16ORead enable. When active low, REN indicates that device will accept data from the bus.
RS17IReset. When this pin is low, the device is reset and PC is set to zero.
Continued next page.
†
Input/Output/High-impedance state.
30
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
is low. If high during reset,
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TERMINAL FUNCTIONS (concluded)
TMS320C10-14
PINDESCRIPTION
NAMENO.
CLKOUT19OSystem clock output (one fourth CLKIN frequency).
V
CC
V
SS
CLKIN24IMaster clock input from external clock source.
RXD48IAsynchronous mode receive input.
TXD47O/ZAsynchronous mode transmit output.
TCLK110ITimer 1 clock. If external clock is selected, it serves as clock input to Timer 1.
TCLK211ITimer 2 clock. If external clock is selected, it serves as clock input to Timer 2.
WDT23OW atchdog timer output. An active low is generated on this pin when the watchdog timer times out.
CMP4/CAP266I/OThis pin can be configured as compare output or capture input.
CMP5/CAP365I/OThis pin can be configured as compare output or capture input.
†
Input/Output/High-impedance state.
4,33I5-V supply pins.
3,34IGround pins.
29
30
31
32
37
38
41
42
44
45
51
52
53
54
55
56
8
7
2
1
68
67
†
I/O/Z
I/O16 bit I/O lines that can be individually configured as inputs or outputs and also individually set or
reset
when configured as outputs.
OCompare outputs. The states of these pins are determined by the combination of compare and action
registers.
ICapture inputs. A transition on these pins causes the timer register to be captured in FIFO stack.
SUPPLY/OSCILLATOR SIGNALS
SERIAL PORT AND TIMER SIGNALS
BIT I/O PINS
COMPARE AND CAPTURE SIGNALS
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
31
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
functional block diagram
CLKOUTCLKIN
NMI/
MC/MP
INT
WE
REN
RS
Interrupt
Controller
Controller
A0-A11
PA0-PA2
16
ARP
BSR
16
MUX
12
12 LSB
MUX
12
12
PC (12)
12
12
Stack
4
3
× 12
Program Bus
16
AR0 (16)
AR1 (16)
Data Bus
1616
7
8
8
MUX
8
Address
Data
(256 Words)
Data
1616
Data Bus
16
Instruction
Program
ROM/EPROM
(4K Words)
Address
16
16
1
DP
Shifter
(0–16)
32
32
Shifter (0,1,4)
T(16)
Multiplier
P(32)
32
ALU (32)
32
ACC (32)
32
32
MUX
Watchdog Timer
Timers
16
16
MUX
16
16
32
16
1.2
16
16
16
16
16
9
9
IOP
Legend:DP = Data Page Pointer
ACC= AccumulatorIOP = Input/Output Port
ACT = Action Register(Bit Selectable)
ALU = Arithmetic Logic UnitPC = Program Counter
ARP = Auxiliary Register PointP = P Register
AR0 = Auxiliary Register 0RBR = Receive Buffer Register
AR1 = Auxiliary Register 1RSR = Receive Shift Register
BSR = Bank Select RegisterT = T Register
CAP = CaptureTBR = Transmit Buffer Register
The ′C1x 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 ′C1x family’s modification of a 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.
32-bit ALU/accumulator
The ′C14/E14/P14 devices contain a 32-bit ALU and accumulator for support of double-precision,
twos-complement arithmetic. The ALU is a general-purpose arithmetic unit that operates on 16-bit words taken
from the data RAM or derived from immediate instructions. In addition to the usual arithmetic instructions, the
ALU can perform Boolean operations, providing the bit manipulation ability required of a high-speed controller.
32
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
The accumulator stores the output from the ALU and is often an input to the ALU. It operates with a 32-bit
wordlength. The accumulator is divided into a high-order word (bits 31 through 16) and a low-order word (bits
15 through 0). Instructions are provided for storing the high- and low- order accumulator words in memory.
shifters
Two shifters are available for manipulating data. The ALU barrel shifter performs a left-shift of 0 to16 places on
data memory words loaded into the ALU. This shifter extends the high-order bit of the data word and zero-fills
the low-order bits for twos-complement arithmetic. The accumulator parallel shifter performs a left-shift of 0, 1,
or 4 places on the entire accumulator and places the resulting high-order accumulator bits into data RAM. Both
shifters are useful for scaling and bit extraction
16 × 16-bit parallel multiplier
The multiplier performs a 16 × 16-bit twos-complement multiplication with a 32-bit result in a single instruction
cycle. The multiplier consists of three units: the T Register, P Register, and the multiplier array. The 16-bit T
Register temporarily stores the multiplicand; the P Register stores the 32-bit product. Multiplier values either
come from the data memory or are derived immediately from the MPYK (multiply immediate) instruction word.
The fast on-chip multiplier allows the device to perform fundamental operations such as convolution, correlation,
and filtering.
data and program memory
Since the ′C14/E14/P14 devices use a Harvard architecture, data and program memory reside in two separate
spaces. These devices have 256 words of on-chip data RAM and 4K words of on-chip program ROM (′C14)
or EPROM (′E14 and the OTP ′P14). The EPROM cell utilizes standard PROM programmers and is
programmed identically to a 64K-bit CMOS EPROM (TMS27C64).
program memory expansion
The ′C1x devices are capable of executing up to 4K words of external memory at full speed for those applications
requiring external program memory space. This allows for external RAM-based systems to provide multiple
functionality.
microcomputer/microprocessor operating modes
The ′C14/E14/P14 devices offer two modes of operation defined by the state of the NMI
the microcomputer mode (NMI/MC/MP is high) or the microprocessor mode (NMI/MC/MP is low). In the
microcomputer mode, the on-chip ROM is mapped into the program memory space. In the microprocessor
mode, all 4K words of memory are external.
interrupts and subroutines
The ′C14/E14/P14 devices contain a four-level hardware stack for saving the contents of the program counter
during interrupts and subroutine calls. Instructions are available for saving the complete context of the device.
PUSH and POP instructions permit a level of nesting restricted only by the amount of available RAM. The
′C14/E14/P14 have a total of 15 internal/external interrupts. Fourteen of these are maskable; NMI
fifteenth.
input/output
The 16-bit parallel data bus can be utilized to access external peripherals. However, only the lower three address
lines are active. The upper nine address lines are driven high.
bit I/O
The ′C14/E14/P14 has 16 pins of bit I/O that can be individually configured as inputs or outputs. Each of the
pins can be set or cleared without affecting the others. The input pins can also detect and match patterns and
generate a maskable interrupt signal to the CPU.
/MC/MP pin during reset:
is the
serial port
The ′C14/E14/P14 includes an I/O-mapped asynchronous serial port.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
33
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
event manager
An event manager is included that provides up to four capture inputs and up to six compare outputs. This
peripheral operates with the timers to provide a form of programmable event logging/detection. The six compare
outputs can also be configured to produce six channels of high precision PWM.
timers 1 and 2
Two identical 16-bit timers are provided for general purpose applications. Both timers include a 16-bit period
register and buffer latch, and can generate a maskable interrupt.
serial port timer
The serial port timer is a 16-bit timer primarily intended for baud rate generation for the serial port. Its architecture
is the same as timers 1 and 2, therefore it can serve as a general purpose timer if not needed for serial
communication.
watchdog timer
The ′C14/E14/P14 contain a 16-bit watchdog timer that can produce a timeout (WDT
applications such as software development and event monitoring. The watchdog timer also generates, at the
point of the timeout, a maskable interrupt signal to the CPU.
instruction set
) signal for various
A comprehensive instruction set supports both numeric-intensive operations, such as signal processing, and
general-purpose operations, such as high-speed control. All of the first-generation devices are object-code
compatible and use the same 60 instructions. The instruction set consists primarily of single-cycle single-word
instructions, permitting execution rates of more than six million instructions per second. Only infrequently used
branch and I/O instructions are multicycle. Instructions that shift data as part of an arithmetic operation execute
in a single cycle and are useful for scaling data in parallel with other operations.
NOTE
The BIO pin on other ′C1x devices is not available for use in the ′C14/E14/P14 devices. An attempt to
execute the BIOZ (Branch on BIO
Three main addressing modes are available with the instruction set: direct, indirect, and immediate addressing.
direct addressing
In direct addressing, seven bits of the instruction word concatenated with the 1-bit data page pointer from the
data memory address. This implements a paging scheme in which each page contains 128 words.
indirect addressing
Indirect addressing forms the data memory address from the least-significant eight bits of one of the two
auxiliary registers, AR0 and AR1. The Auxiliary Register Pointer (ARP) selects the current auxiliary register. The
auxiliary registers can be automatically incremented or decremented and the ARP changed in parallel with the
execution of any indirect instruction to permit single-cycle manipulation of data tables. Indirect addressing can
be used with all instructions requiring data operands, except for the immediate operand instructions.
immediate addressing
Immediate instructions derive data from part of the instruction word rather than from part of the data RAM. Some
useful immediate instructions are multiply immediate (MPYK), load accumulator immediate (LACK), and load
auxiliary register immediate (LARK).
low) instruction will result in a two cycle NOP action.
34
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
electrical specifications
This section contains all the electrical specifications for the ′C14/E14/P14 devices, including test parameter
measurement information. Parameters with PP subscripts apply only to the ′E14 and ′P14 in the EPROM
programming mode.
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 .
NOTE 6: All voltage values are with respect to VSS.
recommended operating conditions
MINNOMMAXUNIT
Operating voltage4.7555.25V
Fast programming5.7566.25V
V
Supply voltage
CC
SNAP! Pulse programming6.256.56.75V
V
Supply voltage for Fast programming (see Note 11)12.2512.512.75V
PP
V
Supply voltage for SNAP! Pulse programming (see Note 11)12.751313.25V
PP
V
Supply voltage0V
SS
V
High-level input voltageV
IH
V
Low-level input voltage, all inputs0.8V
IL
I
High-level output current, all outputs–300µA
OH
I
Low-level output current, all outputs2mA
OL
T
Operating free-air temperature070
A
NOTE 11: VPP can be applied only to programming pins designed to accept VPP as an input. During programming the total supply current
is IPP + ICC.
CLKIN, CAP0, CAP1, CMP4/CAP2, CMP5/CAP3, RS3
All remaining inputs2
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
V
High-level output voltage
OH
V
Low-level output voltageIOL = MAX0.30.5V
OL
I
Off-state output voltage
OZ
I
Input current
I
§
I
Supply currentf = 25.6 MHz, VCC = 5.25 V, TA = 0°C to 70°C7090mA
CC
I
PP1VPP
I
PP2
C
I
C
O
†
All typical values are at VCC = 5 V, TA = 25°C, except ICC at 70°C.
‡
Values derived from characterization data and not tested.
§
ICC characteristics are inversely proportional to temperature.
NOTE 7: This voltage specification is included for interface to HC logic. However, note that all of the other timing parameters defined in this data
supply currentVPP = VCC = 5.5 V100µA
VPP supply current
(during program pulse)
Input capacitancepF
Output
capacitance
sheet are specified for TTL logic levels and will differ for HC logic levels.
Data bus25
All others15
Data bus25
All others10
IOH = MAX2.43V
IOH = 20 µA (see Note 7)VCC – 0.4
VCC = MAXµA
VI = VSS to V
VPP = 13 V3050mA
f = 1 MHz, All other pins 0 V
VO = 2.4 V20
VO = 0.4 V–20
All other inputs except CLKIN±20
CC
CLKIN±50
†
†
‡
‡
‡
‡
MAXUNIT
V
µA
pF
PARAMETER MEASUREMENT INFORMATION
2.15 V
RL = 825 Ω
From Output
Under Test
Test
Point
CL = 100 pF
Figure 5. Test Load Circuit
EXTERNAL CLOCK REQUIREMENTS
The TMS320C14/E14/P14 use an external frequency source for a clock. This source is applied to the CLKIN
pin, and must conform to the specifications in the table below.
PARAMETERSTEST CONDITIONSMINNOMMAXUNIT
CLKINInput clock frequencyTA = 0°C to 70°C6.725.6MHz
36
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
CLOCK TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
t
c(C)
t
r(C)
t
f(C)
t
w(CL)
t
w(CH)
t
d(MCC)
†
Values were derived from characterization data and not tested.
CLKOUT cycle time
CLKOUT rise time
CLKOUT fall time8
Pulse duration, CLKOUT low72
Pulse duration, CLKOUT high70
Delay time CLKIN↑ to CLKOUT↓45
timing requirements over recommended operating conditions
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
†
Values were derived from characterization data and not tested.
‡
t
c(C)
Master clock cycle time
Rise time, master clock input5
Fall time, master clock input5
Pulse duration, master clock0.45 t
Pulse duration, master clock low15
Pulse duration, master clock high15
is the cycle time of CLKOUT, i.e., 4t
‡
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
‡
(4 times CLKIN cycle time if an external oscillator is used).
c(MC)
156.25600ns
MINNOMMAXUNIT
39.0640150ns
c(MC)
†
10
†
†
†
†
†
†
†
†
†
†
10
†
10
0.55 t
c(MC)
130ns
130ns
ns
ns
ns
ns
ns
ns
ns
†
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
37
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
MEMORY READ AND INSTRUCTION TIMING
switching characteristics over recommended operating conditions
PARAMETER
t
su(A)R
t
su(A)W
t
h(A)
t
en(D)W
t
su(D)W
t
h(D)W
t
dis(D)W
t
w(WEL)
t
w(RENL)
t
rec(WE)
t
rec(REN)
t
d(WE-CLK)
†
Values were derived from characterization data and not tested.
Address bus valid before REN↓0.25 t
Address bus valid before WE↓
Address bus valid after REN↑ or WE↑5
Data starts being driven before WE↓0.25 t
Data valid prior to WE↓0.25 t
Data valid after WE↑0.25 t
Data in high impedance after WE↑0.25 t
WE-low duration0.50 t
REN-low duration0.75 t
Write recovery time, time between WE↑ and REN↓0.25 t
Read recovery time, time between REN↑ and WE↓0.50 t
Time from WE↑ to CLKOUT↑0.50 t
TEST
CONDITIONS
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
MINNOMMAXUNIT
c(C)
0.50 t
c(C)
c(C)
c(C)
c(C)
c(C)
c(C)
c(C)
–39ns
–45ns
†
c(C)
–45ns
–10ns
+ 25
c(C)
–15ns
–15ns
–5ns
c(C)
–10ns
–15ns
ns
†
ns
†
ns
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
su(D)R
t
h(D)R
t
a(A)
t
oe(REN)
t
dis(D)R
Data set-up prior to REN↑52ns
Data hold after REN↑
Access time for read cycle data
valid after valid address
Access time for read cycle from REN↓0.75 t
Data in high impedance after REN↑0.25 t
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
0ns
RESET (RS) TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
t
d(RS-RW)
t
dis(RS-RW)
t
dis(RS-DB)
t
dis(RS-AB)
t
en(RS-AB)
Delay from RS↓ to REN↑ and WE↑0.75 t
Delay from RS↓ to REN and
WE
into high impedance
Data bus disable after RS↓1.25 t
Address bus disable after RS↓t
Address bus enable after RS↑t
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
su(RS)
t
w(RS)
NOTE 10: RS can occur anytime during the clock cycle. Time given is minimum to ensure synchronous operation.
RS setup prior to CLKOUT↓ (see Note 10)60ns
RS pulse duration
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
5t
c(C)
t
c(C)
c(C)
c(C)
1.25 t
–90ns
–60ns
†
c(C)
†
+ 20
†
c(C)
†
c(C)
†
c(C)
†
c(C)
ns
ns
ns
ns
ns
ns
ns
38
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MICROCOMPUTER/MICROPROCESSOR MODE (NMI/MC/MP)
timing requirements over recommended operating conditions
MINNOMMAXUNIT
t
h(MC/MP)
†
Values were derived from characterization data and not tested.
‡
Hold time to put device in microprocessor mode.
timing requirements over recommended operating conditions
t
f(INT)
t
f(NMI)
t
w(INT)
t
w(NMI)
t
su(INT)
t
su(NMI)
NOTE 12: INT and NMI are synchronous inputs and can occur at any time during the cycle. NMI and INT are edge triggered only.
‡
Hold time after RS hight
c(C)
INTERRUPT (INT)/NONMASKABLE INTERRUPT (NMI)
MINNOMMAXUNIT
Fall time, INT15
Fall time, NMI15
Pulse duration, INTt
Pulse duration, NMIt
Setup time, INT before CLKOUT low (see Note 12)60ns
Setup time, NMI before CLKOUT low (see Note 12)60ns
c(C)
c(C)
ns
†
ns
†
ns
ns
ns
BIT I/O TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
t
rfo(IOP)
t
d(IOP)
Rise and fall time outputs20
CLKOUT low to data valid outputs
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
rfl(IOP)
t
su(IOP)
t
w(IOP)
Rise and fall time inputs20
Data setup time before CLKOUT time
Input pulse durationt
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
GENERAL PURPOSE TIMERS
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
r(TIM)
t
f(TIM)
t
wl(TIM)
t
wh(TIM)
t
clk(TIM)
†
Values were derived from characterization data and not tested.
TCLK1, TCLK2 rise time20
TCLK1, TCLK2 fall time
TCLK1, TCLK2 low timet
TCLK1, TCLK2 high timet
Input pulse duration2 t
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
†
0.75 t
40ns
c(C)
+20ns
c(C)
+20ns
c(C)
+40ns
c(C)
+80ns
c(C)
20
†
†
ns
†
ns
ns
ns
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
39
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
WATCHDOG TIMER TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
t
f(WDT)
t
d(WDT)
t
w(WDT)
switching characteristics over recommended operating conditions
t
f(CMP)
t
r(CMP)
timing requirements over recommended operating conditions
t
w(CAP)
t
su(CAP)
†
Values were derived from characterization data and not tested.
Fall time, WDT20
CLKOUT to WDT valid
WDT output pulse duration7 t
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
0.25 t
c(C
c(C
EVENT MANAGER TIMER
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Fall time, CMP0-CMP520
Rise time, CMP0-CMP5
CAP0-CAP3 input pulse durationt
Capture input setup time before CLKOUT low
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
TEST CONDITIONSMINNOMMAXUNIT
RL = 825 Ω,
CL = 100 pF,
(see Figure 2)
†
)+20ns
)ns
20
+20ns
c(C)
†
20
ns
†
ns
†
ns
ns
40
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TIMING DIAGRAMS
Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2 volts, unless
otherwise noted.
clock timing
X2/CLKIN
CLKOUT
†
t
d(MCC)
and t
are referenced to an intermediate level of 1.5 V on the CLKIN waveform.
w(MCP)
memory read timing
REN
t
r(MC)
t
c(MC)
t
d(MCC)
t
f(C)
t
su(A)R
t
f(MC)
†
t
w(MCL)
t
w(CL)
t
w(MCH)
t
oe(REN)
t
c(C)
t
w(RENL)
t
w(MCP)
t
r(C)
†
t
w(CH)
t
h(A)
A11-A0
D15-D0
Address Bus Valid
t
a(A)
t
su(D)R
Instruction Input Valid
t
h(D)R
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
41
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
TBLR instruction timing
REN
A11-A0
D15-D0
Legend:
1. TBLR Instruction Prefetch7. Address Bus Valid
2. Dummy Prefetch8. Address Bus Valid
3. Data Fetch9. Instruction Input Valid
4. Next Instruction Prefetch10. Instruction Input Valid
5. Address Bus Valid11. Data Input Valid
6. Address Bus Valid12. Instruction Input Valid
12 3 4
5678
910 1112
TBLW instruction timing
REN
123
t
su(A)R
t
a(A)
t
su(D)R
t
h(D)R
A11-A0
WE
D15-D0
†
Data valid prior to WE
Legend:
1. TBLW Instruction Prefetch7. Address Bus V alid
2. Dummy Prefetch8. Instruction Input Valid
3. Next Instruction Prefetch9. Instruction Input Valid
4. Address Bus Valid10. Data Output Valid
5. Address Bus Valid11. Instruction Input Valid
6. Address Bus Valid
↓
4567
891011
t
en(D)W
†
t
su(D)W
t
w(WEL)
†
t
h(D)W
t
dis(D)W
42
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
IN instruction timing
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
REN
A11-A0
D15-D0
Legend:
1. IN Instruction Prefetch6. Address Bus Valid
2. Data Fetch7. Instruction Input Valid
3. Next Instruction Prefetch 8. Data Input Valid
4. Address Bus Valid 9. Instruction Input Valid
5. Peripheral Address Valid
12
t
su(A)R
456
t
a(A)
789
OUT instruction timing
REN
A11-A0
1
3
3
t
su(D)R
t
h(D)R
2
45
WE
D15-D0
Legend:
1. OUT Instruction Prefetch5. Address Bus Valid
2. Next Instruction Prefetch6. Instruction Input Valid
3. Address Bus Valid7. Data Output Valid
4. Peripheral Address Valid
67
t
su(D)W
t
en(D)W
t
w(WEL)
t
h(D)W
t
dis(D)W
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
43
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
reset timing
CLKOUT
t
su(RS)
t
dis(RS-RW)
RS
t
w(RS)
REN
(see
WE
Note E)
t
dis(RS-DB)
D15-D0
t
dis(RS-AB)
ADDRESS
BUS
NOTES: A. RS forces REN, and WE high and then places data bus D0-D15, REN, WE, and address bus A0-A1 1 in a high-impedance state.
AB outputs (and program counter) are synchronously cleared to zero after the next complete CLK cycle from RS
B. RS
must be maintained for a minimum of five clock cycles.
C. Resumption of normal program will commence after one complete CLK cycle from RS
D. Due to the synchronization action on RS
cycle.
E. Diagram shown is for definition purpose only. WE
Data Out
AB = PCAB = PC = 0
t
d(RS-RW)
Data Shown Relative To WE
AB = Address Bus
, time to execute the function can vary dependent upon when RS↑ or RS↓ occur in the CLK
and REN are mutually exclusive.
t
su(RS)
t
en(RS-AB)
Data In From
PC ADDR 0
↑.
Data In From
PC ADDR PC+1
AB = PC+1
↑.
microcomputer/microprocessor mode timing
CLKOUT
RS
NMI/MC/MP
t
h(MC/MP)
44
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
interrupt timing
CLKOUT
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
NMI or INT
bit I/O timing
CLKOUT
IOP15-IOP0
(Output)
IOP15-IOP0
(Input)
t
su(IOP)
t
rfI(IOP)
t
f(INT)
t
w(INT)
t
su(INT)
, t
f(NMI)
, t
w(NMI)
, t
su(NMI)
t
w(IOP)
t
rfo(IOP)
general purpose timers
TCLK1, TCLK2
t
r(TIM)
watchdog timer
CLKOUT
WDT
t
d(WDT)
t
wh(TIM)
t
clk(TIM)
t
f(WDT)
t
f(TIM)
t
wl(TIM)
t
w(WDT)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
45
TMS320C14, TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
event manager
CLKOUT
CAP3-CAP0
CMP5-CMP0
t
su(CAP)
t
w(CAP)
t
f(CMP)
/ t
r(CMP)
46
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
PROGRAMMING THE TMS320E14/P14 EPROM CELL
The ′E14 and ′P14 include a 4K × 16-bit industry-standard EPROM cell for prototyping and low-volume
production. The ′C14 with a 4K-word masked ROM then provides a migration path for cost-effective production.
An EPROM adapter socket (part # TMDX32701 10), shown in Figure 5, is available to provide 68-pin to 28-pin
conversion for programming the ′E14 and ′P14.
Key features of the EPROM cell include the normal programming operation as well as verification. The EPROM
cell also includes a code protection feature that allows code to be protected against copyright violations.
The ′E14/P14 EPROM cells are 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 . They are pin compatible with existing 28-pin ROMs
and EPROMs. These EPROMs operate from a 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.
Figure 5. EPROM Adapter Socket
The ′E14/P14 devices use 13 address lines to address the 4K-word memory in byte format (8K-byte memory).
In word format, the most-significant byte of each word is assigned an even address and the least-significant byte
an odd address in the byte format. Programming information should be downloaded to EPROM programmer
memory in a high-byte to low-byte order for proper programming of the devices (see Figure 6).
Figure 7 shows the wiring conversion to program the ′E14 and ′P14 using the 28-pin pinout of the TMS27C64.
The table of pin nomenclature provides a description of the TMS27C64 pins.
CAUTION
The ′E14 and ′P14 do not support the signature mode available with some EPROM programmers.
The signature mode places high voltage (12.5 Vdc) on pin A9. The ′E14 and ′P14 EPROM cells are
not designed for this feature and will be damaged if subjected to it. A 3.9 kΩ resistor is standard
on the TI programmer socket between pin A9 and programmer. This protects the device from
unintentional use of the signature mode.
Figure 7. TMS320E14/P14 EPROM Programming Conversion to TMS27C64 EPROM Pinout
60
59
58
57
A1
56
A0
55
54
53
52
51
50
49
48
47
46
45
44
48
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TERMINAL FUNCTIONS (TMS320E14/P14)
NAMEI/ODEFINITION
A12(MSB)-A0(LSB)
CLKIN
E
EPT
G
GND
PGM
Q8(MSB)-Q1(LSB)
RS
V
CC
V
PP
T able 4 shows the programming levels required for programming, verifying, reading, and protecting the EPROM
cell.
I
I
I
I
I
I
I
I/O
I
I
I
On-chip EPROM programming address lines
Clock oscillator input
EPROM chip enable
EPROM test mode select
EPROM output enable
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 to 6.5-V power supply
Since every memory in the cell is at a logic high, the programming operation reprograms selected bits to low.
Once the ′320E14 is programmed, these bits can only be erased using ultraviolet light. The correct byte is placed
on the data bus with VPP set to the 12.5-V level. The PGM pin is then pulsed low to program in the zeros.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
49
TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
erasure
Before programming, the ′E14 must be erased by exposing it to ultraviolet light. The recommended minimum
exposure dose (UV-intensity × exposure-time) is 15 W•s/cm
erase the device in 21 minutes. The lamp should be located about 2.5 cm above the chip during erasure. After
exposure, all bits are in the high state.
verify/read
T o verify correct programming, the EPROM cell can be read using either the verify or read line definitions shown
in Table 5, assuming the inhibit bit (RBIT) has not been programmed.
program inhibit
Programming may be inhibited by maintaining a high level input on the E
standard programming procedure
Before programming, the ′E14 must first be completely erased. The device can then be programmed with the
correct code. It is advisable to program unused sections with zeros as a further security measure. After the
programming is complete, the code programmed into the cell should be verified. If the cell passes verification,
the next step is to program the ROM protect bit (RBIT). Once the RBIT programming is verified, an opaque label
should be placed over the window to protect the EPROM cell from inadvertent erasure by ambient light. At this
point, the programming is complete, and the device is ready to be placed into its destination circuit.
2
. A typical 12-mW•s/cm2, filterless UV lamp will
pin or PGM pin.
Refer to other appendices of the
TMS320C1x User’s Guide
for additional information on EPROM programming.
recommended timing requirements for programming: VCC = 6 V and VPP = 12.5 V (FAST) or
= 6.5 V and VPP = 13 V (SNAP! PULSE), TA = 25°C (see Note 13)
V
CC
MINNOMMAXUNIT
t
w(PGM)Initial program pulse duration
t
w(FPGM)
t
su(A)
t
su(E)
t
su(G)
t
su(D)
t
su(VPP)
t
su(VCC)
t
h(A)
t
h(D)
NOTE 13: 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
Final pulse durationFast programming only2.8578.75ms
Address setup time2µs
E setup time2µs
G setup time2µs
Data setup time2µs
VPP setup time2µs
VCC setup time2µs
Address hold time0µs
Data hold time2µs
programming.
Fast programming algorithm0.9511.05ms
SNAP! Pulse programming algorithm95100105µs
50
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
program cycle timing
TMS320E14, TMS320P14
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
†
t
dis(G)
A12-A0
Q8-Q1
V
PP
V
CC
PGM
and t
t
su(G)
Verify
Data Out
Valid
t
en(G)
†
Program
Address Stable
t
su(A)
HI-ZData In Stable
t
su(D)
t
su(VPP)
t
su(VCC)
E
t
su(E)
t
w(FPGM)
G
) are characteristics of the device but must be accommodated by the programmer.
en(G
t
h(D)
Address N+1
t
h(A)
t
dis(G)
V
IH
V
IL
VIH/V
OH
VIL/V
V
V
V
V
V
V
V
V
V
V
OL
PP
CC
CCP
CC
IH
IL
IH
IL
IH
IL
†
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
51
TMS320C15, TMS320E15, TMS320LC15, TMS320P15
DIGITAL SIGNAL PROCESSORS
Memory enable indicates that D15-D0 will accept external memory instruction.
O
No connection
I
Reset for initializing the device
I
+ 5 V supply
I
Ground
O
Write enable for device output data on D15-D0
O
Crystal output for internal oscillator
I
Crystal input internal oscillator or external system clock input
DEFINITION
†
54
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
electrical specifications
This section contains the electrical specifications for the ′C15/E15/P15 digital signal processors, including test
parameter measurement information. Parameters with PP subscripts apply only to the ′E15/P15 in the EPROM
programming mode (see Note 11).
absolute maximum ratings over operating free-air 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 .
NOTE 6: All voltage values are with respect to V
recommended operating conditions
V
Supply voltage
CC
V
Supply voltage (see Note 11)12.2512.512.75V
PP
V
I
I
Supply voltage0V
SS
V
High-level input voltage
IH
V
Low-level input voltage
IL
High-level output current, all outputs– 300µA
OH
Low-level output current (All outputs except for TMS320LC15)2mA
NOTE 11: VPP can be applied only to programming pins designed to accept VPP as an input. During programming the total supply current is
IPP + ICC.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
55
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP†MAXUNIT
V
High-level output voltage
OH
VOLLow-level output voltageIOL = MAX0.30.5V
I
Off-state output current
OZ
I
Input current
I
TMS320C15f = 20.5 MHz, VCC = 5.5 V, TA = 0°C to 70°C4555
‡
Supply current
I
CC
C
Input capacitance
i
C
Output capacitance
o
†
All typical values are at VCC = 5 V, TA = 70°C and are used for thermal resistance calculations.
‡
ICC characteristics are inversely proportional to temperature. For ICC dependence on temperature, frequency, and loading, see Figure 3.
NOTE 7: This voltage specification is included for interface to HC logic. However, note that all of the other timing parameters defined in this data
sheet are specified for TTL logic levels and will differ for HC logic levels.
TMS320C15-25 f = 25.6 MHz, VCC = 5.5 V, TA = 0°C to 70°C5065
TMS320E15f = 20.5 MHz, VCC = 5.25 V, TA = – 40°C to 85°C5575
TMS320E15-25 f = 25.6 MHz, VCC = 5.25 V, TA = 0°C to 70°C6585
Data bus25
All other15
Data bus25
All others10
IOH = MAX2.43V
IOH = 20 µA (see Note 8)VCC– 0.4V
VCC = MAX
VI = VSS to V
f = 1
MHz, all other pins 0 V
CC
VO = 2.4 V20
VO = 0.4 V–20
All inputs except CLKIN±20
CLKIN±50
‡
‡
‡
‡
µA
µA
mA
pF
pF
CLOCK CHARACTERISTICS AND TIMING
The TMS320C15/E15/P15 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 1). The frequency
of CLKOUT is one-fourth the crystal fundamental frequency. The crystal should be fundamental mode, and
parallel resonant, with an effective series resistance of 30 ohms, a power dissipation of 1 mW , and should be
specified at a load capacitance of 20 pF.
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
TMS320C15TA = 0°C to 70°C6.720.5
Crystal frequency, f
C1, C2TA = 0°C to 70°C10pF
x
TMS320E15/P15TA = – 40°C to 85°C6.720.5
TMS320C15-25/E15-25TA = 0°C to 70°C6.725.6
MHz
56
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
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 table below.
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONS
t
c(C)
t
r(C)
t
f(C)
t
w(CL)
t
w(CH)
t
d(MCC)
†
Values derived from characterization data and not tested.
‡
t
c(C)
CLKOUT cycle time
CLKOUT rise time10
CLKOUT fall time8
Pulse duration, CLKOUT low92
Pulse duration, CLKOUT high90
Delay time, CLKIN↑ to CLKOUT↓25
is the cycle time of CLKOUT, i.e., 4t
‡
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
(4 times CLKIN cycle time if an external oscillator is used).
c(MC)
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
195.12200156.25160ns
†
†
†
†
†
60†25
†
10
72
70
†
†
8
†
†
50
UNIT
ns
ns
ns
ns
†
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
57
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
timing requirements over recommended operating conditions
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
†
Values derived from characterization data and not tested.
switching characteristics over recommended operating conditions
t
d1
t
d2
t
d3
t
d4
t
d5
t
d6
t
d7
t
d8
t
d9
t
d10
t
d10
t
v
t
h(A-WMD)
t
su(A-MD)
†
Values derived from characterization data and not tested.
NOTE 14: Address bus will be valid upon WE
Master clock cycle time48.785015039.0640150ns
Rise time, master clock input5
Fall time, master clock input5
Delay time, CLKOUT↓ to MEN↓1/4tc(C) – 5†1/4t
Delay time, CLKOUT↓ to MEN↑–10
Delay time, CLKOUT↓ to DEN↓1/4t
Delay time, CLKOUT↓ to DEN↑–10
Delay time, CLKOUT↓ to WE↓1/2t
Delay time, CLKOUT↓ to WE↑–10
Delay time, CLKOUT↓ to data bus
OUT valid
Time after CLKOUT↓ that data bus
starts to be driven
Time after CLKOUT↓that
data bus stops being driven
(TMS320C15/C15-25 only)
Time after CLKOUT↓that
data bus stops being driven
(TMS320E15/E15-25 only)
Data bus OUT valid after CLKOUT↓1/4t
Address hold time after WE↑, MEN↑,
or DEN
↑ (see Note 15)
Address bus setup time prior to
DEN
↓
↑, MEN↑, or DEN↑.
TEST
CONDITIONS
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
†
10
c(C)
†
–5†1/4t
c(C)
†
–5†1/2t
c(C)
†
1/4t
–5
c(C)
–101/4t
c(C)
†
0
1/4t
–451/4t
c(C)
†
1/4t
1/4t
2
1/4t
c(C)
c(C)
†
c(C)
c(C)
c(C)
+ 40
+ 70
†
†
†
0.45t
c(MC)
‡
5010
+15 1/4t
15–10
+151/4t
15–10
+15 1/2t
15–10
+651/4t
c(C)
†
c(C)
†
c(C)
†
1/4t
c(C)
†
†
c(C)
†
0
–35ns
c(C)
†
5
†
5
0.55t
†
15
†
15
–5†1/4t
–5†1/4t
–5†1/2t
†
–5
1/4t
1/4t
–10ns
†
2
c(C)
c(C)
c(C)
c(C)
c(C)
c(C)
10
10
c(MC)
40ns
+12ns
12ns
+12ns
12ns
+12ns
12ns
+52
+ 40
+70
UNIT
†
ns
†
ns
†
ns
ns
ns
UNIT
ns
ns
†
ns
†
ns
ns
timing requirements over recommended operating conditions
TEST
CONDITIONS
Setup time, data bus valid prior to CLKOU-
t
su(D)
T↓
Hold time, data bus held valid after
t
h(D)
CLKOUT↓ (see Note 9)
NOTE 9: Data may be removed from the data bus upon MEN↑ or DEN↑ preceding CLKOUT↓.
58
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
5040ns
00ns
UNIT
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
RESET (RS) TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
t
d11
t
dis(R)
†
Values derived from characterization data and not tested.
Delay time, DEN↑, WE↑, and MEN↑ from RS1/2t
Data bus disable time after RS
timing requirements over recommended operating conditions
t
su(R)
t
w(R)
NOTE 10: RS can occur anytime during a clock cycle. Time given is minimum to ensure synchronous operation.
Reset (RS) setup time prior to CLKOUT (see Note 10)5040ns
RS pulse duration5t
INTERRUPT (INT) TIMING
RL = 825 Ω,
CL = 100 pF
(see Figure 2)
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
c(C)
5t
c(C)
1/4t
c(C)
c(C)
+ 50
+ 50
†
ns
†
ns
UNIT
ns
timing requirements over recommended operating conditions
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
t
f(INT)
t
w(INT)
t
su(INT)
Fall time, INT1515ns
Pulse duration, INTt
Setup time, INT↓ before CLKOUT↓5040ns
c(C)
IO (BIO) TIMING
timing requirements over recommended operating conditions
TMS320C15/E15/P15TMS320C15-25/E15-25
MINNOMMAXMINNOMMAX
t
f(IO)
t
w(IO)
t
su(IO)
Fall time, BIO1515ns
Pulse duration, BIOt
Setup time, BIO↓ before CLKOUT↓5040ns
c(C)
t
c(C)
t
c(C)
UNIT
ns
UNIT
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
59
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
TIMING DIAGRAMS
Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless
otherwise noted.
clock timing
†
t
d(MCC)
X2/CLKIN
CLKOUT
and t
t
r(MC)
t
c(MC)
t
w(MCL)
t
f(MC)
d(MCC)
t
f(C)
†
t
w(CL)
t
are referenced to an intermediate level of 1.5 V on the CLKIN waveform.
w(MCP)
t
w(MCH)
t
c(C)
t
w(MCP)
t
r(C)
†
t
w(CH)
memory read timing
CLKOUT
t
d3
MEN
A11-A0
D15-D0
t
c(C)
t
d2
t
t
d1
su(A-MD)
Address Bus Valid
t
su(D)
Instruction Valid
t
h(A-WMD)
t
h(D)
60
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TBLR instruction timing
CLKOUT
t
MEN
A11-A0
D15-D0
Legend:
1. TBLR Instruction Prefetch7. Address Bus V alid
2. Dummy Prefetch8. Address Bus Valid
3. Data Fetch9. Instruction Valid
4. Next Instruction Prefetch10. Instruction Valid
5. Address Bus Valid11. Data Input Valid
6. Address Bus Valid12. Instruction Valid
12 3 4
5678
9101112
d3
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
t
t
su(D)
d2
t
d1
t
h(D)
t
d3
TBLW instruction timing
CLKOUT
MEN
A11-A0
WE
D15-D0
Legend:
1. TBLW Instruction Prefetch7. Address Bus Valid
2. Dummy Prefetch8. Instruction Valid
3. Next Instruction Prefetch9. Instruction Valid
4. Address Bus Valid10. Data Output Valid
5. Address Bus Valid11. Instruction Valid
6. Address Bus Valid
123
4567
891011
t
d6
t
d8
t
d9
t
d7
t
v
t
d10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
61
TMS320C15, TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
NOTES: A. RS forces DEN, WE, and MEN high and places data bus D0 through D15 in a high-impedance state. AB outputs (and program count-
er) are synchronously cleared to zero after the next complete CLK cycle from RS
must be maintained for a minimum of five clock cycles.
B. RS
C. Resumption of normal program will commence after one complete CLK cycle from RS
D. Due to the synchronization action on RS
cycle.
E. Diagram shown is for definition purpose only . DEN
F. During a write cycle, RS
AB = PCAB = PC+1
, time to execute the function can vary dependent upon when RS↑ or RS↓ occur in the CLK
, WE, and MEN are mutually exclusive.
may produce an invalid write address.
AB = PC = 0
↓.
↑.
AB = PC+1
interrupt timing
CLKOUT
t
su(INT)
INT
t
f(INT)
t
w(INT)
BIO timing
CLKOUT
BIO
t
su(IO)
t
f(IO)
t
w(IO)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
63
TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
absolute maximum ratings over specified temperature range (unless otherwise noted)
Supply voltage range, 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 .
NOTE 6: All voltage values are with respect to VSS.
NOTE 11: VPP can be applied only to programming pins designed to accept VPP as an input. During programming the total supply current is
IPP + ICC.
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
I
PP1VPP
I
PP2VPP
‡
All typical values except for ICC are at VCC = 5 V, TA = 25°C.
supply currentVPP = VCC 5.5 V100V
supply current (during program pulse)VPP = 12.75 V3050V
‡
MAXUNIT
recommended timing requirements for programming, TA = 25°C, VCC = 6, VPP = 12.5 V,
(see Note 13)
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)
§
Values derived from characterization data and not tested.
NOTES: 13. 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 duration3.863ms
Address setup time2µs
E setup time2µs
G setup time2µs
Output disable time from G (see Note
15)
Output enable time from G0150
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)
0130
§
ns
§
ns
64
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
PROGRAMMING THE TMS320E15/P15 EPROM CELL
′E15/P15 devices include a 4K × 16-bit industry-standard EPROM cell for prototyping, early field testing, and
low-volume production. In conjunction with this EPROM, the ′E15/P15 with a 4K-word masked ROM, then,
provide more migration paths for cost-effective production.
EPROM adapter sockets are available that provide pin-to-pin conversions for programming any ′E15/P15
devices. One adapter socket (part number RTC/PGM320C-06), shown in Figure 8, converts a 40-pin DIP device
into an equivalent 28-pin device. Another socket (part number RTC/PGM320A-06), not shown, permits 44- to
28-pin conversion.
Figure 8. EPROM Adapter Socket (40-pin to 28-pin DIP Conversion)
Key features of the EPROM cell include the normal programming operation as well as verification. The EPROM
cell also includes a code protection feature that allows code to be protected against copyright violations.
The ′E15/P15 EPROM cell is programmed using the same family and device pinout codes as the TMS27C64
8K × 8-bit EPROM. The TMS27C64 EPROM series are unltraviolet-light erasable, electrically programmable,
read-only memories, fabricated using HVCMOS technology. They are pin-compatible with existing 28-pin
ROMs and EPROMs. These EPROMs operate 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.
Figure 9 shows the wiring conversion to program the ′E15/P15 using the 28-pin pinout of the TMS27C64.
Table 5 on pin nomenclature provides a description of the TMS27C64 pins. The code to be programmed into
the device should be in serial mode. The ′E15/P15 devices use 13 address lines to address 4K-word memory
in byte format.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
65
TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
V
1
PP
A12
2
A7
3
A6
4
A5
5
A4
6
A3
7
A2
8
A1
9
A0
10
Q1
11
Q2
12
Q3
13
GND
14
TMS27C64
PINOUT
A1
1
A0(LSB)
2
VPP
3
4
RS
5
EPT
6
7
CLKIN
8
9
10
GND
11
Q1(LSB)
12
Q2
13
Q3
14
Q4
15
Q5
16
Q6
17
Q7
18
Q8(MSB)
19
20
TMS320E15/P15
A2
A3
A4
A5
A6
A7
A8
V
CC
A9
A10
A11
(MSB)A12
PGM
40
39
38
37
36
35
34
33
32
31
30
29
28
27
26
E
25
G
24
23
22
21
3.9 kΩ
28
V
CC
27
PGM
26
EPT
25
A8
24
A9
23
A11
G
22
A10
21
E
20
Q8
19
Q7
18
Q6
17
Q5
16
Q4
15
TMS27C64
PINOUT
CAUTION
Although acceptable by some EPROM programmers, the signature mode cannot be used on any ′E1x
device. The signature mode will input a high-level voltage (12.5 Vdc) onto pin A9. Since this pin is not
designed for high voltage, the cell will be damaged. To prevent an accidental application of voltage,
T exas Instruments has inserted a 3.9 kΩ resistor between pin A9 of the TI programmer socket and the
programmer itself.
EIEPROM chip select
EPTIEPROM test mode select
GIEPROM read/verify select
GNDIGround
PGMIEPROM write/program select
Q1-Q8I/OData lines for byte-wide programming of on-chip 8K bytes of EPROM
RSIReset for initializing the device
V
CC
V
PP
I5-V power supply
I12.5-V power supply
Figure 9. TMS320E15/P15 EPROM Programming Conversion to TMS27C64 EPROM Pinout
66
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
T able 5 shows the programming levels required for programming, verifying, reading, and protecting the EPROM cell.
T able 5. TMS320E15/P15 Programming Mode Levels
SIGNAL NAME TMS320E15 PINTMS27C64 PINPROGRAMVERIFYREADPROTECT VERIFY EPROM PROTECT
VIH = TTL high level; VIL = TTL low level; ADDR = byte address bit
VPP = 12.5 V ± 0.25 V; VCC = 5 V ± 0.25 V; X = don’t care
= low-going TTL level pulse; DIN = byte to be programmed at ADDR
PULSE
Q
= byte stored at ADDR; RBIT = ROM protect bit.
OUT
31V
3028V
1014V
IL
IH
PP
CC
SS
SS
SS
SS
IN
programming
Since every memory bit in the cell is a logic 1, the programming operation reprograms certain bits to 0. Once
programmed, these bits can only be erased using ultraviolet light. The correct byte is placed on the data bus
with V
set to the 12.5 V level. The PGM pin is then pulsed low to program in the zeros.
PP
erasure
Before programming, the device must be erased by exposing it to ultraviolet light. 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 about 2.5 cm above the chip during erasure. After
exposure, all bits are in the high state.
V
IL
PULSEPULSEV
IH
V
PP
V
CC
V
SS
V
SS
V
SS
V
SS
Q
OUT
Q
V
V
V
V
V
V
V
V
OUT
IL
IH
CC
CC
SS
SS
SS
SS
VCC + 1V
VCC + 1VCC + 1
Q8=RBITQ8=PULSE
V
IL
IL
V
IH
V
SS
V
SS
V
SS
V
PP
IL
V
IH
V
IH
V
IH
PP
V
SS
V
SS
V
SS
V
PP
IH
X
verify/read
T o verify correct programming, the EPROM cell can be read using either the verify or read line definitions shown
in Table 5, assuming the inhibit bit has not been programmed.
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.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
67
TMS320E15, TMS320P15
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
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 G
Q8-Q1are placed in the high-impedance state.
EPROM protection
T o protect the proprietary algorithms existing in the code programmed on-chip, the ability to read or verify code
from external accesses can be completely disabled. Programming the RBIT disables external access of the
EPROM cell and disables the microprocessor mode, making it impossible to access the code resident in the
EPROM cell. The only way to remove this protection is to erase the entire EPROM cell, thus removing the
proprietary information. The signal requirements for programming this bit are shown in T able 5. The cell can be
determined as protected by verifying the programming of the RBIT shown in the table.
standard programming procedure
Before programming, the device must first be completely erased. Then the device can be programmed with the
correct code. It is advisable to program unused sections with zeroes as a further security measure. After the
programming is complete, the code programmed into the cell should be verified. If the cell passes verification,
the next step is to program the ROM protect bit (RBIT). Once the RBIT programming is verified, an opaque label
should be placed over the window to protect the EPROM cell from inadvertent erasure by ambient light. At this
point, the programming is complete, and the device is ready to be placed into its destination circuit.
and E pins high. While output disable is selected,
program cycle timing
A12-A0
Q8-Q1
V
PP
V
CC
E
PGM
G
Data In Stable
t
su(E)
t
w(IPGM)
t
w(FPGM)
Program
t
su(A)
t
su(D)
t
su(VPP)
t
su(VCC)
Verify
Address StableAddress N+1
t
h(A)
t
su(G)
Data Out
Valid
t
en(G)
t
dis(G)
HI-Z
t
h(D)
V
IH
V
IL
VIH/V
VIL/V
V
PP
V
CC
VCC+1
V
CC
V
IH
V
IL
V
IH
V
IL
V
IH
V
IL
OH
OL
68
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
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 .
NOTE 6: All voltage values are with respect to VSS.
recommended operating conditions
MINNOMMAXUNIT
VCC Supply voltage3.03.33.6V
VSS Supply voltage 0V
All inputs except CLKIN2.0V
V
I
I
High-level input voltageV
IH
Low-level input voltageAll inputs0.55V
IL
High-level output current (all outputs)–300µA
OH
Low-level output current (all outputs) 1.5mA
OL
Operating free-air temperatureT
A
CLKIN2.5V
L version070°C
A version –4085°C
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
VOHHigh-level output voltage
VOLLow-level output voltageIOL = MAX0.5V
IOZ Off-state ouput current
II Input current
CiInput capacitance
CoOutput capacitance
†
All typical values are at VCC = 3.3 V, TA = 25°C.
‡
Values derived from characterization data and not tested.
NOTE 7: This voltage specification is included for interface to HC logic. However, note that all of the other timing parameters defined in this data
sheet are specified for TTL logic levels and will differ for HC logic levels.
Data bus25
All others15
Data bus25
All others10
IOH = MAX2.0V
IOH = 20 µA (see Note 7)VCC – 0.4
VCC =
MAX, VO
VI = VSS to V
VI = VSS to V
f = 1 MHz, All other pins 0 V
= V
CC
VO = V
SS
All inputs except CLKIN±20
CC
CLKIN±50
CC
†
MAXUNIT
‡
20
–20
‡
‡
‡
‡
V
µA
µA
pF
pF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
69
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
A1/PA1
A0/PA0
MC/MP
RS
INT
CLKOUT
X1
X2/CLKIN
BIO
V
SS
D8
D9
D10
D11
D12
D13
D14
D15
D7
D6
N Package
(Top View)
40
1
39
2
38
3
37
4
36
5
35
6
34
7
33
8
32
9
31
10
30
11
29
12
28
13
27
14
26
15
25
16
24
17
23
18
22
19
20
21
A2/PA2
A3
A4
A5
A6
A7
A8
MEN
DEN
WE
V
CC
A9
A10
A11
D0
D1
D2
D3
D4
D5
FN Package
(Top View)
CLKOUT
X1
X2/CLKIN
BIO
NC
V
SS
D8
D9
D10
D11
D12
INTRSMC/MP
7
8
9
10
11
12
13
14
15
16
17
18 19 20 21 22 23 24 25 26 27 28
SS
V
D13
D14
A0/PA0
D15
INTERNAL CLOCK OPTION
SS
A1/PA1
A2/PA2A3A4A5A6
V
123456
44 43 42 41 40
D7D6D5D4D3
D2
SS
V
39
38
37
36
35
34
33
32
31
30
29
A7
A8
MEN
DEN
WE
V
CC
A9
A10
A11
D0
D1
′320LC15
X1X2/CLKIN
Crystal
C1C2
PARAMETER MEASUREMENT INFORMATION
1.75 V
RL = 825 Ω
From Output
Under Test
Figure 10. Test Load Circuit
Test
Point
CL = 100 pF
70
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
CLOCK CHARACTERISTICS AND TIMING
The ′LC15 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 1). The frequency
of CLKOUT is one-fourth the crystal fundamental frequency. The crystal should be fundamental mode, and
parallel resonant, with an effective series resistance of 30 ohms, a power dissipation of 1 mW , and be specified
at a load capacitance of 20 pF.
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Crystal frequency f
C1, C2
x
TA = – 40°C to 85°C
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 table below.
4.016MHz
10pF
switching characteristics over recommended operating conditions
timing requirements over recommended operating conditions
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
†
t
c(C)
‡
Values derived from characterization data and not tested.
Master clock cycle time62.5150ns
Rise time, master clock input5
Fall time, master clock input5
Pulse duration, master clock0.4t
Pulse duration, master clock low at t
Pulse duration, master clock high at t
is the cycle time of CLKOUT, i.e., 4t
c(MC)
min26ns
c(MC)
min26ns
c(MC)
(4 times CLKIN cycle time if an external oscillator is used)
2501000ns
‡
‡
‡
‡
115
MINNOMMAXUNIT
‡
10
‡
10
‡
0.6t
c(MC)
c(MC)
ns
ns
ns
ns
†
ns
†
ns
‡
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
71
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
electrical characteristics over specified temperature range (unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYP
‡
I
CC
†
All typical values are at TA = 70°C and are used for thermal resistance calculations.
‡
ICC characteristics are inversely proportional to temperature. For ICC dependence on frequency, see figure below.
f = 16.0 MHz, VCC = 3.6 V, TA = 0°C to 70°C1520mA
†
MAXUNIT
typical power vs. frequency graph (outputs unloaded)
20.0
15.0
10.0
(mA)I
CC
5.0
0.0
0
§
Device operation is not guaranteed below 4 MHz CLKIN.
Graph is for device in RESET; i.e., only clock-out is driven.
2468
CLKIN Frequency, MHz
–40
°C to 85°C Temperature Range
10
§
V
= 3.5 V
CC
V
= 3 V
CC
1214
16
72
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions
PARAMETERTEST CONDITIONSMINMAXUNIT
t
d1
t
d2
t
d3
t
d4
t
d5
t
d6
t
d7
t
d8
t
d9
t
d10
t
v
t
h(A-WMD)
t
su(A-MD)
†
Values derived from characterization data and not tested.
NOTE 14: Address bus will be valid upon WE
Delay time CLKOUT↓ to address bus valid10
Delay time CLKOUT↓ to MEN↓1/4 t
Delay time CLKOUT↓ to MEN↑–10
Delay time CLKOUT↓ to DEN↓1/4 t
Delay time CLKOUT↓ to DEN↑–10†30ns
Delay time CLKOUT↓ to WE↓1/2 t
Delay time CLKOUT↓ to WE↑–10
Delay time CLKOUT↓ to data bus OUT valid1/4 t
Time after CLKOUT↓that data bus starts to be driven1/4 t
Time after CLKOUT↓that data bus stops being driven1/4 t
Data bus OUT valid after CLKOUT↓1/4 t
Address hold time after WE↑, MEN↑, or DEN↑ (see Note 14)0
Address bus setup time to DEN↓– 4
↑, MEN↑, or DEN↑.
RL = 825Ω,
CL = 100 pF,
(see Figure 2)
TMS320LC15
†
–5†1/4 t
c(C)
†
–5†1/4 t
c(C)
–5†1/2 t
c(C)
†
†
–5
c(C)
–10ns
c(C)
†
†
75n
+25ns
c(C)
30ns
+25ns
c(C)
+25ns
c(C)
30ns
+75ns
c(C)
+60ns
c(C)
s
ns
ns
ns
timing requirements over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
su(D)
t
h(D)
NOTE 9: Data may be removed from the data bus upon MEN↑ or DEN↑ preceding CLKOUT↓.
Setup time data bus valid prior to CLKOUT↓56ns
Hold time, data bus held valid after CLKOUT↓ (see Note 9)0ns
RL = 825Ω,
CL = 100 pF,
(see Figure 2)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
73
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
RESET (RS) TIMING
switching characteristics over recommended operating conditions
TEST CONDITIONSMINNOMMAXUNIT
t
d11
t
dis(R)
†
These parameters do not apply to this device.
Delay time, DEN↑, WE↑, and MEN↑ from RS1/2t
Data bus disable time after RS1/4t
timing requirements over recommended operating conditions
t
su(R)
t
w(R)
NOTE 10: RS can occur anytime during a clock cycle. Time given is minimum to ensure synchronous operation.
Reset (RS) setup time prior to CLKOUT (see Note 10)85ns
RS pulse duration5t
INTERRUPT (INT) TIMING
timing requirements over recommended operating conditions
t
F(INT)
t
w(INT)
t
su(INT)
Fall time, INT15ns
Pulse duration, INTt
Setup time, INT↓ before CLKOUT↓85ns
RL = 825Ω,
CL = 100 pF,
(see Figure 2)
MINNOMMAXUNIT
c(C)
MINNOMMAXUNIT
c(C)
+75ns
c(C)
+75ns
c(C)
ns
ns
I/O (BIO) TIMING
timing requirements over recommended operating conditions
t
f(IO)
t
w(IO)
t
su(IO)
Fall time BIO15ns
Pulse duration BIOt
Setup time BIO↓ before CLKOUT↓85ns
MINNOMMAXUNIT
c(C)
ns
74
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
clock timing
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
t
r(MC)
t
X2/CLKIN
CLKOUT
†
t
d(MCC)
and t
are referenced to an intermediate level of 1.5 V on the CLKIN waveform.
w(MCP)
IN instruction timing
CLKOUT
MEN
c(MC)
t
d(MCC)
t
f(C)
t
f(MC)
†
t
w(MCH)
t
w(MCL)
t
w(CL)
t
c(C)
12
t
r(C)
t
su(A-MD)
t
w(MCP)
†
t
su(D)
t
w(CH)
PA2-PA0
DEN
D15-D0
Legend:
1. IN Instruction Prefetch5. Address Bus Valid
2. Next Instruction Prefetch6. Instruction Valid
3. Address Bus Valid7. Data Input Valid
4. Peripheral Address Valid8. Instruction Valid
345
678
t
d4
t
d5
t
h(D)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
75
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
OUT instruction timing
CLKOUT
MEN
PA2-PA0
WE
D15-D0
Legend:
1. OUT Instruction Prefetch5. Address Bus Valid
2. Next Instruction Prefetch6. Instruction Valid
3. Address Bus Valid7. Data Output Valid
4. Peripheral Address Valid8. Instruction Valid
12
34 5
t
d9
678
external memory read timing
CLKOUT
t
t
d3
d2
t
t
c(C)
d6
t
d8
t
d7
t
t
v
d10
MEN
A11-A0
D15-D0
t
t
d1
su(A-MD)
Address Bus Valid
t
su(D)
Instruction Valid
t
h(A-WMD)
t
h(D)
76
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TBLR instruction timing
CLKOUT
MEN
A11-A0
D15-D0
Legend:
1. TBLR Instruction Prefetch7. Address Bus Valid
2. Dummy Prefetch8. Address Bus Valid
3. Data Fetch9. Instruction Valid
4. Next Instruction Prefetch10. Instruction Valid
5. Address Bus Valid11. Data Input Valid
6. Address Bus Valid12. Instruction Valid
12 3 4
5678
9101112
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
t
t
su(D)
d2
t
d1
t
d3
t
h(D)
t
d3
TBLW instruction timing
CLKOUT
MEN
A11-A0
WE
D15-D0
Legend:
1. TBLW Instruction Prefetch7. Address Bus V alid
2. Dummy Prefetch8. Instruction Valid
3. Next Instruction Prefetch9. Instruction Valid
4. Address Bus Valid10. Data Output Valid
5. Address Bus Valid11. Instruction Valid
6. Address Bus Valid
123
4567
891011
t
d6
t
d8
t
d9
t
d7
t
d10
t
v
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
77
TMS320LC15
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
reset timing
CLKOUT
t
su(R)
RS
DEN
(see
WE
Note E)
MEN
D15-D0
MEN
t
dis(R)
t
d11
Data Shown Relative To WE
t
w(R)
t
su(R)
Data In From
PC ADDR 0
Data In From
PC ADDR PC+1
AB = Address Bus
ADDRESS
BUS
NOTES: A. RS forces DEN, WE, and MEN high and places data bus D0 through D15 in a high-impedance state. AB outputs (and program count-
er) are synchronously cleared to zero after the next complete CLK cycle from RS
B. RS
must be maintained for a minimum of five clock cycles.
C. Resumption of normal program will commence after one complete CLK cycle from RS
D. Due to the synchronization action on RS
cycle.
E. Diagram shown is for definition purpose only . DEN
F. During a write cycle, RS
AB = PCAB = PC+1
, time to execute the function can vary dependent upon when RS↑ or RS↓ occur in the CLK
, WE, and MEN are mutually exclusive.
may produce an invalid write address.
AB = PC = 0
↓.
↑.
AB = PC+1
interrupt timing
CLKOUT
t
su(INT)
INT
t
f(INT)
t
w(INT)
BIO timing
CLKOUT
78
BIO
t
su(IO)
t
f(IO)
t
w(IO)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
Key Features: TMS320C16
• 114-ns Instruction Cycle Time
• 256 Words of On-Chip Data RAM
• 8K Words of On-Chip Program ROM
• 64K Words Total External Memory at
Full Speed
• 8 Level Stack
• 32-Bit ALU/Accumulator
• 16 × 16-Bit Multiplier With 32-Bit Product
• 16-Bit Barrel Shifter
• Eight Input and Eight Output Channels
• Simple Memory and I/O Interface:
— Memory Write Enable Signal MWE
— I/O Write Enable Signal IOWE
I/O/ZProgram memory address bus A15 (MSB) through A0 (LSB) and port addresses PA2 (MSB) through
I/O/ZParallel data bus D15 (MSB) through D0 (LSB). The data bus is always in the high-impedance state
PA0 (LSB). Addresses A15 through A0 are always active and never go to high impedance. During
execution of the IN and OUT instructions, pins A2 through A0 carry the port addresses. (Address pins
A15 through A3 are always driven low on IN and OUT instruction.
except when IOWE
or MWE are active (low).
80
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
TERMINAL FUNCTIONS (concluded)
TMS320C16
PINDESCRIPTION
NAMENO.
BIO64I
IOEN54O
IOWE52O
INT63I
MC/MP62I
MEN56O
MWE53O
1, 12, 18, 19,
NC
RS2I
NAMENO.
CLKOUT9OSystem clock output (one-fourth crystal/CLKIN frequency).
V
DD
V
SS
X13O
X2/CLKIN4I
†
Input/Output/High-impedance state.
24, 29, 33,
50, 51, 55
PIN
26, 57, 58,
59, 60
5, 6, 7, 8,
42, 61
†
I/O/Z
External polling input. Polled by BIOZ instruction. If low, the device branches to the address
specified by the instruction.
Data enable for device input data. When active (low), IOEN indicates that the device will
accept data from the data bus. IOEN
active, MEN
Write enable for device output data. When active (low), IOWE indicates that data will be
output from the device on the data bus. IOWE
IOWE
is active, MEN, IOEN, and MWE will always be inactive (high).
External interrupt input. The interrupt signal is generated by applying a negative-going edge
to the INT
is granted by the device. An active low level will also be sensed.
Memory mode select pin. High selects the microcomputer mode, in which 8K words of
on-chip program memory are available. A low on MC/MP
mode. In this mode, the entire memory space is external; i.e., addresses 0 through 65535.
Memory enable. MEN is an active (low) control signal generated by the device to enable
instruction fetches from program memory . MEN
both internal and external memory. When MEN
inactive (high).
Write enable for device output data. When active (low), MWE indicates that data will be
output from the device on the data bus. MWE
When MWE
—No connection.
Schmitt-triggered input for initializing the device. When held active for a minimum of five
clock cycles. IOEN
D0) is not driven. The program counter (PC) and the address bus (A15 through A0) are then
synchronously cleared after the next complete clock cycle from the falling edge of RS
also disables the interrupt, clears the interrupt flag register, and leaves the overflow mode
register unchanged. The device can be held in the reset state indefinitely.
SUPPLY/OSCILLATOR SIGNALS
†
I/O/Z
I5-V suppy pins.
IGround pins.
Crystal output pin for internal oscillator. If the internal oscillator is not used, this pin should
be left unconnected.
Input pin to the internal oscillator (X2) from the crystal. Alternatively, an input pin for an
external oscillator (CLKIN).
INTERRUPT AND MISCELLANEOUS SIGNALS
is active only during the IN instruction. When IOEN is
, IOWE, and MWE will always be inactive (high).
is active only during the OUT instruction. When
pin. The edge is used to latch the interrupt flag register (INTF) until an interrupt
will be active on instructions fetched from
is active, MWE, IOWE, and IOEN will be
is active only during the TBLW instruction.
is active, MEN, IOEN, and IOWE will always be inactive (high).
, IOWE, MWE, and MEN are forced high; and, the data bus (D15 through
DESCRIPTION
pin enables the microprocessor
. Reset
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
81
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
functional block diagram
X2/CLKINCLKOUT X1
IOEN
MWE
IOWE
MEN
BIO
MC/MP
INT
RS
A15-A0/
PA2-PA0
Controller
MUX
16
16
3
MUX
16
PC (16)
Stack
8 × 16
Program Bus
Program Bus
16 LSB
16
Address
16
Instruction
Program
ROM
(8K Words)
16
MUX
D15-D0
ARP
Legend:
ACC= Accumulator
ARP= Auxiliary Register Pointer
AR0 = Auxiliary Register 0
AR1 = Auxiliary Register 1
DP = Data Page Pointer
P= P Register
PC = Program Counter
T= T Register
AR0 (16)
AR1 (16)
16
8
Data RAM
(256 Words)
7
8
MUX
8
Address
DATA
Data Bus
DP
Shifter (0,1,4)
16
16
16
Shifter
(0–16)
32
32
32
ALU (32)
32
ACC (32)
32
16
16
T(16)
Multiplier
P(32)
32
MUX
32
1616
16
82
Data Bus
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
absolute maximum ratings over operating free-air 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 inputs except CLKIN2V
CLKIN3V
All inputs except MC/MP0.8V
MC/MP0.6V
†
electrical characteristics over recommended operating free-air temperature range (unless
otherwise noted)
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
V
High-level output voltage
OH
V
Low-level output voltageIOL = MAX0.30.5V
OL
I
Off-state output current
OZ
I
IInput current
I
Supply currentf = 35 MHz, VCC = 5.25 V6075mA
CC
C
Input capacitance
i
C
Output capacitance
o
Data bus25
All others15
Data bus25
All others10
IOH = MAX2.43
IOH = 20 µAVCC– 0.4
VCC = MAX
VCC = VSS to V
f = 1 MHz, all other pins 0 V
VO = 2.4 V20
VO = 0.4 V–20
All inputs except CLKIN±20
CC
CLKIN±50
V
µA
µA
pF
pF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
83
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
internal clock option
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
Crystal frequency, f
C1, C2TA = 0°C to 70°C10pF
x
timing requirements over recommended operating conditions
t
c(MC)
t
r(MC)
t
f(MC)
t
w(MCP)
t
w(MCL)
t
w(MCH)
Master clock cycle time28.4928.57150ns
Rise time, master clock input510ns
Fall time, master clock input510ns
Pulse duration, master clock0.45t
Pulse duration, master clock low10ns
Pulse duration, master clock high10ns
switching characteristics over recommended operating conditions
PARAMETERMINNOMMAXUNIT
t
c(C)
t
r(C)
t
f(C)
t
w(CL)
t
w(CH)
t
d(MCC)
CLKOUT cycle time113.96114.3600ns
CLKOUT rise time10ns
CLKOUT fall time8ns
Pulse duration, CLKOUT low49ns
Pulse duration, CLKOUT high
Delay time, CLKIN↑ to CLKOUT↓550ns
TA = 0°C to 70°C6.735.1MHz
MINNOMMAXUNIT
47
0.55t
c(C)
c(C)
ns
ns
84
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
MEMORY AND PERIPHERAL INTERFACE TIMING
switching characteristics over recommended operating conditions
PARAMETERMINNOMMAXUNIT
t
d1
t
d2
t
d3
t
d4
t
d5
t
d6
t
d7
t
d8
t
d9(CLK)
t
d9(MEN)
t
d10(CLK)
t
d10(WE)
t
v
t
h(A-WMD)
t
su(A-MD)
Delay time, MEN↑, MWE↑, IOEN↑, IOWE↑, to next address bus valid035ns
Delay time, CLKOUT↓ to MEN↓
Delay time, CLKOUT↓ to MEN↑–36ns
Delay time, CLKOUT↓ to IOEN↓
Delay time, CLKOUT↓ to IOEN↑–36ns
Delay time, CLKOUT↓ to MWE↓, IOWE↓
Delay time, CLKOUT↓ to MWE↑, IOWE↑–36ns
Delay time, MWE↓, IOwE↓, data bus out valid0ns
Delay time, CLKOUT↓ to data bus starts to be driven
Delay time, MEN↑, to data bus starts to be driven
Delay time, CLKOUT↓ to data bus stops being driven15ns
Delay time, MWE↑, IOWE↑, data bus stops being driven20ns
Data bus OUT valid after MWE↑, IOWE↑510ns
Address bus hold time after MWE↑, MEN↑, IOWE↑, or IOEN↑02ns
Address bus setup time prior to MEN↓, IOEN↓5ns
TMS320C16
1
/4t
–5
c(C)
1
/4t
–5
c(C)
1
/2t
–5
c(C)
1
/4t
–5
c(C)
1
/4t
c(C)
1
1
1
/4t
/4t
/2t
c(C)
c(C)
c(C)
+12ns
+12
ns
+12ns
ns
ns
timing requirements over recommended operating conditions
t
Setup time, data bus valid prior to MEN↑, IOEN↑35ns
su(D)
t
Hold time, data bus held valid after MEN↑, IOEN↑0ns
h(D)
RESET (RS) TIMING
switching characteristics over recommended operating conditions
PARAMETERMINMAXUNIT
t
d11
t
dis(R)
Delay time, IOEN↑, IOWE↑, MWE↑, and MEN↑ from RS
Data bus disable time after RS
timing requirements over recommended operating conditions
t
su(R)
t
w(R)
Reset (RS) setup time prior to CLKOUT30ns
RS pulse duration5t
MINMAXUNIT
1
/2t
+50
c(C)
1
/4t
+50ns
c(C)
MINMAXUNIT
c(C)
ns
ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
85
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
INTERRUPT (INT) TIMING
timing requirements over recommended operating conditions
t
f(INT)
t
w(INT)
t
su(INT)
timing requirements over recommended operating conditions
t
f(IO)
t
w(IO)
t
su(IO)
Fall time, INT15ns
Pulse duration, INTt
Setup time, INT↓ before CLKOUT↓30ns
IO (BIO) TIMING
Fall time, BIO15ns
Pulse duration, BIOt
Setup time, BIO↓ before CLKOUT↓30ns
TIMING DIAGRAMS
MINMAXUNIT
c(C)
MINMAXUNIT
c(C)
ns
ns
Timing measurements are referenced to and from a low voltage of 0.8 volts and a high voltage of 2.0 volts, unless
otherwise noted.
clock timing
†
t
d(MCC)
and t
X2/CLKIN
CLKOUT
w(MCP)
t
r(MC)
t
c(MC)
t
w(MCL)
t
f(MC)
d(MCC)
t
f(C)
†
t
w(CL)
t
are referenced to an intermediate level of 1.5 V on the CLKIN waveform.
t
w(MCH)
t
c(C)
t
w(MCP)
t
r(C)
†
t
w(CH)
86
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
memory read timing
CLKOUT
t
d3
MEN
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
t
c(C)
t
d2
t
t
d1
su(A-MD)
t
h(A-WMD)
A15-A0
D15-D0
IN instruction timing
CLKOUT
MEN
A15-A0
IOEN
D15-D0
Address Bus Valid
t
su(D)
Instruction Input Valid
12
345
t
d4
678
t
su(A-MD)
t
su(D)
t
d5
t
h(D)
t
h(D)
Legend:
1. IN instruction prefetch5. Address bus valid
2. Next instruction prefetch6. Instruction input valid
NOTES: A. RS forces IOEN, IOWE, MWE, and MEN high and places data bus D0 through D15 in a high-impedance state. AB outputs (and
program counter) are synchronously cleared to zero after the next complete CLK cycle from RS
B. RS
must be maintained for a minimum of five clock cycles.
C. Resumption of normal program will commence after one complete CLK cycle from RS
D. Due to the synchronization action on RS
cycle.
E. Diagram shown is for definition purpose only. IOEN
F. During a write cycle, RS
AB = PCAB = PC+1
, time to execute the function can vary dependent upon when RS↑ or RS↓ occur in the CLK
, IOWE, MWE, and MEN are mutually exclusive.
may produce an invalid write address.
AB = PC = 0
↓.
↑.
AB = PC+1
interrupt timing
CLKOUT
t
su(INT)
INT
t
f(INT)
t
w(INT)
BIO timing
CLKOUT
BIO
t
su(IO)
t
f(IO)
t
w(IO)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
89
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
design considerations for interfacing to SRAM, EPROM and peripherals
The ′C16 differs somewhat from the other members of the ′C1x family of digital signal processors (DSPs).
Additional control signals are available for easier interface to external memory or peripherals, and the memory
write cycle timings have been changed.
The discussion here will center around changes in tv and its impact upon SRAM, EPROM and
peripherals/latches interfaces.
Access time requirements for interface may be defined relative to :
1. Valid address (t
2. MEN/IOEN, [(t
);
a
a(MEN)
];
Figure 11 and the following examples summarize these timings at 35 MHz CLKIN.
t
c(C)
t
w(CH)
t
f(C)
CLKOUT
ta(CLKOUT)
t
MEN
A15-A0
D15-D0
d2
t
d1
t
a
t
a(MEN)
t
su(D)
where:
t
a
t
a(MEN)
: (access time from address valid) = t
: (access time from MEN valid) = t
and where (for 35 MHz CLKIN):
t
= 114.3 ns
c(C)
td1 = 35 ns
td2 = [1/4 × (114.3) + 12] ns
t
= 35 ns
su(D)
t
= 47 ns nominal
w(CH)
t
= 8 ns nominal
f(C)
90
Figure 11.
– td1 – t
c(C)
– td2 – t
c(C)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
su(D)
su(D)
= 44.3 ns
+ td3 = 35.73 ns
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
In addition to the above timings, tv must be taken into account. tv is the time that the data bus is
guaranteed to be held after the rising edge of MWE or IOWE. In other ′C1x devices, the value of tv was
referenced to CLKOUT↓ and not WE
that MWE and IOWE must be tied directly to the external device. If required, decode logic must be added
to an input other than the read/write input — for example, the chip select on SRAMs. If the external device
does not have two inputs, then transparent latches must be added to extend the time data is held on the
data bus. These latches must be off the bus prior to the next instruction (see Figure 12).
CLKOUT
or IOWE
MWE
D15-D0
↑ (see Figure 12). For the ′C16, tv is a minimum of 5 ns. This implies
t
v
t
d10
Figure 12.
where:
tv = 5 ns (min)
t
= 15 ns (max)
d10
There is a potential for bus conflict on the prefetch and execution of a TBL W or an OUT instruction. Figure 13
details the timings to be considered. In addition to the timings for the ′C16, timing definitions for interface are
also included.
TBLW or OUT ExecutionDummy Prefetch Cycle
CLKOUT
t
ddeco
MEN
t
dmemh
CE
Memory Driven Data
DSP Driven Data
D15-D0
D15-D0
t
d9(MEN)
t
conf
where:
Figure 13.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
91
TMS320C16
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
t
(data bus conflict time) = t
conf
with:
ddeco
+ t
dmemh
– t
d9(MEN)
t
ddeco
t
dmemh
t
d9
t
d9
If t
If t
: decode delay time to make the CE or OE signal
: memory data hold time from CE or OE
: delay time, MEN to data bus starts being driven
: (at 35 MHz CLKIN) = [1/4t
is less than or equal to zero, data bus conflict does not occur.
conf
is greater than zero, data conflict occurs.
conf
] = [1/4(114.3)] = 28.58 ns
c(C)
Note that the following discussion is for CLKIN of 35 MHz.
static memory with output enable and write enable/chip select
The following SRAMs are able to interface directly to the ′C16, needing only to directly connect the ′C16 memory
control signals MEN and MWE to the memory. Device select decode is accomplished with address decode and
then input to the device chip select.
Without a separate output enable, a faster SRAM is required. Logic is added to decode address and memory
control to perform a read/write cycle. The MWE
the tv specification (see Figure 15).
signal is directly connected to the WE input of the SRAM to meet
Productt
ddeco
CY7C164-257.510– 11.08ns
MWE
MEN
TMS320C16SRAM With CE
A15-AXX
D15-D0
EPROM interface
The following high-speed EPROMs can be used directly:
t
dmemh
Programmable
Logic
7.5 ns
Figure 15.
t
dconfUnits
WE
CE
ADDR
DATA
Productt
ddeco
t
dmemh
t
dconfUnits
CY7C291-35025– 3.58ns
TMS27C291-35025– 3.58ns
TMS320C16
A15-AXX
MEN
D15-D0
Decoder
7.5 ns
V
CC
CS1
CS2
Fast EPROM
TMS27C291-35
CS3
ADDR
DATA
Figure 16.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
93
TMS320C16
DIGITAL SIGNAL PROCESSOR
SPRS009C–JANUARY 1987– REVISED JULY 1991
interfacing latches to the TMS320C16
As with the previous devices, the memory control signal must be directly connected to the latch and the latch
needs to have a separate chip select. There are several devices with this feature, including the SN74ALS996.
The SN74ALS996 is an 8-bit D-type edge-triggered read-back latch with three-state outputs, connected to the
′C16 as illustrated in Figure 17.
TMS320C17, TMS320E17, TMS320LC17, TMS320P17
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
architecture
The ′C17/E17/LC17/P17 consists of five major functional units: the ′C15 microcomputer, a system control
register, a full-duplex dual-channel serial port, companding hardware, and a coprocessor port.
Three of the I/O ports are used by the serial port, companding hardware, and the coprocessor port. Their
operation is determined by the 32 bits of the system control register (see Table 6 for the control register bit
definitions). Port 0 accesses control register 0 and consists of the lower 16 register bits (CR15-CR0), and is used
to control the interrupts, serial port connections, and companding hardware operation. Port 1 accesses control
register 1, consisting of the upper 16 control bits (CR31-CR16), as well as both serial port channels, the
companding hardware, and the coprocessor port channels. Communication with the control register is via IN
and OUT instructions to ports 0 and 1.
Interrupts fully support the serial port interface. Four maskable interrupts (EXINT, FR, FSX, and FSR) are
mapped into I/O port 0 via control register 0. When disabled, these interrupts may be used as single-bit logic
inputs polled by software.
serial port
The dual-channel serial port is capable of full-duplex serial communication and offers direct interface to two
combo-codecs. Two receive and two transmit registers are mapped into I/O port 1, and operate with 8-bit data
samples. Internal and external framing signals for serial port transfers (MSB first) are selected via the system
control register. The serial port clock, SCLK, provides the bit timing for transfers with the serial port, and may
be either an input or output. As an input, an external clock provides the timing for data transfers and framing
pulse synchronization. As an output, SCLK provides the timing for standalone serial communication and is
derived from the ′C17/E17/P17 system clock, X2/CLKIN, and system control register bits CR27-CR24
(see T able 7 for the available divide ratios). The internal framing (FR) pulse frequency is derived from the serial
port clock (SCLK) and system control register bits CR23-CR16. This framing pulse signal provides framing
pulses for combo-codecs, for a sample clock for voice-band systems, or for a timer used in control applications.
µ-law/A-law companding hardware
The ′C17/E17/LC17/P17 features hardware companding logic and can operate in either µ-law or A-law format
with either sign-magnitude or twos-complement numbers. Data may be companded in either a serial mode for
operation on serial port data or a parallel mode for computation inside the device. The companding logic
operation is selected through CR14. No bias is required when operating in twos-complement. A bias of 33 is
required for sign-magnitude in µ-law companding. Upon reset, the device is programmed to operate in
sign-magnitude mode. This mode can be changed by modifying control bit 29 (CR29) in control register 1. For
further information on companding, see the
Single-Chip PCM Codec and Filter Data Sheet
TMS32010/TMS32020,”
(SPRA012A), both documents published by Texas Instruments.
In the serial mode, sign-magnitude linear PCM (13 magnitude bits plus 1 sign bit for µ-law format or 12
magnitude bits plus 1 sign bit for A-law format) is compressed to 8-bit sign-magnitude logarithmic PCM by the
encoder and sent to the transmit register for transmission on an active framing pulse. The decoder converts 8-bit
sign-magnitude log PCM from the serial port receive registers to sign-magnitude linear PCM.
In the parallel mode, the serial port registers are disabled to allow parallel data from internal memory to be
encoded or decoded for computation inside the device. In the parallel encode mode, the encoder is enabled
and a 14-bit sign-magnitude value written to port 1. The encoded value is returned with an IN instruction from
port 1. In the parallel decode mode, the decoder is enabled and an 8-bit sign-magnitude log PCM value is written
to port 1. On the successive IN instruction from port 1, the decoded value is returned. At least one instruction
should be inserted between an OUT and the successive IN when companding is performed with
twos-complement values.
in the book
Digital Signal Processing Applications with the TMS320 Family
0EXINT Interrupt flag
1FSR interrupt flag
2FSX interrupt flag
3FR interrupt flag
4EXINT interrupt enable mask. When set to logic 1, an interrupt on EXINT activates device interrupt circuitry.
5FSR interrupt enable mask. Same as EXINT control.
6FSX interrupt enable mask. Same as EXINT control.
7FR interrupt enable mask. Same as EXINT control.
8
9
10XF external logic output flag latch
11
12
13
14
15
23-16Frame counter modulus. Controls FR frequency = SCLK/(CNT + 2) where CNT is binary value fo CR23-CR16
27-24SCLK prescale cotnrol bits. (See Table 7 for divide ratios.)
28
29
30
31Reserved for future expansion: Should be set to zero.
†
Interrupt flag is cleared by writing a logic 1 to the bit with an OUT instruction to port 0.
‡
All ones in CR23-CR16 indicate a degenerative state and should be avoided. Bits are operational whether SCLK is an input or an output.
CNT must be greater than 7.
Serial Clock
Prescale Control
†
†
†
†
Port 1 configuration control:
External framing enable:
Serial-port enable:
µ-law/A-law encoder enable:
µ-law/A-law decoder enable:
µ-law/A-law decoder encode/decoded select:
Serial clock control:
FR pulse-width control:
Two’ s-complement µ-law/A-law conversion enable:
8/16-bit length coprocessor mode select:
0 = Parallel companding mode; serial port disabled.
1 = serial companding mode; serial port registers enabled.
0 = SCLK is an output, derived from the prescaler in timing logic.
1 = SCLK is an input that provides the clock for serial port and frame counter in timing logic.
0 = port 1 connects to either serial-port registers or companding hardware.
1 = port 1 accesses CR31-CR16.
0 = serial-port data transfers controlled by active FR.
1 = serial-port data transfers controlled by active FSX/FSR.
0 = disabled.
1 = data written to port 1 is µ-law or A-law encoded.
0 = disabled.
1 = data written to port 1 is µ-law or A-law decoded.
0 = fixed-data rate; FR is 1 SCLK cycle wide.
1 = variable-data rate; FR is 8 SCLK cycles wide.
The specification for µ-law and A-law log PCM coding is part of the CCITT G.711 recommendation. The
following diagram shows a ′C17/E17/P17 interface to two codecs as used for µ-law or A-law companding format.
TMS320C17/E17/P17
TCM29C13
DX0
PCM In
Analog Out
Analog In
Analog Out
Analog In
+5 V
V
SS
V
CC
MC
MC/PM
X2
X1
DR0
SCLK
FR
DX1
DR1
PCM Out
CLKR/X
FSX
FSR
TCM29C13
PCM In
PCM Out
CLKR/X
FSX
FSR
coprocessor port
The coprocessor port, accessed through I/O port 5 using IN and OUT instructions, provides a direct connection
to most 4/8-bit microcomputers and 16/32-bit micorprocessors. The coprocessor interface allows the
′C17/E17/P17 to act as a peripheral (slave) microcomputer to a microprocessor, or a master to a peripheral
microcomputer such as TMS7042. The coprocessor port is enabled by setting MC/PM and MC low. The
microcomputer mode is enabled by setting these two pins high. (Note that MC/PM ≠ MC is undefined.)
In the microcomputer mode, the 16 data lines are used for the 6 parallel 16-bit I/O ports.
In the coprocessor mode, the 16-bit coprocessor port is reconfigured to operate as a 16-bit latched bus interface.
Control bit 30 (CR30) in control register 1 is used to configure the coprocessor port to either an 8-bit or a 16-bit
length. When CR30 is high, the coprocessor port is 16 bits wide thereby making all 16 bits of the data port
available for 16-bit transfers to 16 and 32-bit microprocessors. When CR30 is low, the port is 8-bits wide and
mapped to the low byte of the data port for interfacing to 8-bit microcomputers. When operating in the 8-bit mode,
both halves of the 16-bit latch can be addressed using the HI/LO
pin, thus allowing 16-bit transfers over 8 data
lines. When not in the coprocessor mode, port 5 can be used as a generic I/O port.
98
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
TMS320C17, TMS320E17
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987–REVISED JUL Y 1991
coprocessor port (continued)
The external processor recognizes the coprocessor interface in which both processors run asynchronously as
a memory-mapped I/O operation. The external processor lowers the WR line and places data on the bus. It next
raises the WR line to clock the data into the on-chip latch. The rising edge of WR automatically creates an
interrupt to the ′C17/E17/P17, and the falling edge of WR clears the RBLE (receive buffer latch empty) flag.
When the ′C17/E17/P17 reads the coprocessor port, it causes the RBLE signal to transition to a logic low state
that clears the data in the latch, and allows the interrupt condition to be cleared internally . Likewise, the external
processor reads form the latch by driving the RD
data. When the data has been read, the external device will again bring the RD line high. This activates the BIO
line to signal that the transfer is complete and the latch is available for the next transfer. The falling edge of RD
resets the TBLF (transmit buffer latch full) flag. Note that the EXINT and BIO lines are reserved for coprocessor
interface and cannot be driven externally when in the coprocessor mode.
An example of the use of a coprocessor interface is shown in Figure 18, in which the ′C17/E17/P17 are DSPs
interfaced to the TMS70C42, an 8-bit microcontroller.
TMS320C17/E17/P17TMS70C42
3
MC
MC/PM
HI/LO
27
2
line active low, thus enabling the output latch to drive the latched
CLKOUT
WR
RBLE
RD
TBLF
LD7
LD6
LD5
LD4
LD3
LD2
LD1
LD0
6
31
1
32
40
19
20
21
22
23
24
25
26
17
19
20
21
22
23
24
26
27
7
6
9
8
XTAL2
A1
A0
A3
A2
D7
D6
D5
D4
D3
D2
D1
D0
Figure 18. Coprocessor Interface
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
99
TMS320C17, TMS320E17, TMS320LC17, TMS320P17
DIGITAL SIGNAL PROCESSORS
SPRS009C–JANUARY 1987– REVISED JULY 1991
NAMEI/O
BIO
CLKOUT
D15/LD15-D0/LD0
/RD
DEN
DR1, DR0
DX1, DX0
EXINT
FR
FSR
FSX
MC
MC/PM
PA0/HI/LO
PA1/RBLE
PA2/TBLF
RS
SCLK
V
CC
V
SS
WE
/WR
X1
X2/CLKIN
XF
†
See EPROM programming section.
‡
Input/Output/High-impedance state.
TERMINAL FUNCTIONS
‡
I
External polling input
O
System clock output, 1/4 crystal/CLKIN frequency
I/O
16-bit parallel data bus/data lines for coprocessor latch
I/O
Data enable for device input data/external read for output latch
I
Serial-port receive-channel inputs
O
Serial-port transmit-channel outputs
I
External interrupt input
O
Internal serial-port framing output
I
External serial-port receive framing input
I
External serial-port transmit framing input
I
Microcomputer select (must be same state as MC/PM
Microcomputer/peripheral coprocessor select (must be same state as MC)
I
I/O port address output/latch byte select pin
I/O
I/O port address output/receive buffer latch empty flag
O
I/O port address output/transmit buffer latch full flag
O
Reset for initializing the device
I
Serial-port clock
I/O
+ 5 V Supply
I
Ground
I
Write enable for device output data/external write for input latch
O
Crystal output for internal oscillator
O
Crystal input for internal oscillator or external oscillator system clock input
I
External-flag output pin
O
†
DEFINITION
)
100
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77001
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.