− 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
Loading...
+ 120 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.