TEXAS INSTRUMENTS TMS320C6413, TMS320C6410 Technical data

查询SM320C6413GTS400供应商
TMS320C6413, TMS320C6410
Fixed-Point Digital Signal
Processors
Data Manual
Literature Number: SPRS247E
April 2004 Revised May 2005
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.
This page intentionally left blank
Revision History
Revision History
This data manual revision history highlights the technical changes made to the SPRS247D device-specific data manual to make it an SPRS247E revision.
Scope: Applicable updates to the C64x device family, specifically relating to the TMS320C6413 and TMS320C6410 devices, have been incorporated.
PAGE(s)
NO.
63 Terminal Functions table:
Host-port data [7:0] pins (I/O/Z) description: Changed sentence from “Host-Port bus width user-configurable at device reset via a 10-kW resistor pullup/pulldown resistor on the HD5 pin (I):“ to “Host-Port bus width user-configurable at device reset via a 1-kW pullup/pulldown resistor on the HD5 pin (I):“
78 I2C section:
Updated/added “For more detailed information...”
90 Electrical Characteristics Over Recommended Ranges of Supply Voltage and Operating Case Temperature:
I
Low-level output current, TEST CONDITIONS:
OH,
Moved/added HPI to “Timer, TDO, GPIO, McBSP”
ADDS/CHANGES/DELETES
paragraph
April 2004 − Revised May 2005 SPRS247E
3
Contents
4
April 2004 − Revised May 2005SPRS247E
Contents
Section Page
1 Features 11 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 Functional Overview 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.1 GTS and ZTS BGA Packages (Bottom View) 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.2 Description 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3 Device Characteristics 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.3.1 Functional Block Diagram 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.4 CPU (DSP Core) Description 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5 Memory Map Summary 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.5.1 L2 Architecture Expanded 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.6 Peripheral Register Descriptions 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.7 EDMA Channel Synchronization Events 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.8 Interrupt Sources and Interrupt Selector 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2.9 Signal Groups Description 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Device Configurations 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.1 Device Configuration at Device Reset 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.2 Peripheral Configuration at Device Reset 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.3 Peripheral Selection After Device Reset 46. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.4 Peripheral Configuration Lock 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.5 Device Status Register Description 50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.6 JTAG ID Register Description 51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.7 Multiplexed Pins 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.8 Debugging Considerations 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.9 Configuration Examples 53. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.10 Terminal Functions 55. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.11 Development Support 67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.12 Device Support 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3.12.1 Device and Development-Support Tool Nomenclature 68. . . . . . . . . . . . . . . . . . . . .
3.12.2 Documentation Support 70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Peripherals Detailed Description (Device-Specific) 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.1 Clock PLL and Oscillator 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Host-Port Interface (HPI) Peripheral 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 Multichannel Audio Serial Port (McASP) Peripheral 76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3.1 McASP Block Diagram 76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 I2C 78. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 General-Purpose Input/Output (GPIO) 79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6 Power-Down Modes Logic 82. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6.1 Triggering, Wake-up, and Effects 82. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.6.2 C64x Power-Down Mode with an Emulator 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.7 Power-Supply Sequencing 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.7.1 Power-Supply Design Considerations 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.8 Power-Supply Decoupling 85. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.9 Peripheral Power-Down Operation 86. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Contents
5
April 2004 − Revised May 2005 SPRS247E
Section Page
4.10 IEEE 1149.1 JTAG Compatibility Statement 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.11 EMIF Device Speed 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.12 Bootmode 88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.13 Reset 88. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Device Electrical Specifications 89. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.1 Absolute Maximum Ratings Over Operating Case Temperature Range 89. . . . . . . . . . . . . . . . . .
5.2 Recommended Operating Conditions 89. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.3 Electrical Characteristics Over Recommended Ranges of Supply Voltage and Operating Case
Temperature (Unless Otherwise Noted) 90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5.4 Recommended Clock and Control Signal Transition Behavior 90. . . . . . . . . . . . . . . . . . . . . . . . . .
6 Parameter Information 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.1 Signal Transition Levels 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.2 Signal Transition Rates 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6.3 Timing Parameters and Board Routing Analysis 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7 Peripheral Electrical Specifications 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.1 Input and Output Clocks 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.2 Asynchronous Memory Timing 97. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.3 Programmable Synchronous Interface Timing 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.4 Synchronous DRAM Timing 104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.5 HOLD
/HOLDA Timing 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.6 BUSREQ Timing 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.7 Reset Timing 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.8 External Interrupt Timing 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.9 Multichannel Audio Serial Port (McASP) Timing 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.10 Inter-Integrated Circuits (I2C) Timing 118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.11 Host-Port Interface (HPI) Timing 120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.12 Multichannel Buffered Serial Port (McBSP) Timing 125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.13 Timer Timing 132. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.14 General-Purpose Input/Output (GPIO) Port Timing 133. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7.15 JTAG Test-Port Timing 134. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 Mechanical Data 135. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.1 Thermal Data 135. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8.2 Packaging Information 136. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures
6
April 2004 − Revised May 2005SPRS247E
List of Figures
Figure Page
21 GTS and ZTS BGA Packages (Bottom View) 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 Functional Block Diagram 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23 TMS320C64xE CPU (DSP Core) Data Paths 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 TMS320C6413 L2 Architecture Memory Configuration 21. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 TMS320C6410 L2 Architecture Memory Configuration 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 CPU and Peripheral Signals 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 Peripheral Signals 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31 Peripheral Configuration Register (PERCFG) [Address Location: 0x01B3F000] 46. . . . . . . . . . . . . . . . . .
32 Peripheral Enable/Disable Flow Diagram 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
33 PCFGLOCK Register Diagram [Address Location: 0x01B3 F018] Read/Write Accesses 49. . . . . . . .
34 Device Status Register (DEVSTAT) Description 0x01B3 F004 50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35 JTAG ID Register Description TMS320C6413/C6410 Register Value 0x0007 902F 51. . . . . . . . . . . .
36 Configuration Example A
(HPI16 + 2 McASPs + 2 McBSPs +2 I2Cs + EMIF + 3 Timers + GPIO) 54. . . . . . . . . . . . . . . . . . . . . . . .
37 TMS320C6413/C6410 DSP Device Nomenclature 69. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41 External PLL Circuitry for Either PLL Multiply Modes or x1 (Bypass) Mode 72. . . . . . . . . . . . . . . . . . . . . .
42 McASP0 and McASP1 Configuration 77. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43 I2Cx Module Block Diagram 79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44 GPIO Enable Register (GPEN) [Hex Address: 01B0 0000] 80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
45 GPIO Direction Register (GPDIR) [Hex Address: 01B0 0004] 81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
46 Power-Down Mode Logic† 82. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
47 PWRD Field of the CSR Register 83. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48 Schottky Diode Diagram 85. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61 Test Load Circuit for AC Timing Measurements 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
62 Input and Output Voltage Reference Levels for AC Timing Measurements 91. . . . . . . . . . . . . . . . . . . . . .
63 Rise and Fall Transition Time Voltage Reference Levels 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64 Board-Level Input/Output Timings 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71 CLKIN Timing 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
72 CLKOUT4 Timing 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73 CLKOUT6 Timing 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
74 AECLKIN Timing for EMIFA 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
75 AECLKOUT1 Timing for the EMIFA Module 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76 AECLKOUT2 Timing for the EMIFA Module 96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77 Asynchronous Memory Read Timing for EMIFA 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
78 Asynchronous Memory Write Timing for EMIFA 99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Figures
7
April 2004 − Revised May 2005 SPRS247E
79 Programmable Synchronous Interface Read Timing for EMIFA
(With Read Latency = 2) 101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
710 Programmable Synchronous Interface Write Timing for EMIFA
(With Write Latency = 0) 102. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
711 Programmable Synchronous Interface Write Timing for EMIFA
(With Write Latency = 1) 103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
712 SDRAM Read Command (CAS Latency 3) for EMIFA 105. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
713 SDRAM Write Command for EMIFA 106. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
714 SDRAM ACTV Command for EMIFA 107. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
715 SDRAM DCAB Command for EMIFA 107. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
716 SDRAM DEAC Command for EMIFA 108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
717 SDRAM REFR Command for EMIFA 108. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
718 SDRAM MRS Command for EMIFA 109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
719 SDRAM Self-Refresh Timing for EMIFA 109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
720 HOLD
/HOLDA Timing for EMIFA 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
721 BUSREQ Timing for EMIFA 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
722 Reset Timing 113. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723 External/NMI Interrupt Timing 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
724 McASP Input Timings 116. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
725 McASP Output Timings 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
726 I2C Receive Timings 118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
727 I2C Transmit Timings 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
728 HPI16 Read Timing (HAS Not Used, Tied High) 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
729 HPI16 Read Timing (HAS Used) 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
730 HPI16 Write Timing (HAS Not Used, Tied High) 122. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
731 HPI16 Write Timing (HAS Used) 122. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
732 HPI32 Read Timing (HAS Not Used, Tied High) 123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
733 HPI32 Read Timing (HAS Used) 123. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
734 HPI32 Write Timing (HAS Not Used, Tied High) 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
735 HPI32 Write Timing (HAS Used) 124. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
736 McBSP Timing 127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
737 FSR Timing When GSYNC = 1 127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
738 McBSP Timing as SPI Master or Slave: CLKSTP = 10b, CLKXP = 0 128. . . . . . . . . . . . . . . . . . . . . . . . . .
739 McBSP Timing as SPI Master or Slave: CLKSTP = 11b, CLKXP = 0 129. . . . . . . . . . . . . . . . . . . . . . . . . .
740 McBSP Timing as SPI Master or Slave: CLKSTP = 10b, CLKXP = 1 130. . . . . . . . . . . . . . . . . . . . . . . . . .
741 McBSP Timing as SPI Master or Slave: CLKSTP = 11b, CLKXP = 1 131. . . . . . . . . . . . . . . . . . . . . . . . . .
742 Timer Timing 132. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
743 GPIO Port Timing 133. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
744 JTAG Test-Port Timing 134. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tables
8
April 2004 − Revised May 2005SPRS247E
List of Tables
Table Page
21 Characteristics of the C6413 and C6410 Processors 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
22 TMS320C6413/C6410 Memory Map Summary 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
23 EMIFA Registers 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
24 L2 Cache Registers (C64x) 23. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
25 Quick DMA (QDMA) and Pseudo Registers 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
26 EDMA Registers (C64x) 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27 EDMA Parameter RAM (C64x) 27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28 Interrupt Selector Registers (C64x) 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
29 Device Configuration Registers 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
210 McBSP 0 Registers 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
211 McBSP 1 Registers 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
212 Timer 0 Registers 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213 Timer 1 Registers 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
214 Timer 2 Registers 30. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
215 HPI Registers 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
216 GP0 Registers 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
217 McASP0 and McASP1 Control Registers 32. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
218 McASP0 Data Registers 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
219 McASP1 Data Registers 34. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
220 I2C0 and I2C1 Registers 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
221 TMS320C6413/C6410 EDMA Channel Synchronization Events 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
222 C6413/C6410 DSP Interrupts 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
31 C6413/C6410 Device Configuration Pins (TOUT1/LENDIAN, AEA[22:19], TOUT0/HPI_EN,
HD5, CLKINSEL, and OSC_DIS) 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
32 TOUT0/HPI_EN and HD5 Peripheral Selection (HPI or McASP1 and Select GP0 Pins) 45. . . . . . . . . . .
33 Peripheral Configuration (PERCFG) Register Selection Bit Descriptions 47. . . . . . . . . . . . . . . . . . . . . . .
34 PCFGLOCK Register Selection Bit Descriptions Read Accesses 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35 PCFGLOCK Register Selection Bit Descriptions Write Accesses 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
36 Device Status (DEVSTAT) Register Selection Bit Descriptions 50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
37 JTAG ID Register Selection Bit Descriptions 51. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
38 C6413/C6410 Device Multiplexed Pins 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
39 Terminal Functions 56. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
41 TMS320C6413 PLL Multiply Factor Options, Clock Frequency Ranges,
and Typical Lock Time for 500 Devices 73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
42 TMS320C6410 PLL Multiply Factor Options, Clock Frequency Ranges,
and Typical Lock Time for 400 Devices 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
43 Crystal and Tank Circuit Recommendations 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
44 Characteristics of the Power-Down Modes 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
61 Board-Level Timing Example 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
71 Timing Requirements for External Crystal Oscillator Input (OSCIN and OSCOUT) 93. . . . . . . . . . . . . . .
Tables
9
April 2004 − Revised May 2005 SPRS247E
Table Page
72 Timing Requirements for CLKIN 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
73 Switching Characteristics Over Recommended Operating Conditions for CLKOUT4 94. . . . . . . . . . . . . .
74 Switching Characteristics Over Recommended Operating Conditions for CLKOUT6 94. . . . . . . . . . . . . .
75 Timing Requirements for AECLKIN for EMIFA 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
76 Switching Characteristics Over Recommended Operating Conditions for AECLKOUT1
for the EMIFA Module 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
77 Switching Characteristics Over Recommended Operating Conditions for AECLKOUT2
for the EMIFA Module 96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
78 Timing Requirements for Asynchronous Memory Cycles for EMIFA Module 97. . . . . . . . . . . . . . . . . . . . .
79 Switching Characteristics Over Recommended Operating Conditions for Asynchronous
Memory Cycles for EMIFA Module 97. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
710 Timing Requirements for Programmable Synchronous Interface Cycles for EMIFA Module 100. . . . . . .
711 Switching Characteristics Over Recommended Operating Conditions for Programmable Synchronous
Interface Cycles for EMIFA Module 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
712 Timing Requirements for Synchronous DRAM Cycles for EMIFA Module 104. . . . . . . . . . . . . . . . . . . . . .
713 Switching Characteristics Over Recommended Operating Conditions for Synchronous DRAM
Cycles for EMIFA Module 104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
714 Timing Requirements for the HOLD
/HOLDA Cycles for EMIFA Module 110. . . . . . . . . . . . . . . . . . . . . . . .
715 Switching Characteristics Over Recommended Operating Conditions for the HOLD/HOLDA
Cycles for EMIFA Module 110. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
716 Switching Characteristics Over Recommended Operating Conditions for the BUSREQ
Cycles for EMIFA Module 111. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
717 Timing Requirements for Reset 112. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
718 Switching Characteristics Over Recommended Operating Conditions During Reset 112. . . . . . . . . . . . .
719 Timing Requirements for External Interrupts 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
720 Timing Requirements for McASP 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
721 Switching Characteristics Over Recommended Operating Conditions for McASP 115. . . . . . . . . . . . . . .
722 Timing Requirements for I2C Timings 118. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
723 Switching Characteristics for I2C Timings 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
724 Timing Requirements for Host-Port Interface Cycles 120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
725 Switching Characteristics Over Recommended Operating Conditions During Host-Port
Interface Cycles 120. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
726 Timing Requirements for McBSP 125. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
727 Switching Characteristics Over Recommended Operating Conditions for McBSP 126. . . . . . . . . . . . . . .
728 Timing Requirements for FSR When GSYNC = 1 127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
729 Timing Requirements for McBSP as SPI Master or Slave:
CLKSTP = 10b, CLKXP = 0 128. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
730 Switching Characteristics Over Recommended Operating Conditions for McBSP as
SPI Master or Slave: CLKSTP = 10b, CLKXP = 0 128. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
731 Timing Requirements for McBSP as SPI Master or Slave:
CLKSTP = 11b, CLKXP = 0 129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
732 Switching Characteristics Over Recommended Operating Conditions for McBSP as
SPI Master or Slave: CLKSTP = 11b, CLKXP = 0 129. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
733 Timing Requirements for McBSP as SPI Master or Slave:
CLKSTP = 10b, CLKXP = 1 130. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
734 Switching Characteristics Over Recommended Operating Conditions for McBSP as
SPI Master or Slave: CLKSTP = 10b, CLKXP = 1 130. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
735 Timing Requirements for McBSP as SPI Master or Slave:
CLKSTP = 11b, CLKXP = 1 131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Tables
10
April 2004 − Revised May 2005SPRS247E
736 Switching Characteristics Over Recommended Operating Conditions for McBSP as
SPI Master or Slave: CLKSTP = 11b, CLKXP = 1 131. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
737 Timing Requirements for Timer Inputs 132. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
738 Switching Characteristics Over Recommended Operating Conditions for Timer Outputs 132. . . . . . . . .
739 Timing Requirements for GPIO Inputs 133. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
740 Switching Characteristics Over Recommended Operating Conditions for GPIO Outputs 133. . . . . . . . .
741 Timing Requirements for JTAG Test Port 134. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
742 Switching Characteristics Over Recommended Operating Conditions for JTAG Test Port 134. . . . . . . .
81 Thermal Resistance Characteristics (S-PBGA Package) [GTS] 135. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
82 Thermal Resistance Characteristics (S-PBGA Package) [ZTS] 135. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Features
Features
High-Performance Fixed-Point Digital
D
Signal Processor (TMS320C6413/C6410)
TMS320C6413
2-ns Instruction Cycle Time
500-MHz Clock Rate
4000 MIPS
TMS320C6410
2.5-ns Instruction Cycle Time
400-MHz Clock Rate
3200 MIPS
Eight 32-Bit Instructions/Cycle
Fully Software-Compatible With C64x
Extended Temperature Devices Available
D VelociTI.2 Extensions to VelociTI
Advanced Very-Long-Instruction-Word (VLIW) TMS320C64x DSP Core
Eight Highly Independent Functional Units With VelociTI.2 Extensions:
Six ALUs (32-/40-Bit), Each Supports
Single 32-Bit, Dual 16-Bit, or Quad 8-Bit Arithmetic per Clock Cycle
Two Multipliers Support
Four 16 x 16-Bit Multiplies (32-Bit Results) per Clock Cycle or Eight 8 x 8-Bit Multiplies (16-Bit Results) per Clock Cycle
Load-Store Architecture With Non-Aligned Support
64 32-Bit General-Purpose Registers
Instruction Packing Reduces Code Size
All Instructions Conditional
D Instruction Set Features
Byte-Addressable (8-/16-/32-/64-Bit Data)
8-Bit Overflow Protection
Bit-Field Extract, Set, Clear
Normalization, Saturation, Bit-Counting
VelociTI.2 Increased Orthogonality
D VelociTI.2 Extensions to VelociTI
Advanced Very-Long-Instruction-Word (VLIW) TMS320C64x DSP Core
D L1/L2 Memory Architecture
128K-Bit (16K-Byte) L1P Program Cache (Direct Mapped)
128K-Bit (16K-Byte) L1D Data Cache (2-Way Set-Associative)
2M-Bit (256K-Byte) L2 Unified Mapped RAM/Cache [C6413] (Flexible RAM/Cache Allocation)
1M-Bit (128K-Byte) L2 Unified Mapped RAM/Cache [C6410] (Flexible RAM/Cache Allocation)
D Endianess: Little Endian, Big Endian D 32-Bit External Memory Interface (EMIF)
Glueless Interface to Asynchronous Memories (SRAM and EPROM) and Synchronous Memories (SDRAM, SBSRAM, ZBT SRAM, and FIFO)
1024M-Byte Total Addressable External Memory Space
D Enhanced Direct-Memory-Access (EDMA)
Controller (64 Independent Channels)
D Host-Port Interface (HPI) [32-/16-Bit] D Two Multichannel Audio Serial Ports
(McASPs) - with Six Serial Data Pins each
D Two Inter-Integrated Circuit (I
Additional GPIO Capability
2
C) Buses
D Two Multichannel Buffered Serial Ports D Three 32-Bit General-Purpose Timers D Sixteen General-Purpose I/O (GPIO) Pins D Flexible PLL Clock Generator D On-Chip Fundamental Oscillator D IEEE-1149.1 (JTAG
Boundary-Scan-Compatible
)
D 288-Pin Ball Grid Array (BGA) Packages
(GTS and ZTS Suffixes), 1.0-mm Ball Pitch
D 0.13-µm/6-Level Cu Metal Process (CMOS) D 3.3-V I/Os, 1.2-V Internal
VelociTI.2, VelociTI, and TMS320C64x are trademarks of Texas Instruments. All trademarks are the property of their respective owners.
IEEE Standard 1149.1-1990 Standard-Test-Access Port and Boundary Scan Architecture.
April 2004 − Revised May 2005 SPRS247E
11
Functional Overview
2 Functional Overview
2.1 GTS and ZTS BGA Packages (Bottom View)
GTS and ZTS 288-PIN BALL GRID ARRAY (BGA) PACKAGES
( BOTTOM VIEW )
AB
AA
Y
W
V
U
T
R
P
N
M
L
K
J
H
G
F
E
D
C
B
A
21
19
17
15
13
11
5
31
4
2
9
10
876
14
12
18
16
22
20
Figure 21. GTS and ZTS BGA Packages (Bottom View)
12
April 2004 Revised May 2005SPRS247E
2.2 Description
The TMS320C64x DSPs (including the TMS320C6413, TMS320C6410 devices) are the highest-performance fixed-point DSP generation in the TMS320C6000 DSP platform. The TMS320C6413 and TMS320C6410 (C6413 and C6410) devices are based on the second-generation high-performance, advanced VelociTI™ very-long-instruction-word (VLIW) architecture (VelociTI.2) developed by Texas Instruments (TI). The high-performance, lower-cost C6413/C6410 DSPs enable customers to reduce system costs for telecom, medical, industrial, office, and photo lab equipment. The C64x is a code-compatible member of the C6000™ DSP platform.
With performance of up to 4000 million instructions per second (MIPS) at a clock rate of 500 MHz, the C6413 device offers cost-effective solutions to high-performance DSP programming challenges.
With performance of up to 3200 million instructions per second (MIPS) at a clock rate of 400 MHz, the C6410 device offers cost-effective solutions to high-performance DSP programming challenges. The C6410 device also provides excellent value for packet telephony and for other costsensitive applications demanding high performance.
The C6413/C6410 DSP possesses the operational flexibility of high-speed controllers and the numerical capability of array processors. The C64x DSP core processor has 64 general-purpose registers of 32-bit word length and eight highly independent functional units—two multipliers for a 32-bit result and six arithmetic logic units (ALUs)— with VelociTI.2™ extensions. The VelociTI.2 extensions in the eight functional units include new instructions to accelerate the performance in video and imaging applications and extend the parallelism of the VelociTI™ architecture. The C6413 can produce four 16-bit multiply-accumulates (MACs) per cycle for a total of 2000 million MACs per second (MMACS), or eight 8-bit MACs per cycle for a total of 4000 MMACS. The C6410 can produce four 16-bit multiply-accumulates (MACs) per cycle for a total of 1600 million MACs per second (MMACS), or eight 8-bit MACs per cycle for a total of 3200 MMACS. The C6413/C6410 DSP also has application-specific hardware logic, on-chip memory, and additional on-chip peripherals similar to the other C6000 DSP platform devices.
Description
The C6413/C6410 uses a two-level cache-based architecture and has a powerful and diverse set of peripherals. The Level 1 program cache (L1P) is a 128-Kbit direct mapped cache and the Level 1 data cache (L1D) is a 128-Kbit 2-way set-associative cache. The Level 2 memory/cache (L2) consists of an 2-Mbit memory space that is shared between program and data space [for C6413 device] and the Level 2 memory/cache (L2) consists of an 1-Mbit memory space that is shared between program and data space [for C6410 device]. L2 memory can be configured as mapped memory, cache, or combinations of the two. The peripheral set includes: two multichannel buffered audio serial ports (McASPs); two inter-integrated circuit bus modules (I2Cs) ; two multichannel buffered serial ports (McBSPs); three 32-bit general-purpose timers; a user-configurable 16-bit or 32-bit host-port interface (HPI16/HPI32); a 16-pin general-purpose input/output port (GP0) with programmable interrupt/event generation modes; and a 32-bit glueless external memory interface (EMIFA), which is capable of interfacing to synchronous and asynchronous memories and peripherals.
Each McASP port supports one transmit and one receive clock zone, with six 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 C6413/C6410 has sufficient bandwidth to support all six 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 (I
2
S)
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.
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.
TMS320C6000, and C6000 are trademarks of Texas Instruments.
April 2004 − Revised May 2005 SPRS247E
13
Device Characteristics
Not all peripherals pins
Confi
The I2C ports on the TMS320C6413/C6410 allows 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 C6413/C6410 has a complete set of development tools which includes: a new C compiler, an assembly optimizer to simplify programming and scheduling, and a Windows™ debugger interface for visibility into source code execution.
2.3 Device Characteristics
Table 21, provides an overview of the C6413 and C6410 DSPs. The tables show significant features of the C6413 and C6410 devices, including the capacity of on-chip RAM, the peripherals, the CPU frequency, and the package type with pin count.
Table 21. Characteristics of the C6413 and C6410 Processors
HARDWARE FEATURES C6413 AND C6410
EMIFA (32-bit bus width) (clock source = AECLKIN, CLKOUT4, or CLKOUT6)
Peripherals
Not all peripherals pins are available at the same time (For more detail, see the Device
guration section).
On-Chip Memory
CPU ID + CPU Rev ID Control Status Register (CSR.[31:16]) 0x0C01
JTAG BSDL_ID JTAGID register (address location: 0x01B3F008) 0x0007902F
Frequency MHz
Cycle Time ns
Voltage
PLL Options CLKIN frequency multiplier
BGA Package 23 x 23 mm 288-Pin Flip-Chip Plastic BGA (GTS and ZTS)
Process Technology µm 0.13 µm
Product Status
On this C64x device, the rated EMIF speed affects only the SDRAM interface on the EMIF. For more detailed information, see the EMIF device speed portion of this data sheet.
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.
EDMA (64 independent channels) 1
McASPs (use Peripheral Clock and AUXCLK) 2
I2Cs (use Peripheral Clock) 2
HPI (32- or 16-bit user selectable) 1 (HPI16 or HPI32)
McBSPs (internal clock source = CPU/4 clock frequency)
32-Bit Timers (internal clock source = CPU/8 clock frequency)
General-Purpose Input/Output Port (GP0) 16
Size (Bytes)
16K-Byte (16KB) L1 Program (L1P) Cache
Organization
Core (V) 1.2 V
I/O (V) 3.3 V
Product Preview (PP), Advance Information (AI), or Production Data (PD)
16KB L1 Data (L1D) Cache 256KB Unified Mapped RAM/Cache (L2) [C6413] 128KB Unified Mapped RAM/Cache (L2) [C6410]
2 ns (C6413-500, C6413 A500) [500 MHz CPU, 100 MHz EMIF
2.5 ns (C6410-400, C6410 A400) [400 MHz CPU, 100 MHz EMIF†]
Bypass (x1), x5, x6, x7, x8, x9, x10, x11, x12, x16,
x18, x19, x20, x21, x22, and x24
1
2
3
288K (C6413) 160K (C6410)
500 (C6413) 400 (C6410)
PD
]
14
April 2004 Revised May 2005SPRS247E
2.3.1 Functional Block Diagram
Figure 22 shows the functional block diagram of the C6413/C6410 device.
Functional Block Diagram
SDRAM
SBSRAM
ZBT SRAM
FIFO
SRAM
ROM/FLASH
I/O Devices
32
EMIF A
L1P Cache
Direct-Mapped
16K Bytes Total
TMS320C6413/C6410
Timer 2
Timer 1
Timer 0
McBSP0
McBSP1
McASP0
McASP1
and
HPI16
or
Enhanced
DMA
Controller
(edma)
L2
Cache
Memory
256KBytes
Instruction Fetch
Instruction Dispatch
Advanced Instruction Packet
Instruction Decode
Data Path A
A Register File
A31A16
A15A0
.L1 .S1 .M1 .D1 .D2 .M2 .S2 .L2
§
C64x DSP Core
Control
Registers
Control
Logic
Data Path B
B Register File
B31B16
B15B0
L1D Cache 2-Way Set-Associative
16K Bytes Total
Test
Advanced
In-Circuit
Emulation
Interrupt
Control
HPI32
I2C0
I2C1
16
16
McBSPs: Framing Chips H.100, MVIP, SCSA, T1, E1; AC97 Devices; SPI Devices; Codecs
GP0[15:8] pins are muxed with the HPI HD[15:8] pins and GP0[2:1] pins are muxed with CLKOUT6 and CLKOUT4, respectively.
§
Note: the C6413 device has 256K-Bytes L2 Cache Memory; the C6410 device has only 128K-Bytes L2 Cache Memory.
GP0
GP0
OSCILLATOR
and PLL
(x1, x5 x12, x16,
x18, x19 x22, x24)
Boot Configuration
Power-Down
Logic
Figure 22. Functional Block Diagram
April 2004 Revised May 2005 SPRS247E
15
CPU (DSP Core) Description
2.4 CPU (DSP Core) Description
The CPU fetches VelociTI advanced very-long instruction words (VLIWs) (256 bits wide) to supply up to eight 32-bit instructions to the eight functional units during every clock cycle. The VelociTI 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 C64x CPUs from other VLIW architectures. The C64x VelociTI.2 extensions add enhancements to the TMS320C62x DSP VelociTI architecture. These enhancements include:
Register file enhancements
Data path extensions
Quad 8-bit and dual 16-bit extensions with data flow enhancements
Additional functional unit hardware
Increased orthogonality of the instruction set
Additional instructions that reduce code size and increase register flexibility
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 32 32-bit registers for a total of 64 general-purpose registers. In addition to supporting the packed 16-bit and 32-/40-bit fixed-point data types found in the C62x™ VelociTI™ VLIW architecture, the C64x register files also support packed 8-bit data and 64-bit fixed-point data types. 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 2−3]. The four functional units on each side of the CPU can freely share the 32 registers belonging to that side. Additionally, each side features a “data cross path”—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. The C64x CPU pipelines data-cross-path accesses over multiple clock cycles. This allows the same register to be used as a data-cross-path operand by multiple functional units in the same execute packet. All functional units in the C64x CPU can access operands via the data cross path. 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. On the C64x CPU, a delay clock is introduced whenever an instruction attempts to read a register via a data cross path if that register was updated in the previous clock cycle.
In addition to the C62x™ DSP fixed-point instructions, the C64x™ DSP includes a comprehensive collection of quad 8-bit and dual 16-bit instruction set extensions. These VelociTI.2™ extensions allow the C64x CPU to operate directly on packed data to streamline data flow and increase instruction set efficiency.
Another key feature of the C64x 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 C64x .D units can load and store bytes (8 bits), half-words (16 bits), and words (32 bits) with a single instruction. And with the new data path extensions, the C64x .D unit can load and store doublewords (64 bits) with a single instruction. Furthermore, the non-aligned load and store instructions allow the .D units to access words and doublewords on any byte boundary. The C64x CPU supports a variety of indirect addressing modes using either linear- or circular-addressing with 5- or 15-bit offsets. All instructions are conditional, and most can access any one of the 64 registers. Some registers, however, are singled out to support specific addressing modes or to hold the condition for conditional instructions (if the condition is not automatically “true”).
TMS320C62x and C62x are trademarks of Texas Instruments.
16
April 2004 Revised May 2005SPRS247E
CPU (DSP Core) Description
The two .M functional units perform all multiplication operations. Each of the C64x .M units can perform two 16 × 16-bit multiplies or four 8 × 8-bit multiplies per clock cycle. The .M unit can also perform 16 × 32-bit multiply operations, dual 16 × 16-bit multiplies with add/subtract operations, and quad 8 × 8-bit multiplies with add operations. In addition to standard multiplies, the C64x .M units include bit-count, rotate, Galois field multiplies, and bidirectional variable shift hardware.
The two .S and .L functional units perform a general set of arithmetic, logical, and branch functions with results available every clock cycle. The arithmetic and logical functions on the C64x CPU include single 32-bit, dual 16-bit, and quad 8-bit operations.
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. A C64x DSP device enhancement now allows execute packets to cross fetch-packet boundaries. In the TMS320C62x™/TMS320C67x™ DSP devices, 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. In the C64x DSP device, the execute boundary restrictions have been removed, thereby, eliminating all of the NOPs added to pad the fetch packet, and thus, decreasing the overall code size. 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, half-words, or doublewords. All load and store instructions are byte-, half-word-, word-, or doubleword-addressable.
For more details on the C64x CPU functional units enhancements, see the following documents:
TMS320C6000 CPU and Instruction Set Reference Guide (literature number SPRU189)
TMS320C64x Technical Overview (literature number SPRU395)
TMS320C67x is a trademark of Texas Instruments.
April 2004 Revised May 2005 SPRS247E
17
CPU (DSP Core) Description
ST1b (Store Data)
ST1a (Store Data)
Data Path A
LD1b (Load Data) LD1a (Load Data)
DA1 (Address)
32 MSBs
32 LSBs
32 MSBs 32 LSBs
src1
.L1
src2
long dst long src
long src long dst
src1
.S1
src2
long dst
long dst
src1
.M1
src2
src2
src1
.D1
src2
dst
dst
dst
dst
dst
8
8
8
8
Register
File A
(A0A31)
See Note A See Note A
2X
Data Path B
DA2 (Address)
LD2a (Load Data) LD2b (Load Data)
ST2a (Store Data)
ST2b (Store Data)
32 LSBs 32 MSBs
32 MSBs 32 LSBs
src2
.D2
src1
src2
src1
.M2
long dst
src2
.S2
src1
long dst long src
long src long dst
src2
.L2
src1
dst
dst
dst
dst
1X
See Note A See Note A
Register
File B
(B0 B31)
8
8
8
8
Control Register
File
NOTE A: For the .M functional units, the long dst is 32 MSBs and the dst is 32 LSBs.
Figure 23. TMS320C64x CPU (DSP Core) Data Paths
18
April 2004 Revised May 2005SPRS247E
2.5 Memory Map Summary
Table 22 shows the memory map address ranges of the C6413 and C6410 devices. Internal memory is always located at address 0 and can be used as both program and data memory. The external memory address ranges in the C6413/C6410 device begin at the hex address location 0x8000 0000 for EMIFA.
Table 22. TMS320C6413/C6410 Memory Map Summary
Memory Map Summary
MEMORY BLOCK DESCRIPTION
Internal RAM (L2) [C6413] 256K
Reserved [C6413] 1024K minus 256K
Internal RAM (L2) [C6410] 128K
Reserved [C6410] 1024K minus 128K
Reserved 15M
Reserved 8M
External Memory Interface A (EMIFA) Registers 256K
L2 Registers 256K
HPI Registers 256K
McBSP 0 Registers 256K
McBSP 1 Registers 256K
Timer 0 Registers 256K
Timer 1 Registers 256K
Interrupt Selector Registers 256K
EDMA RAM and EDMA Registers 256K
Reserved 512K
Timer 2 Registers 256K
GP0 Registers 256K minus 4K
Device Configuration Registers 4K
I2C0 Data and Control Registers 16K
I2C1 Data and Control Registers 16K
Reserved 16K
McASP0 Control Registers 16K
McASP1 Control Registers 16K
Reserved 176K
Reserved 128K
Reserved 128K
Emulation 256K
Reserved 528K
Reserved 3.5M
QDMA Registers 52
Reserved 928M minus 52
McBSP 0 Data 64M
McBSP 1 Data 64M
Reserved 64M
McASP0 Data 1M
BLOCK SIZE
(BYTES)
HEX ADDRESS RANGE
0000 0000 – 0003 FFFF
0004 0000 – 000F FFFF
0000 0000 – 0001 FFFF
0002 0000 – 000F FFFF
0010 0000 – 00FF FFFF
0100 0000 – 017F FFFF
0180 0000 – 0183 FFFF
0184 0000 – 0187 FFFF
0188 0000 – 018B FFFF
018C 0000 – 018F FFFF
0190 0000 – 0193 FFFF
0194 0000 – 0197 FFFF
0198 0000 – 019B FFFF
019C 0000 – 019F FFFF
01A0 0000 – 01A3 FFFF
01A4 0000 – 01AB FFFF
01AC 0000 – 01AF FFFF
01B0 0000 – 01B3 EFFF
01B3 F000 – 01B3 FFFF
01B4 0000 – 01B4 3FFF
01B4 4000 – 01B4 7FFF
01B4 8000 – 01B4 BFFF
01B4 C000 – 01B4 FFFF
01B5 0000 – 01B5 3FFF
01B5 4000 – 01B7 FFFF
01B8 0000 – 01B9 FFFF
01BA 0000 – 01BB FFFF
01BC 0000 – 01BF FFFF
01C0 0000 – 01C8 3FFF
01C8 4000 – 01FF FFFF
0200 0000 – 0200 0033
0200 0034 – 2FFF FFFF
3000 0000 – 33FF FFFF
3400 0000 – 37FF FFFF
3800 0000 – 3BFF FFFF
3C00 0000 – 3C0F FFFF
April 2004 Revised May 2005 SPRS247E
19
Memory Map Summary
Table 22. TMS320C6413/C6410 Memory Map Summary (Continued)
MEMORY BLOCK DESCRIPTION HEX ADDRESS RANGE
McASP1 Data 1M
Reserved 62M
Reserved 1G
EMIFA CE0 256M
EMIFA CE1 256M
EMIFA CE2 256M
EMIFA CE3 256M
Reserved 1G
BLOCK SIZE
(BYTES)
3C10 0000 – 3C1F FFFF
3C20 0000 – 3FFF FFFF
4000 0000 – 7FFF FFFF
8000 0000 – 8FFF FFFF
9000 0000 – 9FFF FFFF
A000 0000 – AFFF FFFF
B000 0000 – BFFF FFFF
C000 0000 – FFFF FFFF
20
April 2004 Revised May 2005SPRS247E
2.5.1 L2 Architecture Expanded
Figure 24 and Figure 25 show the detail of the L2 architecture on the TMS320C6413 and TMS320C6410 devices, respectively . For more information on the L2MODE bits, see the cache configuration (CCFG) register bit field descriptions in the TMS320C64x Two-Level Internal Memory Reference Guide (literature number SPRU610).
L2MODE L2 Memory Block Base Address
Memory Map Summary
000
256K SRAM (All)
011010001 111
0x0000 0000
128K-Byte SRAM
128K SRAM
192K SRAM
224K SRAM
0x0002 0000
256K Cache (4 Way) [All]
64K-Byte RAM
0x0003 0000
128K Cache (4 Way)
32K-Byte RAM
0x0003 8000
(4 Way)
32K Cache
64K Cache (4 Way)
32K-Byte RAM
0x0003 FFFF
0x0004 0000
Figure 24. TMS320C6413 L2 Architecture Memory Configuration
April 2004 Revised May 2005 SPRS247E
21
Memory Map Summary
L2MODE
000
L2 Memory Block Base Address
011010001
64K-Byte RAM
64K SRAM
96K SRAM
128K SRAM (All)
(4 Way)
32K Cache
The L2MODE = 111b is not supported on the C6410 device.
64K Cache (4 Way)
128K Cache (4 Way)
32K-Byte RAM
32K-Byte RAM
Figure 25. TMS320C6410 L2 Architecture Memory Configuration
0x0000 0000
0x0001 0000
0x0001 8000
0x0001 FFFF
0x0002 0000
22
April 2004 Revised May 2005SPRS247E
Peripheral Register Descriptions
2.6 Peripheral Register Descriptions
Table 23 through Table 220 identify the peripheral registers for the C6413/C6410 device 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 23. EMIFA Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
0180 0000 GBLCTL EMIFA global control
0180 0004 CECTL1 EMIFA CE1 space control
0180 0008 CECTL0 EMIFA CE0 space control
0180 000C Reserved
0180 0010 CECTL2 EMIFA CE2 space control
0180 0014 CECTL3 EMIFA CE3 space control
0180 0018 SDCTL EMIFA SDRAM control
0180 001C SDTIM EMIFA SDRAM refresh control
0180 0020 SDEXT EMIFA SDRAM extension
0180 0024 0180 003C Reserved
0180 0040 PDTCTL Peripheral device transfer (PDT) control
0180 0044 CESEC1 EMIFA CE1 space secondary control
0180 0048 CESEC0 EMIFA CE0 space secondary control
0180 004C Reserved
0180 0050 CESEC2 EMIFA CE2 space secondary control
0180 0054 CESEC3 EMIFA CE3 space secondary control
0180 0058 0183 FFFF Reserved
Table 24. L2 Cache Registers (C64x)
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
0184 0000 CCFG Cache configuration register
0184 0004 0184 0FFC Reserved
0184 1000 EDMAWEIGHT L2 EDMA access control register
0184 1004 0184 1FFC Reserved
0184 2000 L2ALLOC0 L2 allocation register 0
0184 2004 L2ALLOC1 L2 allocation register 1
0184 2008 L2ALLOC2 L2 allocation register 2
0184 200C L2ALLOC3 L2 allocation register 3
0184 2010 0184 3FFC Reserved
0184 4000 L2WBAR L2 writeback base address register
0184 4004 L2WWC L2 writeback word count register
0184 4010 L2WIBAR L2 writeback invalidate base address register
0184 4014 L2WIWC L2 writeback invalidate word count register
0184 4018 L2IBAR L2 invalidate base address register
0184 401C L2IWC L2 invalidate word count register
0184 4020 L1PIBAR L1P invalidate base address register
0184 4024 L1PIWC L1P invalidate word count register
0184 4030 L1DWIBAR L1D writeback invalidate base address register
April 2004 Revised May 2005 SPRS247E
23
Peripheral Register Descriptions
Table 24. L2 Cache Registers (C64x) (Continued)
HEX ADDRESS RANGE COMMENTSREGISTER NAMEACRONYM
0184 4034 L1DWIWC L1D writeback invalidate word count register
0184 4038 0184 4044 Reserved
0184 4048 L1DIBAR L1D invalidate base address register
0184 404C L1DIWC L1D invalidate word count register
0184 4050 0184 4FFC Reserved
0184 5000 L2WB L2 writeback all register
0184 5004 L2WBINV L2 writeback invalidate all register
0184 5008 0184 7FFC Reserved
0184 8000 0184 81FC
0184 8200 MAR128 Controls EMIFA CE0 range 8000 0000 80FF FFFF
0184 8204 MAR129 Controls EMIFA CE0 range 8100 0000 81FF FFFF
0184 8208 MAR130 Controls EMIFA CE0 range 8200 0000 82FF FFFF
0184 820C MAR131 Controls EMIFA CE0 range 8300 0000 83FF FFFF
0184 8210 MAR132 Controls EMIFA CE0 range 8400 0000 84FF FFFF
0184 8214 MAR133 Controls EMIFA CE0 range 8500 0000 85FF FFFF
0184 8218 MAR134 Controls EMIFA CE0 range 8600 0000 86FF FFFF
0184 821C MAR135 Controls EMIFA CE0 range 8700 0000 87FF FFFF
0184 8220 MAR136 Controls EMIFA CE0 range 8800 0000 88FF FFFF
0184 8224 MAR137 Controls EMIFA CE0 range 8900 0000 89FF FFFF
0184 8228 MAR138 Controls EMIFA CE0 range 8A00 0000 8AFF FFFF
0184 822C MAR139 Controls EMIFA CE0 range 8B00 0000 8BFF FFFF
0184 8230 MAR140 Controls EMIFA CE0 range 8C00 0000 8CFF FFFF
0184 8234 MAR141 Controls EMIFA CE0 range 8D00 0000 8DFF FFFF
0184 8238 MAR142 Controls EMIFA CE0 range 8E00 0000 8EFF FFFF
0184 823C MAR143 Controls EMIFA CE0 range 8F00 0000 8FFF FFFF
0184 8240 MAR144 Controls EMIFA CE1 range 9000 0000 90FF FFFF
0184 8244 MAR145 Controls EMIFA CE1 range 9100 0000 91FF FFFF
0184 8248 MAR146 Controls EMIFA CE1 range 9200 0000 92FF FFFF
0184 824C MAR147 Controls EMIFA CE1 range 9300 0000 93FF FFFF
0184 8250 MAR148 Controls EMIFA CE1 range 9400 0000 94FF FFFF
0184 8254 MAR149 Controls EMIFA CE1 range 9500 0000 95FF FFFF
0184 8258 MAR150 Controls EMIFA CE1 range 9600 0000 96FF FFFF
0184 825C MAR151 Controls EMIFA CE1 range 9700 0000 97FF FFFF
0184 8260 MAR152 Controls EMIFA CE1 range 9800 0000 98FF FFFF
0184 8264 MAR153 Controls EMIFA CE1 range 9900 0000 99FF FFFF
0184 8268 MAR154 Controls EMIFA CE1 range 9A00 0000 9AFF FFFF
0184 826C MAR155 Controls EMIFA CE1 range 9B00 0000 9BFF FFFF
0184 8270 MAR156 Controls EMIFA CE1 range 9C00 0000 9CFF FFFF
0184 8274 MAR157 Controls EMIFA CE1 range 9D00 0000 9DFF FFFF
0184 8278 MAR158 Controls EMIFA CE1 range 9E00 0000 9EFF FFFF
0184 827C MAR159 Controls EMIFA CE1 range 9F00 0000 9FFF FFFF
0184 8280 MAR160 Controls EMIFA CE2 range A000 0000 A0FF FFFF
MAR0 to
MAR127
Reserved
24
April 2004 Revised May 2005SPRS247E
Table 24. L2 Cache Registers (C64x) (Continued)
HEX ADDRESS RANGE COMMENTSREGISTER NAMEACRONYM
0184 8284 MAR161 Controls EMIFA CE2 range A100 0000 A1FF FFFF
0184 8288 MAR162 Controls EMIFA CE2 range A200 0000 A2FF FFFF
0184 828C MAR163 Controls EMIFA CE2 range A300 0000 A3FF FFFF
0184 8290 MAR164 Controls EMIFA CE2 range A400 0000 A4FF FFFF
0184 8294 MAR165 Controls EMIFA CE2 range A500 0000 A5FF FFFF
0184 8298 MAR166 Controls EMIFA CE2 range A600 0000 A6FF FFFF
0184 829C MAR167 Controls EMIFA CE2 range A700 0000 A7FF FFFF
0184 82A0 MAR168 Controls EMIFA CE2 range A800 0000 A8FF FFFF
0184 82A4 MAR169 Controls EMIFA CE2 range A900 0000 A9FF FFFF
0184 82A8 MAR170 Controls EMIFA CE2 range AA00 0000 AAFF FFFF
0184 82AC MAR171 Controls EMIFA CE2 range AB00 0000 ABFF FFFF
0184 82B0 MAR172 Controls EMIFA CE2 range AC00 0000 ACFF FFFF
0184 82B4 MAR173 Controls EMIFA CE2 range AD00 0000 ADFF FFFF
0184 82B8 MAR174 Controls EMIFA CE2 range AE00 0000 AEFF FFFF
0184 82BC MAR175 Controls EMIFA CE2 range AF00 0000 AFFF FFFF
0184 82C0 MAR176 Controls EMIFA CE3 range B000 0000 B0FF FFFF
0184 82C4 MAR177 Controls EMIFA CE3 range B100 0000 B1FF FFFF
0184 82C8 MAR178 Controls EMIFA CE3 range B200 0000 B2FF FFFF
0184 82CC MAR179 Controls EMIFA CE3 range B300 0000 B3FF FFFF
0184 82D0 MAR180 Controls EMIFA CE3 range B400 0000 B4FF FFFF
0184 82D4 MAR181 Controls EMIFA CE3 range B500 0000 B5FF FFFF
0184 82D8 MAR182 Controls EMIFA CE3 range B600 0000 B6FF FFFF
0184 82DC MAR183 Controls EMIFA CE3 range B700 0000 B7FF FFFF
0184 82E0 MAR184 Controls EMIFA CE3 range B800 0000 B8FF FFFF
0184 82E4 MAR185 Controls EMIFA CE3 range B900 0000 B9FF FFFF
0184 82E8 MAR186 Controls EMIFA CE3 range BA00 0000 BAFF FFFF
0184 82EC MAR187 Controls EMIFA CE3 range BB00 0000 BBFF FFFF
0184 82F0 MAR188 Controls EMIFA CE3 range BC00 0000 BCFF FFFF
0184 82F4 MAR189 Controls EMIFA CE3 range BD00 0000 BDFF FFFF
0184 82F8 MAR190 Controls EMIFA CE3 range BE00 0000 BEFF FFFF
0184 82FC MAR191 Controls EMIFA CE3 range BF00 0000 BFFF FFFF
0184 8300 0184 83FC
0184 8400 0187 FFFF Reserved
MAR192 to
MAR255
Reserved
Peripheral Register Descriptions
April 2004 Revised May 2005 SPRS247E
25
Peripheral Register Descriptions
Table 25. Quick DMA (QDMA) and Pseudo Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME
0200 0000 QOPT QDMA options parameter register
0200 0004 QSRC QDMA source address register
0200 0008 QCNT QDMA frame count register
0200 000C QDST QDMA destination address register
0200 0010 QIDX QDMA index register
0200 0014 0200 001C Reserved
0200 0020 QSOPT QDMA pseudo options register
0200 0024 QSSRC QDMA psuedo source address register
0200 0028 QSCNT QDMA psuedo frame count register
0200 002C QSDST QDMA destination address register
0200 0030 QSIDX QDMA psuedo index register
Table 26. EDMA Registers (C64x)
HEX ADDRESS RANGE ACRONYM REGISTER NAME
01A0 0800 01A0 FF98 Reserved
01A0 FF9C EPRH Event polarity high register
01A0 FFA4 CIPRH Channel interrupt pending high register
01A0 FFA8 CIERH Channel interrupt enable high register
01A0 FFAC CCERH Channel chain enable high register
01A0 FFB0 ERH Event high register
01A0 FFB4 EERH Event enable high register
01A0 FFB8 ECRH Event clear high register
01A0 FFBC ESRH Event set high register
01A0 FFC0 PQAR0 Priority queue allocation register 0
01A0 FFC4 PQAR1 Priority queue allocation register 1
01A0 FFC8 PQAR2 Priority queue allocation register 2
01A0 FFCC PQAR3 Priority queue allocation register 3
01A0 FFDC EPRL Event polarity low register
01A0 FFE0 PQSR Priority queue status register
01A0 FFE4 CIPRL Channel interrupt pending low register
01A0 FFE8 CIERL Channel interrupt enable low register
01A0 FFEC CCERL Channel chain enable low register
01A0 FFF0 ERL Event low register
01A0 FFF4 EERL Event enable low register
01A0 FFF8 ECRL Event clear low register
01A0 FFFC ESRL Event set low register
01A1 0000 01A3 FFFF Reserved
26
April 2004 Revised May 2005SPRS247E
Peripheral Register Descriptions
Table 27. EDMA Parameter RAM (C64x)
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
01A0 0000 01A0 0017 Parameters for Event 0 (6 words)
01A0 0018 01A0 002F Parameters for Event 1 (6 words)
01A0 0030 01A0 0047 Parameters for Event 2 (6 words)
01A0 0048 01A0 005F Parameters for Event 3 (6 words)
01A0 0060 01A0 0077 Parameters for Event 4 (6 words)
01A0 0078 01A0 008F Parameters for Event 5 (6 words)
01A0 0090 01A0 00A7 Parameters for Event 6 (6 words)
01A0 00A8 01A0 00BF Parameters for Event 7 (6 words)
01A0 00C0 01A0 00D7 Parameters for Event 8 (6 words)
01A0 00D8 01A0 00EF Parameters for Event 9 (6 words)
01A0 00F0 01A0 00107 Parameters for Event 10 (6 words)
01A0 0108 01A0 011F Parameters for Event 11 (6 words)
01A0 0120 01A0 0137 Parameters for Event 12 (6 words)
01A0 0138 01A0 014F Parameters for Event 13 (6 words)
01A0 0150 01A0 0167 Parameters for Event 14 (6 words)
01A0 0168 01A0 017F Parameters for Event 15 (6 words)
01A0 0150 01A0 0197 Parameters for Event 16 (6 words)
01A0 0168 01A0 01AF Parameters for Event 17 (6 words)
... ...
01A0 05D0 01A0 05E7 Parameters for Event 62 (6 words)
01A0 05E8 01A0 05FF Parameters for Event 63 (6 words)
01A0 0600 01A0 0617 Reload/link parameters for Event 0 (6 words)
01A0 0618 01A0 062F Reload/link parameters for Event 1 (6 words)
... ...
01A0 07E0 01A0 07F7 Reload/link parameters for Event 20 (6 words)
01A0 07F8 01A0 080F Reload/link parameters for Event 21 (6 words)
01A0 0810 01A0 0827 Reload/link parameters for Event 22 (6 words)
... ...
01A0 13C8 01A0 13DF Reload/link parameters for Event 147 (6 words)
01A0 13E0 01A0 13F7 Reload/link parameters for Event 148 (6 words)
01A0 13F8 01A0 13FF Scratch pad area (2 words)
01A0 1400 01A3 FFFF Reserved
The C6413/C6410 device has 213 EDMA parameters total: 64-Event/Reload channels and 149-Reload only parameter sets [six (6) words each] that can be used to reload/link EDMA transfers.
Parameters for Event 0 (6 words) or Reload/Link Parameters for other Event
Reload/Link Parameters for other Event 015
April 2004 Revised May 2005 SPRS247E
27
Peripheral Register Descriptions
Table 28. Interrupt Selector Registers (C64x)
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
019C 0000 MUXH Interrupt multiplexer high
019C 0004 MUXL Interrupt multiplexer low
019C 0008 EXTPOL External interrupt polarity
019C 000C 019F FFFF Reserved
Selects which interrupts drive CPU interrupts 1015 (INT10INT15)
Selects which interrupts drive CPU interrupts 49 (INT04INT09)
Sets the polarity of the external interrupts (EXT_INT4EXT_INT7)
Table 29. Device Configuration Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
Enables or disables specific
01B3 F000 PERCFG Peripheral Configuration Register
01B3 F004 DEVSTAT Device Status Register
01B3 F008 JTAGID JTAG Identification Register
01B3 F00C 01B3 F014 Reserved
01B3 F018 PCFGLOCK Peripheral Configuration Lock Register
01B3 F01C 01B3 FFFF Reserved
peripherals. This register is also used for power-down of disabled peripherals.
Read-only. Provides status of the User’s device configuration on reset.
Read-only. Provides 32-bit JTAG ID of the device.
28
April 2004 Revised May 2005SPRS247E
Peripheral Register Descriptions
Table 210. McBSP 0 Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
The CPU and EDMA controller
018C 0000 DRR0 McBSP0 data receive register via Configuration Bus
0x3000 0000 0x33FF FFFF DRR0 McBSP0 data receive register via Peripheral Bus
018C 0004 DXR0 McBSP0 data transmit register via Configuration Bus
0x3000 0000 0x33FF FFFF DXR0 McBSP0 data transmit register via Peripheral Bus
018C 0008 SPCR0 McBSP0 serial port control register
018C 000C RCR0 McBSP0 receive control register
018C 0010 XCR0 McBSP0 transmit control register
018C 0014 SRGR0 McBSP0 sample rate generator register
018C 0018 MCR0 McBSP0 multichannel control register
018C 001C RCERE00 McBSP0 enhanced receive channel enable register 0
018C 0020 XCERE00 McBSP0 enhanced transmit channel enable register 0
018C 0024 PCR0 McBSP0 pin control register
018C 0028 RCERE10 McBSP0 enhanced receive channel enable register 1
018C 002C XCERE10 McBSP0 enhanced transmit channel enable register 1
018C 0030 RCERE20 McBSP0 enhanced receive channel enable register 2
018C 0034 XCERE20 McBSP0 enhanced transmit channel enable register 2
018C 0038 RCERE30 McBSP0 enhanced receive channel enable register 3
018C 003C XCERE30 McBSP0 enhanced transmit channel enable register 3
018C 0040 018F FFFF Reserved
can only read this register; they cannot write to it.
Table 211. McBSP 1 Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
The CPU and EDMA controller
0190 0000 DRR1 McBSP1 data receive register via Configuration Bus
0x3400 0000 0x37FF FFFF DRR1 McBSP1 data receive register via peripheral bus
0190 0004 DXR1 McBSP1 data transmit register via configuration bus
0x3400 0000 0x37FF FFFF DXR1 McBSP1 data transmit register via peripheral bus
0190 0008 SPCR1 McBSP1 serial port control register
0190 000C RCR1 McBSP1 receive control register
0190 0010 XCR1 McBSP1 transmit control register
0190 0014 SRGR1 McBSP1 sample rate generator register
0190 0018 MCR1 McBSP1 multichannel control register
0190 001C RCERE01 McBSP1 enhanced receive channel enable register 0
0190 0020 XCERE01 McBSP1 enhanced transmit channel enable register 0
0190 0024 PCR1 McBSP1 pin control register
0190 0028 RCERE11 McBSP1 enhanced receive channel enable register 1
0190 002C XCERE11 McBSP1 enhanced transmit channel enable register 1
0190 0030 RCERE21 McBSP1 enhanced receive channel enable register 2
0190 0034 XCERE21 McBSP1 enhanced transmit channel enable register 2
0190 0038 RCERE31 McBSP1 enhanced receive channel enable register 3
0190 003C XCERE31 McBSP1 enhanced transmit channel enable register 3
0190 0040 0193 FFFF Reserved
can only read this register; they cannot write to it.
April 2004 Revised May 2005 SPRS247E
29
Peripheral Register Descriptions
Table 212. Timer 0 Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
0194 0000 CTL0 Timer 0 control register
0194 0004 PRD0 Timer 0 period register
0194 0008 CNT0 Timer 0 counter register Contains the current value of the incrementing counter.
0194 000C 0197 FFFF Reserved
Determines the operating mode of the timer, monitors the timer status, and controls the function of the TOUT pin.
Contains the number of timer input clock cycles to count. This number controls the TSTAT signal frequency.
Table 213. Timer 1 Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
0198 0000 CTL1 Timer 1 control register
0198 0004 PRD1 Timer 1 period register
0198 0008 CNT1 Timer 1 counter register Contains the current value of the incrementing counter.
0198 000C 019B FFFF Reserved
Determines the operating mode of the timer, monitors the timer status, and controls the function of the TOUT pin.
Contains the number of timer input clock cycles to count. This number controls the TSTAT signal frequency.
Table 214. Timer 2 Registers
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
01AC 0000 CTL2 Timer 2 control register
01AC 0004 PRD2 Timer 2 period register
01AC 0008 CNT2 Timer 2 counter register Contains the current value of the incrementing counter.
01AC 000C 01AF FFFF Reserved
Determines the operating mode of the timer, monitors the timer status.
Contains the number of timer input clock cycles to count. This number controls the TSTAT signal frequency.
30
April 2004 Revised May 2005SPRS247E
Loading...
+ 110 hidden pages