− Load-Store Architecture With 32 32-Bit
General-Purpose Registers
− Instruction Packing Reduces Code Size
− All Instructions Conditional
DInstruction Set Features
− Native Instructions for IEEE 754
− Single- and Double-Precision
− Byte-Addressable (8-, 16-, 32-Bit Data)
− 8-Bit Overflow Protection
− Saturation; Bit-Field Extract, Set, Clear;
Bit-Counting; Normalization
DL1/L2 Memory Architecture
− 4K-Byte L1P Program Cache
(Direct-Mapped)
− 4K-Byte L1D Data Cache (2-Way)
− 256K-Byte L2 Memory Total: 64K-Byte
L2 Unified Cache/Mapped RAM, and
192K-Byte Additional L2 Mapped RAM
DDevice Configuration
− Boot Mode: HPI, 8-, 16-, 32-Bit ROM Boot
− Endianness: Little Endian, Big Endian
D32-Bit External Memory Interface (EMIF)
− Glueless Interface to SRAM, EPROM,
Flash, SBSRAM, and SDRAM
− 512M-Byte Total Addressable External
Memory Space
DEnhanced Direct-Memory-Access (EDMA)
Controller (16 Independent Channels)
TMS320C67x and PowerPAD are trademarks of Texas Instruments.
2
C Bus is a trademark of Philips Electronics N.V. Corporation
I
All trademarks are the property of their respective owners.
†
IEEE Standard 1149.1-1990 Standard-Test-Access Port and Boundary Scan Architecture.
‡
These values are compatible with existing 1.26V designs.
This document contains information on products in more than one phase
of development. The status of each device is indicated on the page(s)
specifying its electrical characteristics.
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.
D16-Bit Host-Port Interface (HPI)
DTwo Multichannel Audio Serial Ports
(McASPs)
− Two Independent Clock Zones Each
(1 TX and 1 RX)
− Eight Serial Data Pins Per Port:
Individually Assignable to any of the
Clock Zones
− Each Clock Zone Includes:
− Programmable Clock Generator
− Programmable Frame Sync Generator
− TDM Streams From 2-32 Time Slots
− Support for Slot Size:
8, 12, 16, 20, 24, 28, 32 Bits
− Data Formatter for Bit Manipulation
− Wide Variety of I2S and Similar Bit
Stream Formats
− Integrated Digital Audio Interface
Transmitter (DIT) Supports:
− S/PDIF, IEC60958-1, AES-3, CP-430
Formats
− Up to 16 transmit pins
− Enhanced Channel Status/User Data
− Extensive Error Checking and Recovery
DTwo Inter-Integrated Circuit Bus (I
2
C Bus)
Multi-Master and Slave Interfaces
DTwo Multichannel Buffered Serial Ports:
− Serial-Peripheral-Interface (SPI)
− High-Speed TDM Interface
− AC97 Interface
DTwo 32-Bit General-Purpose Timers
DDedicated GPIO Module With 16 pins
The TMS320C67xt DSPs (including the TMS320C6713 and TMS320C6713B devices†) compose the
floating-point DSP generation in the TMS320C6000t DSP platform. The C6713 and C6713B devices are
based on the high-performance, advanced very-long-instruction-word (VLIW) architecture developed by Texas
Instruments (TI), making this DSP an excellent choice for multichannel and multifunction applications.
Operating at 225 MHz, the C6713/13B delivers up to 1350 million floating-point operations per second
(MFLOPS), 1800 million instructions per second (MIPS), and with dual fixed-/floating-point multipliers up to 450
million multiply-accumulate operations per second (MMACS).
Operating at 300 MHz, the C6713B delivers up to 1800 million floating-point operations per second (MFLOPS),
2400 million instructions per second (MIPS), and with dual fixed-/floating-point multipliers up to 600 million
multiply-accumulate operations per second (MMACS).
The C6713/13B uses a two-level cache-based architecture and has a powerful and diverse set of peripherals.
The Level 1 program cache (L1P) is a 4K-Byte direct-mapped cache and the Level 1 data cache (L1D) is a
4K-Byte 2-way set-associative cache. The Level 2 memory/cache (L2) consists of a 256K-Byte memory space
that is shared between program and data space. 64K Bytes of the 256K Bytes in L2 memory can be configured
as mapped memory, cache, or combinations of the two. The remaining 192K Bytes in L2 serves as mapped
SRAM.
The C6713/13B has a rich peripheral set that includes two Multichannel Audio Serial Ports (McASPs), two
Multichannel Buffered Serial Ports (McBSPs), two Inter-Integrated Circuit (I2C) buses, one dedicated
General-Purpose Input/Output (GPIO) module, two general-purpose timers, a host-port interface (HPI), and a
glueless external memory interface (EMIF) capable of interfacing to SDRAM, SBSRAM, and asynchronous
peripherals.
The two McASP interface modules each support one transmit and one receive clock zone. Each of the McASP
has eight serial data pins which can be individually allocated to any of the two zones. The serial port supports
time-division multiplexing on each pin from 2 to 32 time slots. The C6713/13B has sufficient bandwidth to
support all 16 serial data pins transmitting a 192 kHz stereo signal. Serial data in each zone may be transmitted
and received on multiple serial data pins simultaneously and formatted in a multitude of variations on the Philips
Inter-IC Sound (I2S) format.
In addition, the McASP transmitter may be programmed to output multiple S/PDIF, IEC60958, AES-3, CP-430
encoded data channels simultaneously, with a single RAM containing the full implementation of user data and
channel status fields.
The McASP also provides extensive error-checking and recovery features, such as the bad clock detection
circuit for each high-frequency master clock which verifies that the master clock is within a programmed
frequency range.
The two I2C ports on the TMS320C6713/13B allow the DSP to easily control peripheral devices and
communicate with a host processor. In addition, the standard multichannel buffered serial port (McBSP) may
be used to communicate with serial peripheral interface (SPI) mode peripheral devices.
The TMS320C6713/13B device has two bootmodes: from the HPI or from external asynchronous ROM. For
more detailed information, see the bootmode section of this data sheet.
The TMS320C67x DSP generation is supported by the TI eXpressDSPt set of industry benchmark
development tools, including a highly optimizing C/C++ Compiler, the Code Composer Studiot Integrated
Development Environment (IDE), JTAG-based emulation and real-time debugging, and the DSP/BIOSt
kernel.
TMS320C6000, eXpressDSP, Code Composer Studio, and DSP/BIOS are trademarks of Texas Instruments.
†
Throughout the remainder of this document, the TMS320C6713 and TMS320C6713B shall be referred to as TMS320C67x or C67x or 13/13B
where generic, and where specific, their individual full device part numbers will be used or abbreviated as C6713, C6713B, 13, or 13B, etc.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
9
TMS320C6713, TMS320C6713B
HARDWARE FEATURES
Peripherals
Not all
available at the same
g
Configuration section.)
dependent on chip-level
Voltage
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
device characteristics
Table 2 provides an overview of the C6713/C6713B DSPs. The table shows significant features of the each
device, including the capacity of on-chip RAM, the peripherals, the execution time, and the package type with
pin count. For more details on the C67x DSP device part numbers and part numbering, see Table 24 and
Figure 12.
Table 2. Characteristics of the C6713 and C6713B Processors
HARDWARE FEATURES
Peripherals
peripheral pins are
available at the same
time. (For more details,
see the Device
Confi
uration section.)
Peripheral performance is
nn n hi-lv
configuration.
On-Chip Memory
CPU ID+CPU Rev IDControl Status Register (CSR.[31:16])0x0203
BSDL FileFor the C6713/13B BSDL file, contact your Field Sales Representative.
FrequencyMHz300, 225, 200200, 167
Cycle Timens
Voltage
Clock Generator Options
Packages
†
PRODUCT PREVIEW information concerns products in the formative or design phase of development. Characteristic data and
other specifications are design goals. Texas Instruments reserves the right to change or discontinue these products without
notice.
ADVANCE INFORMATION concerns new products in the sampling or preproduction phase of development. Characteristic data
and other specifications are subject to change without notice.
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.
‡
AUXCLK is the McASP internal high-frequency clock source for serial transfers. SYSCLK2 is the McASP system clock used
for the clock check (high-frequency) circuit.
§
This value is compatible with existing 1.26V designs.
EMIFSYSCLK3 or ECLKIN1 (32 bit)1 (16 bit)
EDMA
(16 Channels)
HPI (16 bit)SYSCLK21
McASPsAUXCLK, SYSCLK2
I2CsSYSCLK22
McBSPsSYSCLK22
32-Bit Timers1/2 of SYSCLK22
l
GPIO ModuleSYSCLK21
Size (Bytes)264K
Organization
Core (V)
I/O (V)3.3 V
Prescaler
Multiplier
Postscaler
27 x 27 mm272-Ball BGA (GDP)−
28 x 28 mm−
INTERNAL CLOCK
SOURCE
CPU clock frequency1
‡
3.3 ns (C6713BGDP-300)
4.4 ns (C6713BGDP-225)
5 ns (C6713BGDPA-200)
4.4 ns (C6713GDP-225)
5 ns (C6713GDPA-200)
1.20§ V (C6713/C6713B)
GDPPYP
1.4 V (C6713B−300)
C6713/C6713B
(FLOATING-POINT DSPs)
2
4K-Byte (4KB) L1 Program (L1P) Cache
4KB L1 Data (L1D) Cache
64KB Unified L2 Cache/Mapped RAM
192KB L2 Mapped RAM
5 ns (C6713BPYP-200)
6 ns (C6713BPYPA-167)
5 ns (C6713PYP-200)
6 ns (C6713PYPA-167)
1.2 V
/1, /2, /3, ..., /32
x4, x5, x6, ..., x25
/1, /2, /3, ..., /32
208-Pin PowerPAD
PQFP (PYP)
C67x is a trademark of Texas Instruments.
10
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Table 2. Characteristics of the C6713 and C6713B Processors (Continued)
HARDWARE FEATURES
Process Technologyµm0.13
Product Status
†
PRODUCT PREVIEW information concerns products in the formative or design phase of development. Characteristic data and
other specifications are design goals. Texas Instruments reserves the right to change or discontinue these products without
notice.
ADVANCE INFORMATION concerns new products in the sampling or preproduction phase of development. Characteristic data
and other specifications are subject to change without notice.
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.
‡
AUXCLK is the McASP internal high-frequency clock source for serial transfers. SYSCLK2 is the McASP system clock used
for the clock check (high-frequency) circuit.
†
Product Preview (PP)
Advance Information (AI)
Production Data (PD)
INTERNAL CLOCK
SOURCE
PD (13)PD (13, 13B)
C6713/C6713B
(FLOATING-POINT DSPs)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
11
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
functional block and CPU (DSP core) diagram
C6713/13B Digital Signal Processors
32
Pin Multiplexing
EMIF
McASP1
McASP0
McBSP1
McBSP0
I2C1
I2C0
Timer 1
Timer 0
Enhanced
DMA
Controller
(16 channel)
L2 Cache/
Memory
4 Banks
64K Bytes
Total
(up to
4-Way)
L2
Memory
192K
Bytes
L1P Cache
Direct Mapped
4K Bytes Total
C67x CPU
Instruction Fetch
Instruction Dispatch
Instruction Decode
Data Path A
A Register File
.L1†.S1†.M1†.D1.D2 .M2†.S2†.L2
Clock Generator and PLL
x4 through x25 Multiplier
/1 through /32 Dividers
Data Path B
B Register File
L1D Cache
2-Way
Set Associative
4K Bytes
Power-Down
Control
Registers
Control
In-Circuit
Emulation
Interrupt
†
Control
Logic
Logic
Test
GPIO
16
†
In addition to fixed-point instructions, these functional units execute floating-point instructions.
EMIF interfaces to:
−SDRAM
−SBSRAM
−SRAM,
−ROM/Flash, and
HPI
McBSPs interface to:
−SPI Control Port
−High-Speed TDM Codecs
−AC97 Codecs
−Serial EEPROM
McASPs interface to:
−I2S Multichannel ADC, DAC, Codec, DIR
−DIT: Multiple Outputs
−I/O devices
12
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
CPU (DSP core) description
The TMS320C6713/13B floating-point digital signal processor is based on the C67x CPU. The CPU fetches
advanced very-long instruction words (VLIW) (256 bits wide) to supply up to eight 32-bit instructions to the eight
functional units during every clock cycle. The VLIW architecture features controls by which all eight units do not
have to be supplied with instructions if they are not ready to execute. The first bit of every 32-bit instruction
determines if the next instruction belongs to the same execute packet as the previous instruction, or whether
it should be executed in the following clock as a part of the next execute packet. Fetch packets are always 256
bits wide; however, the execute packets can vary in size. The variable-length execute packets are a key
memory-saving feature, distinguishing the C67x CPU from other VLIW architectures.
The CPU features two sets of functional units. Each set contains four units and a register file. One set contains
functional units .L1, .S1, .M1, and .D1; the other set contains units .D2, .M2, .S2, and .L2. The two register files
each contain 16 32-bit registers for a total of 32 general-purpose registers. The two sets of functional units, along
with two register files, compose sides A and B of the CPU (see the functional block and CPU diagram and
Figure 1). The four functional units on each side of the CPU can freely share the 16 registers belonging to that
side. Additionally, each side features a single data bus connected to all the registers on the other side, by which
the two sets of functional units can access data from the register files on the opposite side. While register access
by functional units on the same side of the CPU as the register file can service all the units in a single clock cycle,
register access using the register file across the CPU supports one read and one write per cycle.
The C67x CPU executes all C62x instructions. In addition to C62x fixed-point instructions, the six out of eight
functional units (.L1, .S1, .M1, .M2, .S2, and .L2) also execute floating-point instructions. The remaining two
functional units (.D1 and .D2) also execute the new LDDW instruction which loads 64 bits per CPU side for a
total of 128 bits per cycle.
Another key feature of the C67x CPU is the load/store architecture, where all instructions operate on registers
(as opposed to data in memory). Two sets of data-addressing units (.D1 and .D2) are responsible for all data
transfers between the register files and the memory. The data address driven by the .D units allows data
addresses generated from one register file to be used to load or store data to or from the other register file. The
C67x CPU supports a variety of indirect addressing modes using either linear- or circular-addressing modes
with 5- or 15-bit offsets. All instructions are conditional, and most can access any one of the 32 registers. Some
registers, however, are singled out to support specific addressing or to hold the condition for conditional
instructions (if the condition is not automatically “true”). The two .M functional units are dedicated for multiplies.
The two .S and .L functional units perform a general set of arithmetic, logical, and branch functions with results
available every clock cycle.
The processing flow begins when a 256-bit-wide instruction fetch packet is fetched from a program memory.
The 32-bit instructions destined for the individual functional units are “linked” together by “1” bits in the least
significant bit (LSB) position of the instructions. The instructions that are “chained” together for simultaneous
execution (up to eight in total) compose an execute packet. A “0” in the LSB of an instruction breaks the chain,
effectively placing the instructions that follow it in the next execute packet. If an execute packet crosses the
fetch-packet boundary (256 bits wide), the assembler places it in the next fetch packet, while the remainder of
the current fetch packet is padded with NOP instructions. The number of execute packets within a fetch packet
can vary from one to eight. Execute packets are dispatched to their respective functional units at the rate of one
per clock cycle and the next 256-bit fetch packet is not fetched until all the execute packets from the current fetch
packet have been dispatched. After decoding, the instructions simultaneously drive all active functional units
for a maximum execution rate of eight instructions every clock cycle. While most results are stored in 32-bit
registers, they can be subsequently moved to memory as bytes or half-words as well. All load and store
instructions are byte-, half-word, or word-addressable.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
13
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
CPU (DSP core) description (continued)
†
.L1
long dst
long src
LD1 32 MSB
Data Path A
ST1
LD1 32 LSB
DA1
.S1
.M1
.D1
long src
long dst
†
†
src1
src2
dst
dst
src1
src2
dst
src1
src2
dst
src1
src2
8
8
8
8
32
32
Register
File A
(A0−A15)
2X
Data Path B
DA2
LD2 32 LSB
LD2 32 MSB
ST2
.D2
.M2
.S2
.L2
src2
src1
dst
src2
†
src1
dst
src2
src1
†
dst
long dst
long src
long src
long dst
dst
†
src2
src1
1X
Register
File B
8
8
32
32
8
8
(B0−B15)
Control
Register File
†
In addition to fixed-point instructions, these functional units execute floating-point instructions.
Figure 1. TMS320C67x CPU (DSP Core) Data Paths
14
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
memory map summary
Table 3 shows the memory map address ranges of the C6713/13B devices.
Table 3. TMS320C6713/13B Memory Map Summary
MEMORY BLOCK DESCRIPTIONBLOCK SIZE (BYTES)HEX ADDRESS RANGE
EDMA RAM and EDMA Registers256K01A0 0000 – 01A3 FFFF
Reserved768K01A4 0000 – 01AF FFFF
GPIO Registers16K01B0 0000 – 01B0 3FFF
Reserved240K01B0 4000 – 01B3 FFFF
I2C0 Registers16K01B4 0000 – 01B4 3FFF
I2C1 Registers16K01B4 4000 – 01B4 7FFF
Reserved16K01B4 8000 – 01B4 BFFF
McASP0 Registers16K01B4 C000 – 01B4 FFFF
McASP1 Registers16K01B5 0000 – 01B5 3FFF
Reserved160K01B5 4000 – 01B7 BFFF
PLL Registers8K01B7 C000 – 01B7 DFFF
Reserved264K01B7 E000 – 01BB FFFF
Emulation Registers256K01BC 0000 – 01BF FFFF
Reserved4M01C0 0000 – 01FF FFFF
QDMA Registers520200 0000 – 0200 0033
Reserved16M − 520200 0034 – 02FF FFFF
Reserved720M0300 0000 – 2FFF FFFF
McBSP0 Data Port64M3000 0000 – 33FF FFFF
McBSP1 Data Port64M3400 0000 – 37FF FFFF
Reserved64M3800 0000 – 3BFF FFFF
McASP0 Data Port1M3C00 0000 – 3C0F FFFF
McASP1 Data Port1M3C10 0000 – 3C1F FFFF
Reserved1G + 62M3C20 0000 – 7FFF FFFF
EMIF CE0
EMIF CE1
EMIF CE2
EMIF CE3
Reserved1GC000 0000 – FFFF FFFF
†
The number of EMIF address pins (EA[21:2]) limits the maximum addressable memory (SDRAM) to 128MB per CE space.
†
†
†
†
256M8000 0000 – 8FFF FFFF
256M9000 0000 – 9FFF FFFF
256MA000 0000 – AFFF FFFF
256MB000 0000 – BFFF FFFF
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
15
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
L2 memory structure expanded
Figure 2 shows the detail of the L2 memory structure.
L2 ModeL2 MemoryBlock Base Address
000
256K SRAM (All)
011010001111
0x0000 0000
192K-Byte RAM
192K SRAM
208K SRAM
224K SRAM
240K SRAM
0x0003 0000
16K-Byte RAM
16K
1-Way
Cache
32K
2-Way Cache
16K-Byte RAM
16K-Byte RAM
64K 4-Way Cache
48K 3-Way Cache
16K-Byte RAM
Figure 2. L2 Memory Configuration
0x0003 4000
0x0003 8000
0x0003 C000
0x0003 FFFF
16
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
peripheral register descriptions
Table 4 through Table 17 identify the peripheral registers for the C6713/C6713B devices by their register
names, acronyms, and hex address or hex address range. For more detailed information on the register
contents, bit names and their descriptions, see the specific peripheral reference guide listed in the
TMS320C6000 DSP Peripherals Overview Reference Guide (literature number SPRU190).
Table 4. EMIF Registers
HEX ADDRESS RANGEACRONYMREGISTER NAME
0180 0000GBLCTLEMIF global control
0180 0004CECTL1EMIF CE1 space control
0180 0008CECTL0EMIF CE0 space control
0180 000C−Reserved
0180 0010CECTL2EMIF CE2 space control
0180 0014CECTL3EMIF CE3 space control
0180 0018SDCTLEMIF SDRAM control
0180 001CSDTIMEMIF SDRAM refresh control
0180 0020SDEXTEMIF SDRAM extension
0180 0024 − 0183 FFFF−Reserved
Table 5. L2 Cache Registers
HEX ADDRESS RANGEACRONYMREGISTER NAME
0184 0000CCFGCache configuration register
0184 4000L2WBARL2 writeback base address register
0184 4004L2WWCL2 writeback word count register
0184 4010L2WIBARL2 writeback-invalidate base address register
0184 4014L2WIWCL2 writeback-invalidate word count register
0184 4020L1PIBARL1P invalidate base address register
0184 4024L1PIWCL1P invalidate word count register
0184 4030L1DWIBARL1D writeback-invalidate base address register
0184 4034L1DWIWCL1D writeback-invalidate word count register
0184 5000L2WBL2 writeback all register
0184 5004L2WBINVL2 writeback-invalidate all register
0184 8200MAR0Controls CE0 range 8000 0000 − 80FF FFFF
0184 8204MAR1Controls CE0 range 8100 0000 − 81FF FFFF
0184 8208MAR2Controls CE0 range 8200 0000 − 82FF FFFF
0184 820CMAR3Controls CE0 range 8300 0000 − 83FF FFFF
0184 8240MAR4Controls CE1 range 9000 0000 − 90FF FFFF
0184 8244MAR5Controls CE1 range 9100 0000 − 91FF FFFF
0184 8248MAR6Controls CE1 range 9200 0000 − 92FF FFFF
0184 824CMAR7Controls CE1 range 9300 0000 − 93FF FFFF
0184 8280MAR8Controls CE2 range A000 0000 − A0FF FFFF
0184 8284MAR9Controls CE2 range A100 0000 − A1FF FFFF
0184 8288MAR10Controls CE2 range A200 0000 − A2FF FFFF
0184 828CMAR11Controls CE2 range A300 0000 − A3FF FFFF
0184 82C0MAR12Controls CE3 range B000 0000 − B0FF FFFF
0184 82C4MAR13Controls CE3 range B100 0000 − B1FF FFFF
0184 82C8MAR14Controls CE3 range B200 0000 − B2FF FFFF
0184 82CCMAR15Controls CE3 range B300 0000 − B3FF FFFF
0184 82D0 − 0185 FFFF−Reserved
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
17
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
peripheral register descriptions (continued)
Table 6. Interrupt Selector Registers
HEX ADDRESS RANGEACRONYMREGISTER NAMECOMMENTS
019C 0000MUXHInterrupt multiplexer high
019C 0004MUXLInterrupt multiplexer low
019C 0008EXTPOLExternal interrupt polarity
019C 000C − 019F FFFF−Reserved
Table 7. Device Registers
HEX ADDRESS RANGEACRONYMREGISTER DESCRIPTION
019C 0200DEVCFGDevice Configuration
019C 0204 − 019F FFFF−Reserved
N/ACSRCPU Control Status Register
Selects which interrupts drive CPU interrupts
10−15 (INT10−INT15)
Selects which interrupts drive CPU interrupts 4−9
(INT04−INT09)
Sets the polarity of the external interrupts
(EXT_INT4−EXT_INT7)
Allows the user to control peripheral selection.
This register also offers the user control of the
EMIF input clock source. For more detailed
information on the device configuration register, see
the Device Configurations section of this data
sheet.
Identifies which CPU and defines the silicon
revision of the CPU. This register also offers the
user control of device operation.
For more detailed information on the CPU Control
Status Register, see the CPU CSR Register
Description section of this data sheet.
Table 8. EDMA Parameter RAM
HEX ADDRESS RANGEACRONYMREGISTER NAME
01A0 0000 − 01A0 0017−Parameters for Event 0 (6 words) or Reload/Link Parameters for other Event
01A0 0018 − 01A0 002F−Parameters for Event 1 (6 words) or Reload/Link Parameters for other Event
01A0 0030 − 01A0 0047−Parameters for Event 2 (6 words) or Reload/Link Parameters for other Event
01A0 0048 − 01A0 005F−Parameters for Event 3 (6 words) or Reload/Link Parameters for other Event
01A0 0060 − 01A0 0077−Parameters for Event 4 (6 words) or Reload/Link Parameters for other Event
01A0 0078 − 01A0 008F−Parameters for Event 5 (6 words) or Reload/Link Parameters for other Event
01A0 0090 − 01A0 00A7−Parameters for Event 6 (6 words) or Reload/Link Parameters for other Event
01A0 00A8 − 01A0 00BF−Parameters for Event 7 (6 words) or Reload/Link Parameters for other Event
01A0 00C0 − 01A0 00D7−Parameters for Event 8 (6 words) or Reload/Link Parameters for other Event
01A0 00D8 − 01A0 00EF−Parameters for Event 9 (6 words) or Reload/Link Parameters for other Event
01A0 00F0 − 01A0 00107−Parameters for Event 10 (6 words) or Reload/Link Parameters for other Event
01A0 0108 − 01A0 011F−Parameters for Event 11 (6 words) or Reload/Link Parameters for other Event
01A0 0120 − 01A0 0137−Parameters for Event 12 (6 words) or Reload/Link Parameters for other Event
01A0 0138 − 01A0 014F−Parameters for Event 13 (6 words) or Reload/Link Parameters for other Event
01A0 0150 − 01A0 0167−Parameters for Event 14 (6 words) or Reload/Link Parameters for other Event
01A0 0168 − 01A0 017F−Parameters for Event 15 (6 words) or Reload/Link Parameters for other Event
01A0 0180 − 01A0 0197−Reload/link parameters for Event 0−15
01A0 0198 − 01A0 01AF−Reload/link parameters for Event 0−15
......
01A0 07E0 − 01A0 07F7−Reload/link parameters for Event 0−15
01A0 07F8 − 01A0 07FF−Scratch pad area (2 words)
†
The C6713/13B device has 85 EDMA parameters total: 16 Event/Reload parameters and 69 Reload-only parameters.
†
18
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
peripheral register descriptions (continued)
For more details on the EDMA parameter RAM 6-word parameter entry structure, see Figure 3.
310EDMA Parameter
Word 0EDMA Channel Options Parameter (OPT)
Word 1EDMA Channel Source Address (SRC)SRC
Word 2Array/Frame Count (FRMCNT)Element Count (ELECNT)CNT
Word 3EDMA Channel Destination Address (DST)DST
Word 4Array/Frame Index (FRMIDX)Element Index (ELEIDX)IDX
Word 5Element Count Reload (ELERLD)Link Address (LINK)RLD
Figure 3. EDMA Channel Parameter Entries (6 Words) for Each EDMA Event
Table 9. EDMA Registers
HEX ADDRESS RANGEACRONYMREGISTER NAME
01A0 0800 − 01A0 FEFC−Reserved
01A0 FF00ESEL0EDMA event selector 0
01A0 FF04ESEL1EDMA event selector 1
01A0 FF08 − 01A0 FF0B−Reserved
01A0 FF0CESEL3EDMA event selector 3
01A0 FF1F − 01A0 FFDC−Reserved
01A0 FFE0PQSRPriority queue status register
01A0 FFE4CIPRChannel interrupt pending register
01A0 FFE8CIERChannel interrupt enable register
01A0 FFECCCERChannel chain enable register
01A0 FFF0EREvent register
01A0 FFF4EEREvent enable register
01A0 FFF8ECREvent clear register
01A0 FFFCESREvent set register
01A1 0000 − 01A3 FFFF–Reserved
OPT
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
19
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
01B4 C0A401B5 00A4XMASKxTransmit format unit bit mask register
01B4 C0A801B5 00A8XFMTxTransmit bit stream format register
01B4 C0AC01B5 00ACAFSXCTLxTransmit frame sync control register
01B4 C0B001B5 00B0ACLKXCTLxTransmit clock control register
01B4 C0B401B5 00B4AHCLKXCTLxHigh-frequency Transmit clock control register
ACRONYMREGISTER NAME
McASPx receive buffer or McASPx transmit buffer via the
Peripheral Data Bus.
(Used when RSEL or XSEL bits = 0 [these bits are located
in the RFMT or XFMT registers, respectively].)
Peripheral Identification register
[13/13B value: 0x00100101 for McASP0 and for McASP1]
Pin data in / data set register
Read returns: PDIN
Writes affect: PDSET
Alias of GBLCTL containing only Receiver Reset bits,
allows transmit to be reset independently from receive.
Alias of GBLCTL containing only Transmitter Reset bits,
allows transmit to be reset independently from receive.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
21
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
McBSPx data receive register via Configuration Bus
The CPU and EDMA controller can only read this register;
they cannot write to it.
24
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
peripheral register descriptions (continued)
Table 17. GPIO Registers
HEX ADDRESS RANGEACRONYMREGISTER NAME
01B0 0000GPENGPIO enable register
01B0 0004GPDIRGPIO direction register
01B0 0008GPVALGPIO value register
01B0 000C−Reserved
01B0 0010GPDHGPIO delta high register
01B0 0014GPHMGPIO high mask register
01B0 0018GPDLGPIO delta low register
01B0 001CGPLMGPIO low mask register
01B0 0020GPGCGPIO global control register
01B0 0024GPPOLGPIO interrupt polarity register
01B0 0028 − 01B0 3FFF−Reserved
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
25
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
signal groups description
CLKIN
CLKOUT2/GP[2]
CLKOUT3
CLKMODE0
PLLHV
TMS
TDO
TDI
TCK
TRST
EMU0
EMU1
EMU2
EMU3
EMU4
EMU5
†
†
†
†
Clock/PLL
Oscillator
IEEE Standard
1149.1
(JTAG)
Emulation
Reset and
Interrupts
Control/Status
RESET
NMI
GP[7](EXT_INT7)
GP[6](EXT_INT6)
‡§
‡§
GP[5](EXT_INT5)/AMUTEIN0
GP[4](EXT_INT4)/AMUTEIN1
HD4/GP[0]
‡
‡§
‡§
HD15/GP[15]
HD14/GP[14]
HD13/GP[13]
HD12/GP[12]
HD11/GP[11]
HD10/GP[10]
HD9/GP[9]
HD8/GP[8]
HD7/GP[3]
Data
(Host-Port Interface)
Control
HAS
HR/W
HCS
HDS1
HDS2
HRDY
HINT
/ACLKX1
/AXR1[0]
/AXR1[2]
/AXR1[6]
/AXR1[5]
/ACLKR1
/GP[1]
HD6/AHCLKR1
HPI
HD5/AHCLKX1
HD4/GP[0]
HD3/AMUTE1
Register Select
HCNTL0/AXR1[3]
HCNTL1/AXR1[1]
HD2/AFSX1
HD1/AXR1[7]
HD0/AXR1[4]
†
These external pins are applicable to the GDP package only.
‡
The GP[15:0] pins, through interrupt sharing, are external interrupt capable via GPINT0. For more details, see the External
Half-Word
Select
HHWIL/AFSR1
Interrupt Sources section of this data sheet. For more details on interrupt sharing, see the TMS320C6000 DSP Interrupt Selector
Reference Guide (literature number SPRU646).
§
All of these pins are external interrupt sources. For more details, see the External Interrupt Sources section of this data sheet.
NOTE A: On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
The GP[15:0] pins, through interrupt sharing, are external interrupt capable via GPINT0. GP[15:0] are also external EDMA event
source capable. For more details, see the External Interrupt Sources and External EDMA Event Sources sections of this data sheet.
NOTE A: On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
Figure 5. Peripheral Signals
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
27
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
signal groups description (continued)
ED[31:16]
ED[15:0]
CE3
CE2
CE1
CE0
EA[21:2]
BE3
BE2
BE1
BE0
†
†
†
16
16
20
Data
Memory Map
Space Select
Address
Byte Enables
(External Memory Interface)
McBSP1McBSP0
Memory
Control
Bus
Arbitration
EMIF
ECLKIN
ECLKOUT
ARE/SDCAS/SSADS
AOE
/SDRAS/SSOE
AWE/SDWE/SSWE
ARDY
HOLD
HOLDA
BUSREQ
CLKX1/AMUTE0
FSX1
DX1/AXR0[5]
CLKR1/AXR0[6]
FSR1/AXR0[7]
DR1/SDA1
CLKS1/SCL1
†
These external pins are applicable to the GDP package only.
NOTE A: On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
TransmitTransmit
ReceiveReceive
ClockClock
McBSPs
(Multichannel Buffered Serial Ports)
CLKX0/ACLKX0
FSX0/AFSX0
DX0/AXR0[1]
CLKR0/ACLKR0
FSR0/AFSR0
DR0/AXR0[0]
CLKS0/AHCLKR0
Figure 5. Peripheral Signals (Continued)
28
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
signal groups description (continued)
(Transmit/Receive Data Pins)
FSR1/AXR0[7]
CLKR1/AXR0[6]
DX1/AXR0[5]
TOUT1/AXR0[4]
TINP0/AXR0[3]
TOUT0/AXR0[2]
DX0/AXR0[1]
DR0/AXR0[0]
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
8-Serial Ports
Flexible
Partitioning
Tx, Rx, OFF
(Receive Bit Clock)(Transmit Bit Clock)
CLKR0/ACLKR0
CLKS0/AHCLKR0
(Receive Master Clock)(Transmit Master Clock)
FSR0/AFSR0
(Receive Frame Sync or
Left/Right Clock)
NOTES: A. The McASPs’ Error Detect function detects underruns, overruns, early/late frame syncs, DMA errors, and external mute input.
B. On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
C. Bolded and italicized text within parentheses denotes the function of the pins in an audio system.
Receive Clock
Generator
Receive Clock
Check Circuit
Receive
Frame Sync
Error Detect
(see Note A)
(Multichannel Audio Serial Port 0)
Auto Mute
McASP0
Transmit
Generator
Transmit
Clock Check
Frame Sync
Logic
Clock
Circuit
Transmit
CLKX0/ACLKX0
TINP1/AHCLKX0
FSX0/AFSX0
(Transmit Frame Sync or
Left/Right Clock)
CLKX1/AMUTE0
GP[5](EXT_INT5)/AMUTEIN0
Figure 5. Peripheral Signals (Continued)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
29
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
signal groups description (continued)
(Transmit/Receive Data Pins)
HD1/AXR1[7]
HDS1/AXR1[6]
HDS2
/AXR1[5]
HD0/AXR1[4]
HCNTL0/AXR1[3]
/AXR1[2]
HCS
HCNTL1/AXR1[1]
/AXR1[0]
HR/W
8-Serial Ports
Flexible
Partitioning
Tx, Rx, OFF
(Receive Bit Clock)(Transmit Bit Clock)
HRDY/ACLKR1
HD6/AHCLKR1
(Receive Master Clock)(Transmit Master Clock)
HHWIL/AFSR1
(Receive Frame Sync or
Left/Right Clock)
NOTES: A. The McASPs’ Error Detect function detects underruns, overruns, early/late frame syncs, DMA errors, and external mute input.
B. On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
C. Bolded and italicized text within parentheses denotes the function of the pins in an audio system.
Receive Clock
Generator
Receive Clock
Check Circuit
Receive
Frame Sync
Error Detect
(see Note A)
McASP1
(Multichannel Audio Serial Port 1)
Transmit
Generator
Transmit
Clock Check
Frame Sync
Auto Mute
Logic
Clock
Circuit
Transmit
HAS/ACLKX1
HD5/AHCLKX1
HD2/AFSX1
(Transmit Frame Sync or
Left/Right Clock)
HD3/AMUTE1
GP[4](EXT_INT4)/AMUTEIN1
30
Figure 5. Peripheral Signals (Continued)
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS
On the C6713/13B devices, bootmode and certain device configurations/peripheral selections are determined
at device reset, while other device configurations/peripheral selections are software-configurable via the device
configurations register (DEVCFG) [address location 0x019C0200] after device reset.
device configurations at device reset
Table 18 describes the C6713 and C6713B device configuration pins, which are set up via internal or external
pullup/pulldown resistors through the HPI data pins (HD[4:3], HD8, HD12 [13B only]), and CLKMODE0 pin.
These configuration pins must be in the desired state until reset is released. For more details on these device
configuration pins, see the Terminal Functions table and the Debugging Considerations section of this data
sheet.
Table 18. Device Configurations Pins at Device Reset (HD[4:3], HD8, HD12 [13B only], and CLKMODE0)
CONFIGURATION
PIN
PYPGDPFUNCTIONAL DESCRIPTION
EMIF Big Endian mode correctness (EMIFBE) [C6713B only]
For a C6713BGDP:
0 – The EMIF data will always be presented on the ED[7:0] side of the
bus, regardless of the endianess mode (Little/Big Endian).
1 − In Little Endian mode (HD8 =1), the 8-bit or 16-bit EMIF data will
be present on the ED[7:0] side of the bus.
In Big Endian mode (HD8 =0), the 8-bit or 16-bit EMIF data will be
present on the ED[31:24] side of the bus [default].
†
HD12168C15
HD8160B17
HD[4:3]
(BOOTMODE)
CLKMODE0205C4
156, 154C19, C20
For a C6713BPYP, when Big Endian mode is selected (LENDIAN = 0), for
proper device operation the EMIFBE
This enhancement is not supported on the C6713 device.
For proper C6713 device operation, do not oppose the internal pullup (IPU)
resistor on this pin.
This new functionality does not affect systems using the current default value
of HD12=1. For more detailed information on the big endian mode
correctness, see the EMIF Big Endian Mode Correctness [C6713B Only]
portion of this data sheet.
Device Endian mode (LEND)
0 – System operates in Big Endian mode
1 − System operates in Little Endian mode (default)
Bootmode Configuration Pins (BOOTMODE)
00 – CE1
01 – CE1
10 − CE1
11 − CE1
For more detailed information on these bootmode configurations, see the
bootmode section of this data sheet.
Clock generator input clock source select
0 – Reserved. Do not use.
1 − CLKIN square wave [default]
width 32-bit, HPI boot/Emulation boot
width 8-bit, Asynchronous external ROM boot with default
timings (default mode)
width 16-bit, Asynchronous external ROM boot with default
timings
width 32-bit, Asynchronous external ROM boot with default
timings
pin must be externally pulled low.
This pin must be pulled to the correct level even after reset.
†
All other HD pins [HD [15, 13:9, 7:5, 2:0] (for 13) or HD [15, 13, 11:9, 7:5, 2:0] (for 13B)] have pullups/pulldowns (IPUs or IPDs). For proper device
operation of the HD [15, 13:9, 7, 1, 0] (for 13) or HD [13, 11:9, 7, 1, 0] (for 13B), do not oppose these pins with external pullups/pulldowns at
reset; however, the HD[6, 5, 2] (for 13) or HD[15, 6, 5, 2] (for 13B) pins can be opposed and driven during reset.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
31
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS (CONTINUED)
peripheral pin selection at device reset
Some C6713/13B peripherals share the same pins (internally muxed) and are mutually exclusive (i.e., HPI,
general-purpose input/output pins GP[15:8, 3, 1, 0] and McASP1).
DHPI, McASP1, and GPIO peripherals
The HPI_EN (HD14 pin) is latched at reset. This pin selects whether the HPI peripheral pins or McASP1
peripheral pins and GP[15:8, 3, 1, 0] pins are functionally enabled (see Table 19).
Table 19. HPI_EN (HD14 Pin) Peripheral Selection (HPI or McASP1, and Select GPIO Pins)
PERIPHERAL PIN
SELECTION
HPI_EN
(HD14 Pin) [173, C14]
0√
1√
†
The HPI_EN (HD[14]) pin cannot be controlled via software.
PERIPHERAL
PINS SELECTED
HPI
McASP1 and
GP[15:8,3,1,0]
†
DESCRIPTION
HPI_EN = 0
HPI pins are disabled; McASP1 peripheral pins and GP[15:8, 3, 1,0] pins
are enabled. All multiplexed HPI/McASP1 and HPI/GPIO pins function as
McASP1 and GPIO pins, respectively. To use the GPIO pins, the
appropriate bits in the GPEN and GPDIR registers need to be
configured.
HPI_EN = 1
HPI pins are enabled; McASP1 peripheral pins and GP[15:8, 3, 1,0] pins
are disabled [default]. All multiplexed HPI/McASP1 and HPI/GPIO pins
function as HPI pins.
32
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS (CONTINUED)
peripheral selection/device configurations via the DEVCFG control register
The device configuration register (DEVCFG) allows the user to control the pin availability of the McBSP0,
McBSP1, McASP0, I2C1, and Timer peripherals. The DEVCFG register also offers the user control of the EMIF
input clock source and the timer output pins. For more detailed information on the DEVCFG register control bits,
see Table 20 and Table 21.
Do not write non-zero values to these bit locations.
†
RW-0R/W-0R/W-0R/W-0R/W-0R/W-0
Reserved
543210
Table 21. Device Configuration (DEVCFG) Register Selection Bit Descriptions
BIT #NAMEDESCRIPTION
31:5ReservedReserved. Do not write non-zero values to these bit locations.
EMIF input clock source bit.
4EKSRC
3TOUT1SEL
2TOUT0SEL
1MCBSP0DIS
0MCBSP1DIS
Determines which clock signal is used as the EMIF input clock.
0 = SYSCLK3 (from the clock generator) is the EMIF input clock source (default)
1 = ECLKIN external pin is the EMIF input clock source
Timer 1 output (TOUT1) pin function select bit.
Selects the pin function of the TOUT1/AXR0[4] external pin independent of the rest of the peripheral
selection bits in the DEVCFG register.
0 = The pin functions as a Timer 1 output (TOUT1) pin (default)
1 = The pin functions as the McASP0 transmit/receive data pin 4 (AXR0[4]).
The Timer 1 module is still active.
Timer 0 output (TOUT0) pin function select bit.
Selects the pin function of the TOUT0/AXR0[2] external pin independent of the rest of the peripheral
selection bits in the DEVCFG register.
0 = The pin functions as a Timer 0 output (TOUT0) pin (default)
1 = The pin functions as the McASP0 transmit/receive data pin 2 (AXR0[2]).
The Timer 0 module is still active.
Multichannel Buffered Serial Port 0 (McBSP0) disable bit.
Selects whether McBSP0 or the McASP0 multiplexed peripheral pins are enabled or disabled.
ACLKX0, AXR0[0], AXR0[1], AFSR0, and AFSX0) are disabled (default).
[If the McASP0 data pins are available, the McASP0 peripheral is functional for DIT
mode only.]
ACLKX0, AXR0[0], AXR0[1], AFSR0, and AFSX0) are enabled.
Multichannel Buffered Serial Port 1 (McBSP1) disable bit.
Selects whether McBSP1 or I2C1 and McASP0 multiplexed peripheral pins are enabled or disabled.
0 = McBSP1 peripheral pins are enabled, I2C1 peripheral pins (SCL1 and SDA1) and McASP0
peripheral pins (AXR0[7:5] and AMUTE0) are disabled (default)
1 = McBSP1 peripheral pins are disabled, I2C1 peripheral pins (SCL1 and SDA1) and McASP0
peripheral pins (AXR0[7:5] and AMUTE0) are enabled.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
33
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS (CONTINUED)
multiplexed pins
Multiplexed pins are pins that are shared by more than one peripheral and are internally multiplexed. Most of
these pins are configured by software via the device configuration register (DEVCFG), and the others
(specifically, the HPI pins) are configured by external pullup/pulldown resistors only at reset. The muxed pins
that are configured by software can be programmed to switch functionalities at any time. The muxed pins that
are configured by external pullup/pulldown resistors are mutually exclusive; only one peripheral has primary
control of the function of these pins after reset. Table 22 summarizes the peripheral pins affected by the HPI_EN
(HD14 pin) and DEVCFG register. Table 23 identifies the multiplexed pins on the C6713/13B devices; shows
the default (primary) function and the default settings after reset; and describes the pins, registers, etc.
necessary to configure the specific multiplexed functions.
34
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
TOUT0SEL
TOUT1SEL
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS (CONTINUED)
Table 22. Peripheral Pin Selection Matrix†
SELECTION BITSPERIPHERAL PINS AVAILABILITY
B
I
T
N
A
M
E
HPI_EN
(boot config
pin)
MCBSP0DIS
(DEVCFG bit)
MCBSP1DIS
(DEVCFG bit)
TOUT0SEL
(DEVCFG bit)
TOUT1SEL
(DEVCFG bit)
HD12 (boot
config pin)
[13BGDP]
†
Gray blocks indicate that the peripheral is not affected by the selection bit.
‡
The McASP0 pins AXR0[3] and AHCLKX0 are shared with the timer input pins TINP0 and TINP1, respectively. See Table 23 for more detailed
information.
§
For more detailed information on endianness correction, see the EMIF Big Endian Mode Correctness [C6713B Only] portion of this data sheet.
B
I
T
V
A
L
U
E
§
M
c
A
S
P
‡
0
0
1NoneAll
0NoneAll
ACLKK0
ACLKR0
AFSX0
AFSR0
1
AHCLKR0
AXR0[0]
AXR0[1]
NO
AMUTE0
AXR0[5]
0
AXR0[6]
AXR0[7]
AMUTE0
AXR0[5]
1
AXR0[6]
AXR0[7]
NO
0
AXR0[2]
1AXR0[2]
NO
0
AXR0[4]
1AXR0[4]
0
1
M
c
A
S
P
1
AHCLKX1
AHCLKR1
ACLKX1
ACLKR1
AFSX1
AFSR1
AMUTE1
AXR1[0] to
AXR1[7]
I
2
C
0
I
2
C
1
NoneAll
AllNone
M
c
B
S
P
0
None
M
c
B
S
P
1
T
I
M
E
R
0
TOUT0
NO
TOUT0
T
I
M
E
R
1
TOUT1
NO
TOUT1
H
P
I
None
G
P
I
O
P
I
N
S
GP[0:1],
GP[3],
GP[8:15]
Plus:
GP[2]
ctrl’d by
GP2EN
bit
NO
GP[0:1],
GP[3],
GP[8:15]
E
M
I
F
ED[7:0];
HD8 = 1/0
ED[7:0] side
[HD8 = 1 (Little)]
ED[31:24] side
[HD8 = 0 (Big)]
When the CLKOUT2 pin is enabled,
the CLK2EN bit in the EMIF global
control register (GBLCTL) controls the
CLKOUT2 pin.
CLK2EN = 0: CLKOUT2 held high
CLK2EN = 1: CLKOUT2 enabled
to clock [default]
To use these software-configurable
GPIO pins, the GPxEN bits in the GP
Enable Register and the GPxDIR bits
in the GP Direction Register must be
properly configured.
GPxEN = 1:GP[x] pin enabled
GPxDIR = 0: GP[x] pin is an input
McBSP1 pins
GPxDIR = 1: GP[x] pin is an
To use AMUTEIN0/1 pin function, the
GP[5]/GP[4] pins must be configured
as an input, the INEN bit set to 1, and
the polarity through the INPOL bit
selected in the associated McASP
AMUTE register.
enabled u
disabled).
enable
the MCBSP0DIS bit in the DEVCFG
register must be set to 1 (disabling the
McBSP0 peripheral pins).
By default, McBSP1 peripheral pins are
enabled upon reset (I2C1 and McASP0
pins are disabled).
To enable the I2C1 and McASP0
peripheral pins, the MCBSP1DIS bit in
the DEVCFG re
(disabling the McBSP1 peripheral pins).
By default, the Timer 1 input and
McASP0 clock function are enabled as
inputs.
For the McASP0 clock to function as an
output:
McASP0PDIR = 1 (specifically the
AHCLKX bit]
By default, the Timer 1 output pin is
enabled.
To enable the McASP0 AXR0[4] pin, the
TOUT1SEL bit in the DEVCFG register
must be set to 1 (disabling the Timer 1
peripheral output pin function).
The AXR4 bit in the McASP0PDIR
register controls the direction
(input/output) of the AXR0[4] pin
HPI_EN(HD14) = 1
GP2EN BIT = 0 (enabling GPEN.[2])
44
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DEVICE CONFIGURATIONS (CONTINUED)
debugging considerations
It is recommended that external connections be provided to peripheral selection/device configuration pins,
including HD[14, 8, 12 (for 13B only), 4, 3], and CLKMODE0. Although internal pullup resistors exist on these
pins, providing external connectivity adds convenience to the user in debugging and flexibility in switching
operating modes.
Internal pullup/pulldown resistors also exist on the non-configuration pins on the HPI data bus (HD[15, 13:9,
7:5, 2:0] (for 13) and HD[15, 13, 11:9, 7:5, 2:0] (for 13B)). For proper device operation of the HD[15, 13:9, 7,
1, 0] (for13) or HD[13, 11:9, 7, 1, 0] (for 13B), do not oppose the internal pullup/pulldown resistors on these
non-configuration pins with external pullup/pulldown resistors. If an external controller provides signals to these
HD[15, 13:9, 7, 1, 0] (for 13) or HD[13, 11:9, 7, 1, 0] (for 13B) non-configuration pins, these signals must be driven
to the default state of the pins at reset, or not be driven at all. However, the HD[6, 5, 2] (for 13) or HD[15, 6, 5,
2] (for 13B) non-configuration pins can be opposed and driven during reset.
For the internal pullup/pulldown resistors for all device pins, see the terminal functions table.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
45
TMS320C6713, TMS320C6713B
IPD/
p
)
EMU1
185
B9
JTAG Compatibility Statement section of this data sheet)
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
TERMINAL FUNCTIONS
The terminal functions table identifies the external signal names, the associated pin (ball) numbers along with
the mechanical package designator, the pin type (I, O/Z, or I/O/Z), whether the pin has any internal
pullup/pulldown resistors and a functional pin description. For more detailed information on device
configuration, peripheral selection, multiplexed/shared pins, and debugging considerations, see the Device
Configurations section of this data sheet.
Terminal Functions
SIGNALPIN NO.
NAMEPYPGDP
CLKIN204A3IIPDClock Input
CLKOUT2/GP[2]82Y12O/ZIPD
CLKOUT3184D10OIPDClock output programmable by OSCDIV1 register in the PLL controller.
CLKMODE0205C4IIPU
PLLHV202C5A
TMS192B7IIPUJTAG test-port mode select
TDO187A8O/ZIPUJTAG test-port data out
TDI191A7IIPUJTAG test-port data in
TCK193A6IIPUJTAG test-port clock
TRST197B6IIPD
EMU5—B12I/O/ZIPUEmulation pin 5. Reserved for future use, leave unconnected.
EMU4—C11I/O/ZIPUEmulation pin 4. Reserved for future use, leave unconnected.
EMU3—B10I/O/ZIPUEmulation pin 3. Reserved for future use, leave unconnected.
EMU2—D3I/O/ZIPUEmulation pin 2. Reserved for future use, leave unconnected.
EMU1185B9
EMU0
186
D9
TYPE
I/O/ZIPU
IPD/
†
IPU‡
CLOCK/PLL CONFIGURATION
Clock output at half of device speed (O/Z) [default] (SYSCLK2 internal signal
from the clock generator) or this pin can be programmed as GP[2] pin (I/O/Z)
Clock generator input clock source select
0 − Reserved, do not use.
1 – CLKIN square wave [default]
For proper device operation, this pin must be either left unconnected or
externally pulled up with a 1-kΩ resistor.
§
Analog power (3.3 V) for PLL (PLL Filter)
JTAG EMULATION
JTAG test-port reset. For IEEE 1149.1 JTAG compatibility, see the IEEE 1 149.1
JTAG Compatibility Statement section of this data sheet.
Emulation [1:0] pins
• Select the device functional mode of operation
EMU[1:0]Operation
00Boundary Scan/Functional Mode (see Note)
01Reserved
10Reserved
11Emulation/Functional Mode [default] (see the IEEE 1 149.1
The DSP can be placed in Functional mode when the EMU[1:0] pins are
configured for either Boundary Scan or Emulation.
JTAG Com
DESCRIPTION
atibility Statement section of this data sheet
Note: When the EMU[1:0] pins are configured for Boundary Scan mode, the
internal pulldown (IPD) on the TRST
operate in Functional mode.
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
§
A = Analog signal
46
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
For the Boundary Scan mode drive EMU[1:0] and RESET
signal must not be opposed in order to
pins low.
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
IPD/
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
RESET176A13IIPU
NMI175C13IIPD
GP[7](EXT_INT7)7E3
GP[6](EXT_INT6)2D2
GP[5](EXT_INT5)/
AMUTEIN0
GP[4](EXT_INT4)/
AMUTEIN1
HINT/GP[1]135J20O/ZIPU
HCNTL1/AXR1[1]144G19IIPU
HCNTL0/AXR1[3]146G18IIPU
HHWIL/AFSR1139H20IIPU
HR/W/AXR1[0]143G20IIPUHost read or write select (I) [default] or McASP1 data pin 0 (I/O/Z).
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
§
A = Analog signal
6C1
1C2
TYPE
I/O/ZIPU
IPD/
†
IPU‡
RESETS AND INTERRUPTS
Device reset. When using Boundary Scan mode, drive the EMU[1:0] and
RESET
pins low.
For the C6713B device, this pin does not have an IPU.
Nonmaskable interrupt
• Edge-driven (rising edge)
Any noise on the NMI pin may trigger an NMI interrupt; therefore, if the NMI pin is
not used, it is recommended that the NMI pin be grounded versus relying on the
IPD.
General-purpose input/output pins (I/O/Z) which also function as external
interrupts
• Edge-driven
• Polarity independently selected via the External Interrupt Polarity Register
bits (EXTPOL.[3:0]), in addition to the GPIO registers.
GP[4] and GP[5] pins also function as AMUTEIN1 McASP1 mute input and
AMUTEIN0 McASP0 mute input, respectively, if enabled by the INEN bit in the
associated McASP AMUTE register.
HOST-PORT INTERFACE (HPI)
Host interrupt (from DSP to host) (O) [default] or this pin can be programmed as
a GP[1] pin (I/O/Z).
Host control − selects between control, address, or data registers (I) [default] or
McASP1 data pin 1 (I/O/Z).
Host control − selects between control, address, or data registers (I) [default] or
McASP1 data pin 3 (I/O/Z).
Host half-word select − first or second half-word (not necessarily high or low
order) (I) [default] or McASP1 receive frame sync or left/right clock (LRCLK)
(I/O/Z).
DESCRIPTION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
47
TMS320C6713, TMS320C6713B
IPD/
resistors
prese
present on the ED[7:0] side of the bus.
ppppyp
th
EMIF Big Endian Mode C
[C6713B Only]
f this data
01CE1 width 8 bit, Asynchronous external ROM boot with default
Other HD pins (HD [15, 13:9, 7:5
2:0] for 13 or HD [13
11:9, 7:5, 2:0] for 13B)
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
HD15/GP[15]174B14IPU
HD14/GP[14]173C14IPU
HD13/GP[13]172A15IPU
HD12/GP[12]168C15IPU
HD11/GP[11]167A16
TYPE
HOST-PORT INTERFACE (HPI) (CONTINUED)
I/O/Z
IPD/
†
IPU‡
IPU
DESCRIPTION
Host-port data pins (I/O/Z) [default] or general-purpose input/output pins
(I/O/Z)
• Used for transfer of data, address, and control
• Also controls initialization of DSP modes at reset via pullup/pulldown
resistors
− Device Endian Mode (HD8)
0 – Big Endian
1 − Little Endian
For a C6713BGDP:
− Big Endian Mode Correctness EMIFBE
0 – The EMIF data will always be presented on the ED[7:0] side of the
bus, regardless of the endianess mode (Little/Big Endian).
1 − In Little Endian mode (HD8 =1), the 8-bit or 16-bit EMIF data will be
For a C6713BPYP, when Big Endian mode is selected (LENDIAN = 0), for
proper device operation the EMIFBE pin must be externally pulled low.
This enhancement is not supported on the C6713 device. For proper C6713
device operation, do not oppose the internal pullup (IPU) resistor on this pin.
This new functionality does not affect systems using the current default value of
HD12=1. For more detailed information on the big endian mode correctness,
see
e
sheet.
nt on the ED[7:0] side of the bus.
In Big Endian mode (HD8 =0), the 8-bit or 16-bit EMIF data will be
present on the ED[31:24] side of the bus [default].
orrectness
(HD12) [C6713B only]
portion o
HD10/GP[10]166B16IPU
HD9/GP[9]165C16IPU
HD8/GP[8]160B17IPU
HD7/GP[3]164A18IPU
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
have pullups/pulldowns (IPUs/IPDs). For proper device operation of the HD[15,
13:9, 7, 1, 0] for 13 or HD[13, 11:9, 7, 1, 0] for 13B, do not oppose these pins with
external IPUs/IPDs at reset; however, the HD[6, 5, 2] for 13 or HD[15, 6, 5, 2] for
13B pins can be opposed and driven at reset. For more details, see the Device
Configurations section of this data sheet.
width 32-bit, HPI boot/Emulation boot
width 8-bit, Asynchronous external ROM boot with default
timings (default mode)
width 16-bit, Asynchronous external ROM boot with default
timings
width 32-bit, Asynchronous external ROM boot with default
timings
,
,
48
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
IPD/
Only one asserted du
access
• Only one asserted during any external data access
B
l
• Decoded from the two lowest bits of the internal address
yypy
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
TYPE
IPD/
†
IPU‡
DESCRIPTION
HOST-PORT INTERFACE (HPI) (CONTINUED)
HD6/AHCLKR1161C17
I/O/Z
HD5/AHCLKX1159B18
HD4/GP[0]156C19I/O/ZIPD
Host-port data pin 6 (I/O/Z) [ default] or McASP1 receive high-frequency master
IPU
clock (I/O/Z).
Host-port data pin 5 (I/O/Z) [ default] or McASP1 transmit high-frequency master
IPU
clock (I/O/Z).
Host-port data pin 4 (I/O/Z) [ default] or this pin can be programmed as a GP[0]
pin (I/O/Z).
HD3/AMUTE1154C20IPUHost-port data pin 3 (I/O/Z) [ default] or McASP1 mute output (O/Z).
HD2/AFSX1155D18
I/O/Z
Host-port data pin 2 (I/O/Z) [ default] or McASP1 transmit frame sync or left/right
IPU
clock (LRCLK) (I/O/Z).
HD1/AXR1[7]152D20IPUHost-port data pin 1 (I/O/Z) [ default] or McASP1 data pin 7 (I/O/Z).
HD0/AXR1[4]147E20I/O/ZIPUHost-port data pin 0 (I/O/Z) [ default] or McASP1 data pin 4 (I/O/Z).
HAS/ACLKX1153E18IIPUHost address strobe (I) [default] or McASP1 transmit bit clock (I/O/Z).
HCS/AXR1[2]145F20IIPUHost chip select (I) [default] or McASP1 data pin 2 (I/O/Z).
HDS1/AXR1[6]151E19IIPUHost data strobe 1 (I) [default] or McASP1 data pin 6 (I/O/Z).
HDS2/AXR1[5]150F18IIPUHost data strobe 2 (I) [default] or McASP1 data pin 5 (I/O/Z) .
HRDY/ACLKR1140H19O/ZIPDHost ready (from DSP to host) (O) [default] or McASP1 receive bit clock (I/O/Z).
EMIF − COMMON SIGNALS TO ALL TYPES OF MEMORY
¶
CE357V6O/ZIPU
CE261W6O/ZIPU
CE1103W18O/ZIPU
Memory space enables
• Enabled by bits 28 through 31 of the word address
•
ring any external data
CE0102V17O/ZIPU
BE3—V5O/ZIPU
BE2—Y4O/ZIPU
BE1108U19O/ZIPU
BE0110V20O/ZIPU
EMIF − BUS ARBITRATION
yte-enable contro
• Decoded from the two lowest bits of the internal address
• Byte-write enables for most types of memory
• Can be directly connected to SDRAM read and write mask signal (SDQM)
¶
HOLDA137J18O/ZIPUHold-request-acknowledge to the host
HOLD138J17IIPUHold request from the host
BUSREQ136J19O/ZIPUBus request output
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
¶
To maintain signal integrity for the EMIF signals, serial termination resistors should be inserted into all EMIF output signal lines.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
49
TMS320C6713, TMS320C6713B
/
IPD/
EMIF external address
O/Z
IPU
(
C6711, C6713GDP, and C6713BGDP) [
the 32-bit EMIF add
scheme in the TMS320C6000 DSP External Memory Interface (EMIF)
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
ECLKIN78Y11IIPDExternal EMIF input clock source
ECLKOUT77Y10O/ZIPD
ARE/SDCAS/
SSADS
AOE/SDRAS/
SSOE
AWE/SDWE/
SSWE
ARDY56Y5IIPUAsynchronous memory ready input
EA21109U18
EA20101Y18
EA19100W17
EA1895Y16
EA1799V16
EA1692Y15
EA1594W15
EA1490Y14
EA1391W14
EA1293V14
EA1186W13
EA1076V10
EA974Y9
EA871V9
EA770Y8
EA669W8
EA568V8
EA464W7
EA363V7
EA262Y6
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
¶
To maintain signal integrity for the EMIF signals, serial termination resistors should be inserted into all EMIF output signal lines.
79V11O/ZIPU
75W10O/ZIPU
83V12O/ZIPU
TYPE
EMIF − ASYNCHRONOUS/SYNCHRONOUS MEMORY CONTROL
IPD
†
‡
IPU
EMIF output clock depends on the EKSRC bit (DEVCFG.[4]) and on EKEN bit
(GBLCTL.[5]).
EKSRC = 0 – ECLKOUT is based on the internal SYSCLK3 signal
EKSRC = 1 – ECLKOUT is based on the the external EMIF input clock
EKEN = 0– ECLKOUT held low
EKEN = 1– ECLKOUT enabled to clock (default)
EMIF external address
Note: EMIF address numbering for the C6713PYP and C6713BPYP devices
start with EA2 to maintain signal name compatibility with other C671x devices
e.g.,
scheme in the TMS320C6000 DSP External Memory Interface (EMIF) Reference Guide (literature number SPRU266)].
from the clock generator (default).
source pin (ECLKIN)
DESCRIPTION
¶
see
-
ressing
50
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
IPD/
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
TYPE
IPD/
†
IPU‡
EMIF − DATA
¶
DESCRIPTION
ED31—N3
ED30—P3
ED29—P2
ED28—P1
ED27—R2
ED26—R3
ED25—T2
ED24—T1
ED23—U3
ED22—U1
ED21—U2
ED20—V1
ED19—V2
ED18—Y3
ED17—W4
ED16—V4
ED15112T19
I/O/ZIPUExternal data pins (ED[31:16] pins applicable to GDP package only)
ED14113T20
ED13111T18
ED12118R20
ED11117R19
ED10120P20
ED9119P18
ED8123N20
ED7122N19
ED6121N18
ED5128M20
ED4127M19
ED3129L19
ED2130L18
ED1131K19
ED0132K18
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
¶
To maintain signal integrity for the EMIF signals, serial termination resistors should be inserted into all EMIF output signal lines.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
51
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
IPD/
SIGNALPIN NO.
GP[4](EXT_INT4)/
AMUTEIN1
HD3/AMUTE1154C20I/O/ZIPUHost-port data pin 3 (I/O/Z) [ default] or McASP1 mute output (O/Z).
HRDY/ACLKR1140H19I/O/ZIPDHost ready (from DSP to host) (O) [default] or McASP1 receive bit clock (I/O/Z).
HD6/AHCLKR1161C17I/O/ZIPU
HAS/ACLKX1153E18I/O/ZIPUHost address strobe (I) [default] or McASP 1 transmit bit clock (I/O/Z).
HD5/AHCLKX1159B18I/O/ZIPU
HHWIL/AFSR1139H20I/O/ZIPU
HD2/AFSX1155D18I/O/ZIPU
HD1/AXR1[7]152D20I/O/ZIPUHost-port data pin 1 (I/O/Z) [ default] or McASP1 TX/RX data pin 7 (I/O/Z).
HDS1/AXR1[6]151E19I/O/ZIPUHost data strobe 1 (I) [default] or McASP1 TX/RX data pin 6 (I/O/Z).
HDS2/AXR1[5]150F18I/O/ZIPUHost data strobe 2 (I) [default] or McASP1 TX/RX data pin 5 (I/O/Z).
HD0/AXR1[4]147E20I/O/ZIPUHost-port data pin 0 (I/O/Z) [ default] or McASP1 TX/RX data pin 4 (I/O/Z).
HCNTL0/AXR1[3]146G18I/O/ZIPU
HCS/AXR1[2]145F20I/O/ZIPUHost chip select (I) [default] or McASP1 TX/RX data pin 2 (I/O/Z).
HCNTL1/AXR1[1]144G19I/O/ZIPU
HR/W/AXR1[0]143G20I/O/ZIPUHost read or write select (I) [default] or McASP1 TX/RX data pin 0 (I/O/Z).
GP[5](EXT_INT5)/
AMUTEIN0
CLKX1/AMUTE033L3I/O/ZIPDMcBSP1 transmit clock (I/O/Z) [default] or McASP0 mute output (O/Z).
CLKR0/ACLKR019H3I/O/ZIPDMcBSP0 receive clock (I/O/Z) [default] or McASP0 receive bit clock (I/O/Z).
TINP1/AHCLKX012F2I/O/ZIPD
CLKX0/ACLKX016G3I/O/ZIPDMcBSP0 transmit clock (I/O/Z) [default] or McASP0 transmit bit clock (I/O/Z).
CLKS0/AHCLKR028K3I/O/ZIPD
FSR0/AFSR024J3I/O/ZIPD
FSX0/AFSX021H1I/O/ZIPD
FSR1/AXR0[7]38M3I/O/ZIPD
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
1C2I/O/ZIPU
6C1I/O/ZIPU
†
TYPE
MULTICHANNEL AUDIO SERIAL PORT 1 (McASP1)
MULTICHANNEL AUDIO SERIAL PORT 0 (McASP0)
IPU‡
General-purpose input/output pin 4 and external interrupt 4 (I/O/Z) [default] or
McASP1 mute input (I/O/Z).
Host-port data pin 6 (I/O/Z) [ default] or McASP1 receive high-frequency master
clock (I/O/Z).
Host-port data pin 5 (I/O/Z) [ default] or McASP1 transmit high-frequency
master clock (I/O/Z).
Host half-word select − first or second half-word (not necessarily high or low
order) (I) [default] or McASP1 receive frame sync or left/right clock (LRCLK)
(I/O/Z).
Host-port data pin 2 (I/O/Z) [ default] or McASP1 transmit frame sync or left/
right clock (LRCLK) (I/O/Z).
Host control − selects between control, address, or data registers (I) [default] or
McASP1 TX/RX data pin 3 (I/O/Z).
Host control − selects between control, address, or data registers (I) [default] or
McASP1 TX/RX data pin 1 (I/O/Z).
General-purpose input/output pin 5 and external interrupt 5 (I/O/Z) [default] or
McASP0 mute input (I/O/Z).
McBSP0 external clock source (as opposed to internal) (I) [default] or McASP0
receive high-frequency master clock (I/O/Z).
McBSP0 receive frame sync (I/O/Z) [default] or McASP0 receive frame sync or
left/right clock (LRCLK) (I/O/Z).
McBSP0 transmit frame sync (I/O/Z) [default] or McASP0 transmit frame sync
or left/right clock (LRCLK) (I/O/Z).
McBSP1 receive frame sync (I/O/Z) [default] or McASP0 TX/RX data pin 7
(I/O/Z).
DESCRIPTION
52
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
IPD/
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
MULTICHANNEL AUDIO SERIAL PORT 0 (McASP0) (CONTINUED)
CLKR1/AXR0[6]36M1I/O/ZIPDMcBSP1 receive clock (I/O/Z) [default] or McASP0 TX/RX data pin 6 (I/O/Z).
DX1/AXR0[5]32L2I/O/ZIPUMcBSP1 transmit data (O/Z) [default] or McASP0 TX/RX data pin 5 (I/O/Z).
TOUT1/AXR0[4]13F1I/O/ZIPDTimer 1 output (O) [default] or McASP0 TX/RX data pin 4 (I/O/Z).
TINP0/AXR0[3]17G2I/O/ZIPDTimer 0 input (I) [default] or McASP0 TX/RX data pin 3 (I/O/Z).
TOUT0/AXR0[2]18G1I/O/ZIPDTimer 0 output (O) [default] or McASP0 TX/RX data pin 2 (I/O/Z).
DX0/AXR0[1]20H2I/O/ZIPUMcBSP0 transmit data (O/Z) [default] or McASP0 TX/RX data pin 1 (I/O/Z).
DR0/AXR0[0]27J1I/O/ZIPUMcBSP0 receive data (I) [default] or McASP0 TX/RX data pin 0 (I/O/Z).
TOUT1/AXR0[4]13F1OIPDTimer 1 output (O) [default] or McASP0 TX/RX data pin 4 (I/O/Z).
TINP1/AHCLKX012F2IIPD
TOUT0/AXR0[2]18G1OIPDTimer 0 output (O) [default] or McASP0 TX/RX data pin 2 (I/O/Z).
TINP0/AXR0[3]17G2IIPDTimer 0 input (I) [default] or McASP0 TX/RX data pin 3 (I/O/Z).
CLKS1/SCL18E1I—
CLKR1/AXR0[6]36M1I/O/ZIPDMcBSP1 receive clock (I/O/Z) [default] or McASP0 TX/RX data pin 6 (I/O/Z).
CLKX1/AMUTE033L3I/O/ZIPDMcBSP1 transmit clock (I/O/Z) [default] or McASP0 mute output (O/Z).
DR1/SDA137M2I—
DX1/AXR0[5]32L2O/ZIPUMcBSP1 transmit data (O/Z) [default] or McASP0 TX/RX data pin 5 (I/O/Z).
FSR1/AXR0[7]38M3I/O/ZIPD
FSX131L1I/O/ZIPDMcBSP1 transmit frame sync
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
McBSP1 external clock source (as opposed to internal) (I) [default] or I2C1
clock (I/O/Z).
This pin does not have an internal pullup or pulldown. When this pin is used as a
McBSP pin, this pin should either be driven externally at all times or be pulled up
with a 10-kΩ resistor to a valid logic level. Because it is common for some ICs to
3-state their outputs at times, a 10-kΩ pullup resistor may be desirable even
when an external device is driving the pin.
McBSP1 receive data (I) [default] or I2C1 data (I/O/Z).
This pin does not have an internal pullup or pulldown. When this pin is used as a
McBSP pin, this pin should either be driven externally at all times or be pulled up
with a 10-kΩ resistor to a valid logic level. Because it is common for some ICs to
3-state their outputs at times, a 10-kΩ pullup resistor may be desirable even
when an external device is driving the pin.
McBSP1 receive frame sync (I/O/Z) [default] or McASP0 TX/RX data pin 7
(I/O/Z).
DESCRIPTION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
53
TMS320C6713, TMS320C6713B
IPD/
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
TYPE
IPD/
†
IPU‡
DESCRIPTION
MULTICHANNEL BUFFERED SERIAL PORT 0 (McBSP0)
CLKS0/AHCLKR028K3IIPD
McBSP0 external clock source (as opposed to internal) (I) [default] or McASP0
receive high-frequency master clock (I/O/Z).
CLKR0/ACLKR019H3I/O/ZIPDMcBSP0 receive clock (I/O/Z) [default] or McASP0 receive bit clock (I/O/Z).
CLKX0/ACLKX016G3I/O/ZIPDMcBSP0 transmit clock (I/O/Z) [default] or McASP0 transmit bit clock (I/O/Z).
DR0/AXR0[0]27J1IIPUMcBSP0 receive data (I) [default] or McASP0 TX/RX data pin 0 (I/O/Z).
DX0/AXR0[1]20H2O/ZIPUMcBSP0 transmit data (O/Z) [default] or McASP0 TX/RX data pin 1 (I/O/Z).
FSR0/AFSR024J3I/O/ZIPD
FSX0/AFSX021H1I/O/ZIPD
McBSP0 receive frame sync (I/O/Z) [default] or McASP0 receive frame sync or
left/right clock (LRCLK) (I/O/Z).
McBSP0 transmit frame sync (I/O/Z) [default] or McASP0 transmit frame sync or
left/right clock (LRCLK) (I/O/Z).
INTER-INTEGRATED CIRCUIT 1 (I2C1)
McBSP1 external clock source (as opposed to internal) (I) [default] or I2C1 clock
(I/O/Z).
CLKS1/SCL18E1I/O/Z—
This pin must be externally pulled up. When this pin is used as an I2C pin, the
value of the pullup resistor is dependent on the number of devices connected to
the I2C bus. For more details, see the Philips I
2
C Specification Revision 2.1
(January 2000).
McBSP1 receive data (I) [default] or I2C1 data (I/O/Z).
This pin must be externally pulled up. When this pin is used as an I2C pin, the
DR1/SDA137M2I/O/Z—
value of the pullup resistor is dependent on the number of devices connected to
the I2C bus. For more details, see the Philips I
2
C Specification Revision 2.1
(January 2000).
INTER-INTEGRATED CIRCUIT 0 (I2C0)
I2C0 clock.
SCL041N1I/O/Z—
This pin must be externally pulled up. The value of the pullup resistor on this pin
is dependent on the number of devices connected to the I2C bus. For more
details, see the Philips I
2
C Specification Revision 2.1 (January 2000).
I2C0 data.
SDA042N2I/O/Z—
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
This pin must be externally pulled up. The value of the pullup resistor on this pin
is dependent on the number of devices connected to the I2C bus. For more
details, see the Philips I
2
C Specification Revision 2.1 (January 2000).
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
54
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
IPD/
(I/O/Z) and some function as boot configuration pins at reset
• Also controls initialization of DSP modes at reset via pullup/pulldown
GPxEN = 1; GP[x] pin is
;
GPxDIR = 1; GP[x] pin is an output
For the functionality description of the Host port data pins or the boot configura
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
TYPE
IPD/
†
IPU‡
DESCRIPTION
GENERAL-PURPOSE INPUT/OUTPUT (GPIO)
HD15/GP[15]174B14IPU
Host-port data pins (I/O/Z) [default] or general-purpose input/output pins
.
HD14/GP[14]173C14IPU
HD13/GP[13]172A15IPU
HD12/GP[12]168C15
IPU
I/O/Z
HD11/GP[11]167A16
IPU
• Used for transfer of data, address, and control
• Also controls initialization of DSP modes at reset via pullup/pulldown
resistors
As general-purpose input/output (GP[x]) functions, these pins are software-configurable through registers. The “GPxEN” bits in the GP Enable register and the
GPxDIR bits in the GP Direction register must be properly configured:
enabled.
HD10/GP[10]166B16IPU
HD9/GP[9]165C16IPU
HD8/GP[8]160B17IPU
GP[7](EXT_INT7)7E3
GPxDIR = 0; GP[x] pin is an input.
GPxDIR = 1
GP[x] pin is an output.
.
For the functionality description of the Host-port data pins or the boot configuration pins, see the Host-Port Interface (HPI) portion of this table.
General-purpose input/output pins (I/O/Z) which also function as external
interrupts
GP[6](EXT_INT6)2D2
• Edge-driven
• Polarity independently selected via the External Interrupt Polarity Register
GP[5](EXT_INT5)/
AMUTEIN0
GP[4](EXT_INT4)/
AMUTEIN1
6C1
1C2
I/O/ZIPU
HD7/GP[3]164A18I/O/ZIPU
CLKOUT2/GP[2]82Y12I/O/ZIPD
HINT/GP[1]135J20OIPU
HD4/GP[0]156C19I/O/ZIPD
bits (EXTPOL.[3:0])
GP[4] and GP[5] pins also function as AMUTEIN1 McASP1 mute input and
AMUTEIN0 McASP0 mute input, respectively, if enabled by the INEN bit in the
associated McASP AMUTE register.
Host-port data pin 7 (I/O/Z) [default] or general-purpose input/output pin 3
(I/O/Z)
Clock output at half of device speed (O/Z) [default] or this pin can be
programmed as GP[2] pin.
Host interrupt (from DSP to host) (O) [default] or this pin can be programmed as
a GP[1] pin (I/O/Z).
Host-port data pin 4 (I/O/Z) [ default] or this pin can be programmed as a GP[0]
pin (I/O/Z).
RESERVED FOR TEST
RSV198A5O/ZIPUReserved. (Leave unconnected, donot connect to power or ground)
RSV200B5A
§
Reserved. (Leave unconnected, do not connect to power or ground)
RSV179C12O—Reserved. (Leave unconnected, donot connect to power or ground)
RSV—D7O/ZIPDReserved. (Leave unconnected, donot connect to power or ground)
RSV178D12I—
Reserved. This pin does not have an IPU. For proper C6713/13B device
operation, the D12 pin must be externally pulled down with a 10-kΩ resistor.
RSV181A12—Reserved. (Leave unconnected, donot connect to power or ground)
RSV180B11—Reserved. (Leave unconnected, donot connect to power or ground)
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
IPD = Internal pulldown, IPU = Internal pullup. [These IPD/IPU signal pins feature a 13-kΩ resistor (approximate) for the IPD or 18-kΩ resistor
(approximate) for the IPU. An external pullup or pulldown resistor no greater than 4.4 kΩ and 2.0 kΩ, respectively, should be used to pull a signal
to the opposite supply rail.]
§
A = Analog signal
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
55
TMS320C6713, TMS320C6713B
3.3 V supply voltage
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
—A17
—B3
—B8
—B13
—C10
—D1
—D16
—D19
—F3
—H18
—J2
—M18
—R1
—R18
—T3
—U5
—U7
—U12
—U16
DV
DD
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
—V13
—V15
—V19
—W3
—W9
—W12
—Y7
—Y17
5—
9—
25—
44—
47—
55—
58—
65—
72—
84—
87—
98—
107—
TYPE
S
†
SUPPLY VOLTAGE PINS
3.3-V supply voltage
(see the power-supply decoupling portion of this data sheet)
DESCRIPTION
56
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
DV
DD
S
(
the
f this data sheet)
1.2-V
[PYP
]
]
1.20‡-V supply voltage [GDP package]
ppyg[pgy]
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
114—
126—
141—
DV
DD
CV
DD
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
This value is compatible with existing 1.26V designs.
162—
183—
188—
206—
—A4
—A9
—A10
—B2
—B19
—C3
—C7
—C18
—D5
—D6
—D11
—D14
—D15
—F4
—F17
—K1
—K4
—K17
—L4
—L17
—L20
—R4
—R17
—U6
—U10
—U11
—U14
—U15
—V3
—V18
—W2
—W19
TYPE
S
S
†
SUPPLY VOLTAGE PINS (CONTINUED)
3.3-V supply voltage
see
supply voltage
1.20‡-V supply voltage [GDP package
1.4-V supply voltage [GDP package C6711D-300 only]
(see the power-supply decoupling portion of this data sheet)
-
power-supply decoupling portion o
DESCRIPTION
package
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
57
TMS320C6713, TMS320C6713B
1.2-V
[PYP
]
]
1.20‡-V supply voltage [GDP package]
ppyg[pgy]
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
3—
11—
14—
22—
29—
35—
40—
43—
46—
50—
51—
53—
60—
67—
80—
CV
DD
V
SS
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
‡
This value is compatible with existing 1.26V designs.
89—
96—
104—
105—
116—
124—
133—
149—
157—
169—
171—
177—
190—
195—
196—
201—
208—
—A1
—A2
—A11
—A14
—A19
—A20
—B1
—B4
†
TYPE
SUPPLY VOLTAGE PINS (CONTINUED)
supply voltage
1.20‡-V supply voltage [GDP package
S
1.4-V supply voltage [GDP package C6711D-300 only]
(see the power-supply decoupling portion of this data sheet)
GNDGround pins
package
GROUND PINS
DESCRIPTION
58
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
and act as bo
and act as both electrical grounds and thermal relief (thermal dissipation).
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
—B15
—B20
—C6
—C8
—C9
—D4
—D8
—D13
—D17
—E2
—E4
—E17
—F19
—G4
—G17
—H4
—H17
—J4
V
SS
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
#
Shaded pin numbers denote the center thermal balls.
—J9
—J10
—J11
—J12
—K2
—K9
—K10
—K11
—K12
—K20
—L9
—L10
—L11
—L12
—M4
—M9
—M10
—M11
—M12
—M17
TYPE
GND
†
GROUND PINS (CONTINUED)
Ground pins
The center thermal balls (J9−J12, K9−K12, L9−L12, M9−M12) [shaded] are all tied to ground
#
th electrical grounds and thermal relief (thermal dissipation).
DESCRIPTION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
59
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Terminal Functions (Continued)
SIGNALPIN NO.
NAMEPYPGDP
—N4
—N17
—P4
—P17
—P19
—T4
—T17
—U4
—U8
—U9
—U13
—U17
—U20
—W1
—W5
—W11
—W16
—W20
—Y1
V
SS
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
—Y2
—Y13
—Y19
—Y20
4—
10—
15—
23—
26—
30—
34—
39—
45—
48—
49—
52—
54—
59—
66—
73—
81—
†
TYPE
GROUND PINS (CONTINUED)
GNDGround pins
DESCRIPTION
60
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
Terminal Functions (Continued)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
SIGNALPIN NO.
NAMEPYPGDP
85—
88—
97—
106—
115—
125—
134—
142—
V
SS
†
I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground
148—
158—
163—
170—
182—
189—
194—
199—
203—
207—
†
TYPE
GROUND PINS (CONTINUED)
GNDGround pins
DESCRIPTION
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
61
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
development support
TI offers an extensive line of development tools for the TMS320C6000 DSP platform, 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 C6000 DSP-based applications:
Software Development Tools:
Code Composer Studio Integrated Development Environment (IDE): including Editor
C/C++/Assembly Code Generation, and Debug plus additional development tools
Scalable, Real-Time Foundation Software (DSP/BIOS), which provides the basic run-time target software
needed to support any DSP application.
Hardware Development Tools:
Extended Development System (XDS) Emulator (supports C6000 DSP multiprocessor system debug)
EVM (Evaluation Module)
For a complete listing of development-support tools for the TMS320C6000 DSP platform, visit the Texas
Instruments web site on the Worldwide Web at http://www.ti.com uniform resource locator (URL). For
information on pricing and availability, contact the nearest TI field sales office or authorized distributor.
TI offers an extensive line of development tools for the TMS320C6000 DSP platform, including tools to
evaluate the performance of the processors, generate code, develop algorithm implementations, and fully
integrate and debug software and hardware modules.
C6000 and XDS are trademarks of Texas Instruments.
62
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
device and development-support tool nomenclature
To designate the stages in the product development cycle, TI assigns prefixes to the part numbers of all
TMS320 DSP devices and support tools. Each TMS320 DSP commercial family member has one of three
prefixes: TMX, TMP, or TMS. Texas Instruments recommends two of three possible prefix designators for
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).
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 Texas Instruments internal qualification
testing.
TMDSFully qualified development-support product
TMX and TMP devices and TMDX development-support tools are shipped with appropriate disclaimers
describing their limitations and intended uses. Experimental devices (TMX) may not be representative of a final
product and Texas Instruments reserves the right to change or discontinue these products without notice.
TMS devices and TMDS development-support tools have been characterized fully, and the quality and reliability
of the device have been demonstrated fully. TI’s standard warranty applies.
Predictions show that prototype devices (TMX or TMP) have a greater failure rate than the standard production
devices. Texas Instruments recommends that these devices not be used in any production system because their
expected end-use failure rate still is undefined. Only qualified production devices are to be used.
TI device nomenclature also includes a suffix with the device family name. This suffix indicates the package type
(for example, GDP), the temperature range (for example, blank is the default commercial temperature range),
and the device speed range in megahertz (for example, -225 is 225 MHz).
Figure 12 provides a legend for reading the complete device name for any TMS320C6000 DSP family
member.
TMS320 is a trademark of Texas Instruments.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
63
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
device and development-support tool nomenclature (continued)
Table 24. TMS320C6713 and C6713B Device Part Numbers (P/Ns) and Ordering Information
Figure 12. TMS320C6000 DSP Device Nomenclature (Including the TMS320C6713 and C6713B Devices)
†
This value is compatible with existing 1.26V designs.
MicroStar BGA and PowerPAD are trademarks of Texas Instruments.
64
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
documentation support
Extensive documentation supports all TMS320 DSP 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 reference guides for all devices and tools;
technical briefs; development-support tools; on-line help; and hardware and software applications. The
following is a brief, descriptive list of support documentation specific to the C6000 DSP devices:
The TMS320C6000 CPU and Instruction Set Reference Guide (literature number SPRU189) describes the
C6000 CPU (DSP core) architecture, instruction set, pipeline, and associated interrupts.
The TMS320C6000 DSP Peripherals Overview Reference Guide [hereafter referred to as the C6000 PRG
Overview] (literature number SPRU190) provides an overview and briefly describes the functionality of the
peripherals available on the C6000 DSP platform of devices. This document also includes a table listing the
peripherals available on the C6000 devices along with literature numbers and hyperlinks to the associated
peripheral documents. These C6713/13B peripherals are similar to the peripherals on the TMS320C6711 and
TMS320C64x devices; therefore, see the TMS320C6711 (C6711 or C67x) peripheral information, and in some
cases, where indicated, see the TMS320C6711 (C6711 or C671x) peripheral information and in some cases,
where indicated, see the C64x information in the C6000 PRG Overview (literature number SPRU190).
The TMS320DA6000 DSP Multichannel Audio Serial Port (McASP) Reference Guide (literature number
SPRU041) describes the functionality of the McASP peripherals available on the C6713/13B device.
describes the functionality of the I2C peripherals available on the C6713/13B device.
The PowerPAD Thermally Enhanced Package Technical Brief (literature number SLMA002) focuses on the
specifics of integrating a PowerPAD package into the printed circuit board design to make optimum use of the
thermal efficiencies designed into the PowerPAD package.
The TMS320C6000 Technical Brief (literature number SPRU197) gives an introduction to the C62x/C67x
devices, associated development tools, and third-party support.
The Migrating from TMS320C6211(B)/C6711(B) to TMS320C6713 application report (literature number
SPRA851) indicates the differences and describes the issues of interest related to the migration from the Texas
Instruments TMS320C6211(B)/C6711(B), GFN package, to the TMS320C6713, GDP package.
The TMS320C6713, TMS320C6713B Digital Signal Processors Silicon Errata (literature number SPRZ191)
describes the known exceptions to the functional specifications for particular silicon revisions of the
TMS320C6713 and TMS320C6713B devices.
The TMS320C6713/12C/11C Power Consumption Summary application report (literature number SPRA889)
discusses the power consumption for user applications with the TMS320C6713/13B, TMS320C6712C/12D,
and TMS320C6711C/11D DSP devices.
The Using IBIS Models for Timing Analysis application report (literature number SPRA839) describes how to
properly use IBIS models to attain accurate timing analysis for a given system.
The tools support documentation is electronically available within the Code Composer Studio Integrated
Development Environment (IDE). For a complete listing of C6000 DSP latest documentation, visit the Texas
Instruments web site on the Worldwide Web at http://www.ti.com uniform resource locator (URL).
See the Worldwide Web URL for the application report How To Begin Development Today With theTMS320C6713 Floating-Point DSP (literature number SPRA809), which describes in more detail the
similarities/differences between the C6713 and C6711 C6000 DSP devices.
C62x is a trademark of Texas Instruments.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
65
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
CPU CSR register description
The CPU control status register (CSR) contains the CPU ID and CPU Revision ID (bits 16−31) as well as the
status of the device power-down modes [PWRD field (bits 15−10)], program and data cache control modes, the
endian bit (EN, bit 8) and the global interrupt enable (GIE, bit 0) and previous GIE (PGIE, bit 1). Figure 13 and
Table 25 identify the bit fields in the CPU CSR register.
For more detailed information on the bit fields in the CPU CSR register, see the TMS320C6000 DSP Peripherals
Overview Reference Guide (literature number SPRU190) and the TMS320C6000 CPU and Instruction Set
Reference Guide (literature number SPRU189).
3124 2316
CPU IDREVISION ID
R-0x02R-0x03 [13/13B]
151098765 4210
SATENPCCDCCPGIEGIE
Legend:
PWRD
R/W-0R/C-0R-1R/W-0R/W-0R/W-0 R/W-0
R = Readable by the MVC instruction, R/W = Readable/Writeable by the MVC instruction; W = Read/write; -n = value after reset, -x = undefined value after
reset, C = Clearable by the MVC instruction
Figure 13. CPU Control Status Register (CPU CSR)
66
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
Identifies which CPU is used and defines the silicon revision of the CPU
CPU CSR register description (continued)
Table 25. CPU CSR Register Bit Field Description
BIT #NAMEDESCRIPTION
31:24CPU ID
23:16REVISION ID
15:10PWRD
9SAT
8EN
7:5PCC
4:2DCC
1PGIE
0GIE
CPU ID + REV ID. Read only.
Identifies which CPU is used and defines the silicon revision of the CPU.
CPU ID + REVISION ID (31:16) are combined for a value of: 0x0203 for C6713/13B
Control power-down modes. The values are always read as zero.
000000 = no power-down (default)
001001 = PD1, wake-up by an enabled interrupt
010001 = PD1, wake-up by an enabled or not enabled interrupt
011010 = PD2, wake-up by a device reset
011100= PD3, wake-up by a device reset
Others= Reserved
Saturate bit.
Set when any unit performs a saturate. This bit can be cleared only by the MVC instruction and can
be set only by a functional unit. The set by the a functional unit has priority over a clear (by the MVC
instruction) if they occur on the same cycle. The saturate bit is set one full cycle (one delay slot) after
a saturate occurs. This bit will not be modified by a conditional instruction whose condition is false.
Endian bit. This bit is read-only.
Depicts the device endian mode.
0 = Big Endian mode.
1 = Little Endian mode [default].
Program Cache control mode.
L1D, Level 1 Program Cache
000/010 =Cache Enabled / Cache accessed and updated on reads.
All other PCC values reserved.
Data Cache control mode.
L1D, Level 1 Data Cache
000/010 =Cache Enabled / 2-Way Cache
All other DCC values reserved
Previous GIE (global interrupt enable); saves the Global Interrupt Enable (GIE) when an interrupt is
taken. Allows for proper nesting of interrupts.
0 = Previous GIE value is 0. (default)
1 = Previous GIE value is 1.
Global interrupt enable bit.
Enables (1) or disables (0) all interrupts except the reset interrupt and NMI (nonmaskable interrupt).
0 = Disables all interrupts (except the reset interrupt and NMI) [default]
1 = Enables all interrupts (except the reset interrupt and NMI)
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
67
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
The C6713B device includes an enhancement to the cache configuration (CCFG) register. A “P” bit
(CCFG.31) allows the programmer to select the priority of accesses to L2 memory originating from the transfer
crossbar (TC) over accesses originating from the L1D memory system. An important class of TC accesses is
EDMA transfers, which move data to or from the L2 memory. While the EDMA normally has no issue accessing
L2 memory due to the high hit rates on the L1D memory system, there are pathological cases where certain
CPU behavior could block the EDMA from accessing the L2 memory for long enough to cause a missed deadline
when transferring data to a peripheral such as the McASP or McBSP. This can be avoided by setting the P bit
to “1” because the EDMA will assume a higher priority than the L1D memory system when accessing L2
memory.
For more detailed information on the P-bit function and for silicon advisories concerning EDMA L2 memory
accesses blocked, see the TMS320C6713, TMS320C6713B Digital Signal Processors Silicon Errata (literature
number SPRZ191).
31301098
†
P
R/W-0R-xW-0W-0R-0 0000R/W-000
Legend: R = Readable; R/W = Readable/Writeable; -n = value after reset; -x = undefined value after reset
†
Unlike the C6713 device, the C6713B device includes a P bit.
ReservedIPIDReservedL2MODE
7
320
Figure 14. Cache Configuration Register (CCFG)
Table 26. CCFG Register Bit Field Description
BIT #NAMEDESCRIPTION
L1D requestor priority to L2 bit.
31P
30:10ReservedReserved. Read-only, writes have no effect.
9IP
8ID
7:3ReservedReserved. Read-only, writes have no effect.
P = 0: L1D requests to L2 higher priority than TC requests
P = 1: TC requests to L2 higher priority than L1D requests
Invalidate L1P bit.
0 = Normal L1P operation
1 = All L1P lines are invalidated
Invalidate L1D bit.
0 = Normal L1D operation
1 = All L1D lines are invalidated
The C67x DSP core supports 16 prioritized interrupts, which are listed in Table 27. The highest priority interrupt
is INT_00 (dedicated to RESET) while the lowest priority is INT_15. The first four interrupts are non-maskable
and fixed. The remaining interrupts (4−15) are maskable and default to the interrupt source listed in Table 27.
However, their interrupt source may be reprogrammed to any one of the sources listed in Table 28 (Interrupt
Selector). Table 28 lists the selector value corresponding to each of the alternate interrupt sources. The selector
choice for interrupts 4−15 is made by programming the corresponding fields (listed in Table 27) in the MUXH
(address 0x019C0000) and MUXL (address 0x019C0004) registers.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
69
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
Interrupt Events GPINT4, GPINT5, GPINT6, and GPINT7 are outputs from the GPIO module (GP). They originate from the device pins
GP[4](EXT_INT4)/AMUTEIN1, GP[5](EXT_INT5)/AMUTEIN0, GP[6](EXT_INT6), and GP[7](EXT_INT7). These pins can be used as
edge-sensitive EXT_INTx with polarity controlled by the External Interrupt Polarity Register (EXTPOL.[3:0]). The corresponding pins must
first be enabled in the GPIO module by setting the corresponding enable bits in the GP Enable Register (GPEN.[7:4]), and configuring them
as inputs in the GP Direction Register (GPDIR.[7:4]). These interrupts can be controlled through the GPIO module in addition to the simple
EXTPOL.[3:0] bits. For more information on interrupt control via the GPIO module, see the TMS320C6000 DSP General-PurposeInput/Output (GPIO) Reference Guide (literature number SPRU584).
70
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
external interrupt sources
The C6713/13B device supports many external interrupt sources as indicated in Table 29. Control of the
interrupt source is done by the associated module and is made available by enabling the corresponding binary
interrupt selector value (see Table 28 Interrupt Selector shaded rows). Due to pin muxing and module usage,
not all external interrupt sources are available at the same time.
Table 29. External Interrupt Sources and Peripheral Module Control
PIN
NAME
GP[15]GPINT0GPIO
GP[14]GPINT0GPIO
GP[13]GPINT0GPIO
GP[12]GPINT0GPIO
GP[11]GPINT0GPIO
GP[10]GPINT0GPIO
GP[9]GPINT0GPIO
GP[8]GPINT0GPIO
GP[7]GPINT0 or GPINT7GPIO
GP[6]GPINT0 or GPINT6GPIO
GP[5]GPINT0 or GPINT5GPIO
GP[4]GPINT0 or GPINT4GPIO
GP[3]GPINT0GPIO
GP[2]GPINT0GPIO
GP[1]GPINT0GPIO
GP[0]GPINT0GPIO
INTERRUPT
EVENT
MODULE
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
71
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
EDMA module and EDMA selector
The C67x EDMA supports up to 16 EDMA channels. Four of the sixteen channels (channels 8−11) are reserved
for EDMA chaining, leaving 12 EDMA channels available to service peripheral devices.
The EDMA selector registers that control the EDMA channels servicing peripheral devices are located at
addresses 0x01A0FF00 (ESEL0), 0x01A0FF04 (ESEL1), and 0x01A0FF0C (ESEL3). These EDMA selector
registers control the mapping of the EDMA events to the EDMA channels. Each EDMA event has an assigned
EDMA selector code (see Table 31). By loading each EVTSELx register field with an EDMA selector code, users
can map any desired EDMA event to any specified EDMA channel. Table 30 lists the default EDMA selector
value for each EDMA channel.
See Table 32 and Table 33 for the EDMA Event Selector registers and their associated bit descriptions.
72
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
EDMA module and EDMA selector (continued)
Table 30. EDMA ChannelsTable 31. EDMA Selector
EDMA
CHANNEL
0ESEL0[5:0]000000DSPINT000000DSPINTHPI
1ESEL0[13:8]000001TINT0000001TINT0TIMER0
2ESEL0[21:16]000010TINT1000010TINT1TIMER1
3ESEL0[29:24]000011SDINT000011SDINTEMIF
4ESEL1[5:0]000100GPINT4000100GPINT4GPIO
5ESEL1[13:8]000101GPINT5000101GPINT5GPIO
6ESEL1[21:16]000110GPINT6000110GPINT6GPIO
7ESEL1[29:24]000111GPINT7000111GPINT7GPIO
8−−TCC8 (Chaining)001000GPINT0GPIO
9−−TCC9 (Chaining)001001GPINT1GPIO
10−−TCC10 (Chaining)001010GPINT2GPIO
11−−TCC11 (Chaining)001011GPINT3GPIO
12ESEL3[5:0]001100XEVT0001100XEVT0McBSP0
13ESEL3[13:8]001101REVT0001101REVT0McBSP0
14ESEL3[21:16]001110XEVT1001110XEVT1McBSP1
15ESEL3[29:24]001111REVT1001111REVT1McBSP1
EDMA
SELECTOR
CONTROL
REGISTER
DEFAULT
SELECTOR
VALUE
(BINARY)
DEFAULT
EDMA
EVENT
EDMA
SELECTOR
CODE (BINARY)
010000−011111Reserved
100000AXEVTE0McASP0
100001AXEVTO0McASP0
100010AXEVT0McASP0
100011AREVTE0McASP0
100100AREVTO0McASP0
100101AREVT0McASP0
100110AXEVTE1McASP1
100111AXEVTO1McASP1
101000AXEVT1McASP1
101001AREVTE1McASP1
101010AREVTO1McASP1
101011AREVT1McASP1
101100I2CREVT0I2C0
101101I2CXEVT0I2C0
101110I2CREVT1I2C1
101111I2CXEVT1I2C1
110000GPINT8GPIO
110001GPINT9GPIO
110010GPINT10GPIO
110011GPINT11GPIO
110100GPINT12GPIO
110101GPINT13GPIO
110110GPINT14GPIO
110111GPINT15GPIO
111000−111111Reserved
EDMA
EVENT
MODULE
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
73
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
EDMA module and EDMA selector (continued)
Table 32. EDMA Event Selector Registers (ESEL0, ESEL1, and ESEL3)
ESEL0 Register (0x01A0 FF00)
31
30
2928 2724 2322 2120 1916
ReservedEVTSEL3ReservedEVTSEL2
R−0R/W−00 0011bR−0R/W−00 0010b
15
Reserved
14
1312 118765430
EVTSEL1ReservedEVTSEL0
R−0R/W−00 0001bR−0R/W−00 0000b
Legend: R = Read only, R/W = Read/Write; -n = value after reset
ESEL1 Register (0x01A0 FF04)
31
ReservedEVTSEL7ReservedEVTSEL6
15
Reserved
Legend: R = Read only, R/W = Read/Write; -n = value after reset
30
2928 2724 2322 2120 1916
R−0R/W−00 0111bR−0R/W−00 0110b
14
1312 11876 5430
EVTSEL5ReservedEVTSEL4
R−0R/W−00 0101bR−0R/W−00 0100b
ESEL3 Register (0x01A0 FF0C)
31
ReservedEVTSEL15ReservedEVTSEL14
15
ReservedEVTSEL13ReservedEVTSEL12
Legend: R = Read only, R/W = Read/Write; -n = value after reset
ReservedReserved. Read-only, writes have no effect.
EDMA event selection bits for channel x. Allows mapping of the EDMA events to the EDMA channels.
The EVTSEL0 through EVTSEL15 bits correspond to the channels 0 to 15, respectively. These
EVTSELx fields are user−selectable. By configuring the EVTSELx fields to the EDMA selector value
EVTSELx
of the desired EDMA sync event number (see Table 31), users can map any EDMA event to the
EDMA channel.
For example, if EVTSEL15 is programmed to 00 0001b (the EDMA selector code for TINT0), then
channel 15 is triggered by Timer0 TINT0 events.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
PLL and PLL controller
The TMS320C6713/13B includes a PLL and a flexible PLL Controller peripheral consisting of a prescaler (D0)
and four dividers (OSCDIV1, D1, D2, and D3). The PLL controller is able to generate different clocks for different
parts of the system (i.e., DSP core, Peripheral Data Bus, External Memory Interface, McASP, and other
peripherals). Figure 15 illustrates the PLL, the PLL controller, and the clock generator logic.
+3.3 V
EMI filter
in System
For Use
C2C1
10 µF 0.1 µF
PLLHV
CLKMODE0
CLKIN
Reserved
CLKOUT3
ECLKIN
DIVIDER D0
1
0
OSCDIV1
/1, /2,
..., /32
ENA
OD1EN (OSCDIV1.[15])
PLLREF
/1, /2,
..., /32
ENA
ENAENA
D0EN (PLLDIV0.[15])
AUXCLK
(Internal Clock Source
to McASP0 and McASP1)
PLL
x4 to x25
D1EN (PLLDIV1.[15])
D3EN (PLLDIV3.[15])
PLLOUT
1
0
PLLEN (PLL_CSR.[0])
DIVIDER D1
/1, /2,
..., /32
ENA
DIVIDER D2
/1, /2,
..., /32
ENAD2EN (PLLDIV2.[15])
DIVIDER D3
/1, /2,
..., /32
ENA
†
SYSCLK1
(DSP Core)
†
SYSCLK2
(Peripherals)
SYSCLK3
(EMIF Clock Input)
C6713/13B DSPs
†
Dividers D1 and D2 must never be disabled. Never write a “0” to the D1EN or D2EN bits in the PLLDIV1 and PLLDIV2 registers.
NOTES: A. Place all PLL external components (C1, C2, and the EMI Filter) as close to the C67x DSP device as possible. For the best
performance, TI recommends that all the PLL external components be on a single side of the board without jumpers, switches, or
components other than the ones shown.
B. For reduced PLL jitter, maximize the spacing between switching signals and the PLL external components (C1, C2, and the EMI
Filter).
C. The 3.3-V supply for the EMI filter must be from the same 3.3-V power plane supplying the I/O voltage, DV
D. EMI filter manufacturer TDK part number ACF451832-333, -223, -153, -103. Panasonic part number EXCCET103U.
EMIF
1 0
ECLKOUT
.
DD
EKSRC Bit
(DEVCFG.[4])
Figure 15. PLL and Clock Generator Logic
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
75
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
PLL and PLL controller (continued)
The PLL Reset Time is the amount of wait time needed when resetting the PLL (writing PLLRST=1), in order
for the PLL to properly reset, before bringing the PLL out of reset (writing PLLRST = 0). For the PLL Reset Time
value, see Table 34. The PLL Lock Time is the amount of time from when PLLRST = 0 with PLLEN = 0 (PLL
out of reset, but still bypassed) to when the PLLEN bit can be safely changed to “1” (switching from bypass to
the PLL path), see Table 34 and Figure 15.
Under some operating conditions, the maximum PLL Lock Time may vary from the specified typical value. For
the PLL Lock Time values, see Table 34.
Table 34. PLL Lock and Reset Times
MINTYPMAXUNIT
PLL Lock Time75187.5µs
PLL Reset Time125ns
Table 35 shows the C6713/13B device’s CLKOUT signals, how they are derived and by what register control
bits, and what is the default settings. For more details on the PLL, see the PLL and Clock Generator Logic
diagram (Figure 15).
Table 35. CLKOUT Signals, Default Settings, and Control
CLOCK OUTPUT
SIGNAL NAME
CLKOUT2ON (ENABLED)
CLKOUT3ON (ENABLED)OD1EN = 1 (OSCDIV1.[15])Derived from CLKIN
ECLKOUT
DEFAULT SETTING
(ENABLED or DISABLED)
ON (ENABLED);
derived from SYSCLK3
CONTROL
BIT(s) (Register)
D2EN = 1 (PLLDIV2.[15])
CK2EN = 1 (EMIF GBLCTL.[3])
EKSRC = 0 (DEVCFG.[4])
EKEN = 1 (EMIF GBLCTL.[5])
DESCRIPTION
SYSCLK2 selected [default]
SYSCLK3 selected [default].
To select ECLKIN source:
EKSRC = 1 (DEVCFG.[4]) and
EKEN = 1 (EMIF GBLCTL.[5])
The input clock (CLKIN) is directly available to the McASP modules as AUXCLK for use as an internal
high-frequency clock source. The input clock (CLKIN) may also be divided down by a programmable divider
OSCDIV1 (/1, /2, /3, ..., /32) and output on the CLKOUT3 pin for other use in the system.
Figure 15 shows that the input clock source may be divided down by divider PLLDIV0 (/1, /2, ..., /32) and then
multiplied up by a factor of x4, x5, x6, and so on, up to x25.
Either the input clock (PLLEN = 0) or the PLL output (PLLEN = 1) then serves as the high-frequency reference
clock for the rest of the DSP system. The DSP core clock, the peripheral bus clock, and the EMIF clock may
be divided down from this high-frequency clock (each with a unique divider) . For example, with a 30 MHz input
if the PLL output is configured for 450 MHz, the DSP core may be operated at 225 MHz (/2) while the EMIF may
be configured to operate at a rate of 75 MHz (/6). Note that there is a specific minimum and maximum reference
clock (PLLREF) and output clock (PLLOUT) for the block labeled PLL in Figure 15, as well as for the DSP core,
peripheral bus, and EMIF. The clock generator must not be configured to exceed any of these constraints
(certain combinations of external clock input, internal dividers, and PLL multiply ratios might not be supported).
See Table 36 for the PLL clocks input and output frequency ranges.
76
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
PLL and PLL controller (continued)
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Table 36. PLL Clock Frequency Ranges
CLOCK SIGNAL
PLLREF (PLLEN = 1)12100MHz
PLLOUT140600MHz
SYSCLK1−Device Speed (DSP Core)MHz
SYSCLK3 (EKSRC = 0)−100MHz
AUXCLK−50
†
SYSCLK2 rate must be exactly half of SYSCLK1.
‡
Also see the electrical specification (timing requirements and switching characteristics parameters) in the input and output clocks section of this
data sheet.
§
When the McASP module is not used, the AUXCLK maximum frequency can be any frequency up to the CLKIN maximum frequency.
†‡
GDP-225
GDPA-200
PYP-200
PYPA-167
MINMAX
UNIT
§
MHz
The EMIF itself may be clocked by an external reference clock via the ECLKIN pin or can be generated on-chip
as SYSCLK3. SYSCLK3 is derived from divider D3 off of PLLOUT (see Figure 15, PLL and Clock Generator
Logic). The EMIF clock selection is programmable via the EKSRC bit in the DEVCFG register.
The settings for the PLL multiplier and each of the dividers in the clock generation block may be reconfigured
via software at run time. If either the input to the PLL changes due to D0, CLKMODE0, or CLKIN, or if the PLL
multiplier is changed, then software must enter bypass first and stay in bypass until the PLL has had enough
time to lock (see electrical specifications). For the programming procedure, see the TMS320C6000 DSPSoftware-Programmable Phase-Locked Loop (PLL) Controller Reference Guide (literature number SPRU233).
SYSCLK2 is the internal clock source for peripheral bus control. SYSCLK2 (Divider D2) must be programmed
to be half of the SYSCLK1 rate. For example, if D1 is configured to divide-by-2 mode (/2), then D2 must be
programmed to divide-by-4 mode (/4). SYSCLK2 is also tied directly to CLKOUT2 pin (see Figure 15).
During the programming transition of Divider D1 and Divider D2 (resulting in SYSCLK1 and SYSCLK2 output
clocks, see Figure 15), the order of programming the PLLDIV1 and PLLDIV2 registers must be observed to
ensure that SYSCLK2 always runs at half the SYSCLK1 rate or slower. For example, if the divider ratios of D1
and D2 are to be changed from /1, /2 (respectively) to /5, /10 (respectively) then, the PLLDIV2 register must be
programmed before the PLLDIV1 register. The transition ratios become /1, /2; /1, /10; and then /5, /10. If the
divider ratios of D1 and D2 are to be changed from /3, /6 to /1, /2 then, the PLLDIV1 register must be programmed
before the PLLDIV2 register. The transition ratios, for this case, become /3, /6; /1, /6; and then /1, /2. The final
SYSCLK2 rate must be exactly half of the SYSCLK1 rate.
Note that Divider D1 and Divider D2 must always be enabled (i. e., D1EN and D2EN bits are set to “1” in the
PLLDIV1 and PLLDIV2 registers).
The PLL Controller registers should be modified only by the CPU or via emulation. The HPI should not be used
to directly access the PLL Controller registers.
For detailed information on the clock generator (PLL Controller registers) and their associated software bit
descriptions, see Table 38 through Table 44.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
77
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
Note that SYSCLK2 must run at half the rate of SYSCLK1. Therefore, the divider ratio of D2 must be two times slower than D1. For example,
if D1 is set to /2, then D2 must be set to /4.
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
multichannel audio serial port (McASP) peripherals
The TMS320C6713/13B device includes two multi-channel audio serial port (McASP) interface peripherals
(McASP1 and McASP0). The McASP is a serial port optimized for the needs of multi-channel audio applications.
With two McASP peripherals, the TMS320C6713/13B device is capable of supporting two completely
independent audio zones simultaneously.
Each McASP consists of a transmit and receive section. These sections can operate completely independently
with different data formats, separate master clocks, bit clocks, and frame syncs or alternatively, the transmit and
receive sections may be synchronized. Each McASP module also includes a pool of 16 shift registers that may
be configured to operate as either transmit data, receive data, or general-purpose I/O (GPIO).
The transmit section of the McASP can transmit data in either a time-division-multiplexed (TDM) synchronous
serial format or in a digital audio interface (DIT) format where the bit stream is encoded for S/PDIF, AES-3,
IEC-60958, CP-430 transmission. The receive section of the McASP supports the TDM synchronous serial
format.
Each McASP can support one transmit data format (either a TDM format or DIT format) and one receive format
at a time. All transmit shift registers use the same format and all receive shift registers use the same format.
However, the transmit and receive formats need not be the same.
Both the transmit and receive sections of the McASP also support burst mode which is useful for non-audio data
(for example, passing control information between two DSPs).
The McASP peripherals have additional capability for flexible clock generation, and error detection/handling,
as well as error management.
McASP block diagram
Figure 16 illustrates the major blocks along with external signals of the TMS320C6713/13B McASP1 and
McASP0 peripherals; and shows the 8 serial data [AXR] pins for each McASP. Each McASP also includes full
general-purpose I/O (GPIO) control, so any pins not needed for serial transfers can be used for general-purpose
I/O.
82
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
multichannel audio serial port (McASP) peripherals (continued)
McASP0McASP1
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
DMA Transmit
DIT
RAM
Transmit
Clock Check
(High-
Frequency)
Error
Detect
Receive
Clock Check
(High-
Frequency)
Transmit
Data
Serializer 0
Serializer 1
Serializer 2
Serializer 3
Serializer 4
Serializer 5
Serializer 6
Serializer 7
Transmit
Frame Sync
Generator
Transmit
Clock
Generator
Receive
Clock
Generator
Receive
Frame Sync
GeneratorFormatter
AFSX0
AHCLKX0
ACLKX0
AMUTE0
AMUTEIN0
AHCLKR0
ACLKR0
AFSR0
AXR0[0]
AXR0[1]
AXR0[2]
AXR0[3]
AXR0[4]
AXR0[5]
AXR0[6]
AXR0[7]
DMA Transmit
DIT
RAM
Transmit
Clock Check
(High-
Frequency)
Error
Detect
Receive
Clock Check
(High-
Frequency)
Transmit
Data
Formatter
Serializer 0
Serializer 1
Serializer 2
Serializer 3
Serializer 4
Serializer 5
Serializer 6
Serializer 7
Transmit
Frame Sync
Generator
Transmit
Clock
Generator
Receive
Clock
Generator
Receive
Frame Sync
Generator
AFSX1
AHCLKX1
ACLKX1
AMUTE1
AMUTEIN1
AHCLKR1
ACLKR1
AFSR1
AXR1[0]
AXR1[1]
AXR1[2]
AXR1[3]
AXR1[4]
AXR1[5]
AXR1[6]
AXR1[7]
DMA Receive
INDIVIDUALLY PROGRAMMABLE TX/RX/GPIO
Receive
Data
Formatter
GPIO
Control
Figure 16. McASP0 and McASP1 Configuration
INDIVIDUALLY PROGRAMMABLE TX/RX/GPIO
Receive
Data
Formatter
DMA Receive
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
GPIO
Control
83
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
multichannel audio serial port (McASP) peripherals (continued)
multichannel time division multiplexed (TDM) synchronous transfer mode
The McASP supports a multichannel, time-division-multiplexed (TDM) synchronous transfer mode for both
transmit and receive. Within this transfer mode, a wide variety of serial data formats are supported, including
formats compatible with devices using the Inter-Integrated Sound (IIS) protocol.
TDM synchronous transfer mode is typically used when communicating between integrated circuits such as
between a DSP and one or more ADC, DAC, CODEC, or S/PDIF receiver devices. In multichannel applications,
it is typical to find several devices operating synchronized with each other. For example, to provide six analog
outputs, three stereo DAC devices would be driven with the same bit clock and frame sync, but each stereo DAC
would use a different McASP serial data pin carrying stereo data (2 TDM time slots, left and right).
The TDM synchronous serial transfer mode utilizes several control signals and one or more serial data signals:
DA bit clock signal (ACLKX for transmit, ACKLR for receive)
DA frame sync signal (AFSX for transmit, AFSR for receive)
DAn (Optional) high frequency master clock (AHCLKX for transmit, AHCLKR for receive) from which the bit
clock is derived
DOne or more serial data pins (AXR for transmit and for receive).
Except for the optional high-frequency master clock, all of the signals in the TDM synchronous serial transfer
mode protocol are synchronous to the bit clocks (ACLKX and ACLKR).
In the TDM synchronous transfer mode, the McASP continually transmits and receives data periodically (since
audio ADCs and DACs operate at a fixed-data rate). The data is organized into frames, and the beginning of
a frame is marked by a frame sync pulse on the AFSX, AFSR pin.
In a typical audio system, one frame is transferred per sample period. To support multiple channels, the choices
are to either include more time slots per frame (and therefore operate with a higher bit clock) or to keep the bit
clock period constant and use additional data pins to transfer the same number of channels. For example, a
particular six-channel DAC might require three McASP serial data pins; transferring two channels of data on
each serial data pin during each sample period (frame). Another similar DAC may be designed to use only a
single McASP serial data pin, but clocked three times faster and transferring six channels of data per sample
period. The McASP is flexible enough to support either type of DAC but a transmitter cannot be configured to
do both at the same time.
For multiprocessor applications, the McASP supports any number of time slots per frame (between 2 and 32),
and includes the ability to “disable” transfers during specific time slots.
In addition, to support of S/PDIF, AES-3, IEC-60958, CP-430 receivers chips whose natural block (McASP
frame) size is 384 samples; the McASP receiver supports a 384 time slot mode. The advantage to using the
384 time slot mode is that interrupts may be generated synchronous to the S/PDIF, AES-3, IEC-60958, CP-430
receivers, for example the “last slot” interrupt.
burst transfer mode
The McASP also supports a burst transfer mode, which is useful for non-audio data (for example, passing
control information between two DSPs). Burst transfer mode uses a synchronous serial format similar to TDM,
except the frame sync is generated for each data word transferred. In addition, frame sync generation is not
periodic or time-driven as in TDM mode but rather data-driven.
84
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
multichannel audio serial port (McASP) peripherals (continued)
supported bit stream formats for TDM and burst transfer modes
The serial data pins support a wide variety of formats. In the TDM and burst synchronous modes, the data may
be transmitted / received with the following options:
DTime slots per frame: 1 (Burst/Data Driven), or 2,3...32 (TDM/Time-Driven).
DTime slot size: 8, 12, 16, 20, 24, 28, 32 bits per time slot
DData size: 8, 12, 16, 20, 24, 28, 32 bits (must be less than or equal to time slot)
DData alignment within time slot: Left- or Right-Justified
DBit order: MSB or LSB first.
DUnused bits in time slot: Padded with 0, 1 or extended with value of another bit.
DTime slot delay from frame sync: 0,1, or 2 bit delay
The data format can be programmed independently for transmit and receive, and for McASP0 vs. McASP1. In
addition, the McASP can automatically re-align the data as processed natively by the DSP (any format on a
nibble boundary) adjusting the data in hardware to any of the supported serial bit stream formats (TDM, Burst,
and DIT modes). This reduces the amount of bit manipulation that the DSP must perform and simplifies software
architecture.
digital audio interface transmitter (DIT) transfer mode (transmitter only)
The McASP transmit section may also be configured in digital audio interface transmitter (DIT) mode where it
outputs data formatted for transmission over an S/PDIF, AES-3, IEC-60958, or CP-430 standard link. These
standards encode the serial data such that the equivalent of ’clock’ and ’frame sync’ are embedded within the
data stream. DIT transfer mode is used as an interconnect between audio components and can transfer
multichannel digital audio data over a single optical or coaxial cable.
From an internal DSP standpoint, the McASP operation in DIT transfer mode is similar to the two time slot TDM
mode, but the data transmitted is output as a bi-phase mark encoded bit stream with preamble, channel status,
user data, validity, and parity automatically stuffed into the bit stream by the McASP module. The McASP
includes separate validity bits for even/odd subframes and two 384-bit register file modules to hold channel
status and user data bits.
DIT mode requires at minimum:
DOne serial data pin (if the AUXCLK is used as the reference [see the PLL and Clock Generator Logic
Figure 15]) or
DOne serial data pin plus either the AHCLKX or ACLKX pin (if an external clock is needed).
If additional serial data pins are used, each McASP may be used to transmit multiple encoded bit streams (one
per pin). However, the bit streams will all be synchronized to the same clock and the user data, channel status,
and validity information carried by each bit stream will be the same for all bit streams transmitted by the same
McASP module.
The McASP can also automatically re-align the data as processed by the DSP (any format on a nibble boundary)
in DIT mode; reducing the amount of bit manipulation that the DSP must perform and simplifies software
architecture.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
85
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
multichannel audio serial port (McASP) peripherals (continued)
McASP flexible clock generators
The McASP transmit and receive clock generators are identical. Each clock generator can accept a
high-frequency master clock input (on the AHCLKX and AHCLKR pins).
The transmit and receive bit clocks (on the ACLKX and ACLKR pins) can also be sourced externally or can be
sourced internally by dividing down the high-frequency master clock input (programmable factor /1, /2, /3, ...
/4096). The polarity of each bit clock is individually programmable.
The frame sync pins are AFSX (transmit) and AFSR (receive). A typical usage for these pins is to carry the
left-right clock (LRCLK) signal when transmitting and receiving stereo data. The frame sync signals are
individually programmable for either internal or external generation, either bit or slot length, and either rising or
falling edge polarity.
Some examples of the things that a system designer can use the McASP clocking flexibility for are:
DInput a high-frequency master clock (for example, 512f
generated bit clock ratio of /8, while transmitting with an internally generated bit clock ratio of /4 or /2. [An
example application would be to receive data from a DVD at 48 kHz but output up-sampled or decoded
audio at 96 kHz or 192 kHz.]
of the receiver), receive with an internally
s
DTransmit/receive data based one sample rate (for example, 44.1 kHz) using McASP0 while transmitting and
receiving at a different sample rate (for example, 48 kHz) on McASP1.
DUse the DSP’s on-board AUXCLK to supply the system clock when the input source is an A/D converter.
McASP error handling and management
To support the design of a robust audio system, the McASP module includes error-checking capability for the
serial protocol, data underrun, and data overrun. In addition, each McASP includes a timer that continually
measures the high-frequency master clock every 32-SYSCLK2 clock cycles. The timer value can be read to
get a measurement of the high-frequency master clock frequency and has a min-max range setting that can
raise an error flag if the high-frequency master clock goes out of a specified range. The user would read the
high-frequency transmit master clock measurement (AHCLKX0 or AHCLKX1) by reading the XCNT field of the
XCLKCHK register and the user would read the high-frequency receive master clock measurement (AHCLKR0
or AHCLKR1) by reading the RCNT field of the RCLKCHK register.
Upon the detection of any one or more of the above errors (software selectable), or the assertion of the
AMUTE_IN pin, the AMUTE output pin may be asserted to a high or low level (selectable) to immediately mute
the audio output. In addition, an interrupt may be generated if enabled based on any one or more of the error
sources.
McASP interrupts and EDMA events
The McASP transmitter and receiver sections each generate an event on every time slot. This event can be
serviced by an interrupt or by the EDMA controller.
When using interrupts to service the McASP, each shift register buffer has a unique address in the McASP
Registers space (see Table 3).
When using the EDMA to service the McASP, the McASP DATA Port space in Table 3 is accessed. In this case,
the address least-significant bits are ignored. Writes to any address in this range access the transmitting buffers
in order from lowest (serializer 0) to highest (serializer 15), skipping over disabled and receiving serializers.
Likewise, reads from any address in this space access the receiving buffers in the same order but skip over
disabled and transmitting buffers.
86
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
I2C
Having two I2C modules on the TMS320C6713/13B simplifies system architecture, since one module may be
used by the DSP to control local peripherals ICs (DACs, ADCs, etc.) while the other may be used to
communicate with other controllers in a system or to implement a user interface.
The TMS320C6713/13B also includes two I2C serial ports for control purposes. Each I2C port supports:
DCompatible with Philips I
DFast Mode up to 400 Kbps (no fail-safe I/O buffers)
DNoise Filter to Remove Noise 50 ns or less
DSeven- and Ten-Bit Device Addressing Modes
DMaster (Transmit/Receive) and Slave (Transmit/Receive) Functionality
DEvents: DMA, Interrupt, or Polling
DSlew-Rate Limited Open-Drain Output Buffers
Figure 17 is a block diagram of the I2Cx module.
2
C Specification Revision 2.1 (January 2000)
I2C Clock
I2C Data
SCL
SDA
I2Cx Module
Noise
Filter
Noise
Filter
Clock
Prescale
I2CPSCx
Bit Clock
Generator
I2CCLKHx
I2CCLKLx
Transmit
I2CXSRx
I2CDXRx
Receive
I2CDRRx
Transmit
Shift
Transmit
Buffer
Receive
Buffer
SYSCLK2
From PLL
Clock Generator
Control
I2COARx
I2CSARx
I2CMDRx
I2CCNTx
Interrupt/DMA
I2CIERx
I2CSTRx
Own
Address
Slave
Address
Mode
Data
Count
Interrupt
Enable
Interrupt
Status
I2CRSRx
NOTE A: Shading denotes control/status registers.
Figure 17. I2Cx Module Block Diagram
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
Receive
Shift
I2CISRCx
Interrupt
Source
87
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
general-purpose input/output (GPIO)
To use the GP[15:0] software-configurable GPIO pins, the GPxEN bits in the GP Enable (GPEN) Register and
the GPxDIR bits in the GP Direction (GPDIR) Register must be properly configured.
GPxEN = 1GP[x] pin is enabled
GPxDIR =0GP[x] pin is an input
GPxDIR =1GP[x] pin is an output
where “x” represents one of the 15 through 0 GPIO pins
Figure 18 shows the GPIO enable bits in the GPEN register for the C6713/13B device. To use any of the GPx
pins as general-purpose input/output functions, the corresponding GPxEN bit must be set to “1” (enabled).
Default values are device-specific, so refer to Figure 18 for the C6713/13B default configuration.
Figure 19 shows the GPIO direction bits in the GPDIR register. This register determines if a given GPIO pin is
an input or an output providing the corresponding GPxEN bit is enabled (set to “1”) in the GPEN register. By
default, all the GPIO pins are configured as input pins.
Legend: R/W = Readable/Writeable; -n = value after reset, -x = undefined value after reset
GP14
DIR
DIR
GP13
DIR
GP12
DIR
GP11
DIR
109876543210
GP10
DIR
GP9
DIR
GP8
DIR
GP7
DIR
GP6
DIR
GP5
DIR
GP4
DIR
GP3
DIR
GP2
DIR
GP1
DIR
GP0
DIR
Figure 19. GPIO Direction Register (GPDIR) [Hex Address: 01B0 0004]
For more detailed information on general-purpose inputs/outputs (GPIOs), see the TMS320C6000 DSP
General-Purpose Input/Output (GPIO) Reference Guide (literature number SPRU584).
88
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
power-down mode logic
Figure 20 shows the power-down mode logic on the C6713/13B.
Internal Clock Tree
PD1
PD2
Clock
Distribution
and Dividers
TMS320C6713, TMS320C6713B
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
CLKOUT2
CPU
IFR
IER
CSR
Internal
Peripherals
TMS320C6713/13B
†
PD3
Power-
Down
Logic
PWRD
Clock
PLL
CLKINRESET
†
External input clocks, with the exception of CLKIN and CLKOUT3, are not gated by the power-down mode logic.
Figure 20. Power-Down Mode Logic
triggering, wake-up, and effects
The power-down modes and their wake-up methods are programmed by setting the PWRD field (bits 15−10)
of the control status register (CSR). The PWRD field of the CSR is shown in Figure 21 and described in Table 45.
When writing to the CSR, all bits of the PWRD field should be set at the same time. Logic 0 should be used when
“writing” to the reserved bit (bit 15) of the PWRD field. The CSR is discussed in detail in the TMS320C6000 CPUand Instruction Set Reference Guide (literature number SPRU189).
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
89
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
3116
15141312111098
Enable or
Reserved
R/W-0R/W-0R/W-0R/W-0R/W-0R/W-0
70
Legend: R/W−x = Read/write reset value
NOTE: The shadowed bits are not part of the power-down logic discussion and therefore are not covered here. For information on these other
bit fields in the CSR register, see the TMS320C6000 CPU and Instruction Set Reference Guide (literature number SPRU189).
Non-Enabled
Interrupt Wake
Enabled
Interrupt Wake
PD3PD2PD1
Figure 21. PWRD Field of the CSR Register
A delay of up to nine clock cycles may occur after the instruction that sets the PWRD bits in the CSR before the
PD mode takes effect. As best practice, NOPs should be padded after the PWRD bits are set in the CSR to account
for this delay.
If PD1 mode is terminated by a non-enabled interrupt, the program execution returns to the instruction where PD1
took effect. If PD1 mode is terminated by an enabled interrupt, the interrupt service routine will be executed first,
then the program execution returns to the instruction where PD1 took effect. In the case with an enabled interrupt,
the GIE bit in the CSR and the NMIE bit in the interrupt enable register (IER) must also be set in order for the
interrupt service routine to execute; otherwise, execution returns to the instruction where PD1 took effect upon
PD1 mode termination by an enabled interrupt.
PD2 and PD3 modes can only be aborted by device reset. Table 45 summarizes all the power-down modes.
90
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
Power down mode blocks the internal clock inputs at the
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Table 45. Characteristics of the Power-Down Modes
PRWD FIELD
(BITS 15−10)
000000No power-down——
001001PD1Wake by an enabled interrupt
010001PD1
011010PD2
011100PD3
All othersReserved——
†
When entering PD2 and PD3, all functional I/O remains in the previous state. However, for peripherals which are asynchronous in nature or
peripherals with an external clock source, output signals may transition in response to stimulus on the inputs. Under these conditions,
peripherals will not operate according to specifications.
POWER-DOWN
MODE
†
†
WAKE-UP METHODEFFECT ON CHIP’S OPERATION
CPU halted (except for the interrupt logic)
Power-down mode blocks the internal clock inputs at the
Wake by an enabled or
non-enabled interrupt
Wake by a device reset
Wake by a device reset
boundary of the CPU, preventing most of the CPU’s logic from
switching. During PD1, EDMA transactions can proceed
between peripherals and internal memory.
Output clock from PLL is halted, stopping the internal clock
structure from switching and resulting in the entire chip being
halted. All register and internal RAM contents are preserved. All
functional I/O “freeze” in the last state when the PLL clock is
turned off.
Input clock to the PLL stops generating clocks. All register and
internal RAM contents are preserved. All functional I/O “freeze” in
the last state when the PLL clock is turned off. Following reset, the
PLL needs time to re-lock, just as it does following power-up.
Wake-up from PD3 takes longer than wake-up from PD2 because
the PLL needs to be re-locked, just as it does following power-up.
On C6713B silicon revision 2.0 and C6713 silicon revision 1.1, the device includes a programmable PLL which
allows software control of PLL bypass via the PLLEN bit in the PLLCSR register. With this enhanced functionality
comes some additional considerations when entering power-down modes.
The power-down modes (PD2 and PD3) function by disabling the PLL to stop clocks to the device. However,
if the PLL is bypassed (PLLEN = 0), the device will still receive clocks from the external clock input (CLKIN).
Therefore, bypassing the PLL makes the power-down modes PD2 and PD3 ineffective.
Make sure that the PLL is enabled by writing a “1” to PLLEN bit (PLLCSR.0) before writing to either PD3
(CSR.11) or PD2 (CSR.10) to enter a power-down mode.
power-supply sequencing
TI DSPs do not require specific power sequencing between the core supply and the I/O supply. However,
systems should be designed to ensure that neither supply is powered up for extended periods of time
(>1 second) if the other supply is below the proper operating voltage.
system-level design considerations
System-level design considerations, such as bus contention, may require supply sequencing to be
implemented. In this case, the core supply should be powered up prior to (and powered down after), the I/O
buffers. This is to ensure that the I/O buffers receive valid inputs from the core before the output buffers are
powered up, thus, preventing bus contention with other chips on the board.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
91
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
power-supply design considerations
A dual-power supply with simultaneous sequencing can be used to eliminate the delay between core and I/O
power up. A Schottky diode can also be used to tie the core rail to the I/O rail (see Figure 22).
I/O Supply
DV
DD
Schottky
Diode
Core Supply
CV
V
GND
C6000
DSP
DD
SS
Figure 22. Schottky Diode Diagram
Core and I/O supply voltage regulators should be located close to the DSP (or DSP array) to minimize
inductance and resistance in the power delivery path. Additionally, when designing for high-performance
applications utilizing the C6000 platform of DSPs, the PC board should include separate power planes for
core, I/O, and ground, all bypassed with high-quality low-ESL/ESR capacitors.
power-supply decoupling
In order to properly decouple the supply planes from system noise, place as many capacitors (caps) as possible
close to the DSP. Assuming 0603 caps, the user should be able to fit a total of 60 caps — 30 for the core supply
and 30 for the I/O supply. These caps need to be close (no more than 1.25 cm maximum distance) to the DSP
to be effective. Physically smaller caps are better, such as 0402, but the size needs to be evaluated from a
yield/manufacturing point-of-view. Parasitic inductance limits the effectiveness of the decoupling capacitors,
therefore physically smaller capacitors should be used while maintaining the largest available capacitance
value. As with the selection of any component, verification of capacitor availability over the product’s production
lifetime needs to be considered.
IEEE 1149.1 JTAG compatibility statement
The TMS320C6713/13B DSP requires that both TRST and RESET resets be asserted upon power up to be
properly initialized. While RESET
resets are required for proper operation.
While both TRST
and RESET need to be asserted upon power up, only RESET needs to be released for the
DSP to boot properly. TRST
and DSP’s emulation logic in the reset state.
initializes the DSP core, TRST initializes the DSP’s emulation logic. Both
may be asserted indefinitely for normal operation, keeping the JTAG port interface
only needs to be released when it is necessary to use a JTAG controller to debug the DSP or exercise
TRST
the DSP’s boundary scan functionality.
For maximum reliability, the TMS320C6713/13B DSP includes an internal pulldown (IPD) on the TRST
ensure that TRST
will always be asserted upon power up and the DSP’s internal emulation logic will always be
properly initialized.
92
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
pin to
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
JTAG controllers from Texas Instruments actively drive TRST high. However, some third-party JTAG controllers
may not drive TRST
high but expect the use of an external pullup resistor on TRST.
When using this type of JTAG controller, assert TRST
TRST
high before attempting any emulation or boundary scan operations. Following the release of RESET, the
low-to-high transition of TRST
configure the device for either Boundary Scan mode or Emulation mode. For more detailed information, see
the terminal functions section of this data sheet.
must be “seen” to latch the state of EMU1 and EMU0. The EMU[1:0] pins
to initialize the DSP after powerup and externally drive
EMIF device speed
The maximum EMIF speed on the C6713/13B device is 100 MHz. TI recommends utilizing I/O buffer information
specification (IBIS) to analyze all AC timings to determine if the maximum EMIF speed is achievable for a given
board layout. To properly use IBIS models to attain accurate timing analysis for a given system, see the UsingIBIS Models for Timing Analysis application report (literature number SPRA839).
For ease of design evaluation, Table 46 contains IBIS simulation results showing the maximum EMIF-SDRAM
interface speeds for the given example boards (TYPE) and SDRAM speed grades. Timing analysis should be
performed to verify that all AC timings are met for the specified board layout. Other configurations are also
possible, but again, timing analysis must be done to verify proper AC timings.
To maintain signal integrity, serial termination resistors should be inserted into all EMIF output signal lines (see
the Terminal Functions table for the EMIF output signals).
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
93
TMS320C6713, TMS320C6713B
MAXIMUM ACHIEVABLE
1-Load
One bank of
pp
Trace impedance ~ 50 Ω
Short T
16-Bit SDRAM
t
Trace impedance ~ 78 Ω
One bank of two
Short T
32Bit SDRAMs
t
Trace impedance ~ 78 Ω
One ba
e
One bank of one
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
Table 46. C6713/13B Example Boards and Maximum EMIF Speed
BOARD CONFIGURATION
TYPE
-
Short Traces
2-Loads
races
3-Loads
races
3-Loads
Long Traces
NOTE 1: Results are based on IBIS simulations for the given example boards (TYPE). Timing analysis should be performed to determine if timing
requirements can be met for the particular system.
EMIF INTERFACE
COMPONENTS
32-Bit SDRAM
One bank of two
-
32-Bit SDRAMs
One bank of buffer
One bank of one
32-Bit SDRAM
32-Bit SBSRAM
One bank of buffer
one
s
nk of on
BOARD TRACE
1 to 3-inch traces with proper
termination resistors;
Trace impedance ~ 50 Ω
1.2 to 3 inches from EMIF to
each load, with proper
ermination resistors;
Trace impedance ~ 78 Ω
1.2 to 3 inches from EMIF to
each load, with proper
ermination resistors;
Trace impedance ~ 78 Ω
4 to 7 inches from EMIF;
Trace impedance ~ 63 Ω
SDRAM SPEED GRADE
143 MHz 32-bit SDRAM (−7)100 MHz
166 MHz 32-bit SDRAM (−6)
183 MHz 32-bit SDRAM (−55)
200 MHz 32-bit SDRAM (−5)
125 MHz 16-bit SDRAM (−8E)100 MHz
133 MHz 16-bit SDRAM (−75)100 MHz
143 MHz 16-bit SDRAM (−7E)100 MHz
167 MHz 16-bit SDRAM (−6A)100 MHz
167 MHz 16-bit SDRAM (−6)100 MHz
125 MHz 16-bit SDRAM (−8E)
133 MHz 16-bit SDRAM (−75)100 MHz
143 MHz 16-bit SDRAM (−7E)100 MHz
167 MHz 16-bit SDRAM (−6A)100 MHz
167 MHz 16-bit SDRAM (−6)
143 MHz 32-bit SDRAM (−7)83 MHz
166 MHz 32-bit SDRAM (−6)83 MHz
183 MHz 32-bit SDRAM (−55)83 MHz
200 MHz 32-bit SDRAM (−5)
MAXIMUM ACHIEVABLE
EMIF-SDRAM
INTERFACE SPEED
For short traces, SDRAM data
output hold time on these
SDRAM speed grades cannot
meet EMIF input hold time
requirement (see NOTE 1).
For short traces, EMIF cannot
meet SDRAM input hold
requirement (see NOTE 1).
For short traces, EMIF cannot
meet SDRAM input hold
requirement (see NOTE 1).
SDRAM data output hold time
cannot meet EMIF input hold
requirement (see NOTE 1).
94
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
EMIF big endian mode correctness [C6713B only]
The HD8 pin device endian mode (LENDIAN) selects the endian mode of operation (Little or Big Endian). For
the C6713/13B device Little Endian is the default setting.
The C6713B HD12 pin (EMIF Big Endian Mode Correctness) [EMIFBE
] enhancement allows the flexibility to
change the EMIF data placement on the EMIF bus.
When using the default setting of HD12 = 1 for the C6713B, the EMIF will present 8-bit or 16-bit data on the
ED[7:0] side of the bus if using Little Endian mode (HD8 = 1) and to the ED[31:24] side of the bus if using Big
Endian mode. Figure 23 shows the mapping of 16-bit and 8-bit C6713B devices.
When HD12 = 0 for the C6713B, enabling EMIF endianness correction, the EMIF will present 8-bit or 16-bit data
on the ED[7:0] side of the bus, regardless of the endianess mode (see Figure 24).
This new C6713B endianness correction functionality does not affect systems using the default value of
HD12 = 1.
This new C6713B feature does not affect systems operating in Little Endian mode.
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
95
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
bootmode
The C6713/13B device resets using the active-low signal RESET and the internal reset signal. While RESET
is low, the internal reset is also asserted and the device is held in reset and is initialized to the prescribed reset
state. Refer to reset timing for reset timing characteristics and states of device pins during reset. The release
of the internal reset signal (see the Reset Phase 3 discussion in the Reset Timing section of this data sheet)
starts the processor running with the prescribed device configuration and boot mode.
The C6713/13B has three types of boot modes:
DHost boot
If host boot is selected, upon release of internal reset, the CPU is internally “stalled” while the remainder of
the device is released. During this period, an external host can initialize the CPU’s memory space as
necessary through the host interface, including internal configuration registers, such as those that control
the EMIF or other peripherals. Once the host is finished with all necessary initialization, it must set the
DSPINT bit in the HPIC register to complete the boot process. This transition causes the boot configuration
logic to bring the CPU out of the “stalled” state. The CPU then begins execution from address 0. The DSPINT
condition is not latched by the CPU, because it occurs while the CPU is still internally “stalled”. Also, DSPINT
brings the CPU out of the “stalled” state only if the host boot process is selected. All memory may be written
to and read by the host. This allows for the host to verify what it sends to the DSP if required. After the CPU is
out of the “stalled” state , the CPU needs to clear the DSPINT, otherwise, no more DSPINTs can be received.
DEmulation boot
Emulation boot mode is a variation of host boot. In this mode, it is not necessary for a host to load code or to
set DSPINT to release the CPU from the “stalled” state. Instead, the emulator will set DSPINT if it has not
been previously set so that the CPU can begin executing code from address 0. Prior to beginning execution,
the emulator sets a breakpoint at address 0. This prevents the execution of invalid code by halting the CPU
prior to executing the first instruction. Emulation boot is a good tool in the debug phase of development.
DEMIF boot (using default ROM timings)
Upon the release of internal reset, the 1K-Byte ROM code located in the beginning of CE1
address 0 by the EDMA using the default ROM timings, while the CPU is internally “stalled”. The data should
be stored in the endian format that the system is using. The boot process also lets you choose the width of
the ROM. In this case, the EMIF automatically assembles consecutive 8-bit bytes or 16-bit half-words to
form the 32-bit instruction words to be copied. The transfer is automatically done by the EDMA as a
single-frame block transfer from the ROM to address 0. After completion of the block transfer, the CPU is
released from the “stalled” state and start running from address 0.
is copied to
96
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
absolute maximum ratings over operating case temperature range (unless otherwise noted)
(A version) [13GDPA-200 and 13PYPA-167]−40_C to105_C. . .
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.
All signals except CLKS1/SCL1,
DR1/SDA1, SCL0, SDA0, and RESET
CLKS1/SCL1, DR1/SDA1, SCL0, SDA0,
and RESET
3.133.33.47V
2V
2V
All signals except CLKS1/SCL1,
DR1/SDA1, SCL0, SDA0, and RESET
V
IL
Low-level input voltage
CLKS1/SCL1, DR1/SDA1, SCL0, SDA0,
and RESET
All signals except ECLKOUT, CLKOUT2,
High-level output current (C6713)
I
OH
High-level output current (C6713B)
§
§
CLKOUT3, CLKS1/SCL1, DR1/SDA1,
SCL0, and SDA0
ECLKOUT, CLKOUT2, and CLKOUT3−16mA
All signals except ECLKOUT, CLKOUT2,
CLKS1/SCL1, DR1/SDA1, SCL0, and
SDA0
ECLKOUT and CLKOUT2−16mA
All signals except ECLKOUT, CLKOUT2,
CLKOUT3, CLKS1/SCL1, DR1/SDA1,
Low-level output current (C6713)
§
SCL0, and SDA0
ECLKOUT, CLKOUT2, and CLKOUT316mA
CLKS1/SCL1, DR1/SDA1, SCL0, and
SDA0
I
OL
All signals except ECLKOUT, CLKOUT2,
CLKS1/SCL1, DR1/SDA1, SCL0, and
Low-level output current (C6713B)
§
SDA0
ECLKOUT and CLKOUT216mA
CLKS1/SCL1, DR1/SDA1, SCL0, and
SDA0
T
C
†
The core supply should be powered up prior to (and powered down after), the I/O supply. Systems should be designed to ensure that neither
supply is powered up for an extended period of time if the other supply is below the proper operating voltage.
‡
These values are compatible with existing 1.26V designs.
§
Refers to DC (or steady state) currents only, actual switching currents are higher. For more details, see the device-specific IBIS models.
Operating case temperature
Default090
A version (13GDPA-200 and 13PYPA-167)–40105
1.20
‡
1.32V
0.8V
0.3*DV
DD
−8mA
−8mA
8mA
3mA
8mA
3mA
_
_C
V
98
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
TMS320C6713, TMS320C6713B
O
V
OL
IIInput current
VI = VSS to DV
DD
I
OZ
VO = DV
DD
or 0 V
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
electrical characteristics over recommended ranges of supply voltage and operating case
temperature
†
(unless otherwise noted)
PARAMETERTEST CONDITIONSMINTYPMAXUNIT
V
V
I
I
I
I
C
C
†
‡
High-level output
OH
voltage
Low-level output
L
voltage
Input current
I
Off-state output
current
Core supply current
DD2V
I/O supply current
DD3V
Input capacitance7pF
i
Output capacitance7pF
o
For test conditions shown as MIN, MAX, or NOM, use the appropriate value specified in the recommended operating conditions table.
Measured with average activity (50% high/50% low power) at 25°C case temperature and 100-MHz EMIF. This model represents a device
All signals except SCL1, SDA1,
SCL0, and SDA0
All signals except SCL1, SDA1,
SCL0, and SDA0
SCL1, SDA1, SCL0, and SDA0
All signals except SCL1, SDA1,
SCL0, and SDA0
SCL1, SDA1, SCL0, and SDA0
All signals except SCL1, SDA1,
SCL0, and SDA0
SCL1, SDA1, SCL0, and SDA0
‡
‡
I
=MAX2.4V
OH
I
= MAX0.4V
OL
I
= MAX0.4V
OL
VI = VSS to DV
DD
±170uA
±10uA
V
= DV
or 0 V
±170uA
±10uA
GDP, CVDD = 1.4 V,
CPU clock = 300 MHz
GDP, CVDD = 1.26 V,
CPU clock = 225 MHz
13GDPA, CVDD = 1.26 V,
CPU clock = 200 MHz
PYP, CVDD = 1.2 V,
CPU clock = 200 MHz
13PYPA, CVDD = 1.2 V,
CPU clock = 167 MHz
C6713/13B, DVDD = 3.3 V,
EMIF speed = 100 MHz
945mA
625mA
560mA
565mA
480mA
75mA
performing high-DSP-activity operations 50% of the time, and the remainder performing low-DSP-activity operations. The high/low-DSP-activity
models are defined as follows:
High-DSP-Activity Model:
CPU: 8 instructions/cycle with 2 LDDW instructions [L1 Data Memory: 128 bits/cycle via LDDW instructions;
L1 Program Memory: 256 bits/cycle; L2/EMIF EDMA: 50% writes, 50% reads to/from SDRAM (50% bit-switching)]
McBSP: 2 channels at E1 rate
Timers: 2 timers at maximum rate
Low-DSP-Activity Model:
CPU: 2 instructions/cycle with 1 LDH instruction [L1 Data Memory: 16 bits/cycle; L1 Program Memory: 256 bits per 4 cycles;
L2/EMIF EDMA: None]
McBSP: 2 channels at E1 rate
Timers: 2 timers at maximum rate
The actual current draw is highly application-dependent. For more details on core and I/O activity, refer to the TMS320C6713/12C/11C PowerConsumption Summary application report (literature number SPRA889).
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
99
TMS320C6713, TMS320C6713B
FLOATING-POINT DIGITAL SIGNAL PROCESSORS
SPRS186I − DECEMBER 2001 − REVISED MAY 2004
PARAMETER MEASUREMENT INFORMATION
Tester Pin Electronics
42 W3.5 nH
4.0 pF1.85 pF
NOTE: The data sheet provides timing at the device pin. For output timing analysis, the tester pin electronics and its transmission line effects
must be taken into account. A transmission line with a delay of 2 ns or longer can be used to produce the desired transmission line effect.
The transmission line is intended as a load only. It is not necessary to add or subtract the transmission line delay (2 ns or longer) from
the data sheet timings.
Input requirements in this data sheet are tested with an input slew rate of < 4 Volts per nanosecond (4 V/ns) at the device pin.
Transmission Line
Z0 = 50 W
(see note)
Data Sheet Timing Reference Point
Output
Under
Test
Device Pin
(see note)
Figure 25. Test Load Circuit for AC Timing Measurements
signal transition levels
All input and output timing parameters are referenced to 1.5 V for both “0” and “1” logic levels.
V
ref
Figure 26. Input and Output Voltage Reference Levels for AC Timing Measurements
All rise and fall transition timing parameters are referenced to V
and V
MIN for output clocks.
OH
MAX and VIH MIN for input clocks, V
IL
V
ref
V
ref
Figure 27. Rise and Fall Transition Time Voltage Reference Levels
= 1.5 V
= VIH MIN (or VOH MIN)
= VIL MAX (or VOL MAX)
OL
MAX
100
POST OFFICE BOX 1443 • HOUSTON, TEXAS 77251−1443
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.