PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
Unified Cache/Mapped RAM, and 192K Byte
Additional L2 Mapped RAM
• Device Configuration
– Boot Mode: HPI, 8/16/32 Bit ROM Boot
– Endianness: Little Endian, Big Endian
– Glueless Interface to SRAM, EPROM, Flash,
Memory Space
• Enhanced Direct Memory Access (EDMA)
Controller (16 Independent Channels)
• 16 Bit Host Port Interface (HPI)
• Two Multichannel Audio Serial Ports (McASPs)
– Two Independent Clock Zones Each
(One TX and One RX)
– Eight Serial Data Pins Per Port: Individually
Assignable to any of the Clock Zones
– Wide Variety of I2S™ and Similar Bit Stream
Formats
– Integrated Digital Audio Interface Transmitter
(DIT)
– Extensive Error Checking and Recovery
• Two Inter-Integrated Circuit Bus (I2C™ Bus)
Multi-Master and Slave Interfaces
• Two Multichannel Buffered Serial Ports:
– Serial Peripheral Interface (SPI)
– High Speed TDM Interface
– AC97 Interface
• Two 32 Bit General Purpose Timers
• Dedicated GPIO Module With 16 Pins (External
Interrupt Capable)
• Flexible Phase Locked Loop (PLL) Based Clock
Generator Module
• IEEE-1149.1 (JTAG)
(1)
Boundary-Scan
Compatible
• 272 Ball, Ball Grid Array Package (GDP)
• 0.13 μm/6 Level Copper Metal Process
– CMOS Technology
• 3.3 V I/Os, 1.26 V Internal
(1) IEEE Standard 1149.1-1990 Standard-Test-Access Port and
Boundary Scan Architecture.
1
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.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
The TMS320C67x™ DSPs (including the SM320C6713 and SM320C6713B devices) compose the
floating-point DSP generation in the TMS320C6000™ 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. Throughout the remainder of this document, the SM320C6713 and SM320C6713B are
referred to as 320C67x or C67x or 13/13B where generic, and where specific, their individual full device
part numbers are used or abbreviated as C6713, C6713B, 13, or 13B, and so forth.
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 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
McASPs has eight serial data pins that 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, and
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 320C6713/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.
SGUS049K–AUGUST 2003– REVISED APRIL 2011
The 320C6713/13B device has two boot modes—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 eXpressDSP™ set of industry benchmark
development tools, including a highly optimizing C/C++ Compiler, the Code Composer Studio™ Integrated
Development Environment (IDE), JTAG-based emulation and real-time debugging, and the DSP/BIOS™
kernel.
Table 3-2 provides an overview of the C6713/C6713B DSPs. The table shows significant features of 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 6-1 and Figure 6-1.
Table 3-2. Characteristics of the C6713 and C6713B Processor
HARDWARE FEATURES
EMIFSYSCLK3 or ECLKIN1 (32 bit)
EDMA
(16 channels)
Peripherals
Not all peripheral pins are available at the
same time. (For more details, see the
Device Configurations section.)
Peripheral performance is dependent on
chip-level configuration.
On-chip memorySize (Bytes)264K
CPU ID+CPU Rev IDControl Status Register (CSR[31:16])0x0203
BSDL fileFor the C6713/13B BSDL file, contact your field sales representative.
FrequencyMHz200
Timens5 ns
Package27 mm × 27 mm272-ball BGA (GDP)
Process technologyμm0.13
Product status
Product preview (PP)
Advance information (AI)
Production data (PD)
(1) 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.
(2) 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.
(2)
HPI (16 bit)SYSCLK21
McASPs2
I2CsSYSCLK22
McBSPsSYSCLK22
32-bit timers� of SYSCLK22
GPIO moduleSYSCLK21
Organization
Core (V)1.26 V (C6713/C6713B)
I/O (V)3.3 V
Prescaler/1, /2, /3, ..., /32
Postscaler/1, /2, /3, ..., /32
INTERNAL CLOCK
SOURCE
CPU clock frequency1
AUXCLK,
SYSCLK2
(1)
4K-Byte (KB) L1 program (L1P) cache
4KB L1 data (L1D) cache
64KB unified L2 cache/mapped RAM
192KB L2 mapped RAM
The 320C6713/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 (DSP Core) Diagram and Figure 4-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.
www.ti.com
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 chained 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.
Table 4-2 through Table 4-15 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 and bit names and their respective descriptions, see the specific peripheral reference
guide listed in the TMS320C6000 DSP Peripherals Overview Reference Guide (literature number
SPRU190).
Table 4-2. 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
Allows the user to control peripheral
selection. This register also offers the user
019C 0200DEVCFGDevice configuration
019C 0204−019F FFFF—Reserved
N/ACSRCPU control status register
Table 4-6. 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 (two words)
(1) The C6713/13B device has 85 EDMA parameters total: 16 Event/Reload parameters and 69 Reload-only parameters.
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.
(1)
www.ti.com
For more details on the EDMA parameter RAM six-word parameter entry structure, see Figure 4-3.
3C00 0000−3C00 FFFF3C10 0000−3C10 FFFFRBUF/XBUFxdata bus. Used when RSEL or XSEL bits = 0 (these bits are located
01B4 C00001B5 0000MCASPPIDx
01B4 C00401B5 0004PWRDEMUxPower down and emulation management
01B4 C00801B5 0008—Reserved
01B4 C00C01B5 000C—Reserved
01B4 C01001B5 0010PFUNCxPin function
01B4 C01401B5 0014PDIRxPin direction
01B4 C01801B5 0018PDOUTxPin data out
01B4 C01C01B5 001CPDIN/PDSETxRead returns: PDIN
01B4 C02001B5 0020PDCLRxPin data clear
01B4 C024−01B4 C04001B5 0024−01B5 0040—Reserved
01B4 C04401B5 0044GBLCTLxGlobal control
01B4 C04801B5 0048AMUTExMute control
01B4 C04C01B5 004CDLBCTLxDigital loopback control
01B4 C05001B5 0050DITCTLxDIT mode control
01B4 C054−01B4 C05C01B5 0054−01B5 005C—Reserved
01B4 C06001B5 0060RGBLCTLx
01B4 C06401B5 0064RMASKxReceiver format unit bit mask
01B4 C06801B5 0068RFMTxReceive bit stream format
01B4 C06C01B5 006CAFSRCTLxReceive frame sync control
01B4 C07001B5 0070ACLKRCTLxReceive clock control
01B4 C07401B5 0074AHCLKRCTLxHigh-frequency receive clock control
01B4 C07801B5 0078RTDMxReceive TDM slot 0−31
01B4 C07C01B5 007CRINTCTLxReceiver interrupt control
01B4 C08001B5 0080RSTATxStatus − receiver
01B4 C08401B5 0084RSLOTxCurrent receive TDM slot
01B4 C08801B5 0088RCLKCHKxReceiver clock check control
01B4 C08C−01B4 C09C01B5 008C−01B5 009C—Reserved
01B4 C0A001B5 00A0XGBLCTLx
01B4 C0A401B5 00A4XMASKxTransmit format unit bit mask
01B4 C0A801B5 00A8XFMTxTransmit bit stream format
01B4 C0AC01B5 00ACAFSXCTLxTransmit frame sync control
01B4 C0B001B5 00B0ACLKXCTLxTransmit clock control
01B4 C0B401B5 00B4AHCLKXCTLxHigh-frequency Transmit clock control
01B4 C0B801B5 00B8XTDMxTransmit TDM slot 0−31
01B4 C0BC01B5 00BCXINTCTLxTransmit interrupt control
Table 4-10. McASP0 and McASP1 Registers (continued)
HEX ADDRESS RANGE
McASP0McASP1
01B4 C11401B5 0114DITCSRA5xLeft (even TDM slot) channel status register file
01B4 C11801B5 0118DITCSRB0xRight (odd TDM slot) channel status register file
01B4 C11C01B5 011CDITCSRB1xRight (odd TDM slot) channel status register file
01B4 C12001B5 0120DITCSRB2xRight (odd TDM slot) channel status register file
01B4 C12401B5 0124DITCSRB3xRight (odd TDM slot) channel status register file
01B4 C12801B5 0128DITCSRB4xRight (odd TDM slot) channel status register file
01B4 C12C01B5 012CDITCSRB5xRight (odd TDM slot) channel status register file
01B4 C13001B5 0130DITUDRA0xLeft (even TDM slot) user data register file
01B4 C13401B5 0134DITUDRA1xLeft (even TDM slot) user data register file
01B4 C13801B5 0138DITUDRA2xLeft (even TDM slot) user data register file
01B4 C13C01B5 013CDITUDRA3xLeft (even TDM slot) user data register file
01B4 C14001B5 0140DITUDRA4xLeft (even TDM slot) user data register file
01B4 C14401B5 0144DITUDRA5xLeft (even TDM slot) user data register file
01B4 C14801B5 0148DITUDRB0xRight (odd TDM slot) user data register file
01B4 C14C01B5 014CDITUDRB1xRight (odd TDM slot) user data register file
01B4 C15001B5 0150DITUDRB2xRight (odd TDM slot) user data register file
01B4 C15401B5 0154DITUDRB3xRight (odd TDM slot) user data register file
01B4 C15801B5 0158DITUDRB4xRight (odd TDM slot) user data register file
01B4 C15C01B5 015CDITUDRB5xRight (odd TDM slot) user data register file
01B4 C160−01B4 C17C01B5 0160−01B5 017C—Reserved
01B4 C18001B5 0180SRCTL0xSerializer 0 control
01B4 C18401B5 0184SRCTL1xSerializer 1 control
01B4 C18801B5 0188SRCTL2xSerializer 2 control
01B4 C18C01B5 018CSRCTL3xSerializer 3 control
01B4 C19001B5 0190SRCTL4xSerializer 4 control
01B4 C19401B5 0194SRCTL5xSerializer 5 control
01B4 C19801B5 0198SRCTL6xSerializer 6 control
01B4 C19C01B5 019CSRCTL7xSerializer 7 control
01B4 C1A0−01B4 C1FC01B5 01A0−01B5 01FC—Reserved
01B4 C20001B5 0200XBUF0xTransmit buffer for serializer 0 through configuration bus
01B4 C20401B5 0204XBUF1xTransmit buffer for serializer 1 through configuration bus
01B4 C20801B5 0208XBUF2xTransmit buffer for serializer 2 through configuration bus
01B4 C20C01B5 020CXBUF3xTransmit buffer for serializer 3 through configuration bus
01B4 C21001B5 0210XBUF4xTransmit buffer for serializer 4 through configuration bus
01B4 C21401B5 0214XBUF5xTransmit buffer for serializer 5 through configuration bus
01B4 C21801B5 0218XBUF6xTransmit buffer for serializer 6 through configuration bus
01B4 C21C01B5 021CXBUF7xTransmit buffer for serializer 7 through configuration bus
01B4 C220−01B4 C27C01B5 C220−01B5 027C—Reserved
01B4 C28001B5 0280RBUF0xReceive buffer for serializer 0 through configuration bus
01B4 C28401B5 0284RBUF1xReceive buffer for serializer 1 through configuration bus
01B4 C28801B5 0288RBUF2xReceive buffer for serializer 2 through configuration bus
01B4 C28C01B5 028CRBUF3xReceive buffer for serializer 3 through configuration bus
01B4 C29001B5 0290RBUF4xReceive buffer for serializer 4 through configuration bus
01B4 C29401B5 0294RBUF5xReceive buffer for serializer 5 through configuration bus
01B4 C29801B5 0298RBUF5xReceive buffer for serializer 6 through configuration bus
01B4 C29C01B5 029CRBUF7xReceive buffer for serializer 7 through configuration bus
01B4 C2A0−01B4 FFFF01B5 02A0−01B5 3FFF—Reserved
(1) The transmit buffers for serializers 0−7 are accessible to the CPU via the peripheral bus if the XSEL bit = 1 (XFMT register).
(2) The receive buffers for serializers 0−7 are accessible to the CPU via the peripheral bus if the RSEL bit = 1 (RFMT register).
A.These external pins are applicable to the GDP package only.
B.The GP[15:0] pins, through interrupt sharing, are external interrupt capable via GPINT0. For more details, see the
external interrupt sources section of this data sheet. For more details on interrupt sharing, see the TMS320C6000DSP Interrupt Selector Reference Guide (literature number SPRU646).
C. All of these pins are external interrupt sources. For more details see the External Interrupt Sources section of this
data sheet.
D. On multiplexed pins, boldface text denotes the active function of the pin for that particular peripheral module.