Industrial Temperature Version Planned,
(– 40°C to 85°C)
The Texas Instruments (TI) TMS320C206‡ and TMS320LC206‡ digital signal processors (DSPs) are
fabricated with static CMOS integrated-circuit technology. The architectural design is based upon that of the
TMS320C20x series and is optimized for low-power operation. The combination of advanced Harvard
architecture, on-chip peripherals, on-chip memory, and a highly specialized instruction set is the basis of the
operational flexibility and speed of the ’C206.
The ’C206 offers these advantages:
D
Enhanced TMS320 architectural design for increased performance and versatility
D
Advanced integrated-circuit processing technology for increased performance
D
’C206 devices are pin- and code-compatible with ’C203 and ’F206 devices.
D
Source code for the ’C206 DSPs is software-compatible with the ’C1x and ’C2x DSPs and is upwardly
compatible with fifth-generation DSPs (’C5x)
D
New static-design techniques for minimizing power consumption and increasing radiation tolerance
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
†
IEEE Standard 1149.1-1990, IEEE Standard Test-Access Port
‡
Device numbers are hereafter referred to in the data sheet as ’C206, unless otherwise specified.
TI is a trademark of Texas Instruments Incorporated.
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.
T able 1 shows the capacity of on-chip RAM and ROM, the number of serial and parallel I/O ports, the execution
time of one machine cycle, and the type of package with total pin count of the TMS320C206 and TMS320LC206
devices.
Table 1. Characteristics of the TMS320C206 and TMS320LC206 Processors
ON-CHIP MEMORY (16-BIT WORDS)
’x206
TMS320C206288
TMS320LC206288
†
On-chip RAM space B1 (256 words) and B2 (32 words) can be used as data memory only.
‡
On-chip RAM space B0 (256 words) can be used either in data space or program space depending on the value of the CNF bit in the ST1 register.
On-chip SARAM (4K) can be mapped in program space, data space, or both.
Read-select indicates an active, external read cycle. RD is active on all external program, data, and I/O reads.
RD
goes into the high-impedance state when OFF is active low. To implement a glueless zero wait-state
RD45O/Z
WE44O/Z
STRB46O/Z
BR43O/Z
HOLDA6O/Z
XF98O/Z
BIO99I
IO0
IO1
IO2
IO3
RS100I
PLLRS10I
EXT81I
MP/MC2I
NMI17I
HOLD/INT118I
INT2
INT3
†
I = input, O = output, Z = high impedance, PWR = power, GND = ground
96
97
19
20
I/O/Z
8
9
memory interface, the inverted R/W
RD
pin can be programmed to provide an inverted R/W signal instead of RD. The FRDN bit (bit 15) in the PMST
register controls this selection. FRDN=1 chooses R/W
RD
as the “read” signal on pin 45.
Write enable. The falling edge of WE indicates that the device is driving the external data bus (D15–D0). Data
can be latched by an external device on the rising edge of WE
I/O writes. WE
Strobe. STRB is always high unless asserted low to indicate an external bus cycle. STRB goes into the
high-impedance state when OFF
Bus-request. BR is asserted when a global data-memory access is initiated. BR goes into the high-impedance
state when OFF
Hold-acknowledge. HOLDA indicates to the external circuitry that the processor is in a hold state and that the
address, data, and memory control lines are in the high-impedance state so that they are available to the
external circuitry for access of local memory . HOLDA
low.
External flag output (latched software-programmable signal). XF is used for signalling other processors in
multiprocessing configurations or as a general-purpose output pin. XF goes into the high-impedance state
when OFF
Branch control input. When polled by the BCND pma,BIO instruction, ’C206 executes a branch to the
specified program memory address if BIO
Software-controlled input/output by way of the asynchronous serial-port control register (ASPCR). At reset,
IO0–IO3 are configured as inputs. These pins can be used as general-purpose input / output pins or as
handshake control for the UART. IO0–IO3 go into the high-impedance state when OFF
INITIALIZATION, INTERRUPTS, AND RESET OPERATIONS
Reset. RS causes the ’C206 and ’LC206 to terminate execution and forces the program counter to zero.
When RS
various registers and status bits.
Phase locked loop reset. PLLRS resets the PLL to initiate PLL locking. At power up, both PLLRS and RS
should be active (low) to reset the DSP core and the PLL circuitry. The PLL can only be reset along with
the core as shown in Table 2. The state of the PLLRS
tied high or low.
Bootloader mode pin. EXT8 is latched to bit 3 (LEVEXT8) in the PMST register. The bootloader located in
ROM uses EXT8 to determine the type of boot method. If EXT8 is high, the enhanced ’C206 bootloader is
used. If EXT8 is low, the ’C203 style bootloader is used. Refer to the
number SPRU127) for more details regarding the ’C203 style bootloader.
Microprocessor/microcomputer mode select. If MP/MC is low, the on-chip ROM memory is mapped into
program space. When MP/MC
RESET, and its value is latched into bit 0 of the PMST register.
Nonmaskable interrupt. NMI is an external interrupt that cannot be masked by way of the interrupt-mode bit
(INTM) or the interrupt-mask register (IMR). When NMI
vector location. If NMI
HOLD and INT1 share the same pin. Both are treated as interrupt signals. If the MODE bit is 0 in the interrupt
control register (ICR), hold logic can be implemented in combination with the IDLE instruction in software. At
reset, the MODE bit in ICR is zero, enabling the HOLD mode for the pin.
External user interrupts. INT2 and INT3 are prioritized and maskable by the IMR and the INTM. INT2 and INT3
I
can be polled and reset by way of the interrupt flag register (IFR).
goes into the high-impedance state when OFF is active low.
is active low.
MULTI-PROCESSING SIGNALS
is active low.
is active low.
is brought high, execution begins at location 0 of program memory after 16 cycles. RS affects
is high, the device accessess off-chip memory. This pin is only sampled at
is not used, it should be pulled high.
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
signal can be used as the “read” signal in place of RD. The function of the
as the new “read” signal. FRDN=0 (at reset) chooses
. WE is active on all external program, data, and
goes into the high-impedance state when OFF is active
is low.
is active low.
is not applicable for 2 mode and should always be
TMS320C20x User’s Guide
is activated, the processor traps to the appropriate
DR86I
TX93OAsynchronous serial port (ASP/UART) data transmit output pin
RX95IAsynchronous serial port (ASP/UART) data receive pin
TRST79I
TCK78I
TMS81IJT AG test-mode select. TMS is clocked into the TAP controller on the rising edge of TCK.
TDI80IJTAG test-data input. TDI is clocked into the selected register (instruction or data) on a rising edge of TCK.
TDO82O/Z
EMU076I/O/Z
†
I = input, O = output, Z = high impedance, PWR = power, GND = ground
12
13
3
5
Timer output. TOUT signals a pulse when the on-chip timer counts down past zero. The pulse is one CLKOUT1
cycle wide. TOUT goes into the high-impedance state when OFF
Master clock ouput. The CLKOUT1 high pulse signifies the logic phase while the low pulse signifies the latch
phase.
I
Input clock. CLKIN/X2 is the input clock to the device. As CLKIN, the pin operates as the external oscillator
O
clock input and as X2, the pin operates as the internal oscillator input with X1 being the internal oscillator output.
DIV1 and DIV2 are used to configure the on-chip PLL options, providing four clock modes (÷2, ×1, ×2, and ×4)
for a given input clock frequency. Refer to clock options in electrical characteristics section. Note that in the
I
divide-by-2 mode, the PLL is bypassed. DIV1–DIV2 should not be changed unless the RS
SERIAL PORT SIGNALS (SSP AND ASP)
Transmit clock. CLKX is a clock signal for clocking data from the XSR (transmit shift register) to the DX
data-transmit pin. CLKX can be an input if the MCM bit in the synchronous serial-port control register (SSPCR)
is set to 0. CLKX can also be driven by the device at one-half of the CLKOUT1 frequency when
MCM = 1. If the serial port is not being used, CLKX goes into the high-impedance state when OFF is active
low. Value at reset is as an input.
Receive clock. External clock signal for clocking data from the DR (data-receive) pin into the serial-port receive
shift register (RSR). CLKR must be present during serial-port transfers. If the serial port is not being used,
CLKR can be sampled as an input by IN0 bit of the SSPCR.
Frame synchronization pulse for transmit. The falling edge of the FSX pulse initiates the data-transmit process,
beginning the clocking of the SR. Following reset, FSX is an input. FSX can be selected by software to be an
output when the TXM bit in the serial control register, SSPCR, is set to 1. FSX goes into the high-impedance
state when OFF
Frame synchronization pulse for receive input. The falling edge of the FSR pulse initiates the data-receive
process, beginning the clocking of the RSR. FSR goes into the high-impedance state when OFF
Synchronous serial port (SSP) data transmit output. Serial data is transmitted from the transmit shift register
(XSR) through the DX pin. DX is in the high-impedance state when OFF
Synchronous serial port (SSP) data receive input. Serial data is received in the receive shift register (RSR)
through the DR pin.
IEEE Standard 1149.1 (JTAG) test reset. TRST, when active high, gives the scan system control of the
operations of the device. If TRST
are ignored. If the TRST
JTAG test clock. TCK is normally a free-running clock signal with a 50% duty cycle. The changes on the
test-access port (TAP) input signals (TMS and TDI) are clocked into the TAP controller, instruction register,
or selected test-data register on the rising edge of TCK. Changes at the TAP output signal (TDO) occur on the
falling edge of TCK.
JTAG test-data output. The contents of the selected register (instruction or data) are shifted out of TDO on the
falling edge of TCK. TDO is in the high-impedance state except when the scanning of data is in progress.
Emulator pin 0. When TRST is driven low, EMU0 must be high for activation of the OFF condition. When TRST
is driven high, EMU0 is used as an interrupt to or from the emulator system and is defined as an input/output
through the JTAG scan.
is active low.
TEST SIGNALS
is driven low, the device operates in its functional mode, and the test signals
pin is not driven, an external pulldown resistor must be used.
Emulator pin 1. Emulator pin 1 disables all outputs. When TRST is driven high, EMU1 /OFF is used as an
interrupt to or from the emulator system and is defined as an input/output through the JTAG scan. When TRST
is driven low, this pin is configured as OFF. EMU1/ OFF, when active low, puts all output drivers in the
EMU1/OFF77I/O/Z
7
16
V
DD5
V
DD
V
DD
V
SS
†
I = input, O = output, Z = high impedance, PWR = power, GND = ground
‡
For the ’C206, the 3.3-V and 5-V power supplies may be sequenced in any order.
35
PWR5-V I/O power supply (Applicable for TMS320C206 only‡)
50
63
91
7
16
35
PWR3.3-V I/O power supply (Applicable for ’LC206 only)
50
63
91
4
11
PWR3.3-V core power supply (Applicable for both ’C206 and ’LC206 devices‡)
75
14
21
25
30
37
42
48
GNDGround
54
59
65
70
83
88
94
high-impedance state. Note that OFF
multiprocessing applications). Therefore, for the OFF
TRST
= 0
EMU0 = 1
EMU1/OFF
= 0
SUPPLY PINS
is used exclusively for testing and emulation purposes (not for
NOTES: A. Symbol descriptions appear in Table 3 and Table 4.
B. For clarity, the data and program buses are shown as single buses although they include address and data bits.
8
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
IFR
g
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
Table 3. Legend for the ’C206 Internal Hardware Functional Block Diagram
SYMBOLNAMEDESCRIPTION
ACCAccumulator
Asynchronous
ADTR
ARAU
ARB
ARP
ASP
ASPCR
AUX REGS
(AR0–AR7)
BR
BRDBaud-Rate DivisorUsed to set the baud rate of the UART
CCarry
CALU
DARAMDual Access RAM
DP
GREG
IMR
INT#Interrupt TrapsA total of 32 interrupts by way of hardware and/or software are available.
IOSR
IR
Data Transmit and
Receive Register
Auxiliary Register
Arithmetic Unit
Auxiliary Register
Pointer Buffer
Auxiliary Register
Pointer
Universal
Asynchronous
Receive/Transmit
Asynchronous
Serial-Port Control
Register
Auxiliary Registers
0–7
Bus Request
Signal
Central Arithmetic
Logic Unit
Data Memory
Page Pointer
Global Memory
Allocation
Register
Interrupt FlagThe 7-bit IFR indicates that the ’C206 has latched an interrupt pulse from one of the seven maskable
Registerinterrupt sources.
Interrupt Mask
Register
I/O Status
Register
Instruction
Register
32-bit register that stores the results and provides input for subsequent CALU operations. Also includes shift
and rotate capabilities. ACCH is the accumulator high word; ACCL is the accumulator low word.
16-bit read/write register used to transmit data from/receive data into the asynchronous serial port. Note
that the ASP works with 8-bit data.
An unsigned, 16-bit arithmetic unit used to calculate indirect addresses using the auxiliary registers as
inputs and outputs.
See Table 4 for status register field definitions.
See Table 4 for status register field definitions.
ASP is the asynchronous serial port (UART).
ASPCR controls the asynchronous serial-port operation This register contains bits for setting port modes,
enabling/disabling automatic baud-rate detection, selecting the number of stop bits, and configuring I/O
pins, etc.
These 16-bit registers are used as pointers to anywhere within the data space address range. They are
operated upon by the ARAU and are selected by the auxiliary register pointer (ARP). AR0 can also be used
as an index value for AR updates of more than one and as a compare value to AR.
BR is asserted during access of the external global data memory space. READY is asserted to the device
when the global data memory is available for the bus transaction. BR
address space by up to 32K words.
Register carry output from CALU. C is fed back into the CALU for extended arithmetic operation. The C bit
resides in status register 1 (ST1), and can be tested in conditional instructions. C is also used in accumulator
shifts and rotates.
32-bit-wide main arithmetic logic unit for the TMS320C20x core. The CALU executes 32-bit operations in
a single machine cycle. CALU operates on data coming from ISCALE or PSCALE with data from ACC, and
provides status results to PCTRL.
If the on-chip RAM configuration control bit (CNF) is set to 0, the reconfigurable dual-access RAM (DARAM)
block B0 is mapped to data space; otherwise, B0 is mapped to program space. Blocks B1 and B2 are
mapped to data memory space only , at addresses 0300–03FF and 0060–007F, respectively . Blocks 0 and
1 contain 256 words, while Block 2 contains 32 words.
See Table 4 for status register field definitions.
GREG specifies the size of the global data memory space.
IMR individually masks or enables the seven interrupts.
IOSR detects current levels (and changes with inputs) on pins IO0–IO3 and the status of UART.
IR is the instruction register.
can be used to extend the data memory
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
9
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
Table 3. Legend for the ’C206 Internal Hardware Functional Block Diagram (Continued)
SYMBOLNAMEDESCRIPTION
ISCALE
MPYMultiplier
MSTACKMicro Stack
MUXMultiplexerMultiplexes buses to a common input
NPAR
16-bit to 32-bit barrel left-shifter. ISCALE (ISFL) shifts incoming 16-bit data 0 to16 positions left, relative to
the 32-bit output within the fetch cycle; therefore, no cycle overhead is required for input scaling operations.
16 × 16-bit multiplier to a 32-bit product. MPY executes multiplication in a single cycle. MPY operates either
signed or unsigned 2s-complement arithmetic multiply.
MSTACK provides temporary storage for the address of the next instruction to be fetched when
program-address-generation logic is used to generate sequential addresses in data space.
NPAR holds the program address to be driven out on the PAB on the next cycle.
32-bit to 16-bit barrel left-shifter. OSCALE (OSFL) shifts the 32-bit accumulator output 0 to 7 bits left for
quantization management and outputs either the 16-bit high- or low-half of the shifted 32-bit data to the
Data-Write Data Bus (DWEB).
PAR holds the address currently being driven on P AB for as many cycles as it takes to complete all memory
operations scheduled for the current bus cycle.
PC increments the value from NPAR to provide sequential addresses for instruction-fetching and sequential
data-transfer operations.
PCTRL decodes instruction, manages the pipeline, stores status, and decodes conditional operations.
PRD contains the 16-bit period that is loaded into the timer counter when the counter borrows or when the
reload bit is activated. Reset initializes the PRD to FFFFh.
0-, 1- or 4-bit left shift or 6-bit right shift of multiplier product. The left-shift options are used to manage the
additional sign bits resulting from the 2s-complement multiply. The right-shift option is used to scale down
the number to manage overflow of product accumulation in the CALU. PSCALE (PSFL) resides in the path
from the 32-bit product shifter and from either the CALU or the DWEB, and requires no cycle overhead.
16-bit read/write register used to transmit data from/receive data into the synchronous serial port. This
register functions as the path to the transmit and receive FIFOs of the SSP.
SSP is the synchronous serial-port.
SSPCR is the control register for selecting the serial port’s mode of operation.
SSPCT is the synchronous serial-port counter register.
SSPMC is the synchronous serial-port multichannel register.
SSPST is the synchronous serial-port status register.
STACK is a block of memory used for storing return addresses for subroutines and interrupt-service
routines, or for storing data. The ’C20x stack is 16-bit wide and eight-level deep.
TCR contains the control bits that define the divide-down ratio, start/stop the timer, and reload the period.
Also contained in TCR is the current count in the prescaler. Reset initializes the timer divide-down ratio
to 0 and starts the timer.
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
Table 3. Legend for the ’C206 Internal Hardware Functional Block Diagram (Continued)
SYMBOLNAMEDESCRIPTION
TIM
TREG
architectural overview
The ’C206 advanced Harvard-type architecture maximizes the processing power by maintaining two separate
memory bus structures—program and data—for full-speed execution. The multiple buses allow data and
instructions to be read simultaneously. Instructions support data transfers between the two spaces. This
architecture permits coefficients stored in program memory to be read in RAM, eliminating the need for a
separate coefficient RAM. This, coupled with a four-instruction deep pipeline, allows the
TMS320C206/TMS320LC206 to execute most instructions in a single cycle.
status and control registers
Two status registers, ST0 and ST1, contain the status of various conditions and modes. These registers can
be stored into data memory and loaded from data memory , thus allowing the status of the machine to be saved
and restored for subroutines.
Timer-Counter
Register
Temporary
Register
TIM contains the current 16-bit count of the timer. Reset initializes the TIM to FFFFh.
16-bit register holds one of the operands for the multiply operations. TREG holds the dynamic shift count
for the LACT , ADDT, and SUBT instructions. TREG holds the dynamic bit position for the BITT instruction.
The load-status register (LST) instruction is used to write to ST0 and ST1 (except the INTM bit which is not
affected by the LST instruction). The store-status register (SST) instruction is used to read from the ST0 and
ST1. The individual bits of these registers can be set or cleared by the SETC and CLRC instructions. Figure 1
shows the organization of status registers ST0 and ST1, indicating all status bits contained in each. Several bits
in the status registers are reserved and are read as logic 1s. See Table 4 for status-register field definitions.
15–13 12 11 109 87654321 0
ST0
ST1
ARPOVOVM1INTMDP
15–13121110918171615XF41312PM1–0
ARBCNFTCSXMC
Figure 1. Status and Control Register Organization
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
11
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
status and control registers (continued)
Table 4. Status Register Field Definitions
FIELDFUNCTION
ARB
ARP
C
CNF
DP
INTM
OV
OVM
PM
SXM
TC
XF
Auxiliary register pointer buffer . Whenever the ARP is loaded, the old ARP value is copied to the ARB except during an LST
instruction. When the ARB is loaded by an LST #1 instruction, the same value is also copied to the ARP.
Auxiliary register pointer. ARP selects the auxiliary register (AR) to be used in indirect addressing. When the ARP is loaded,
the old ARP value is copied to the ARB register. ARP can be modified by memory-reference instructions when using indirect
addressing, and by the LARP, MAR, and LST instructions. The ARP is also loaded with the same value as ARB when an LST
#1 instruction is executed.
Carry bit. C is set to 1 if the result of an addition generates a carry, or reset to 0 if the result of a subtraction generates a borrow .
Otherwise, C is reset after an addition or set after a subtraction, except if the instruction is ADD or SUB with a 16-bit shift. In
these cases, the ADD can only set and the SUB only reset the carry bit, but cannot affect it otherwise. The single-bit shift and
rotate instructions also affect C, as well as the SETC, CLRC, and LST #1 instructions. Branch instructions have been provided
to branch on the status of C. C is set to 1 on a reset.
On-chip RAM configuration-control bit. If CNF is set to 0, the reconfigurable data DARAM blocks are mapped to data space;
otherwise, they are mapped to program space. The CNF can be modified by the SETC CNF, CLRC CNF, and LST #1
instructions. RS
Data memory page pointer . The 9-bit DP register is concatenated with the seven LSBs of an instruction word to form a direct
memory address of 16 bits. DP can be modified by the LST and LDP instructions.
Interrupt-mode bit. When INTM is set to 0, all unmasked interrupts are enabled. When set to 1, all maskable interrupts are
disabled. INTM is set and reset by the SETC INTM and CLRC INTM instructions. INTM has no effect on the nonmaskable RS
and NMI interrupts. Note that INTM is unaffected by the LST instruction. This bit is set to 1 when a maskable interrupt is
acknowledged or when RS
Overflow-flag bit. As a latched overflow signal, OV is set to 1 when overflow occurs in the ALU. Once an overflow occurs, the
OV remains set until a reset, BCND/D on OV/NOV, or LST instruction clears OV.
Overflow-mode bit. When OVM is set to 0, overflowed results overflow normally in the accumulator. When set to 1, the
accumulator is set to either its most positive or negative value upon encountering an overflow. The SETC and CLRC
instructions set and reset this bit, respectively. LST also can be used to modify the OVM.
Product-shift mode. If these two bits are 00, the multiplier’s 32-bit product is loaded into the ALU with no shift. If PM = 01, the
PREG output is left-shifted one place and loaded into the ALU, with the LSB zero-filled. If PM = 10, the PREG output is
left-shifted by four bits and loaded into the ALU, with the LSBs zero-filled. PM = 1 1 produces a right shift of six bits, sign- extended. Note that the PREG contents remain unchanged. The shift takes place when transferring the contents of the PREG
to the ALU. PM is loaded by the SPM and LST #1 instructions. PM is cleared by RS
Sign-extension mode bit. SXM = 1 produces sign extension on data as it is passed into the accumulator through the scaling
shifter. SXM = 0 suppresses sign extension. SXM does not af fect the definitions of certain instructions; for example, the ADDS
instruction suppresses sign extension regardless of SXM. SXM is set by the SETC SXM and reset by the CLRC SXM
instructions, and can be loaded by the LST #1. SXM is set to 1 by reset.
T est/control flag bit. TC is affected by the BIT , BITT, CMPR, LST #1, and NORM instructions. TC is set to a 1 if a bit tested by
BIT or BITT is a 1, if a compare condition tested by CMPR exists between AR (ARP) and AR0, if the exclusive-OR function
of the two MSBs of the accumulator is true when tested by a NORM instruction. The conditional branch, call, and return
instructions can execute, based on the condition of TC.
XF pin status bit. XF indicates the state of the XF pin, a general-purpose output pin. XF is set by the SETC XF and reset by
the CLRC XF instructions. XF is set to 1 by reset.
sets the CNF to 0.
is asserted.
.
central processing unit
The TMS320C206/TMS320LC206 central processing unit (CPU) contains a 16-bit scaling shifter, a 16 x16-bit
parallel multiplier, a 32-bit central arithmetic logic unit (CALU), a 32-bit accumulator, and additional shifters at
the outputs of both the accumulator and the multiplier. This section describes the CPU components and their
functions. The functional block diagram shows the components of the CPU.
12
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
input scaling shifter
The TMS320C206/TMS320LC206 provides a scaling shifter with a 16-bit input connected to the data bus and
a 32-bit output connected to the CALU. This shifter operates as part of the path of data coming from program
or data space to the CALU, and requires no cycle overhead. It is used to align the 16-bit data coming from
memory to the 32-bit CALU. This is necessary for scaling arithmetic as well as aligning masks for logical
operations.
The scaling shifter produces a left shift of 0 to 16 on the input data. The LSBs of the output are filled with zeros;
the MSBs may either be filled with zeros or sign-extended, depending upon the value of the SXM bit
(sign-extension mode) of status register ST1. The shift count is specified by a constant embedded in the
instruction word or by a value in TREG. The shift count in the instruction allows for specific scaling or alignment
operations specific to that point in the code. The TREG base shift allows the scaling factor to adapt to the
performance of the system.
multiplier
The TMS320C206/TMS320LC206 uses a 16 x16-bit hardware multiplier that is capable of computing a signed
or an unsigned 32-bit product in a single machine cycle. All multiply instructions, except the MPYU (multiply
unsigned) instruction, perform a signed-multiply operation. That is, two numbers being multiplied are treated
as 2s-complement numbers, and the result is a 32-bit 2s-complement number. There are two registers
associated with the multiplier:
D
a 16-bit temporary register (TREG) that holds one of the operands for the multiplier, and
D
a 32-bit product register (PREG) that holds the product.
Four product shift modes (PM) are available at the PREG output (PSCALE). These shift modes are useful for
performing multiply/accumulate operations, performing fractional arithmetic, or justifying fractional products.
The PM field of status register ST1 specifies the PM shift mode, as shown in Table 5.
Table 5. PSCALE Product Shift Modes
PMSHIFTDESCRIPTION
00no shiftProduct fed to CALU or data bus with no shift
01left 1Removes the extra sign bit generated in a 2s-complement multiply to produce a Q31 product
10left 4Removes the extra four sign bits generated in a 16 x13 2s-complement multiply to a produce a Q31
11right 6Scales the product to allow up to 128 product accumulation without the possibility of accumulator overflow
product when using the multiply by a 13-bit constant
The product can be shifted one bit to compensate for the extra sign bit gained in multiplying two 16-bit
2s-complement numbers (MPY). A four-bit shift is used in conjunction with the MPY instruction with a short
immediate value (13 bits or less) to eliminate the four extra sign bits gained in multiplying a 16-bit number by
a 13-bit number. Finally, the output of PREG can be right-shifted six bits to enable the execution of up to
128 consecutive multiply/accumulates without the possibility of overflow.
The L T (load TREG) instruction normally loads TREG to provide one operand (from the data bus), and the MPY
(multiply) instruction provides the second operand (also from the data bus). A multiplication can also be
performed with a 13-bit immediate operand when using the MPY instruction. A product is then obtained every
two cycles. For efficient implementation of multiple products, or multiple sums of products, the CPU provides
pipelining of the TREG load operation with certain CALU operations which use the PREG. These operations
include: load ACC with PREG (L TP); add PREG to ACC (LTA); add PREG to ACC and shift TREG input data
to next address in data memory (LTD); and subtract PREG from ACC (LTS).
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
13
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
multiplier (continued)
Two multiply/accumulate instructions (MAC and MACD) fully utilize the computational bandwidth of the
multiplier, allowing both operands to be processed simultaneously. The data for these operations can be
transferred to the multiplier each cycle by way of the program and data buses. This facilitates single-cycle
multiply/accumulates when used with the repeat (RPT) instruction. In these instructions, the coefficient
addresses are generated by program-address generation (PAGEN), while the data addresses are generated
by data-address generation (DAGEN). This allows the repeated instruction to access the values sequentially
from the coefficient table and step through the data in any of the indirect addressing modes.
The MACD instruction, when repeated, supports filter constructs (weighted running averages) so that as the
sum-of-products is executed, the sample data is shifted in memory to make room for the next sample and to
discard the oldest sample.
The MPYU instruction performs an unsigned multiplication, which greatly facilitates extended-precision
arithmetic operations. The unsigned contents of TREG are multiplied by the unsigned contents of the addressed
data-memory location, with the result placed in PREG. This allows the operands of greater than 16 bits to be
broken down into 16-bit words and processed separately to generate products of greater than 32 bits. The
SQRA (square/add) and SQRS (square/subtract) instructions pass the same value to both inputs of the
multiplier for squaring a data-memory value.
After the multiplication of two 16-bit numbers, the 32-bit product is loaded into the 32-bit product register
(PREG). The product from PREG can be transferred to the CALU or to data memory through the SPH (store
product high) and SPL (store product low) instructions. Note: the transfer of PREG to either the CALU or data
memory passes through the PSCALE shifter and is therefore, affected by the product-shift mode value defined
by the PM bits in the ST1 register. This is important when saving PREG in an interrupt-service routine context
save as the PSCALE shift effects cannot be modeled in the restore operation. PREG can be cleared by
executing the MPY #0 instruction. The product register can be restored by loading the saved low half into TREG
and executing a MPY #1 instruction. The high half is then loaded using the LPH instruction.
central arithmetic logic unit
The TMS320C206/TMS320LC206 CALU implements a wide range of arithmetic and logical functions, the
majority of which execute in a single clock cycle. This arithmetic/logic unit (ALU) is referred to as central to
differentiate it from a second ALU used for indirect address generation called the auxiliary register arithmetic
unit (ARAU). Once an operation is performed in the CALU, the result is transferred to the accumulator (ACC)
where additional operations, such as shifting, may occur. Data that is input to the CALU can be scaled by
ISCALE when coming from one of the data buses (DRDB or PRDB) or scaled by PSCALE when coming from
the multiplier.
The CALU is a general-purpose ALU unit that operates on 16-bit words taken from data memory or derived from
immediate instructions. In addition to arithmetic operations, the CALU can perform Boolean operations,
facilitating the bit-manipulation ability required for a high-speed controller. One input to the CALU is always
provided from the accumulator, and the other input can be provided from the product register (PREG) of the
multiplier or from the output of the scaling shifter (that has been read from data memory or from the ACC). After
the CALU has performed the arithmetic or logical operation, the result is stored in the accumulator.
The TMS320C206/TMS320LC206 supports floating-point operations for applications requiring a large dynamic
range. The NORM (normalization) instruction is used to normalize fixed-point numbers contained in the
accumulator by performing left shifts. The four bits of the TREG define a variable shift through the scaling shifter
for the LACT/ADDT/SUBT (load/add to/subtract from accumulator with shift specified by TREG) instructions.
These instructions are useful in floating-point arithmetic where denormalization of a number is required (that
is, floating-point to fixed-point conversion). They are also useful in the implementation of automatic-gain control
(AGC) at the input of a filter. The BITT (bit test) instruction provides testing of a single bit of a word in data
memory based on the value contained in the four LSBs of TREG.
14
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
central arithmetic logic unit (continued)
The CALU overflow-saturation mode can be enabled/disabled by setting/resetting the OVM bit of ST0. Setting
the OVM status-register bit selects the overflow-saturation mode. When the CALU is in the overflow-saturation
mode and an overflow occurs, the overflow flag is set and the accumulator is loaded with either the most positive
or the most negative value representable in the accumulator, depending upon the direction of the overflow . The
value of the accumulator upon saturation is 07FFFFFFFh (positive) or 080000000h (negative). If the OVM
(overflow mode) status register bit is reset and an overflow occurs, the overflowed results are loaded into the
accumulator without modification. (Logical operations cannot result in overflow.)
The CALU can execute a variety of branch instructions that depend on the status of the CALU and accumulator .
These instructions can be executed conditionally , based on various combinations of the associated status bits.
For overflow management, these conditions include the OV (branch on overflow) and EQ (branch on
accumulator equal to zero). In addition, the BACC (branch to address in accumulator) instruction provides the
ability to branch to an address specified by the accumulator (computed goto). Bit-test instructions (BIT and
BITT), which do not affect the accumulator, allow the testing of a specified bit of a word in data memory.
The CALU also has a carry bit (bit 9 of status register ST1) that facilitates efficient computation of
extended-precision products and additions or subtractions. The carry bit is also useful in overflow management.
The carry bit is affected by the following operations:
D
Additions to and subtractions from the accumulator:
C = 0: When the result of a subtraction generates a borrow.
When the result of an addition does not generate a carry . (Exception: When the ADD instruction is
used with a shift of 16 and no carry is generated, the ADD instruction has no effect on C.)
C = 1: When the result of an addition generates a carry.
When the result of a subtraction does not generate a borrow. (Exception: When the SUB instruction
is used with a shift of 16 and no borrow is generated, the SUB instruction has no effect on C.)
D
Single-bit shifts and rotations of the accumulator value. During a left shift or rotation, the most significant
bit of the accumulator is passed to C; during a right shift or rotation, the least significant bit is passed to C.
Note: the carry bit is set to “1” on a hardware reset.
The ADDC (add to accumulator with carry) and SUBB (subtract from accumulator with borrow) instructions use
the previous value of carry in their addition/subtraction operation.
accumulator
The 32-bit accumulator is the registered output of the CALU. It can be split into two 16-bit segments for storage
in data memory. Shifters at the output of the accumulator provide a left shift of 0 to 7 places. This shift is
performed while the data is being transferred to the data bus for storage. The contents of the accumulator
remain unchanged. When the post-scaling shifter is used on the high word of the accumulator (bits 16–31), the
MSBs are lost and the LSBs are filled with bits shifted in from the low word (bits 0–15). When the postscaling
shifter is used on the low word, the LSBs are zero-filled.
The SFL and SFR (in-place one-bit shift to the left / right) instructions and the ROL and ROR (rotate to the
left/right) instructions implement shifting or rotating of the accumulator contents through the carry bit. The SXM
bit affects the definition of the SFR (shift accumulator right) instruction. When SXM = 1, SFR performs an
arithmetic right shift, maintaining the sign of the accumulator data. When SXM = 0, SFR performs a logical shift,
shifting out the LSBs and shifting in a zero for the MSB. The SFL (shift accumulator left) instruction is not affected
by the SXM bit and behaves the same way in both cases, shifting out the MSB and shifting in a zero. Repeat
(RPT) instructions can be used with the shift and rotate instructions for multiple-bit shifts.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
15
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
auxiliary registers and auxiliary-register arithmetic unit (ARAU)
The ’C206 provides a register file containing eight auxiliary registers (AR0–AR7). The auxiliary registers are
used for indirect addressing of the data memory or for temporary data storage. For indirect data-memory
addressing, the address of the desired memory location is placed into the selected auxiliary register. These
registers are referenced with a 3-bit auxiliary register pointer (ARP) that is loaded with a value from 0
through 7, designating AR0 through AR7, respectively . The auxiliary registers and the ARP can be loaded from
data memory , the ACC, the product register, or by an immediate operand defined in the instruction. The contents
of these registers can also be stored in data memory or used as inputs to the CALU.
The auxiliary register file (AR0–AR7) is connected to the auxiliary register arithmetic unit (ARAU). The ARAU
can autoindex the current auxiliary register while the data-memory location is being addressed. Indexing either
by ±1 or by the contents of the AR0 register can be performed. As a result, accessing tables of information does
not require the CALU for address manipulation; thus, the CALU is free for other operations in parallel.
memory
The ’C206 implements three separate address spaces for program memory , data memory, and I/O. Each space
accommodates a total of 64K 16-bit words. Within the 64K words of data space, the 256 to 32K words at the
top of the address range can be defined to be external global-memory in increments of powers of two, as
specified by the contents of the global-memory allocation register (GREG). Access to global memory is
arbitrated using the global-memory bus request (BR
) signal.
On the ’C206, the first 96 (0 – 5Fh) data-memory locations are allocated for memory-mapped registers or
reserved. This memory-mapped register space contains various control and status registers including those for
the CPU.
The on-chip memory of the ’C206 includes 544 x 16 words of dual-access RAM (DARAM), 4K x 16 single-access
RAM (SARAM), and 32K x 16 program ROM memory . T able 6 shows the mapping of these memory blocks and
the appropriate control bits and pins. Figure 2 shows the effects of the memory control pin MP/MC
control bit CNF on the mapping of the respective memory spaces to on-chip or off-chip. The PON and DON bits
select the SARAM (4K) mapping in program, data, or both. See Table 9 for details on the PMST register, the
PON bit, and the DON bit. At reset, these bits are 1 1, and the on-chip SARAM is mapped in both the program
and data space. The SARAM addresses (800h in data and 8000h in program memory) are accessible in
external memory space, if the on-chip SARAM is not enabled.
At reset, if the MP/MC
external program space. The MP/MC
high, the device is in microprocessor mode. PMST register bits can be read and modified in software. If bit 0
is cleared to 0, the device enters microcomputer mode and program memory addresses from 0000h to 7FFFh
map to on-chip ROM.
If the MP/MC
the on-chip ROM mapped in program space. The on-chip ROM could either contain the bootloader or
customer-specific application code which is then executed.
The on-chip data memory blocks B0 and B1 are 256 16 words each. When CNF = 0, B0 is mapped in data
space at addresses 0200–02FFh. When CNF = 1, B0 is mapped in program space at addresses
0FF00–0FFFFh. The B1 block is always mapped in data space at addresses 0300–03FFh, and B2 block is
always mapped in a data space at addresses 60–7Fh.
pin is held low during reset, the device starts in microcomputer mode and branches to 0000h in
pin is held high, the device starts in microprocessor mode and branches to 0000h in
pin status is latched in the PMST register (bit 0). As long as this bit remains
256 x 16 word dual-access RAM (DARAM) (B0)200h – 2FFh–xxx0
256 x 16 word DARAM (B0)–FF00h – FFFFhxxx1
256 x 16 word DARAM (B1)300h – 3FFh–xxxx
32 x 16 word DARAM (B2)60h – 7Fh–xxxx
32K x 16 word on-chip program memory (ROM)–0000h – 7FFFh0xxx
32K x 16 word external program memory–0000h – 7FFFh1xxx
32K x 16 word external program memory,
if CNF=0 and MP/MC
External program memory, if CNF=1–8000h – FDFFh0x01
4K x 16 word on-chip SARAM (data)800h – 17FFhx10x
4K x 16 word on-chip SARAM (program)–8000h – 8FFFhx01x
4K x 16 word program and data on-chip SARAM
4K x 16 word on-chip SARAMnot availablenot availablex00x
†
The “x” denotes a “don’t care” condition.
‡
The single 4K on-chip SARAM block is accessible from both data and program memory space.
=0
DATA MEMORY
ADDRESS
–8000h – FFFFh0x00
‡
800h – 17FFh8000h – 8FFFhx11x
PROG MEMORY
ADDRESS
MP/MC†DON
†
PON
†
on-chip ROM
The mask-programmable ROM is located in program memory space. Customers can arrange to have this ROM
programmed with contents unique to any particular application. The ROM is enabled or disabled by the state
of the MP/MC
the block of program memory from addresses 0000–7FFFh. (Note: the last 100h words, 7F00–7FFFh, are
reserved for test.) When in microprocessor mode (MP/MC
device’s external program memory space.
control input upon resetting the device. In microcomputer mode (MP/MC = 0), the ROM occupies
= 1), addresses 0000h–7FFFh are located in the
CNF
BIT
†
bootloader
A bootloader is available in the standard ’C206/’LC206 on-chip ROM. This bootloader can be used to
automatically transfer user code from an external source to program memory at power up. If MP/MC
device is sampled low during a hardware reset, execution begins at location 0000h of the on-chip ROM. This
location contains a branch instruction to the start of the bootloader program. User code can be transferred to
the DSP program memory using any one of the following options:
D
8-bit transfer through the Synchronous Serial Port (SSP)
D
8-bit transfer through the Asynchronous Serial Port (ASP)
D
8/16-bit external EPROM
D
8/16-bit parallel port mapped to I/O space address 0001h of the DSP
D
Warm boot option
The standard ’C206/’LC206 on-chip ROM also contains the A-law, µ-law table in addition to the bootloader . (The
A-law table starts at 0400h, and the µ-law table starts at 0500h.)
of the
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
MP/MC
EXT8
OPTION
MODES
BRS WORD AT I/O 0000h
BOOTLOADER OPTION
MODE
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
bootloader (continued)
The required option is chosen by the state of the EXT8 pin during power up and with the help of a boot routine
selection (BRS) word, which is read from I/O address 0000h. The lower 8 bits of the word specify which
bootloader option is to be executed. The BRS word uses a 6-bit source address field (SRCE_AD) in parallel
EPROM mode and a 6-bit entry address field (ADDR_bb) in warm boot mode to arrive at the starting address
of the code. The state of the MP/MC
bootloader options that can be chosen by the EXT8 pin. Table 8 describes the options available in the ’C206
enhanced bootloader and the bit values of the BRS word to select modes.
00Use ’C203 style bootloader1
01Use ’C206 enhanced bootloader2 to 9
10EXT8 has no effect–
11EXT8 has no effect–
and EXT8 pins is copied into the PMST register. Table 7 describes the
Figure 3 shows the program flow of the ’C206 bootloader. See the
number SPRU127
)
for more information about the ’C206 bootloader.
TMS320C20x User’s Guide
(literature
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
19
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
bootloader (continued)
(LEVEXT8 = 0?)
Start
C203
Style
Loader?
Yes
Perform
C203 Style
Bootloading
Warm Boot
(2 LSBs = 11)
Perform UART/
Asynchronous
Serial Load
Perform 8-Bit
Synchronous
Serial Load
(Bit 2 of BRS = 0)
Yes
Yes
No
Serial/
Parallel
Load?
(2 LSBs of
BRS = 00?)
Yes
UART/
Asynchronous
Serial Load?
(Bit 4 of
BRS = 1?)
Yes
Parallel
I/O Load?
(Bit 3 of
BRS = 1?)
No
8-Bit
Synchronous
Serial Load?
(Bit 2 of
BRS = 0?)
NoNo
Yes
8-Bit
EPROM?
(2 LSBs = 01?)
Perform
8-Bit
EPROM
8-Bit
Parallel I/O?
(Bit 2 of
BRS = 0?)
Yes
Perform
8-Bit
Parallel I/O
NoPerform 16-Bit
No
16-Bit
EPROM?
(2 LSBs = 10?)
YesYes
Perform
16-Bit
EPROM
Parallel I/O
(Bit 2 of BRS = 1)
20
No
Perform 16-Bit
Synchronous
Serial Load
(Bit 2 of BRS = 1)
Figure 3. ’C206 Bootloader Program Flow
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
on-chip registers
The TMS320C206/TMS320LC206 includes three registers mapped to internal data space and sixteen (16)
registers mapped to internal I/O space. T able 9 describes these registers and shows their respective addresses.
In the table, DS
NAMEADDRESS
IMRDS@00040000h
GREGDS@00050000h
IFRDS@00060000h
†
refers to data space and IS† refers to I/O space.
Table 9. On-Chip Memory and I/O Mapped Registers
VALUE AT
†
RESET
DESCRIPTION
‡
Interrupt-mask register. This seven-bit register individually masks or enables the seven
interrupts. Bit 0 shares external interrupt INT1
ties to the timer interrupt, TINT
synchronous serial port, SSP . Bit 5, TXRXINT
the asynchronous serial port, ASP . Bit 6 is reserved for monitor-mode-emulation operations
and must always be set to 0 except in conjunction with emulation-monitor operations. Bits
7–15 are not used in the TMS320C206/TMS320LC206. IMR is set to 0 at reset. A bit value
of 0 disables an interrupt, and a value of 1 enables an interrupt.
Global-memory allocation register . This 8-bit register specifies the size of the global memory
space. GREG is set to 0 at reset.
Interrupt-flag register. The seven-bit IFR indicates that the TMS320C206/TMS320LC206
has latched an interrupt from one of the seven maskable interrupts. Bit 0 shares external
interrupt INT1
Bits 3 and 4, RINT
transmit and receive interrupts for the ASP. Bit 6 is reserved for monitor-mode-emulation
operations and must always be set to 0 except in conjunction with emulation-monitor
operations. Writing a 1 to the respective interrupt bit clears an active flag and the respective
pending interrupt. Writing a 1 to an inactive flag has no effect. Bits 7–15 are not used in the
TMS320C206/TMS320LC206. IFR is set to 0 at reset.
Bit 0 - Processor mode status bit (PMST). latches in the MP/MC pin at reset. This bit can
be written to configure microprocessor (1) or microcomputer mode (0). Bits 1 and 2
configure the SARAM mapping either in program memory, data memory, or both. At
reset, these bits are 11, the SARAM is mapped in both program and data space.
DON (bit 2)PON (bit 1)
and HOLD. INT2 and INT3 share bit 1. Bit 2 ties to the timer interrupt, TINT.
and XINT, respectively, are for the SSP. Bit 5, TXRXINT, shares the
. Bits 3 and 4, RINT and XINT, respectively, are for the
and HOLD. INT2 and INT3 share bit 1. Bit 2
, shares the transmit and receive interrupts for
00- SARAM not mapped, address in external
PMSTIS@FFE40006h
CLKIS@FFE80000h
ICRIS@FFEC0000h
†
DS = data space and IS = input/output ports
‡
‘x’ indicates undefined or value based on the pin levels at reset.
01- SARAM in on-chip program memory at 0x8000h
10- SARAM in on-chip data memory at 0x800h
11- SARAM in on-chip program and data memory
Bit 3 - LEVEXT8 bit. This bit captures the status of the EXT8 pin 1 at reset only.
Bit 15 – Fast RD
signal in place of the RD signal (pin 45). This is intended to help achieve zero wait-state
memory interface with slow memory devices. At reset, this bit is 0 and selects RD
signal at pin 45. If the FRDN bit is written with a 1, the read signal at pin 45 is replaced
with the inverted R/W
CLKOUT1 on or off. At reset, this bit is configured as a zero for the CLKOUT1 pin to be active.
If this bit is a 1, CLKOUT1 pin is turned off.
Interrupt-control register. This register is used to determine which interrupt is active since
INT1
and HOLD share the same interrupt vector as INT2 and INT3. A portion of this register
is for mask/unmask (similar to IFR). At reset, all bits are zeroed, thereby allowing the HOLD
mode to be enabled. The MODE bit is used by the hold-generating circuit to determine if a
HOLD
or INT1 is active.
memory
(reset value)
, FRDN. This bit provides software control to select an inverted R/W
as the
signal.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
21
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
on-chip registers (continued)
Table 9. On-Chip Memory and I/O Mapped Registers (Continued)
VALUE AT
NAMEADDRESS
SDTRIS@FFF0xxxxhSynchronous serial port (SSP) transmit and receive register
SSPCRIS@FFF10030h
SSPSTIS@FFF20000hSynchronous serial-port status register
‘x’ indicates undefined or value based on the pin levels at reset.
†
RESET
DESCRIPTION
‡
Synchronous serial-port control register. This register controls serial-port operation as
defined by the register bits.
Asynchronous serial-port control register. This register controls the asynchronous
serial-port operation.
I/O-status register. IOSR is used for detecting current levels on pins IO0–IO3 when defined
as inputs.
Baud-rate generator. 16-bit register used to determine baud rate of UART. No data is
transmitted/received if BRD is zero.
Timer-control register. This ten-bit register contains the control bits that define the
divide-down ratio, start/stop the timer, and reload the period. Also contained in this register
is the current count in the prescaler. Reset initializes the timer divide-down ratio to 0 and
starts the timer.
Timer-period register. This 16-bit register contains the 16-bit period that is loaded into the
timer counter when the counter borrows or when the reload bit is activated. Reset initializes
the PRD to 0xFFFF.
Timer-counter register. This 16-bit register contains the current 16-bit count of the timer.
Reset initializes the TIM to 0xFFFF.
Wait-state generator register. This register contains 12 control bits to enable 0 to 7 wait
states to program, data, and I/O space. Reset initializes WSGR to 0x0FFFh.
external interface
The ’C206 devices can address up to 64K × 16 words of memory (or registers) in each of the program, data,
and I/O spaces. On-chip memory, when enabled, occupies some of this off-chip range. In data space, the high
32K words can be mapped dynamically either locally or globally using the GREG register as described in the
TMS320C20x User’s Guide
asserts BR
low (with timing similar to the address bus).
The CPU of the ’C206 schedules a program fetch, data read, and data write on the same machine cycle. This
is because from on-chip memory , the CPU can execute all three of these operations in the same cycle. However,
the external interface multiplexes the internal buses to one address and one data bus. The external interface
sequences these operations to complete first the data write, then the data read, and finally the program read.
The ’C206 supports a wide range of system-interfacing requirements. Program, data, and I/O address spaces
provide interface to memory and I/O, thus maximizing system throughput. The full 16-bit address and data bus,
along with the PS
, DS, and IS space-select signals, allow addressing of 64K 16-bit words in each of the three
spaces.
I/O design is simplified by having I/O treated the same way as memory. I/O devices are mapped into the I/O
address space using the processor’s external address and data buses in the same manner as memory-mapped
devices.
(literature number SPRU127). A data-memory access that is mapped as global
22
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
external interface (continued)
The ’C206 external parallel interface provides various control signals to facilitate interfacing to the device. The
R/W
output signal is provided to indicate whether the current cycle is a read or a write. The STRB output signal
provides a timing reference for all external cycles. For convenience, the device also provides the RD
WE
output signals, which indicate a read and a write cycle, respectively , along with timing information for those
cycles. The availability of these signals minimizes external gating necessary for interfacing external devices to
the ’C206.
Interface to memory and I/O devices of varying speeds is accomplished by using the READY line. When
transactions are made with slower devices, the ’C206 processor waits until the other device completes its
function and then signals the processor via the READY line. Once a ready indication is provided back to the
’C206 from the external device, execution continues.
and the
The bus request (BR
global memory accesses. Global memory is external data-memory space in which the BR
at the beginning of the access. When an external global memory device receives the bus request, it responds
by asserting the READY signal after the global memory access is arbitrated and the global access is completed.
The TMS320C206/TMS320LC206 supports zero-wait-state reads on the external interface. However, to avoid
bus conflicts, writes take two cycles. This allows the TMS320C206/TMS320LC206 to buffer the transition of the
data bus from input to output (or from output to input) by a half cycle. In most systems,
TMS320C206/TMS320LC206 ratio of reads to writes is significantly large to minimize the overhead of the extra
cycle on writes.
Wait states can be generated when accessing slower external resources. The wait states operate on
machine-cycle boundaries and are initiated either by using READY or by using the software wait-state
generator. READY can be used to generate any number of wait states.
) signal is used in conjunction with the other ’C206 interface signals to arbitrate external
signal is asserted
interrupts and subroutines
The ’C206 implements three general-purpose interrupts, INT3–INT1, along with reset (RS), and the
nonmaskable interrupt (NMI
Internal interrupts are generated by the synchronous serial port (RINT and XINT), by the timer (TINT), UART,
(TXRXINT), and by the software-interrupt (TRAP , INTR and NMI) instructions. Interrupts are prioritized, with RS
having the highest priority, (followed by NMI), and UART having the lowest priority. Additionally, any interrupt
except RS
be cleared, set, or tested using its own dedicated bit in the interrupt flag register (IFR). The reset and NMI
functions are not maskable.
and NMI can be individually masked with a dedicated bit in the interrupt mask register (IMR) and can
), which are available for external devices to request the attention of the processor.
All interrupt vector locations are on two-word boundaries so that branch instructions can be accommodated in
those locations if desired.
A built-in mechanism protects multicycle instructions from interrupts. If an interrupt occurs during a multicycle
instruction, the interrupt is not processed until the instruction completes execution. This mechanism applies to
instructions that are repeated (using the RPT instruction) and to instructions that become multicycle because
of wait states.
Each time an interrupt is serviced or a subroutine is entered, the program counter (PC) is pushed onto an internal
hardware stack, providing a mechanism for returning to the previous context. The stack contains eight locations,
allowing interrupts or subroutines to be nested up to eight levels deep.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
23
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
reset
The ’C206 utilizes an active-low reset (RS and PLLRS) input for the core, peripherals, and PLL.
A minimum pulse duration of six cycles ensures that an asynchronous reset signal properly resets the device.
The ’C206 fetches its first instruction approximately sixteen cycles after the rising edge of RS
The reset action halts all operations whether they are complete or not; therefore, the state of the system and
its data cannot be maintained through the reset operation. For example, if the device is writing to an external
resource when the reset is initiated, the write is aborted; this may corrupt the contents or configuration of system
resources. Therefore, it is necessary to reinitialize the system after a reset.
power-down modes
The ’C206 implements a power-down mode in which the ’C206 core enters a dormant state and dissipates less
power. The power-down mode is invoked by executing an IDLE instruction. While the device is in power-down
mode, the on-chip peripherals continue to operate.
While the ’C206 is in a power-down mode, all of its internal contents are maintained; this allows operation to
continue unaltered when the power-down mode is terminated. All CPU activities are halted when the IDLE
instruction is executed, but the CLKOUT1 pin remains active depending on the status of the CLKOUT1-pin
control register (CLK). The peripheral circuits continue to operate, allowing peripherals such as serial ports and
timers to take the CPU out of its powered-down state. The power-down mode, when initiated by an IDLE
instruction, is terminated upon receipt of an interrupt.
.
software-controlled wait-state generator
Due to the fast cycle time of the ’C206 devices, it is often necessary to operate with wait states to interface with
external logic or memory. For many systems, one wait state is adequate.
The software wait-state generator can be programmed to generate between zero and seven wait states for a
given space. Software wait states are configured by way of the wait-state generator register (WSGR). The
WSGR includes four 3-bit fields to configure wait states for the following external memory spaces: data space
(DSWS), upper program space (PSUWS), lower program space (PSLWS), and I/O space (ISWS). The
wait-state generator enables wait states for a given memory space based on the value of the corresponding
three bits, regardless of the condition of the READY signal. The READY signal can be used to generate
additional wait states. All bits of the WSGR are set to 1 at reset, so that the device can operate from slow memory
immediately after reset.The WSGR register (shown in Figure 4) resides at I/O port FFFCh. See Table 7 for the
bit settings of the various fields in the WSGR for wait-state programming. See Table 8 for a description of the
various WSGR fields.
1514131211109876543210
Reserved
0R/W–1 11R/W–111R/W–111R/W–111
LEGEND:
0 = Always read as zeros, R = Read Access, W= Write Access, – n = Value after reset
External program-space wait states (lower). PSLWS determines that between 0 to 7 wait states are applied to
2–0PSLWS
5–3PSUWS
8–6DSWS
11–9ISWS
15–12ReservedDon’t care. Always read as 0.
all reads and writes to off-chip lower program-space address (0h–7FFFh). The memory cycle can be further
extended using the READY signal. The READY signal does not override the wait states generated by PSL WS.
These bits are set to 1 (active) by reset (RS
External program-space wait states (upper). PSUWS determines that between 0 to 7 wait states are applied to
all reads and writes to off-chip upper program space address (8000h–0FFFFh). The memory cycle can be further
extended using the READY signal. The READY signal does not override the wait states generated by PSUWS.
These bits are set to 1 (active) by reset (RS
External data space wait states. DSWS determines that between 0 to 7 wait states are applied to all reads and
writes to off-chip data space. The memory cycle can be further extended using the READY signal. The READY
signal does not override the wait states generated by DSWS. These bits are set to 1 (active) by reset (RS
External input /output-space wait state. ISWS determines that between 0 to 7 wait states are applied to all reads
and writes to off-chip I/O space. The memory cycle can be further extended using the READY signal. The READY
signal does not override the wait states generated by ISWS. These bits are set to 1 (active) by reset (RS
).
).
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
).
).
timer
The TMS320C206/TMS320LC206 includes a 20-bit timer, implemented with a 16-bit main counter (TIM), and
a 4-bit prescaler counter (PSC). The count values are written into the 16-bit period register (PRD), and the 4-bit
timer divide-down register (TDDR). The TIM and the PRD are 16-bit registers mapped to I/O space, while the
PSC and the TDDR are 4-bit fields of the timer control register (TCR). The TCR is an I/O mapped register which
also includes other control bits for the timer (see Table 9).
When the timer is started, the TIM is loaded with the contents of PRD, and the PSC is loaded with the contents
of the TDDR. The PSC is decremented by one at each CLKOUT1 cycle. On the CLKOUT1 cycle after the PSC
decrements to zero, the PSC is reloaded with the contents of TDDR, and the TIM is decremented by one. That
is, every (TDDR+1) CLKOUT1 cycles, the TIM is decremented by one. When the TIM decrements to zero, it
is reloaded with the contents of the PRD on the following CLKOUT1 cycle, and a new timer interval begins.
Therefore, the timer interrupt rate is defined as follows: CLKOUT1 frequency/[(TDDR+1) (PRD+1)].
The timer can be used to generate periodic CPU interrupts based on CLKOUT1. Each time the TIM decrements
to zero, a timer interrupt (TINT) is generated, and a pulse equal to the duration of a CLKOUT1 cycle is generated
on the TOUT pin. The timer provides a convenient means of performing periodic I/O, context switching , or other
functions.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
25
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
input clock options
The TMS320C206/TMS320LC206 provides multiple clock modes of divide-by-two and multiply-by-one, -two,
or -four. The clock mode configuration cannot be dynamically changed without executing another reset.
synchronous serial port
A full duplex (bidirectional) 8-bit or 16-bit on-chip synchronous serial port provides direct communication with
serial devices such as codecs, serial A/D (analog-to-digital) converters, and other serial systems. The interface
signals are compatible with codecs and many other serial devices. The serial port can also be used for
intercommunication between processors in multiprocessing applications.
For data transmission, three signals are necessary to connect the transmit pins of the transmitting device with
the receive pins of the receiving device. The transmitted serial data signal (DX) sends the actual data. The
transmit frame synchronization signal (FSX) initiates the transfer (at the beginning of the packet), and the
transmit clock signal (CLKX) clocks the bit transfer. The corresponding pins on the receive device are DR, FSR
and CLKR, respectively . When the serial port is not used, the device can be configured to shut off the serial port
internal clocks, allowing the device to run in a lower power mode of operation.
The continuous mode of the synchronous serial port (SSP) provides operation that, once initiated, requires no
further frame synchronization pulses when transmitting at maximum frequency. Both receive and transmit
operations have a four-word deep first-in first-out (FIFO) buffer . The advantage of having a FIFO is to alleviate
the CPU from being loaded with the task of servicing a receive- or transmit-data operation after each word,
allowing a continuous communications stream of 16-bit data packets. The maximum transmission rate for both
transmit and receive operations is CPU divided by two or CLKOUT1(frequency)/2. Therefore, the maximum rate
at 40 million instructions per second (MIPS) is 20 megabits per second (Mbps). The serial port is fully static and
functions at arbitrarily low clocking frequencies. When the serial ports are in reset, the device can be configured
to shut off the serial port internal clocks, allowing the device to run in a lower power mode of operation.
The synchronous serial port also has capabilities to facilitate a glueless interface with multiple codecs and other
peripherals. The SSP registers are complemented with three registers—status register (SSPST), multichannel
register (SSPMC), and counter register (SSPCT). The SSPST includes control and status bits. Additional
control bits are provided in the SSPMC to control the multichannel and prescaled clocks/frames features. The
SSPCT register contains the two 8-bit prescalers to provide variable synchronous shift clock (CLKX) and frame
syncs (FSX).
asynchronous serial port
The asynchronous serial port is full-duplexed and transmits and receives 8-bit data only. For transmit and
receive operations, there is one start bit and one or two configurable stop bits by way of the asynchronous
serial-port control register (ASPCR). Double-buffering of transmit/receive data is used in all modes. Baud rate
generation is accomplished via the baud rate divisor (BRD) register. This port also features an
auto-baud-detection logic.
scan-based emulation
TMS320C206/TMS320LC206 devices incorporate scan-based emulation logic for code-development and
hardware-development support. Scan-based emulation allows the emulator to control the processor in the
system without the use of intrusive cables to the full pinout of the device. The scan-based emulator
communicates with the ’C206 by way of the IEEE 1 149.1 compatible (JTAG) interface. The TMS320C206 and
TMS320LC206 DSPS, like the TMS320F206, TMS320C203, and TMS320LC203, do not include boundary
scan. The scan chain of these devices is useful for emulation function only.
26
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
multiprocessing
The flexibility of the ’C206 allows configurations to satisfy a wide range of system requirements; the device can
be used in a variety of system configurations, including but not limited to the following:
D
A standalone processor
D
A multiprocessor with devices in parallel
D
A slave/host multiprocessor with global memory space
D
A peripheral processor interfaced via processor-controlled signals to another device
For multiprocessing applications, the ’C206 has the capability of allocating global memory space and
communicating with that space via the BR
by more than one device. Global-memory access must be arbitrated. The 8-bit memory-mapped global memory
allocation register (GREG) specifies part of the ’C206’s data memory as global external memory . The contents
of the register determine the size of the global memory space. If the current instruction addresses an operand
within that space, BR
by the READY line.
The TMS320C206/TMS320LC206 supports direct memory access (DMA) to its local (off-chip) program,
data, and I/O spaces. Two signals, HOLD
mechanism. The Hold feature is enabled by clearing the mode bit in the interrupt control register (ICR
IS@FFECh). When the Hold feature is enabled, and HOLD
puts the address, data, and memory control signals (PS
state. When this occurs, the HOLDA
control of the external bus. It is important to note that when the mode bit is set to one, the Hold feature is
disabled, and the HOLD
feature is disabled, and HOLD
signals to enter the high-impedance mode, and it does not cause the assertion of HOLDA
bit is cleared to zero, and the Hold feature is enabled.
is asserted to request control of the bus. The length of the memory cycle is controlled
/INT1 pin functions as a general-purpose interrupt (INT1). That is, when the Hold
/INT1 is asserted, the IDLE instruction does not cause the memory interface
and ready control signals. Global memory is data memory shared
/INT1, an input to the device, and HOLDA, an output, control this
/INT1 is asserted, executing an IDLE instruction
, DS, IS, STRB, R/W, and WE) in a high-impedance
signal is asserted, acknowledging that the processor has relinquished
. At reset, the mode
instruction set
The ’C206 microprocessor implements a comprehensive instruction set that supports both numeric-intensive
signal-processing operations and general-purpose applications, such as multiprocessing and high-speed
control. Source code for the ’C1x and ’C2x DSPs is upwardly compatible with the ’C206.
For maximum throughput, the next instruction is prefetched while the current one is being executed. Because
the same data lines are used to communicate to external data, program, or I/O space, the number of cycles
an instruction requires to execute varies depending upon whether the next data operand fetch is from internal
or external memory. Highest throughput is achieved by maintaining data memory on chip and using either
internal or fast external program memory.
addressing modes
The ’C206 instruction set provides four basic memory-addressing modes: direct, indirect, immediate, and
register.
In direct addressing, the instruction word contains the lower seven bits of the data memory address. This field
is concatenated with the nine bits of the data-memory-page pointer (DP) to form the 16-bit data memory
address. Thus, in the direct-addressing mode, data memory is effectively paged with a total of 512 pages, each
page containing 128 words.
Indirect addressing accesses data memory through the auxiliary registers. In this addressing mode, the address
of the instruction operand is contained in the currently selected auxiliary register. Eight auxiliary registers
(AR0–AR7) provide flexible and powerful indirect addressing. T o select a specific auxiliary register, the auxiliary
register pointer (ARP) is loaded with a value from 0 to 7 for AR0 through AR7, respectively.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
27
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
addressing modes (continued)
There are seven types of indirect addressing: autoincrement or autodecrement, postindexing by either adding
or subtracting the contents of AR0, single-indirect addressing with no increment or decrement, and bit-reversed
addressing [used in Fast Fourier Transforms (FFT s)] with increment or decrement. All operations are performed
on the current auxiliary register in the same cycle as the original instruction, following which the current auxiliary
register and ARP can be modified.
In immediate addressing, the actual operand data is provided in a portion of the instruction word or words. There
are two types of immediate addressing: long and short. In short-immediate addressing, the data is contained
in a portion of the bits in a single-word instruction. In long-immediate addressing, the data is contained in the
second word of a two-word instruction. The immediate-addressing mode is useful for data that does not need
to be stored or used more than once during the course of program execution, such as initialization values,
constants, etc.
The register-addressing mode uses operands in CPU registers either explicitly , such as with a direct reference
to a specific register, or implicitly, with instructions that intrinsically reference certain registers. In either case,
operand reference is simplified because 16-bit values can be used without specifying a full 16-bit operand
address or immediate value.
repeat feature
The repeat function can be used with instructions (as defined in T able 13) such as multiply/accumulates (MAC
and MACD), block moves (BLDD and BLPD), I/O transfers (IN/OUT ), and table read/writes (TBLR/TBLW ).
These instructions, although normally multicycle, are pipelined when the repeat feature is used, and they
effectively become single-cycle instructions. For example, the table-read instruction may take three or more
cycles to execute, but when the instruction is repeated, a table location can be read every cycle.
When using the repeat feature, the repeat counter (RPTC) is loaded with the addressed-data-memory location
if direct or indirect addressing is used, or an 8-bit immediate value if short-immediate addressing is used. The
RPTC register is loaded by the RPT instruction. This results in a maximum of N + 1 executions of a given
instruction when RPTC is loaded with N. RPTC is cleared by reset. Once a repeat instruction (RPT) is decoded,
all interrupts, including NMI (except reset), are masked until the completion of the repeat loop.
instruction set summary
This section summarizes the opcodes of the instruction set for the ’C206 digital signal processor. This
instruction set is a superset of the ’C1x and ’C2x instruction sets. The instructions are arranged according to
function and are alphabetized by mnemonic within each category. The symbols in Table 12 are used in the
instruction set summary table (Table 13). The Texas Instruments ’C20x assembler accepts ’C2x instructions.
The number of words that an instruction occupies in program memory is specified in column 3 of Table 13.
Several instructions specify two values separated by a slash mark (/) for the number of words. In these cases,
different forms of the instruction occupy a different number of words. For example, the ADD instruction occupies
one word when the operand is a short-immediate value or two words if the operand is a long-immediate value.
The number of cycles that an instruction requires to execute is in column 3 of Table 13. All instructions are
assumed to be executed from internal program memory (RAM) and internal data dual-access memory. The
cycle timings are for single-instruction execution, not for repeat mode.
28
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
instruction set summary (continued)
Table 12. Opcode Symbols
SYMBOLDESCRIPTION
AAddress
ACCAccumulator
ACCBAccumulator buffer
ARxAuxiliary register value (0–7)
BITx4-bit field specifies which bit to test for the BIT instruction
BMARBlock-move address register
DBMRDynamic bit-manipulation register
IAddressing-mode bit
II...IIImmediate operand value
INTMInterrupt-mode flag bit
INTR#Interrupt vector number
KConstant
PREGProduct register
PROGProgram memory
RPTCRepeat counter
SHF, SHFT3/4-bit shift value
TCTest-control bit
Two bits used by the conditional execution instructions to represent the conditions TC, NTC, and BIO.
T PMeaning
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
T P
TREGnTemporary register n (n = 0, 1, or 2)
Z L V C
0 0BIO
0 1TC=1
1 0TC=0
1 1None of the above conditions
4-bit field representing the following conditions:
Z: ACC = 0
L:ACC < 0
V:Overflow
C:Carry
A conditional instruction contains two of these 4-bit fields. The 4-LSB field of the instruction is a 4-bit mask field. A 1 in the
corresponding mask bit indicates that the condition is being tested. The second 4-bit field (bits 4–7) indicates the state of the
conditions designated by the mask bits as being tested. For example, to test for ACC ≥ 0, the Z and L fields are set while the
V and C fields are not set. The next 4-bit field contains the state of the conditions to test. The Z field is set to indicate testing
of the condition ACC = 0, and the L field is reset to indicate testing of the condition ACC ≥ 0. The conditions possible with these
8 bits are shown in the BCND and CC instructions. T o determine if the conditions are met, the 4-LSB bit mask is ANDed with
the conditions. If any bits are set, the conditions are met.
low
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
29
TMS320C206, TMS320LC206
DESCRIPTION
ADD
AND immediate with accumulator with shift
2/2
AND immediate with accumulator with shift of 16
2/2
B
Branch unconditionally
2/4
BANZ
Branch on auxiliary register not zero
2/4/2
Branch if TC bit ≠ 0
2/4/2
Branch if TC bit
0
2/4/2
Branch on carry
2/4/2
Branch if accumulator ≥ 0
2/4/2
Branch if accumulator > 0
2/4/2
Branch on I/O status low
2/4/3
Branch if accumulator ≤ 0
2/4/2
Branch if accumulator
0
2/4/2
Branch on no carr
2/4/2
Branch if no overflo
2/4/2
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
instruction set summary (continued)
Table 13. TMS320C206/TMS320LC206 Instruction Set Summary
’x20x
MNEMONIC
ABSAbsolute value of accumulator1/11011111000000000
Add to accumulator with shift1/10010 SHFT IADD RESS
Add to high accumulator1/101100001IADD RESS
Add to accumulator short immediate1/110111000 KKKK KKKK
Add to accumulator long immediate with shift2/2101111111001 SHFT
ADDCAdd to accumulator with carry1/101100000IADD RESS
ADDSAdd to low accumulator with sign extension suppressed1/101100010IADD RESS
ADDTAdd to accumulator with shift specified by T register1/101100011IADD RESS
ADRKAdd to auxiliary register short immediate1/101 111000 KKKK KKKK
AND with accumulator1/101101110IADD RESS
AND
APACAdd P register to accumulator1/11011111000000100
BACCBranch to address specified by accumulator1/41011111000100000
=
BCND
<
y
w
WORDS/
CYCLES
MSBLSB
101111111011SHFT
1011111010000001
01111001IADD RESS
01111011IADD RESS
1110000100000000
1110001000000000
1110001 100010001
1110001 110001100
1110001 100000100
1110000000000000
1110001 111001100
1110001 101000100
1110001 100000001
1110001 100000010
OPCODE
16-Bit Constant
16-Bit Constant
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
Branch Address
30
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
DESCRIPTION
Branch if accumulator ≠ 0
2/4/2
BCND
Branch on overflo
2/4/2
Branch if accumulator
0
2/4/2
Block move from data memory to data memory source immediate
2/3
BLDD
†
Block move from data memory to data memory destination immediate
2/3
BLPD
Block move from program memory to data memor
2/3
CALL
Call subroutine
2/4
CC
Conditional call subroutine
2/4/2
IN
Input data from port
2/2
LACC
Load accumulator long immediate with shift
2/2
instruction set summary (continued)
Table 13. TMS320C206/TMS320LC206 Instruction Set Summary (Continued)
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
’x20x
MNEMONIC
w
=
BITTest bit1/10100BITxIADDRESS
BITTTest bit specified by TREG1/101101111IADDRESS
p
CALACall subroutine indirect1/41011111000110000
Configure block as data memory1/11011111001000100
Enable interrupt1/11011111001000000
Reset carry bit1/11011111001001110
CLRC
CMPLComplement accumulator1/11011111000000001
CMPRCompare auxiliary register with auxiliary register AR01/110111111010001CM
DMOVData move in data memory1/101110111IADDRESS
IDLEIdle until interrupt1/11011111000100010
INTR
†
In ’C20x devices, the BLDD instruction cannot be used with memory-mapped registers IMR, IFR, and GREG.
Zero low accumulator and load high accumulator1/101101010IADDRESS
Zero low accumulator and load low accumulator with no sign extension1/101101001IADDRESS
LACTLoad accumulator with shift specified by T register1/101101011IADDRESS
Load auxiliary register1/200000ARxIADDRESS
Load auxiliary register short immediate1/210110ARxKKKK KKKK
Load status register ST11/200001111IADDRESS
LTLoad TREG1/101 110011IADDRESS
LTALoad TREG and accumulate previous product1/101 110000IADDRESS
LTDLoad TREG, accumulate previous product, and move data1/101110010IADDRESS
LTPLoad TREG and store P register in accumulator1/101 110001IADDRESS
LTSLoad TREG and subtract previous product1/101 110100IADDRESS
Multiply (with TREG, store product in P register)1/101010100IADDRESS
Multiply immediate1/1110C KKKK KKKKKKKK
MPYAMultiply and accumulate previous product1/101010000IADDRESS
MPYSMultiply and subtract previous product1/101010001IADDRESS
MPYUMultiply unsigned1/101010101IADDRESS
NEGNegate accumulator1/11011111000000010
NMI
NOPNo operation1/11000101100000000
NORMNormalize contents of accumulator1/110100000IADDRESS
OR
OUTOutput data to port2/3
PACLoad accumulator with P register1/1101 1111000000011
Nonmaskable interrupt1/41011111001010010
OR with accumulator1/101101101IADDRESS
WORDS/
CYCLES
MSBLSB
1011111100001ARx
10100010IADDRESS
1010001 1IADDRESS
101111111100SHFT
1011111010000010
0000
16BIT
OPCODE
16-Bit Constant
16-Bit Constant
16-Bit Constant
16-Bit Constant
16-Bit Constant
1100
IADD
I/O
PORT
RESS
ADRS
32
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
DESCRIPTION
RPT
SST
SPLK
Store long immediate to data memor
2/2
Subtract from accumulator long immediate with shift
2/2
instruction set summary (continued)
Table 13. TMS320C206/TMS320LC206 Instruction Set Summary (Continued)
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
’x20x
MNEMONIC
POPPop top of stack to low accumulator1/11011111000110010
POPDPop top of stack to data memory1/110001010IADDRESS
PSHDPush data-memory value onto stack1/101 110110IADDRESS
PUSHPush low accumulator onto stack1/11011111000111100
RETReturn from subroutine1/41110111100000000
SACHStore high accumulator with shift1/110011SHFIADDRESS
SACLStore low accumulator with shift1/110010SHFIADDRESS
SARStore auxiliary register1/110000ARxIADDRESS
SBRKSubtract from auxiliary register short immediate1/101 111100KKKK KKKK
SETC
SFLShift accumulator left1/11011111000001001
SFRShift accumulator right1/11011111000001010
SPACSubtract P register from accumulator1/11011111000000101
SPHStore high-P register1/110001101IADDRESS
SPLStore low-P register1/110001100IADDRESS
SPMSet P register output shift mode1/110111111IADD RESS
SQRASquare and accumulate1/101010010IADDRESS
SQRSSquare and subtract previous product from accumulator1/101010011IADDRESS
SUB
Conditional return from subroutine1/4/2111011TPZLVCZLVC
Repeat instruction as specified by data-memory value1/100001011IADDRESS
Repeat instruction as specified by immediate value1/1101 11011KKKK KKKK
Set carry bit1/11011111001001111
Configure block as program memory1/11011111001000101
Disable interrupt1/11011111001000001
Set overflow mode1/11011111001000011
Set test/control flag1/11011111001001011
Set external flag XF1/11011111001001 101
Set sign-extension mode1/11011111001000111
Store status register ST01/110001110IADDRESS
Store status register ST11/110001111IADDRESS
y
Subtract from accumulator with shift1/1001 1SHFTIADDRESS
Subtract from high accumulator1/101100101IADDRESS
Subtract from accumulator short immediate1/110111010KKKK KKKK
WORDS/
CYCLES
MSBLSB
10101110IADD RESS
101111111010SHFT
OPCODE
16-Bit Constant
16-Bit Constant
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
33
TMS320C206, TMS320LC206
DESCRIPTION
Exclusive-OR immediate with accumulator with shift
2/2
Exclusive-OR immediate with accumulator with shift of 16
2/2
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
instruction set summary (continued)
Table 13. TMS320C206/TMS320LC206 Instruction Set Summary (Continued)
’x20x
MNEMONIC
SUBBSubtract from accumulator with borrow1/101100100IADDRESS
SUBCConditional subtract1/100001010IADDRESS
SUBSSubtract from low accumulator with sign extension suppressed1/101100110IADDRESS
SUBTSubtract from accumulator with shift specified by TREG1/101100111IADDRESS
TBLRTable read1/310100110IADDRESS
TBLWT able write1/310100111IADDRESS
TRAPSoftware interrupt1/41011111001010001
Exclusive-OR with accumulator1/101101100IADDRESS
XOR
ZALRZero low accumulator and load high accumulator with rounding1/101101000IADDRESS
WORDS/
CYCLES
MSBLSB
101111111101SHFT
1011111010000011
OPCODE
16-Bit Constant
16-Bit Constant
development support
Texas Instruments offers an extensive line of development tools for the ’x20x generation of DSPs, including
tools to evaluate the performance of the processors, generate code, develop algorithm implementations, and
fully integrate and debug software and hardware modules.
The following products support development of ’x20x-based applications:
Software Development Tools:
Assembler/Linker
Simulator
Optimizing ANSI C Compiler
Application Algorithms
C/Assembly Debugger and Code Profiler
†
Hardware Development Tools:
Emulator XDS510 (supports ’x20x multiprocessor system debug)
The
TMS320 Family Development Support Reference Guide
(literature number SPRU011) contains
information about development-support products for all TMS320 family member devices, including
documentation. Refer to this document for further information about TMS320 documentation or any other
TMS320 support products from Texas Instruments. There is also an additional document, the
Third-Party Support Reference Guide
(literature number SPRU052), which contains information about
TMS320
TMS320-related products from other companies in the industry . T o receive copies of TMS320 literature, contact
the Literature Response Center at 800/477-8924.
See Table 14 for complete listings of development-support tools for the ’C20x. For information on pricing and
availability, contact the nearest TI field sales office or authorized distributor.
†
The T exas Instruments C Source Debugger, Revision 1.00.01, is not compatible with ’C206/’LC206 silicon revisions. Contact TI for more information
regarding the most recent debugger revision and release.
XDS510 is a trademark of Texas Instruments Incorporated.
To designate the stages in the product development cycle, Texas Instruments assigns prefixes to the part
numbers of all TMS320 devices and support tools. Each TMS320 member has one of three prefixes: TMX, TMP ,
and TMS. T exas Instruments recommends two of three possible prefix designators for its support tools: TMDX
and TMDS. These prefixes represent evolutionary stages of product development from engineering prototypes
(TMX/TMDX) through fully qualified production devices/tools (TMS/TMDS). This development flow is defined
below.
Device Development Evolutionary Flow:
TMXExperimental device that is not necessarily representative of the final device’s electrical
specifications
TMPFinal silicon die that conforms to the device’s electrical specifications but has not completed
quality and reliability verification
TMSFully qualified production device
Support Tool Development Evolutionary Flow:
TMDXDevelopment-support product that has not yet completed T exas Instruments internal qualification
testing
TMDSFully qualified development-support product
TMX and TMP devices and TMDX development-support tools are shipped against the following disclaimer:
“Developmental product is intended for internal evaluation purposes.”
TMS devices and TMDS development-support tools have been fully characterized, and the quality and reliability
of the device have been fully demonstrated. Texas Instruments standard warranty applies.
Predictions show that prototype devices ( TMX or TMP) will have a greater failure rate than the standard
production devices. Texas Instruments recommends that these devices not be used in any production system
WIN and Windows are trademarks of Microsoft Corporation.
Code Composer is a trademark of Go DSP Inc.
SPARC is a trademark of SPARC International, Inc.
PC-DOS and OS/2 are trademarks of International Business Machines Corp.
HP is a trademark of Hewlett-Packard Company.
XDS510XL and XDS510WS are trademarks of Texas Instruments Incorporated.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
35
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
device and development-support tool nomenclature (continued)
because their expected end-use failure rate is still undefined. Only qualified production devices are to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the package
type (for example, PZ) and temperature range (for example, A). The following figures provide a legend for
reading the complete device name for any TMS320 family member.
C = CMOS (5-V, 3.3-V core)
E = CMOS EPROM
F = CMOS Flash EEPROM
LC = Low-V oltage CMOS (3.3 V)
VC= Low-Voltage CMOS (3 V)
†
For TMS320C206PZ, TMS320LC206PZ devices with this temperature range, L is not printed on package.
‡
TQFP = Thin Quad Flat Package
§
The TMS320C203 is a bootloader device without the B option.
§
PACKAGE TYPE
PZ = 100-pin plastic TQFP
PN = 80-pin TQFP
DEVICE
’20x DSP
Figure 5. TMS320x20x Device Nomenclature
documentation support
Extensive documentation supports all of the TMS320 family generations of devices from product
announcement through applications development. The types of documentation available include: data sheets,
such as this document, with design specifications; complete user’s guides for all devices and
development-support tools; and hardware and software applications.
For general background information on DSPs and TI devices, see the three-volume publication
Processing Applications With the TMS320 Family
Also available is the
Calculation of TMS320C20x Power Dissipation
(literature numbers SPRA012, SPRA016, and SPRA017).
application report (literature number
SPRA088).
Digital Signal
For further information regarding the ’C206 and ’LC206, please refer to the
(literature number SPRU127) and the
TMS320 DSP Development Support Reference Guide
TMS320C20x User’s Guide
(literature number
SPRU01 1F).
A series of DSP textbooks is published by Prentice-Hall and John Wiley & Sons to support DSP research and
education. The TMS320 newsletter,
Details on Signal Processing
, is published quarterly and distributed to
update TMS320 customers on product information. The TMS320 DSP bulletin board service (BBS) provides
access to information pertaining to the TMS320 family , including documentation, source code, and object code
for many DSP algorithms and utilities. The BBS can be reached at 281/274-2323.
Information regarding TI DSP products is also available on the Worldwide Web at http://www .ti.com uniform
resource locator (URL).
To send comments regarding the ’C206/’LC206 datasheet (SPRS065B), use the
comments@books.sc.ti.com
email address, which is a repository for feedback. For questions and support, contact the Product Information
Center listed at the back of the datasheet.
36
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
V
IH
gg,
V
CLKIN/X2
VILLow-level input voltage
RS, CLKR, CLKX, RX
All other inputs
TAOperating free-air temperature
°C
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
absolute maximum ratings over operating free-air temperature range (unless otherwise noted)
Operating free-air temperature range, T
Storage temperature range, T
†
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
NOTE 1: All voltage values are with respect to VSS.
Refer to the mechanical data package page for thermal resistance values, ΘJA (junction-to-ambient) and ΘJC (junction-to-case).
High-level output current– 300µA
Low-level output current2mA
p
TMS320C206PZ, TMS320LC206PZ070
p
TMS320C206PZA,
TMS320LC206PZA
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
– 4085
°
37
TMS320C206, TMS320LC206
V
g
V
V
V
EMU0,EMU1
OZ
g
ODD
TRST
10
250
µ
Su ly current
in PLLx1 mode
RAM
’C206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
electrical characteristics over recommended ranges of supply voltage and operating free-air
temperature
PARAMETERTEST CONDITIONSMINTYPMAX UNIT
All other inputs/X1
All other inputs/X1
CLKIN/X2–300300
FSX, FSR,
CLKR, CLKX,
TRST
(with internal
pulldown)
PLLRS, TCK
TDI, TMS
EMU0, EMU1
(with internal
pullup)
All other inputs– 1010
EMU0, EMU1
(with internal
pullup)
FSX, FSR,
CLKR, CLKX,
(with internal
pull down)
All other
3-state outputs
CPU – (3.3 V)45
I/O - (5V)10
2.4/2.0
2.4/2.0
0.6
– 10250
–20010
–20010
–20010
–
–1010
15pF
15pF
µA
µA
mA
I
I
I
C
C
OH
OL
I
OZ
DD
i
o
High-level
output voltage
Low-level
output voltage
Input current
Output current,
high-impedance
state (off-state)
pp
Input
capacitance
Output
capacitance
3.3-V operation, IOH = MAX
5-V operation, IOH = MAX
3.3-V operation, IOL = MAX0.6
5-V operation, IOL = MAX
3.3-V/5-V operation, VI = VDD or 0 V
3.3-V/5-V operation,VO = VDD or 0 V
–Device running
with external clock
–Dummy code
execution in B0
(NOPS and MACD)
3.3-V operation
f
CLKOUT
5-V/3.3-V
f
CLKOUT
= 40 MHz
= 40 MHz
’LC20650
’
38
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
PARAMETER MEASUREMENT INFORMATION
I
OL
Tester Pin
Electronics
V
LOAD
Where: I
OL
I
OH
V
LOAD
C
T
50 Ω
C
T
I
OH
= 2 mA (all outputs)
= 300 µA (all outputs)
= 1.5 V
= 40-pF typical load-circuit capacitance
Figure 6. Test Load Circuit
Output
Under
Test
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
39
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
PARAMETER MEASUREMENT INFORMATION
signal-transition levels
The data in this section is shown for the 3.3-V and 5-V versions of the ’x20x. Note that some of the signals use
different reference voltages, see the recommended operating conditions table. TTL-output levels are driven to
a minimum logic-high level of 2.4 V and to a maximum logic-low level of 0.6 V.
Figure 7 shows the TTL-level outputs.
2.4 V (VOH)
80%
20%
0.6 V (VOL)
Figure 7. TTL-Level Outputs
TTL-output transition times are specified as follows:
D
For a
high-to-low transition
total voltage range and lower and the level at which the output is said to be low is 20% of the total voltage
range and lower.
, the level at which the output is said to be no longer high is below 80% of the
D
For a
low-to-high transition
range and higher and the level at which the output is said to be high is 80% of the total voltage range and
higher.
Figure 8 shows the TTL-level inputs.
TTL-compatible input transition times are specified as follows:
D
For a
high-to-low transition
of the total voltage range and lower and the level at which the input is said to be low is 10% of the total voltage
range and lower.
D
For a
low-to-high transition
of the total voltage range and higher and the level at which the input is said to be high is 90% of the total
voltage range and higher.
, the level at which the output is said to be no longer low is 20% of the total voltage
2.0 V (VIH)
90%
10%
0.8 V (VIL)
Figure 8. TTL-Level Inputs
on an input signal, the level at which the input is said to be no longer high is 90%
on an input signal, the level at which the input is said to be no longer low is 10%
40
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
PARAMETER MEASUREMENT INFORMATION
timing parameter symbology
Timing parameter symbols used are created in accordance with JEDEC Standard 100-A. To shorten the
symbols, some of the pin names and other related terminology have been abbreviated as follows:
AAddress or A[15:0]MAddress, data, and control signals:
CICLKIN/X2MSMemory strobe pins IS
CLKRSerial-port receive clockRREADY
CLKXSeria-port transmit clockRDRead cycle or RD
COCLKOUT1RSRESET pins RS or RS
DData or D[15:0]SSTRB or synchronous
FRFSRTPTransitory phase
FXFSXWWrite cycle or WE
HHOLD
HAHOLDA
ININTN: BIO, INT1–INT3, NMI
IOIOx: IO0, IO1, IO2, or IO3
Lowercase subscripts and their meanings are:The following letters and symbols and their meanings are:
aaccess timeHHigh
ccycle time (period)LLow
ddelay timeIVInvalid
disdisable timeHZHigh impedance
enenable timeXUnknown, changing, or don’t care level
ffall time
hhold time
rrise time
susetup time
ttransition time
vvalid time
wpulse duration (width)
(A, D, MS, S. BR
, RD, W, and R/W)
, DS, or PS
general notes on timing parameters
All output signals from the TMS320x206 devices (including CLKOUT1) are specified from an internal clock such
that all output transitions for a given half cycle occur with a minimum of skewing relative to each other.
The signal combinations shown in the following timing diagrams may not necessarily represent actual cycles.
For actual cycle examples, refer to the appropriate cycle description section of this data sheet.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
41
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
CLOCK CHARACTERISTICS AND TIMING
clock options
PARAMETERDIV2DIV1
Internal divide-by-two with external crystal or external oscillator00
PLL multiply-by-one01
PLL multiply-by-two10
PLL multiply-by-four11
internal divide-by-two clock option with external crystal
†
The internal oscillator is enabled by connecting a crystal across X1 and CLKIN/X2. The crystal should be in
either fundamental or overtone operation and parallel resonant, with an effective series resistance of 30 Ω and
a power dissipation of 1 mW; it should be specified at a load capacitance of 20 pF. Note that overtone crystals
require an additional tuned-LC circuit. Figure 9 shows an external crystal (fundamental frequency) connected
to the on-chip oscillator.
X1CLKIN/X2
Crystal
C1C2
NOTE A: Texas Instruments encourages customers to submit samples of the device to the resonator/crystal vendor for full characterization.
Figure 9. Internal Clock Option
†
PLL modes can also be used with the on-chip oscillator. However , in this case, the PLL lock time should be based on stable clock from the on-chip
oscillator.
42
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
(CO)
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
timing at VDD = 3.3 V/5 V with the PLL circuit disabled, divide-by-two mode (’C206, ’LC206)
PARAMETERTEST CONDITIONSMINNOMMAXUNIT
f
Input clock frequencyTA = –40°C to 85°C, 3.3 V/5 V0
x
†
This device is implemented in static logic and therefore can operate with t
approaching ∞. The device is characterized at 340 ns cycle.
c(CI)
switching characteristics over recommended operating conditions [H = 0.5t
PARAMETER
t
c(CO)
t
d(CIH-CO)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
†
This device is implemented in static logic and therefore can operate with t
Cycle time, CLKOUT1252t
Delay time, CLKIN high to CLKOUT1 high/low118ns
Fall time, CLKOUT15ns
Rise time, CLKOUT15ns
Pulse duration, CLKOUT1 lowH – 3H +3ns
Pulse duration, CLKOUT1 highH – 3H + 3ns
approaching ∞. The device is characterized at 340 ns cycle.
c(CI)
†
] (see Figure 10)
c(CO)
’320C206-80
’320LC206-80
MINTYPMAX
c(CI)
80.0MHz
†
timing requirements (see Figure 10)
’320C206-80
’320LC206-80
MINMAX
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
†
This device is implemented in static logic and therefore can operate with t
Cycle time, CLKIN12.5
Fall time, CLKIN5ns
Rise time, CLKIN5ns
Pulse duration, CLKIN low5
Pulse duration, CLKIN high5
approaching ∞. The device is characterized at 340 ns cycle.
c(CI)
†
†
†
†
UNIT
ns
UNIT
ns
ns
ns
CLKIN
CLKOUT1
t
t
c(CI)
t
d(CIH-CO)
t
f(CI)
t
c(CO)
w(CIH)
t
w(COL)
t
w(CIL)
t
r(CI)
t
r(CO)
t
w(COH)
t
f
Figure 10. CLKIN-to-CLKOUT1 Timing Without PLL (using ÷2 clock option)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
43
TMS320C206, TMS320LC206
()
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
timing at VDD = 3.3 V/5 V with the PLL circuit enabled (’C206/’LC206)
switching characteristics over recommended operating conditions [H = 0.5t
’320C206-80
’320LC206-80
MINTYPMAX
t
c(CO)
t
f(CO)
t
r(CO)
t
w(COL)
t
w(COH)
t
d(TP)
†
Static design t
PARAMETER
Cycle time, CLKOUT125
Fall time, CLKOUT15ns
Rise time, CLKOUT15ns
Pulse duration, CLKOUT1 lowH – 3HH + 3ns
Pulse duration, CLKOUT1 highH – 3HH + 3ns
Delay time, transitory phase—PLL synchronized after CLKIN
supplied
can approach ∞
c(CI)
timing requirements (see Figure 11)
Cycle time, CLKIN multiply-by-one25ns
t
c(CI)
t
f(CI)
t
r(CI)
t
w(CIL)
t
w(CIH)
Cycle time, CLKIN multiply-by-two50ns
Cycle time, CLKIN multiply-by-four100ns
Fall time, CLKIN4ns
Rise time, CLKIN4ns
Pulse duration, CLKIN low12125ns
Pulse duration, CLKIN high12125ns
t
w(CIH)
] (see Figure 11)
c(CO)
5000cycles
’320C206-80
’320LC206-80
MINMAX
UNIT
†
ns
UNIT
CLKIN
CLKOUT1
44
t
c(CI)
t
f(CI)
t
w(COH)
t
t
c(CO)
t
w(COL)
f(CO)
Figure 11. CLKIN-to-CLKOUT1 Timing With PLL (Enabled)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
t
w(CIL)
t
r(CO)
t
r(CI)
PARAMETER
UNIT
UNIT
t
Hold time, read data from address invalid
t
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MEMORY AND PERIPHERAL INTERFACE TIMING
memory and parallel I/O interface
read
timing
A15–A0, PS, DS, IS, R/W, and BR timings are all included in the timings referenced to A15–A0 except when
in transition between a read operation following a write operation or a write operation following a read operation,
where PS
switching characteristics over recommended operating conditions [H = 0.5t
t
su(A-RD)
t
h(RD-A)
t
d(COL-A)
t
h(COL-A)RD
t
d(CO-RD)
t
d(COL-S)
t
w(RDL)
t
w(RDH)
timing requirements [H = 0.5t
t
a(A)
t
a(C)
t
su(D-RD)
t
h(RD-D)
h(AIV-D)
t
su(D-COL)RD
t
h(COL-D)RD
t
a(RD)
t
a(S)
, DS, and IS pulse high [see t
Setup time, address valid before RD lowt
Hold time, address valid after RD hight
Delay time, CLKOUT1 low to read address valid66ns
Hold time, read address valid after CLKOUT1 lowt
Delay time, CLKOUT1 high/low to RD low/high– 16– 25ns
Delay time, CLKOUT1 low to STRB low/high0706ns
Pulse duration, RD low (no wait states)H – 3H + 3H – 3H + 3ns
Pulse duration, RD highH – 3H + 3H – 3H + 3ns
] (see Figure 12)
c(CO)
Access time, from address valid to read
data
Access time, from control IS, PS, DS valid
to read data
Setup time, read data before RD hight
Hold time, read data after RD hight
Setup time, read data before CLKOUT1
low
Hold time, read data after CLKOUT1 lowt
Access time, from RD low to read dataH – 14H – 12ns
Access time, from STRB low to read data2H – 152H – 16ns
w(MS)
].
ALTERNATE
SYMBOLS
su(D)RD
h(D)RD
h(D)A
t
su(DCOL)RD
h(DCOL)RD
ALTERNATE
SYMBOLS
su(A)RD
h(A)RD
h(A)COLRD
0°Cto
70°C
– 40°C
to 85°C
] (see Figure 12)
c(CO)
’320C206-80’320LC206-80
MINMAXMINMAX
H – 4H – 5ns
– 6– 7ns
– 4– 5ns
’320C206-80’320LC206-80
MINMAXMINMAX
2H – 152H – 15ns
2H – 162H – 15ns
1514ns
00ns
01ns
22ns
1110ns
11ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
45
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MEMORY AND PERIPHERAL INTERFACE TIMING (CONTINUED)
CLKOUT1
t
d(COL–A)
A0–A15
t
h(COL-A)RD
t
d(CO–RD)
t
t
su(A-RD)
RD
t
a(RD)
t
a(A)
t
su(D-RD)
D0–D15
(data in)
R/W
Inverted
†
R/W
t
d(COL–S)
STRB
†
If the FRDN bit in the PMST register (FFE4h) is a 1, then the signal issued from the RD pin (pin 45) is an inverted R/W signal (or fast RD) replacing
the RD
signal.
h(AIV-D)
t
h(RD-D)
t
w(RDH)
t
d(CO–RD)
t
su(D–COL)RD
t
h(COL-D)RD
t
w(RDL)
t
h(RD-A)
46
Figure 12. Memory Interface Read Timing
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
PARAMETER
UNIT
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MEMORY AND PERIPHERAL INTERFACE TIMING (CONTINUED)
memory and parallel I/O interface
write
timing
A15–A0, PS, DS, IS, R/W, and BR timings are all included in the timings referenced to A15–A0 except when
in transition between a read operation following a write operation or a write operation following a read operation,
where PS
switching characteristics over recommended operating conditions [H = 0.5t
t
su(A-W)
t
h(W-A)
t
su(A-COL)
t
h(COL-A)W
t
w(MS)
t
w(WL)
t
w(WH)
t
d(COL-W)
t
d(RD-W)
t
d(W-RD)
t
d(FRDN)
t
su(D-W)
t
h(W-D)
t
su(D-COL)W
t
h(COL-D)W
t
en(D-W)
t
dis(W-D)
, DS, and IS pulse high [see t
Setup time, address valid before WE lowt
Hold time, address valid after WE hight
Setup time, write address valid before CLKOUT1 lowt
Hold time, write address valid after CLKOUT1 lowt
Pulse duration, IS, DS, PS inactive hight
Pulse duration, WE low (no wait states)2H – 2 2H + 42H – 2 2H + 4ns
Pulse duration, WE high2H – 42H – 4ns
Delay time, CLKOUT1 low to WE low/high– 16– 16ns
Delay time, RD high to WE lowt
Delay time, WE high to RD lowt
Delay time, FRDN signal with respect to R/W– 1– 1ns
Setup time, write data valid before WE hight
Hold time, write data valid after WE hight
Setup time, write data valid before CLKOUT1 lowt
Hold time, write data valid after CLKOUT1 lowt
Enable time, data bus driven from WEt
Disable time, WE high to data bus high impedance88ns
w(MS)
].
] (see Figure 13)
c(CO)
ALTERNATE
SYMBOLS
su(A)W
h(A)W
su(A)CO
h(A)COLW
w(NSN)
d(RDW)
d(WRD)
su(D)W
h(D)W
su(DCOL)W
h(DCOL)W
en(D)W
’320C206-80’320LC206-80
MINMAXMINMAX
H – 6H – 6ns
H – 8H – 8ns
H – 7H – 7ns
H – 5H – 5ns
H – 2H – 1ns
2H – 72H – 7ns
3H – 73H – 7ns
2H – 142H2H – 142Hns
22ns
2H – 172H – 17ns
33ns
11ns
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
47
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MEMORY AND PERIPHERAL INTERFACE TIMING (CONTINUED)
CLKOUT1
RD
STRB
IS, DS
or PS
A0–A15
R/W
Inverted
R/W
WE
†
t
d(FRDN)
t
su(A-W)
t
d(RD-W)
t
w(WL)
t
en(D-W)
t
h(COL-A)W
t
d(COL–W)
t
su(D-W)
t
h(W-D)
t
su(A-COL)
t
d(COL–W)
t
w(WH)
t
d(W-RD)
t
h(W-A)
t
su(D-COL)W
t
h(COL-D)W
t
w(MS)
t
dis(W-D)
D0–D15
(data out)
†
If the FRDN bit in the PMST register (FFE4h) is a 1, then the signal issued from the RD
the RD
signal.
Figure 13. Memory Interface Write Timing
48
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
pin (pin 45) is an inverted R/W signal (or fast RD) replacing
UNIT
READY timing
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MEMORY AND PERIPHERAL INTERFACE TIMING (CONTINUED)
timing requirements [H = 0.5t
t
su(R-CO)
t
h(CO-R)
t
su(R-RD)
t
h(RD-R)
t
v(R-W)
t
h(W-R)
t
v(R-A)RD
t
v(R-A)W
CLKOUT1
READY
A0–A15
Setup time, READY before CLKOUT1 rising edge1212ns
Hold time, READY after CLKOUT1 rising edge00ns
Setup time, READY before RD falling edget
Hold time, READY after RD falling edget
Valid time, READY after WE falling edget
Hold time, READY after WE falling edget
Valid time, READY after address valid on readt
Valid time, READY after address valid on writet
RD
WE
t
su(R-CO)
t
su(R-RD)
t
v(R-A)RD
] (see Figure 14)
c(CO)
t
h(CO-R)
t
h(RD-R)
t
v(R-A)W
ALTERNATE
SYMBOL
su(R)RD
h(R)RD
v(R)W
h(R)W
v(R)ARD
v(R)AW
t
h(W-R)
t
v(R-W)
’320C206-80’320LC206-80
MINMAXMINMAX
1414ns
– 2 – 2ns
H – 14H – 14ns
H + 3H + 3ns
H – 16H – 16ns
2H – 162H – 16ns
Figure 14. READY Timing
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
49
TMS320C206, TMS320LC206
PARAMETER
UNIT
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
XF, TOUT, RS, INT1 – INT3, NMI, and BIO timing
switching characteristics over recommended operating conditions [H = 0.5t
’320C206-80’320LC206-80
MINMAXMINMAX
1616ns
1717ns
t
d(COH-TOUT)
t
w(TOUT)
’320C206-80’320LC206-80
MINMAXMINMAX
99ns
1212ns
12H12Hns
34H34Hns
1010ns
00ns
12H12Hns
t
d(COH-XF)
t
d(COH-TOUT)
t
w(TOUT)
Delay time, CLKOUT1 high to XF validt
Delay time, CLKOUT1 high to TOUT high/lowt
Pulse duration, TOUT high2H – 52H – 5ns
CLKOUT1
t
d(COH-XF)
XF
TOUT
Figure 15. XF and TOUT Timing
timing requirements† [H = 0.5t
t
su(RS-CIL)
t
su(RS-COL)
t
w(RSL)
t
d(RS-RST)
t
su(IN-COLS)
t
h(COLS-IN)
t
w(IN)
t
d(IN-INT)
†
INTN: BIO
‡
This parameter assumes the CLKIN to be stable before RS goes active.
Setup time, RS before CLKIN lowt
Setup time, RS before CLKOUT1 lowt
Pulse duration, RS low
Delay time, RS high to reset-vector fetcht
Setup time, INTN before CLKOUT1 low (synchronous)t
Hold time, INTN after CLKOUT1 low (synchronous)t
Pulse duration, INTN low2H + 182H + 18ns
Delay time, INTN low to interrupt-vector fetcht
, INT1 – INT3, NMI
‡
] (see Figure 16 and Figure 17)
c(CO)
ALTERNATE
SYMBOL
d(XF)
d(TOUT)
ALTERNATE
SYMBOL
su(RS)CIL
su(RS)COL
d(EX)
su(IN)COL
h(IN)COL
d(IN)
] (see Figure 15)
c(CO)
50
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
XF, TOUT, RS, INT1 – INT3, NMI, and BIO timing (continued)
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
CLKIN/X2
RS
CLKOUT1
A0–A15
PLLRS
CLKIN/X2
RS
CLKOUT1
A0–A15
PLLRS
CLKIN/X2
RS
CLKOUT1
t
su(RS-CIL)
Case A. RS and PLLRS Activated at the Same Time During Power-on Reset
t
su(RS-CIL)
t
su(RS-CIL)
t
w(RSL)
t
w(RSL)
t
w(RSL)
†
+x
†
+x
Case B. PLLRS Always Tied Low
†
+x
t
d(RS-RST)
t
su(RS-COL)
t
d(RS-RST)
t
su(RS-COL)
t
d(RS-RST)
t
su(RS-COL)
A0–A15
PLLRS
Case C. Core Reset After Power Up, With PLLRS Tied High
†
The value of x depends on the reset condition as follows:
Divide-by-two Mode: In this mode, the PLL is bypassed. Assuming CLKIN is stable, x=0. If the internal oscillator is used (i.e. a crystal is
connected to X1 and X2 pins), x=oscillator lock-up time. The state of the PLLRS
or low.
PLL enabled: Assuming CLKIN is stable, x=PLL lock-up time. If the internal oscillator is used, x=oscillator lock-up time + PLL lock-up time.
In case of resets after power on reset, x=0, i.e. t
w(RSL)
=12 H ns only.
is not applicable for 2 mode and should always be tied high
Figure 16. Reset Timings: Cases A, B, and C
CLKOUT1
t
‡
INTN: BIO, INT1 – INT3, NMI
INTN
su(IN-COLS)
t
w(IN)
‡
t
h(COLS-IN)
Figure 17. Interrupts and BIO Timing
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
51
TMS320C206, TMS320LC206
PARAMETER
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
external DMA timing
switching characteristics over recommended operating conditions [H = 0.5t
ALTERNATE
SYMBOL
t
d(CO-HA)
t
d(HL-HAL)
t
d(HH-HAH)
t
hz(M-HAL)
t
en(HAH-M)
†
The delay values will change based on the software logic (IDLE instruction) that activates HOLDA. See the
number SPRU127) for functional description of HOLD logic.
‡
This parameter includes all memory control lines.
Delay time, CLKOUT1 rising to HOLDA99ns
Delay time, HOLD low to HOLDA low
Delay time, HOLD high to HOLDA high10H10Hns
Address high impedance before HOLDA low
Enable time, address driven from HOLDA highH – 5H – 5ns
CLKOUT1
HOLD/INT1
t
d(HL-HAL)
HOLDA
†
t
d(CO-HA)
‡
t
z(M-HAL)
t
d(HH-HAH)
’320C206-80’320LC206-80
MINMAXMINMAX
4H4Hns
H – 5H – 5ns
TMS320C20x User’s Guide
] (see Figure 18)
c(CO)
(literature
Address Bus/
Data Bus/
Control Signals
t
hz(M-HAL)
Figure 18. External DMA Timing
t
en(HAH-M)
52
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
UNIT
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
serial-port receive timing
timing requirements over recommended ranges of supply voltage and operating free-air
temperature [H = 0.5t
t
c(CLKR)
t
f(CLKR)
t
r(CLKR)
t
w(CLKR)
t
su(FR-CLKR)
t
su(DR-CLKR)
t
h(CLKR-FR)
t
h(CLKR-DR)
Cycle time, serial-port clock (CLKR)t
Fall time, serial-port clock (CLKR)t
Rise time, serial-port clock (CLKR)t
Pulse duration, serial-port clock (CLKR) low/hight
Setup time, FSR before CLKR falling edget
Setup time, DR before CLKR falling edget
Hold time, FSR after CLKR falling edget
Hold time, DR after CLKR falling edget
serial-port transmit timings (note: timings are for all SSP modes unless otherwise specified)
switching characteristics over recommended operating conditions [H = 0.5t
ALTERNATE
SYMBOL
Internal CLKX
and internal
FSX
Internal CLKX
and external
FSX
t
d(CLKX-DX)
t
dis(DX-CLKX)
t
h(CLKX-DX)
t
c(CLKX)
t
f(CLKX)
t
r(CLKX)
t
w(CLKX)
t
d(CLKX-FX)
t
h(CLKXH-FX)
†
These timings also apply to the following pins in multichannel mode: CLKR, FSR, IO0.
Delay time, CLKX high
to DX valid
Disable time, DX valid
from CLKX high
Hold time, DX valid
after CLKX high
Cycle time, serial-port
clock (CLKX)
Fall time, serial-port
clock (CLKX)
Rise time, serial-port
clock (CLKX)
Pulse duration,
serial-port clock
(CLKX) low/high
Delay time, CLKX rising
edge to FSX
Hold time, FSX after
CLKX rising edge
External
CLKX and
internal FSX
External
CLKX and
external FSX
Multichannel
mode
SPI mode– 54– 54
Internal CLKX t
Internal CLKX t
Internal CLKX t
Internal CLKX t
Internal CLKX
and internal
FSX
External
CLKX and
internal FSX
Multichannel
†
mode
SPI mode– 54– 54
Internal FSXt
t
d(DX)
t
d(DX)
t
dis(DX)
t
h(DX)
c(SCK)
f(SCK)
r(SCK)
w(SCK)
t
d(FS)
h(FS)H
’320C206-80’320LC206-80
MINTYPMAXMINTYPMAX
– 522– 522
020020
– 525– 525
1010ns
– 6– 6ns
4H4Hns
55ns
55ns
2H – 102H – 10ns
– 514– 514
518518
– 5– 5ns
] (see Figure 20)
c(CO)
ns
ns
54
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
UNIT
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
serial-port transmit timings (note: timings are for all SSP modes unless otherwise specified)
(continued)
timing requirements over recommended ranges of supply voltage and operating free-air
temperature [H = 0.5t
t
c(CLKX)
t
f(CLKX)
t
r(CLKX)
t
w(CLKX)
t
d(CLKX-FX)
t
h(CLKXL-FX)
t
h(CLKXH-FX)
Cycle time, serial-port clock
(CLKX)
Fall time, serial-port clock
(CLKX)
Rise time, serial-port clock
(CLKX)
Pulse duration,
serial-port clock (CLKX)
low/high
Delay time, CLKX rising
edge high to FSX
Hold time, FSX after CLKX
falling edge low
Hold time, FSX after CLKX
rising edge high
] (see Figure 20)
c(CO)
External CLKXt
External CLKXt
External CLKXt
External CLKXt
Internal CLKX
and external
FSX
External CLKX
and external
FSX
External FSXt
External FSXt
ALTERNATE
SYMBOL
c(SCK)
f(SCK)
r(SCK)
w(SCK)
t
d(FS)
h(FS)
h(FS)H
’320C206-80’320LC206-80
MINMAXMINMAX
4H4Hns
88ns
88ns
2H2Hns
2H – 82H – 8ns
77ns
2H – 102H – 10ns
CLKX
FSX
DX
t
c(CLKX)
t
d(CLKX-FX)
t
h(CLKXL-FX)
t
w(CLKX)
t
t
h(CLKXH-FX)
t
d(CLKX-DX)
1215/716/8
w(CLKX)
t
h(CLKX-DX)
Figure 20. Serial-Port Transmit Timings
t
f(CLKX)
t
r(CLKX)
t
dis(DX-CLKX)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
55
TMS320C206, TMS320LC206
PARAMETER
UNIT
UNIT
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
general-purpose input/output (I/O) pin timings
switching characteristics over recommended operating conditions
ALTERNATE
SYMBOL
t
d(CO-IO)
t
h(CO-IO)f
Delay time, CLKOUT1 falling edge to IOx output validt
Hold time, IOx output valid after CLKOUT1 falling edget
d(IO)
h(IO)out
timing requirements(see Figure 21)
ALTERNATE
SYMBOL
t
su(IO-CO)
t
h(CO-IO)r
CLKOUT1
Setup time, IOx input valid before CLKOUT1 rising edget
Hold time, IOx input valid after CLKOUT1 rising edget
t
d(IO)
IOx
Output
†
Mode
IOx
Input
†
Mode
su(IO)
h(IO)in
t
h(IO)out
(see Figure 21)
’320C206-80’320LC206-80
MINMAXMINMAX
1313ns
– 2– 2ns
’320C206-80’320LC206-80
MINMAXMINMAX
99ns
55ns
t
su(IO)
t
h(IO)in
†
IOx represents IO0, IO1, IO2, or IO3 input/output pins.
Figure 21. General-Purpose I/O Timings
56
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
TMS320C206, TMS320LC206
DIGITAL SIGNAL PROCESSORS
SPRS065B – JUNE 1998 – REVISED JANUARY 1999
MECHANICAL DATA
PZ (S-PQFP-G100) PLASTIC QUAD FLATPACK
76
100
0,50
75
0,27
0,17
51
50
26
1
12,00 TYP
14,20
SQ
13,80
16,20
SQ
15,80
25
0,08
M
0,05 MIN
0,13 NOM
Gage Plane
0,25
0°–7°
1,45
1,35
1,60 MAX
NOTES: A. All linear dimensions are in millimeters.
B. This drawing is subject to change without notice.
C. Falls within JEDEC MO-136
PARAMETER
Θ
JA
Θ
JC
0,75
0,45
Seating Plane
0,08
4040149/B 10/94
Thermal Resistance Characteristics
DESCRIPTION°C/W
Junction-to-ambient58
Junction-to-case10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251–1443
57
IMPORTANT NOTICE
T exas Instruments and its subsidiaries (TI) reserve the right to make changes to their products or to discontinue
any product or service without notice, and advise customers to obtain the latest version of relevant information
to verify, before placing orders, that information being relied on is current and complete. All products are sold
subject to the terms and conditions of sale supplied at the time of order acknowledgement, including those
pertaining to warranty, patent infringement, and limitation of liability.
TI warrants performance of its semiconductor products to the specifications applicable at the time of sale in
accordance with TI’s standard warranty. Testing and other quality control techniques are utilized to the extent
TI deems necessary to support this warranty . Specific testing of all parameters of each device is not necessarily
performed, except those mandated by government requirements.
CERT AIN APPLICATIONS USING SEMICONDUCTOR PRODUCTS MAY INVOLVE POTENTIAL RISKS OF
DEATH, PERSONAL INJURY, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE (“CRITICAL
APPLICATIONS”). TI SEMICONDUCTOR PRODUCTS ARE NOT DESIGNED, AUTHORIZED, OR
WARRANTED TO BE SUITABLE FOR USE IN LIFE-SUPPORT DEVICES OR SYSTEMS OR OTHER
CRITICAL APPLICA TIONS. INCLUSION OF TI PRODUCTS IN SUCH APPLICATIONS IS UNDERST OOD TO
BE FULLY AT THE CUSTOMER’S RISK.
In order to minimize risks associated with the customer’s applications, adequate design and operating
safeguards must be provided by the customer to minimize inherent or procedural hazards.
TI assumes no liability for applications assistance or customer product design. TI does not warrant or represent
that any license, either express or implied, is granted under any patent right, copyright, mask work right, or other
intellectual property right of TI covering or relating to any combination, machine, or process in which such
semiconductor products or services might be or are used. TI’s publication of information regarding any third
party’s products or services does not constitute TI’s approval, warranty or endorsement thereof.
Copyright 1999, Texas Instruments Incorporated
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.