Texas Instruments TMS320DM643AZNZA5, TMS320DM643 Datasheet

www.ti.com
1 TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
1.1 Features
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Memory Space
Enhanced Direct-Memory-Access (EDMA)
2-, 1.67-ns Instruction Cycle Time
Controller (64 Independent Channels)
500-, 600-MHz Clock Rate – Eight 32-Bit Instructions/Cycle 10/100 Mb/s Ethernet MAC (EMAC) – 4000, 4800 MIPS IEEE 802.3 Compliant – Fully Software-Compatible With C64x™ Media Independent Interface (MII)
8 Independent Transmit (TX) Channels and
VelociTI.2™ Extensions to VelociTI™
1 Receive (RX) Channel
Advanced Very-Long-Instruction-Word (VLIW)
Management Data Input/Output (MDIO)
TMS320C64x™ DSP Core – Eight Highly Independent Functional Units
Two Configurable Video Ports (VP1, VP2)
With VelociTI.2™ Extensions:
Providing a Glueless I/F to Common Video
Six ALUs (32-/40-Bit), Each Supports
Decoder and Encoder Devices
Single 32-Bit, Dual 16-Bit, or Quad 8-Bit
Supports Multiple Resolutions/Video Stds
Arithmetic per Clock Cycle
VCXO Interpolated Control Port (VIC)
Two Multipliers Support Four 16 x 16-Bit
Supports Audio/Video Synchronization
Multiplies (32-Bit Results) per Clock
Host-Port Interface (HPI) [32-/16-Bit]
Cycle or Eight 8 x 8-Bit Multiplies (16-Bit Results) per Clock Cycle
Multichannel Audio Serial Port (McASP)
Load-Store Architecture With Non-Aligned
Eight Serial Data Pins
Support
Wide Variety of I2S and Similar Bit Stream
64 32-Bit General-Purpose Registers
Format
Instruction Packing Reduces Code Size
Integrated Digital Audio I/F Transmitter
All Instructions Conditional
Supports S/PDIF, IEC60958-1, AES-3, CP-430 Formats
Instruction Set Features
Inter-Integrated Circuit ( I2C Bus™)
Byte-Addressable (8-/16-/32-/64-Bit Data) – 8-Bit Overflow Protection
Multichannel Buffered Serial Port
Bit-Field Extract, Set, Clear
CLKS Input Not Supported
Normalization, Saturation, Bit-Counting
Three 32-Bit General-Purpose Timers
VelociTI.2™ Increased Orthogonality
Sixteen General-Purpose I/O (GPIO) Pins
L1/L2 Memory Architecture
Flexible PLL Clock Generator
128K-Bit (16K-Byte) L1P Program Cache
IEEE-1149.1 (JTAG) Boundary-
(Direct Mapped)
Scan-Compatible
128K-Bit (16K-Byte) L1D Data Cache (2-Way
548-Pin Ball Grid Array (BGA) Package
Set-Associative)
(GDK and ZDK Suffixes), 0.8-mm Ball Pitch
2M-Bit (256K-Byte) L2 Unified Mapped
548-Pin Ball Grid Array (BGA) Package
RAM/Cache (Flexible RAM/Cache Allocation)
(GNZ and ZNZ Suffixes), 1.0-mm Ball Pitch
Endianess: Little Endian, Big Endian
0.13-µm/6-Level Cu Metal Process (CMOS)
64-Bit External Memory Interface (EMIF)
3.3-V I/O, 1.2-V Internal (-500)
Glueless Interface to Asynchronous
3.3-V I/O, 1.4-V Internal (-600)
Memories (SRAM and EPROM) and Synchronous Memories (SDRAM, SBSRAM, ZBT SRAM, and FIFO)
1024M-Byte Total Addressable External
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 document.
Windows is a registered trademark of Microsoft Corporation. I2C Bus is a trademark of Philips Electronics N.V. All trademarks are the property of their respective owners.
PRODUCTION DATA information is current as of publication date.
Copyright © 2005–2007, Texas Instruments Incorporated
Products conform to specifications per the terms of the Texas Instruments standard warranty. Production processing does not necessarily include testing of all parameters.
www.ti.com
1.2 Description
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
The TMS320C64x™ DSPs (including the TMS320DM643 device) are the highest-performance fixed-point DSP generation in the TMS320C6000™ DSP platform. The TMS320DM643 (DM643) device is based on the second-generation high-performance, advanced VelociTI™ very-long-instruction-word (VLIW) architecture (VelociTI.2™) developed by Texas Instruments (TI), making these DSPs an excellent choice for digital media applications. The C64x™ is a code-compatible member of the C6000™ DSP platform.
With performance of up to 4800 million instructions per second (MIPS) at a clock rate of 600 MHz, the DM643 device offers cost-effective solutions to high-performance DSP programming challenges. The DM643 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 DM643 can produce four 16-bit multiply-accumulates (MACs) per cycle for a total of 2400 million MACs per second (MMACS), or eight 8-bit MACs per cycle for a total of 4800 MMACS. The DM643 DSP also has application-specific hardware logic, on-chip memory, and additional on-chip peripherals similar to the other C6000™ DSP platform devices.
The DM643 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. L2 memory can be configured as mapped memory, cache, or combinations of the two. The peripheral set includes: two configurable video ports; a 10/100 Mb/s Ethernet MAC (EMAC); a management data input/output (MDIO) module; a VCXO interpolated control port (VIC); one multichannel buffered audio serial port (McASP0); an inter-integrated circuit (I2C) Bus module; one multichannel buffered serial port (McBSP); 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 64-bit glueless external memory interface (EMIFA), which is capable of interfacing to synchronous and asynchronous memories and peripherals.
The DM643 device has two configurable video port peripherals (VP1 and VP2). These video port peripherals provide a glueless interface to common video decoder and encoder devices. The DM643 video port peripherals support multiple resolutions and video standards (e.g., CCIR601, ITU-BT.656, BT.1120, SMPTE 125M, 260M, 274M, and 296M).
These two video port peripherals are configurable and can support either video capture and/or video display modes. Each video port consists of two channels A and B with a 5120-byte capture/display buffer that is splittable between the two channels.
For more details on the Video Port peripherals, see the TMS320C64x DSP Video Port/VCXO Interpolated Control (VIC) Port Reference Guide (literature number SPRU629).
The McASP0 port supports one transmit and one receive clock zone, with 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 DM643 has sufficient bandwidth to support all 8 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 McASP0 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.
McASP0 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 .
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor2 Submit Documentation Feedback
www.ti.com
1.2.1 Device Compatibility
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
The VCXO interpolated control (VIC) port provides digital-to-analog conversion with resolution from 9-bits to up to 16-bits. The output of the VIC is a single bit interpolated D/A output.For more details on the VIC port, see the TMS320C64x DSP Video Port/VCXO Interpolated Control (VIC) Port Reference Guide (literature number SPRU629).
The ethernet media access controller (EMAC) provides an efficient interface between the DM643 DSP core processor and the network. The DM643 EMAC support both 10Base-T and 100Base-TX, or 10 Mbits/second (Mbps) and 100 Mbps in either half- or full-duplex, with hardware flow control and quality of service (QOS) support. The DM643 EMAC makes use of a custom interface to the DSP core that allows efficient data transmission and reception.For more details on the EMAC, see the TMS320C6000
DSP Ethernet Media Access Controller (EMAC) / Management Data Input/Output (MDIO) Module Reference Guide (literature number SPRU628).
The management data input/output (MDIO) module continuously polls all 32 MDIO addresses in order to enumerate all PHY devices in the system. Once a PHY candidate has been selected by the DSP, the MDIO module transparently monitors its link state by reading the PHY status register. Link change events are stored in the MDIO module and can optionally interrupt the DSP, allowing the DSP to poll the link status of the device without continuously performing costly MDIO accesses. For more details on the MDIO, see the TMS320C6000 DSP Ethernet Media Access Controller (EMAC) / Management Data Input/Output (MDIO) Module Reference Guide (literature number SPRU628).
The I2C0 port on the TMS320DM643 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 DM643 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.
The DM643 device is a code-compatible member of the C6000™ DSP platform. The C64x™ DSP generation of devices has a diverse and powerful set of peripherals. For more detailed information on the device compatibility and similarities/differences among the DM642
and other C64x™ devices, see the TMS320DM642 Technical Overview (literature number SPRU615).
Submit Documentation Feedback TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor 3
www.ti.com
1.3 Functional Block Diagram
HPI32
OR
HPI16
Test
C64x DSP Core
Data Path B
B Register File
B31−B16
B15−B0
Instruction Fetch
Instruction Dispatch
Advanced Instruction Packet
Instruction Decode
Data Path A
A Register File
A31−A16
A15−A0
Power-Down
Logic
.L1 .S1 .M1 .D1 .D2 .M2 .S2 .L2
64
SDRAM
FIFO
SBSRAM
SRAM
L1P Cache
Direct-Mapped
16K Bytes Total
Control
Registers
Control
Logic
L1D Cache 2-Way Set-Associative
16K Bytes Total
Advanced
In-Circuit
Emulation
Interrupt
Control
TMS320DM643
Enhanced
DMA
Controller
(EDMA)
L2
Cache
Memory
256K
Bytes
PLL
(x1, x6, x12)
Timer 2
EMIF A
ZBT SRAM
Timer 1
Boot Configuration
ROM/FLASH
I/O Devices
Video Port 2
(VP2)
VCXO Interpolated Control Port
(VIC)
8/10-bit VP1
Video Port 1
(VP1)
AND
McASP0
Data
AND/OR
EMAC
MDIO
OR
GP0
I2C0
16
16
See Note (B)
McBSP0
(A)
McASP0
Control
Timer 0
A. McBSP: AC97 Devices; SPI Devices; Codecs B. The Video Port 1 (VP1) peripheral is muxed with the McASP0 data pins. The HPI(32/16) peripheral is muxed with the EMAC and MDIO
peripherals. For more details on the multiplexed pins of these peripherals, see the Device Configurations section of this data sheet.
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 1-1 shows the functional block diagram of the DM643 device.
Figure 1-1. Functional Block Diagram
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor4 Submit Documentation Feedback
www.ti.com
Contents
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
1 TMS320DM643 Video/Imaging Fixed-Point Digital 5 DM643 Peripheral Information and Electrical
Signal Processor ......................................... 1 Specifications ........................................... 64
1.1 Features .............................................. 1 5.1 Parameter Information .............................. 64
5.2 Recommended Clock and Control Signal Transition
1.2 Description ............................................ 2
Behavior ............................................. 66
1.2.1 Device Compatibility ................................. 3
5.3 Power Supplies ...................................... 66
1.3 Functional Block Diagram ............................ 4
5.4 Enhanced Direct Memory Access (EDMA)
2 Device Overview ......................................... 6
Controller ............................................ 71
2.1 Device Characteristics ................................ 6
5.5 Interrupts ............................................ 75
2.2 CPU (DSP Core) Description ......................... 6
5.6 Reset ................................................ 77
2.3 Memory Map Summary ............................. 13
5.7 Clock PLL ........................................... 80
2.4 Bootmode ........................................... 16
5.8 External Memory Interface (EMIIF) ................. 86
2.5 Pin Assignments .................................... 16
5.9 Multichannel Audio Serial Port (McASP0)
2.6 Development ........................................ 46
Peripheral .......................................... 102
3 Device Configurations ................................. 49
5.10 Inter-Integrated Circuit (I2C) ....................... 110
3.1 Configurations at Reset ............................. 49
5.11 Host-Port Interface (HPI) ........................... 115
3.2 Configurations After Reset .......................... 50
5.12 Multichannel Buffered Serial Port (McBSP) ........ 121
3.3 Peripheral Configuration Lock ....................... 53
5.13 Video Port .......................................... 129
3.4 Device Status Register Description ................. 55
5.14 VCXO Interpolated Control (VIC) .................. 137
3.5 Multiplexed Pin Configurations ...................... 56
5.15 Ethernet Media Access Controller (EMAC) ........ 139
3.6 Debugging Considerations .......................... 58
5.16 Management Data Input/Output (MDIO) ........... 145
3.7 Configuration Examples ............................. 59
5.17 Timer ............................................... 147
4 Device Operating Conditions ........................ 62
5.18 General-Purpose Input/Output (GPIO) ............. 149
4.1 Absolute Maximum Ratings Over Operating Case
5.19 JTAG ............................................... 152
Temperature Range
6 Revision History ...................................... 154
(Unless Otherwise Noted) .......................... 62
7 Mechanical Data ....................................... 155
4.2 Recommended Operating Conditions ............... 62
7.1 Thermal Data ...................................... 155
4.3 Electrical Characteristics Over Recommended
Ranges of Supply Voltage and Operating Case
7.2 Packaging Information ............................. 156
Temperature (Unless Otherwise Noted) ............ 63
Submit Documentation Feedback Contents 5
www.ti.com
2 Device Overview
2.1 Device Characteristics
2.2 CPU (DSP Core) Description
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-1 provides an overview of the DM643 DSP. The table shows significant features of the DM643
device, including the capacity of on-chip RAM, the peripherals, the CPU frequency, and the package type with pin count.
Table 2-1. Characteristics of the DM643 Processor
HARDWARE FEATURES DM643
EMIFA (64-bit bus width)
1
(clock source = AECLKIN) EDMA (64 independent channels) 1 McASP0 (uses Peripheral Clock [AUXCLK]) 1 I2C0 (uses Peripheral Clock) 1
Peripherals
HPI (32- or 16-bit user selectable) 1 (HPI16 or HPI32) McBSP
Not all peripherals pins are
1
(internal clock source = CPU/4 clock frequency)
available at the same time (For more detail, see the
Configurable Video Ports (VP1 and VP2) 2
Device Configuration
10/100 Ethernet MAC (EMAC) 1
section).
Management Data Input/Output (MDIO) 1 VCXO Interpolated Control Port (VIC) 1 32-Bit Timers
3
(internal clock source = CPU/8 clock frequency) General-Purpose Input/Output Port (GP0) 16 Size (Bytes) 288K
16K-Byte (16KB) L1 Program (L1P) Cache
On-Chip Memory
Organization 16KB L1 Data (L1D) Cache
256KB Unified Mapped RAM/Cache (L2) CPU ID + CPU Rev ID Control Status Register (CSR.[31:16]) 0x0C01 JTAG BSDL_ID JTAGID register (address location: 0x01B3F008) 0x0007902F Frequency MHz 500, 600
2 ns (DM643-500)
[500 MHz CPU, 100 MHz EMIF
(1)
]
Cycle Time ns
1.67 ns (DM643-600)
[600 MHz CPU, 133 MHz EMIF
(1)
]
1.2 V (-500)
Core (V)
1.4 V (-600)
Voltage
I/O (V) 3.3 V
PLL Options CLKIN frequency multiplier Bypass (x1), x6, x12
23 x 23 mm 548-Pin BGA (GDK and ZDK)
BGA Package
27 x 27 mm 548-Pin BGA (GNZ and ZNZ)
Process Technology µm 0.13 µm
Product Preview (PP), Advance Information (AI),
Product Status
(2)
PD
or Production Data (PD)
(1) On this DM64x™ 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.
(2) 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.
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
Device Overview6 Submit Documentation Feedback
www.ti.com
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
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-1 ]. 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. This is a key factor for video and imaging applications.
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").
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.
Submit Documentation Feedback Device Overview 7
www.ti.com
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
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)
Device Overview8 Submit Documentation Feedback
www.ti.com
.L1
.S1
.M1
.D1
.D2
.M2
.S2
.L2
src1
long dst
8
8
src2
DA1 (Address)
ST1b (Store Data)
ST2a (Store Data)
Register
File A
(A0−A31)
8
8
8
8
dst
Data Path A
DA2 (Address)
Register
File B
(B0− B31)
LD2a (Load Data)
Data Path B
Control Register
File
ST2b (Store Data)
LD1b (Load Data)
8
8
2X
1X
ST1a (Store Data)
(A)
LD1a (Load Data)
LD2b (Load Data)
32 MSBs 32 LSBs
32 MSBs
32 LSBs
32 MSBs 32 LSBs
32 MSBs
32 LSBs
src2
src1
dst
long dst long src
long src long dst
dst
src1 src2
src1 src2
src2 src1
dst
src2
src1
dst
src2
long dst
src2 src1
dst
long dst
long dst long src
long src long dst
dst
dst
src2
src1
dst
(A)
(A)
(A)
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
A. For the .M functional units, the long dst is 32 MSBs and the dst is 32 LSBs.
Figure 2-1. TMS320C64x™ CPU (DSP Core) Data Paths
Submit Documentation Feedback Device Overview 9
www.ti.com
2.2.1 CPU Core Registers
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-2. 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 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
MAR0 to
0184 8000 0184 81FC Reserved
MAR127 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
Device Overview10 Submit Documentation Feedback
www.ti.com
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-2. L2 Cache Registers (C64x) (continued)
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
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 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
Submit Documentation Feedback Device Overview 11
www.ti.com
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-2. L2 Cache Registers (C64x) (continued)
HEX ADDRESS RANGE ACRONYM REGISTER NAME COMMENTS
MAR192 to
0184 8300 0184 83FC Reserved
MAR255
0184 8400 0187 FFFF Reserved
Device Overview12 Submit Documentation Feedback
www.ti.com
2.3 Memory Map Summary
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-3 shows the memory map address ranges of the DM643 device. 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 DM643 device begin at the hex address location 0x8000 0000 for EMIFA.
Table 2-3. TMS320DM643 Memory Map Summary
BLOCK SIZE
MEMORY BLOCK DESCRIPTION HEX ADDRESS RANGE
(BYTES)
Internal RAM (L2) 256K 0000 0000 0003 FFFF Reserved 768K 0004 0000 000F FFFF Reserved 23M 0010 0000 017F FFFF External Memory Interface A (EMIFA) Registers 256K 0180 0000 0183 FFFF L2 Registers 256K 0184 0000 0187 FFFF HPI Registers 256K 0188 0000 018B FFFF McBSP 0 Registers 256K 018C 0000 018F FFFF Reserved 256K 0190 0000 0193 FFFF Timer 0 Registers 256K 0194 0000 0197 FFFF Timer 1 Registers 256K 0198 0000 019B FFFF Interrupt Selector Registers 256K 019C 0000 019F FFFF EDMA RAM and EDMA Registers 256K 01A0 0000 01A3 FFFF Reserved 512K 01A4 0000 01AB FFFF Timer 2 Registers 256K 01AC 0000 01AF FFFF GP0 Registers 256K 4K 01B0 0000 01B3 EFFF Device Configuration Registers 4K 01B3 F000 01B3 FFFF I2C0 Data and Control Registers 16K 01B4 0000 01B4 3FFF Reserved 32K 01B4 4000 01B4 BFFF McASP0 Control Registers 16K 01B4 C000 01B4 FFFF Reserved 192K 01B5 0000 01B7 FFFF Reserved 256K 01B8 0000 01BB FFFF Emulation 256K 01BC 0000 01BF FFFF Reserved 256K 01C0 0000 01C3 FFFF Reserved 16K 01C4 0000 01C4 3FFF VP1 Control 16K 01C4 4000 01C4 7FFF VP2 Control 16K 01C4 8000 01C4 BFFF VIC Control 16K 01C4 C000 01C4 FFFF Reserved 192K 01C5 0000 01C7 FFFF EMAC Control 4K 01C8 0000 01C8 0FFF EMAC Wrapper 8K 01C8 1000 01C8 2FFF EWRAP Registers 2K 01C8 3000 01C8 37FF MDIO Control Registers 2K 01C8 3800 01C8 3FFF Reserved 3.5M 01C8 4000 01FF FFFF QDMA Registers 52 0200 0000 0200 0033 Reserved 928M 52 0200 0034 2FFF FFFF McBSP 0 Data 64M 3000 0000 33FF FFFF Reserved 64M 3400 0000 37FF FFFF Reserved 64M 3800 0000 3BFF FFFF McASP0 Data 1M 3C00 0000 3C0F FFFF Reserved 64M 1M 3C10 0000 3FFF FFFF Reserved 832M 4000 0000 73FF FFFF
Submit Documentation Feedback Device Overview 13
www.ti.com
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-3. TMS320DM643 Memory Map Summary (continued)
BLOCK SIZE
MEMORY BLOCK DESCRIPTION HEX ADDRESS RANGE
(BYTES)
Reserved 32M 7400 0000 75FF FFFF Reserved 32M 7600 0000 77FF FFFF VP1 Channel A Data 32M 7800 0000 79FF FFFF VP1 Channel B Data 32M 7A00 0000 7BFF FFFF VP2 Channel A Data 32M 7C00 0000 7DFF FFFF VP2 Channel B Data 32M 7E00 0000 7FFF FFFF EMIFA CE0 256M 8000 0000 8FFF FFFF EMIFA CE1 256M 9000 0000 9FFF FFFF EMIFA CE2 256M A000 0000 AFFF FFFF EMIFA CE3 256M B000 0000 BFFF FFFF Reserved 1G C000 0000 FFFF FFFF
Device Overview14 Submit Documentation Feedback
www.ti.com
2.3.1 L2 Architecture Expanded
0x0000 0000
011010001 111
0x0002 0000
000
L2MODE L2 Memory Block Base Address
0x0003 8000
0x0003 0000
0x0004 0000
32K Cache
(4 Way)
64K Cache (4 Way)
128K Cache (4 Way)
256K Cache (4 Way) [All]
256K SRAM (All)
224K SRAM
192K SRAM
128K SRAM
128K-Byte SRAM
64K-Byte RAM
32K-Byte RAM
0x0003 FFFF
32K-Byte RAM
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-2 shows the detail of the L2 architecture on the TMS320DM643 device. 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).
Figure 2-2. TMS320DM643 L2 Architecture Memory Configuration
Submit Documentation Feedback Device Overview 15
www.ti.com
2.4 Bootmode
2.5 Pin Assignments
2.5.1 Pin Map
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
The DM643 device resets using the active-low signal RESET. While RESET is low, the device is held in reset and is initialized to the prescribed reset state. Refer to reset timing for reset timing characteristics and states of device pins during reset. The release of RESET starts the processor running with the prescribed device configuration and boot mode.
The DM643 has three types of boot modes:
Host boot If host boot is selected, upon release of RESET, the CPU is internally "stalled" while the remainder of
the device is released. During this period, an external host can initialize the CPU's memory space as necessary through the host interface, including internal configuration registers, such as those that control the EMIF or other peripherals. Once the host is finished with all necessary initialization, it must set the DSPINT bit in the HPIC register to complete the boot process. This transition causes the boot configuration logic to bring the CPU out of the "stalled" state. The CPU then begins execution from address 0. The DSPINT condition is not latched by the CPU, because it occurs while the CPU is still internally "stalled". Also, DSPINT brings the CPU out of the "stalled" state only if the host boot process is selected. All memory may be written to and read by the host. This allows for the host to verify what it sends to the DSP if required. After the CPU is out of the "stalled" state, the CPU needs to clear the DSPINT, otherwise, no more DSPINTs can be received.
EMIF boot (using default ROM timings) Upon the release of RESET, the 1K-Byte ROM code located in the beginning of CE1 is copied to
address 0 by the EDMA using the default ROM timings, while the CPU is internally "stalled". The data should be stored in the endian format that the system is using. In this case, the EMIF automatically assembles consecutive 8-bit bytes to form the 32-bit instruction words to be copied. The transfer is automatically done by the EDMA as a single-frame block transfer from the ROM to address 0. After completion of the block transfer, the CPU is released from the "stalled" state and starts running from address 0.
No boot With no boot, the CPU begins direct execution from the memory located at address 0. Note: operation
is undefined if invalid code is located at address 0.
Figure 2-3 through Figure 2-6 show the DM643 pin assignments in four quadrants (A, B, C, and D).
Device Overview16 Submit Documentation Feedback
www.ti.com
AF
AE
AD
AC
AB
AA
Y
W
V
U
T
R
P
13121110987654321
13121110987654321
CLKMODE1
CLKMODE0
PLLV
RESET
VDAC/ GP0[8]
HCNTL1
HCS
HAS
HDS1
HDS2 HD15
HD14 HD13HD12 HD11
HD10 HD9HD8
HD7 HD6HD4
HD3 HD2
HD1
HD0
RSV10
RSV11
MDCLKRSV12
MDIO
STCLK
VP1D[18]/
AXR0[6]
VP1D[19]/
AXR0[7]
VP1D[15]/
AXR0[3]
VP1D[17]/
AXR0[5]
AHCLKX0
VP1D[16]/
AXR0[4]
VP1D[14]/
AXR0[2]
VP1D[13]/
AXR0[1]
VP1D[12]/
AXR0[0]
VP1D[11]
VP1D[10]
VP1D[9]
VP1D[8]
VP1D[7]
VP1D[6]
VP1D[5]
VP1D[4]
VP1D[3]
VP1D[2]
VP1D[1]
VP1D[0] VP1CLK1VP1CLK0
VP1CTL2
VP1CTL1
VP1CTL0
ACLKX0
AMUTE0
AMUTEIN0
RSV19
AFSX0
RSV08
RSV06
RSV00
RSV01
RSV02
RSV03
RSV04
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
CLKIN V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
VSSV
SS
V
SS
V
SS
HD5
HCNTL0
V
SS
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-3. DM643 Pin Map [Quadrant A]
Submit Documentation Feedback Device Overview 17
www.ti.com
14 15 16 17 18 19 20 21 22 23 24 25 26
AF
AE
AD
AC
AB
AA
Y
W
V
U
T
R
P
ABE7 ABE6
ABE5 ABE4
ABUSREQ
ASOE3
AEA22
AEA21 AEA20 AEA19AEA18
AEA17 AEA16 AEA15
AEA14 AEA13
AEA12 AEA11
AEA10 AEA9 AEA8
AED63AED62
AED61
AED60AED59
AED58AED58
AED57
AED56
AED55
AED54
AED53
AED52
AED51
AED50
AED49
AED48
AED47
AED46AED45 AED44AED43
AED42AED41 AED40AED39
AED38 AED37AED36
AED35AED34
AED33 AED32
AHCLKR0
AFSR0
ACLKR0
RSV17
RSV16
RSV15
CLKR0
FSR0
DR0
RSV23
DX0
FSX0 CLKX0
RSV14
RSV13RSV18
RSV22
RSV21
RSV20
DV
DD
DV
DD
DV
DD
DVDDDV
DD
AHOLDDV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DVDDDV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
VSSV
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
CV
DD
14 15 16 17 18 19 20 21 22 23 24 25 26
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-4. DM643 Pin Map [Quadrant B]
Device Overview18 Submit Documentation Feedback
www.ti.com
N
M
L
K
J
H
G
F
E
D
C
B
A
CLKOUT6/
GP0[2]
NMI
GP0[7]/
EXT_INT7
GP0[6]/
EXT_INT6
GP0[5]/
EXT_INT5
GP0[4]/
EXT_INT4
GP0[15]
GP0[14]
GP0[13]
GP0[12]
GP0[11]
GP0[10]
GP0[9]
GP0[3]
GP0[0]
RSV09
HINTHHWIL
HR/W
HRDY
HD31/
MRCLK
HD30/ MCRS
HD29/
MRXER
HD28/
MRXDV
HD27/
MRXD3
HD26/
MRXD2
HD25/
MRXD1
HD24/
MRXD0
HD23
13121110987654321
HD22/
MTCLK
HD21/ MCOL
HD20/
MTXEN
HD19/
MTXD3
HD18/
MTXD2
HD17/
MTXD1
HD16/
MTXD0
VP2D[19]VP2D[18]
VP2D[16]
VP2D[15]
VP2D[14]
VP2D[12]
VP2D[10]
VP2D[8]
VP2D[6]
VP2D[4]VP2D[4]
VP2D[2]
VP2D[0]
VP2CLK0 VP2CLK1
VP2CTL2
TOUT1/
LENDIAN
TINP1
TOUT0/
MAC_EN
TINP0
SCL0
RSV07
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DVDDDV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
VSSV
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
SDA0 DV
DD
CLKOUT4/
GP0[1]
VP2CTL1 VP2D[1] VP2D[5] VP2D[9] VP2D[13] VP2D[17]
VP2CTL0 VP2D[3] VP2D[7] VP2D[11]
13121110987654321
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-5. DM643 Pin Map [Quadrant C]
Submit Documentation Feedback Device Overview 19
www.ti.com
N
M
L
K
J
H
G
F
E
D
C
B
A
14 15 16 17 18 19 20 21 22 23 24 25 26
14 15 16 17 18 19 20 21 22 23 24 25 26
TMS
TDO
TDITCK
TRST EMU11
EMU10
EMU9
EMU8
EMU7
EMU6
EMU5
EMU4
EMU3
EMU2
EMU1
EMU0
ACE3
ACE2 ACE1 ACE0
ABE3 ABE2
ABE1 ABE0
APDT
AHOLDA
AECLKIN
AAOE/
ASDRAS/
ASOE
AARDY
AECLKOUT1
AARE/
ASDCAS/
ASADS/
ASRE
AAWE/
ASDWE/
ASWE
ASDCKE
AEA7 AEA6 AEA5
AEA4AEA4 AEA3
AED31AED30
AED29AED28
AED27 AED26
AED25 AED24AED23 AED22
AED21 AED20AED19 AED18
AED17 AED16
AED15
AED14
AED13
AED12
AED11
AED10
AED9
AED8
AED7
AED6 AED4
AED3
AED5
AED2
AED1
AED0
RSV05
DV
DD
V
SS
V
SS
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
V
SS
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DV
DD
DVDDDV
DD
DV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
CV
DD
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
V
SS
AECLKOUT2
CV
DD
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-6. DM643 Pin Map [Quadrant D]
20 Device Overview Submit Documentation Feedback
www.ti.com
2.5.2 Signal Groups Description
TRST
GP0[7]/EXT_INT7
(B)
IEEE Standard
1149.1
(JTAG)
Emulation
Reserved
Reset and Interrupts
Control/Status
TDI
TDO
TMS
TCK
EMU0 EMU1
NMI
GP0[6]/EXT_INT6
(B)
GP0[5]/EXT_INT5
(B)
GP0[4]/EXT_INT4
(B)
RESET
RSV22 RSV21
Clock/PLL
CLKIN
CLKMODE1 CLKMODE0
PLLV
EMU2 EMU3 EMU4 EMU5
GP0
General-Purpose Input/Output 0 (GP0) Port
GP0[7]/EXT_INT7
(B)
GP0[6]/EXT_INT6
(B)
GP0[5]/EXT_INT5
(B)
GP0[4]/EXT_INT4
(B)
GP0[3] CLKOUT6/GP0[2]
(A)
CLKOUT4/GP0[1]
(A)
GP0[0]
CLKOUT6/GP0[2]
(A)
CLKOUT4/GP0[1]
(A)
EMU6 EMU7 EMU8 EMU9
EMU10
GP0[15] GP0[14] GP0[13] GP0[12] GP0[11] GP0[10]
GP0[9]
VDAC/GP0[8]
RSV23
EMU11
Peripheral
Control/Status
TOUT0/MAC_EN
RSV01 RSV00
RSV02
A. These pins are muxed with the GP0 pins and by default these signals function as clocks (CLKOUT4 or CLKOUT6). To use these muxed
pins as GPIO signals, the appropriate GPIO register bits (GPxEN and GPxDIR) must be properly enabled and configured. For more details, see the Device Configurations section of this data sheet.
B. These pins are GP0 pins that can also function as external interrupt sources (EXT_INT[7:4]). Default after reset is EXT_INTx or GPIO as
input-only.
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-7. CPU and Peripheral Signals
Submit Documentation Feedback Device Overview 21
www.ti.com
ACE3
AECLKOUT1
AED[63:0]
ACE2
ACE1 ACE0
AEA[22:3]
ABE7 ABE6
ABE5
ABE4
AARDY
Data
Memory Map
Space Select
Address
Byte Enables
64
20
External
Memory I/F
Control
EMIFA (64-bit)
AECLKIN
AHOLD AHOLDA ABUSREQ
Bus
Arbitration
AARE/ASDCAS/ASADS/ASRE
ASDCKE
AECLKOUT2
ASOE3
ABE3 ABE2 ABE1 ABE0
AAOE/ASDRAS/ASOE AAWE/ASDWE/ASWE
APDT
VDAC/GP0[8]
VCXO Interpolated
Control Port (VIC)
Data
HHWIL
HCNTL0
HCNTL1
Data
Register Select
Half-Word
Select
Control
HPI
(Host-Port Interface)
32
HD[15:0]
HAS
HR/W HCS HDS1 HDS2 HRDY
HINT
(HPI16 ONL Y)
HD[31:16]
(A)
A. These HPI data pins (HD[31:16], excluding HD[23]) are muxed with the EMAC peripheral. By default, these pins function as HPI.
For more details on the EMAC pin functions, see the Ethernet MAC (EMAC) peripheral signals section and the terminal functions table portions of this data sheet.
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-8. EMIFA/VIC Peripheral Signals
Figure 2-9. HPI Peripheral Signals
Device Overview22 Submit Documentation Feedback
www.ti.com
McBSP
(Multichannel Buffered
Serial Port)
CLKX0 FSX0 DX0
CLKR0 FSR0
DR0
CLKS0 not supported on DM643
Transmit
McBSP0
Receive
Clock
TOUT0/MACEN
Timers
TINP0
TOUT1/LENDIAN
Timer 1
TINP1
Timer 2
Timer 0
SCL0
I2C0
I2C0
SDA0
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-10. McBSP/Timer/I2C0 Peripheral Signals
Submit Documentation Feedback Device Overview 23
www.ti.com
HD21/MCOL
(A)
HD28/MRXDV
(A)
HD29/MRXER
(A)
HD20/MTXEN
(A)
Ethernet MAC (EMAC)
and MDIO
MDIO
MDCLK
MDIO
Clock
HD16/MTXD0
(A)
HD17/MTXD1
(A)
HD18/MTXD2
(A)
HD25/MRXD1
(A)
HD26/MRXD2
(A)
HD27/MRXD3
(A)
EMAC
Transmit
HD24/MRXD0
(A)
HD19/MTXD3
(A)
Clocks
HD31/MRCLK
(A)
HD22/MTCLK
(A)
HD30/MCRS
(A)
Error Detect
and Control
Input/Output
Receive
A. These EMAC pins are muxed with the upper data pins of the HPI peripheral. By default, these signals function as HPI. For more details
on these muxed pins, see the Device Configurations section of this data sheet.
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-11. EMAC/MDIO Peripheral Signals
Device Overview24 Submit Documentation Feedback
www.ti.com
VP1D[10] VP1D[11] VP1D[12]/AXR0[0] VP1D[13]/AXR0[1] VP1D[14]/AXR0[2] VP1D[15]/AXR0[3] VP1D[16]/AXR0[4] VP1D[17]/AXR0[5]
VP1D[0] VP1D[1] VP1D[2] VP1D[3] VP1D[4] VP1D[5] VP1D[6] VP1D[7] VP1D[8] VP1D[9]
VP1D[18]/AXR0[6] VP1D[19]/AXR0[7]
Capture/Display
Buffer
(2560 Bytes)
VP1CLK0
VP1CLK1
VP1CTL0 VP1CTL1
VP1CTL2
Timing and
Control Logic
Video Port 1 (VP1)
Channel B
(B)
Channel A
(A)
Capture/Display
Buffer
(2560 Bytes)
Channel B uses only the VP1D[19:10] bidirectional pins
STCLK
(C)
A. Channel A supports: BT.656 (8/10-bit), Y/C Video (16/20-bit), RAW Video (16/20-bit) display modes and BT.656 (8/10-bit), Y/C Video
(16/20-bit), RAW Video (16/20-bit) capture modes [TSI (8-bit) capture mode].
B. Channel B supports: BT.656 (8/10-bit), RAW Video (8/10-bit) capture modes and can display synchronized RAW Video data with
Channel A.
C. The same STCLK signal is used for both video ports (VP1 and VP2).
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-12. Video Port 1 Peripheral Signals
Submit Documentation Feedback Device Overview 25
www.ti.com
VP2D[10] VP2D[11] VP2D[12] VP2D[13] VP2D[14] VP2D[15] VP2D[16] VP2D[17]
VP2D[0] VP2D[1] VP2D[2] VP2D[3] VP2D[4] VP2D[5] VP2D[6] VP2D[7] VP2D[8] VP2D[9]
VP2D[18] VP2D[19]
Capture/Display
Buffer
(2560 Bytes)
VP2CLK0
VP2CLK1
VP2CTL0 VP2CTL1
VP2CTL2
Timing and
Control Logic
Video Port 2 (VP2)
Channel B
(B)
Channel A
(A)
Capture/Display
Buffer
(2560 Bytes)
Channel B uses only the VP2D[19:10] bidirectional pins
STCLK
(C)
A. Channel A supports: BT.656 (8/10-bit), Y/C Video (16/20-bit), RAW Video (16/20-bit) display modes and BT.656 (8/10-bit), Y/C
Video (16/20-bit), RAW Video (16/20-bit) capture modes [TSI (8-bit) capture mode].
B. Channel B supports: BT.656 (8/10-bit), RAW Video (8/10-bit) capture modes and can display synchronized RAW Video data with
Channel A.
C. The same STCLK signal is used for both video ports (VP1 and VP2).
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-13. Video Port 2 Peripheral Signals
Device Overview26 Submit Documentation Feedback
www.ti.com
VP1D[19]/AXR0[7]
McASP0
(Multichannel Audio Serial Port 0)
VP1D[18]/AXR0[6]
ACLKX0 AHCLKX0
Transmit
Clock
Generator
AMUTEIN0
Auto Mute
Logic
AMUTE0
AFSX0
Transmit
Frame Sync
AFSR0
Receive Frame
Sync
VP1D[17]/AXR0[5]
VP1D[16]/AXR0[4]
ACLKR0
AHCLKR0
Receive Clock
Generator
VP1D[15]/AXR0[3]
VP1D[14]/AXR0[2]
VP1D[13]/AXR0[1]
VP1D[12]/AXR0[0]
8-Serial Ports
Flexible
Partitioning
Tx, Rx, OFF
Transmit
Clock Check
Circuit
Receive Clock
Check Circuit
Error Detect
(A)
(Transmit/Receive Data Pins)(Transmit/Receive Data Pins)
(Receive Bit Clock)
(Transmit Bit Clock)
(Receive Master Clock) (Transmit Master Clock)
(Receive Frame Sync or
Left/Right Clock)
(Transmit Frame Sync or Left/Right Clock)
A. The McASP’s Error Detect function detects underruns, overruns, early/late frame syncs, DMA errors, and external mute input.
NOTES: On multiplexed pins, bolded text denotes the active function of the pin for that particular peripheral module.
Bolded and italicized text within parentheses denotes the function of the pins in an audio system.
2.5.3 Terminal Functions
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Figure 2-14. McASP0 Peripheral Signals
Table 2-4 , the terminal functions table, identifies the external signal names, the associated pin (ball)
numbers along with the mechanical package designator, the pin type (I, O/Z, or I/O/Z), whether the pin has any internal pullup/pulldown resistors and a functional pin description. For more detailed information on device configuration, peripheral selection, multiplexed/shared pins, and debugging considerations, see the Device Configurations section of this data sheet.
Submit Documentation Feedback Device Overview 27
www.ti.com
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-4. Terminal Functions
SIGNAL
IPD/
TYPE
(1)
DESCRIPTION
IPU
(2)
NAME NO.
CLOCK/PLL CONFIGURATION
CLKIN AC2 I Clock Input. This clock is the input to the on-chip PLL.
Clock output at 1/4 of the device speed ( O/Z) [default] or this pin can be
CLKOUT4/GP0[1]
(3)
D6 I/O/Z IPU
programmed as a GP0 1 pin ( I/O/Z). Clock output at 1/6 of the device speed ( O/Z) [default] or this pin can be
CLKOUT6/GP0[2]
(3)
C6 I/O/Z IPU
programmed as a GP0 2 pin ( I/O/Z).
CLKMODE1 AE4 I IPD Clock mode select
Selects whether the CPU clock frequency = input clock frequency x1 (Bypass), x6, or x12.
CLKMODE0 AA2 I IPD
For more details on the CLKMODE pins and the PLL multiply factors, see the Clock PLL section of this data sheet.
PLLV
(4)
V6 A
(1)
PLL voltage supply
JTAG EMULATION
TMS E15 I IPU JTAG test-port mode select TDO B18 O/Z IPU JTAG test-port data out TDI A18 I IPU JTAG test-port data in TCK A16 I IPU JTAG test-port clock
JTAG test-port reset. For IEEE 1149.1 JTAG compatibility, see the IEEE 1149.1
TRST D14 I IPD
JTAG compatibility statement portion of this data sheet. EMU11 D17 I/O/Z IPU Emulation pin 11. Reserved for future use, leave unconnected. EMU10 C17 I/O/Z IPU Emulation pin 10. Reserved for future use, leave unconnected. EMU9 B17 I/O/Z IPU Emulation pin 9. Reserved for future use, leave unconnected. EMU8 D16 I/O/Z IPU Emulation pin 8. Reserved for future use, leave unconnected. EMU7 A17 I/O/Z IPU Emulation pin 7. Reserved for future use, leave unconnected. EMU6 C16 I/O/Z IPU Emulation pin 6. Reserved for future use, leave unconnected. EMU5 B16 I/O/Z IPU Emulation pin 5. Reserved for future use, leave unconnected. EMU4 D15 I/O/Z IPU Emulation pin 4. Reserved for future use, leave unconnected. EMU3 C15 I/O/Z IPU Emulation pin 3. Reserved for future use, leave unconnected. EMU2 B15 I/O/Z IPU Emulation pin 2. Reserved for future use, leave unconnected. EMU1 C14 I/O/Z IPU Emulation pin 1
(5)
EMU0 A15 I/O/Z IPU Emulation pin 0
(5)
RESETS, INTERRUPTS, AND GENERAL-PURPOSE INPUT/OUTPUTS
RESET P4 I Device reset
Nonmaskable interrupt, edge-driven (rising edge)
Note: Any noise on the NMI pin may trigger an NMI interrupt; therefore, if the
NMI B4 I IPD
NMI pin is not used, it is recommended that the NMI pin be grounded versus
relying on the IPD. GP0[7]/EXT_INT7 E1 I/O/Z IPU General-purpose input/output (GPIO) pins ( I/O/Z) or external interrupts ( input
only). The default after reset setting is GPIO enabled as input-only.
GP0[6]/EXT_INT6 F2 I/O/Z IPU
When these pins function as External Interrupts [by selecting the
GP0[5]/EXT_INT5 F3 I/O/Z IPU
corresponding interrupt enable register bit (IER.[7:4])], they are edge-driven and the polarity can be independently selected via the External Interrupt
GP0[4]/EXT_INT4 F4 I/O/Z IPU
Polarity Register bits (EXTPOL.[3:0]).
(1) I = Input, O = Output, Z = High impedance, S = Supply voltage, GND = Ground, A = Analog signal (2) IPD = Internal pulldown, IPU = Internal pullup. (These IPD/IPU signal pins feature a 30-k IPD or IPU resistor. To pull up a signal to the
opposite supply rail, a 1-k resistor should be used.) (3) These pins are multiplexed pins. For more details, see the Device Configurations section of this data sheet. (4) PLLV is not part of external voltage supply. See the Clock PLL section for information on how to connect this pin. (5) The EMU0 and EMU1 pins are internally pulled up with 30-k resistors; therefore, for emulation and normal operation, no external
pullup/pulldown resistors are necessary. However, for boundary scan operation, pull down the EMU1 and EMU0 pins with a dedicated
1-k resistor.
Device Overview28 Submit Documentation Feedback
www.ti.com
TMS320DM643
Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-4. Terminal Functions (continued)
SIGNAL
IPD/
TYPE
(1)
DESCRIPTION
IPU
(2)
NAME NO.
GP0[15] G3 GP0[14] C1 GP0[13] G4
General-purpose input/output GP0[15:9] pins ( I/O/Z).
GP0[12] H4
Note: By default, no function is enabled upon reset. To configure these pins, see
I/O/Z
the Device Configuration section of this data sheet.
GP0[11] F1 GP0[10] J2 GP0[9] K3 GP0[3] L5 IPD GP0 3 pin ( I/O/Z)
General-purpose 0 pin (GP0[0]) ( I/O/Z) [default] This pin can be programmed as GPIO 0 ( input only) [default] or as GP0[0] ( output only) pin or output as a general-purpose interrupt (GP0INT) signal
GP0[0] M5 I/O/Z IPD
( output only). Note: This pin must remain low during device reset.
VCXO Interpolated Control Port (VIC) single-bit digital-to-analog converter
VDAC/GP0[8]
(3)
AD1 I/O/Z IPD (VDAC) output [ output only] [default] or this pin can be programmed as a GP0 8
pin ( I/O/Z). Clock output at 1/6 of the device speed ( O/Z) [default] or this pin can be
CLKOUT6/GP0[2]
(3)
C6 I/O/Z IPD
programmed as a GP0 2 pin ( I/O/Z). Clock output at 1/4 of the device speed ( O/Z) [default] or this pin can be
CLKOUT4/GP0[1]
(3)
D6 I/O/Z IPD
programmed as a GP0 1 pin ( I/O/Z).
HOST-PORT INTERFACE (HPI) or EMAC
HINT N4 O/Z Host interrupt from DSP to host ( O). HCNTL1 P1 I Host control selects between control, address, or data registers ( I). HCNTL0 R3 I Host control selects between control, address, or data registers ( I).
Host half-word select first or second half-word (not necessarily high or low
HHWIL N3 I
order). [For HPI16 bus width selection only] ( I). HR/ W M1 I Host read or write select ( I). HAS P3 I Host address strobe ( I)
Host chip select ( I)
HCS R1 I
Host data strobe 1 ( I) HDS1 R2 I
Host data strobe 2 ( I)
Note: If unused, the following HPI control signals should be externally pulled
HDS2 T2 I
high. HRDY N1 O/Z Host ready from DSP to host ( O)
Submit Documentation Feedback Device Overview 29
www.ti.com
TMS320DM643 Video/Imaging Fixed-Point Digital Signal Processor
SPRS269C – FEBRUARY 2005 – REVISED JANUARY 2007
Table 2-4. Terminal Functions (continued)
SIGNAL
IPD/
TYPE
(1)
DESCRIPTION
IPU
(2)
NAME NO.
HD31/MRCLK
(3)
G1
HD30/MCRS
(3)
H3
HD29/MRXER
(3)
G2
HD28/MRXDV
(3)
J4
HD27/MRXD3
(3)
H2
HD26/MRXD2
(3)
J3
HD25/MRXD1
(3)
J1
HD24/MRXD0
(3)
K4
HD23 K1
Host-port data ( I/O/Z) [default] or EMAC transmit/receive or control pins HD22/MTCLK
(3)
L4
As HPI data bus HD21/MCOL
(3)
K2
Used for transfer of data, address, and control
Host-Port bus width user-configurable at device reset via a 10-k resistor
HD20/MTXEN
(3)
L3
pullup/pulldown resistor on the HD5 pin:
HD19/MTXD3
(3)
L2
Note: If a configuration pin must be routed out from the device, the internal
HD18/MTXD2
(3)
M4
pullup/pulldown (IPU/IPD) resistor should not be relied upon; TI recommends the HD17/MTXD1
(3)
M2
use of an external pullup/pulldown resistor.
Boot Configuration:
HD16/MTXD0
(3)
M3
I/O/Z
HD5 pin = 0: HPI operates as an HPI16.
HD15 T3
(HPI bus is 16 bits wide. HD[15:0] pins are used and the remaining
HD14 U1
HD[31:16] pins are reserved pins in the high-impedance state.)
HD13 U3
HD5 pin = 1: HPI operates as an HPI32.
HD12 U2
(HPI bus is 32 bits wide. All HD[31:0] pins are used for host-port operations.)
HD11 U4
For superset devices like DM643, the HD31 through HD16 pins can also function
as EMAC transmit/receive or control pins (when MAC_EN pin = 1). For more
HD10 V1
details on the EMAC pin functions, see the Ethernet MAC (EMAC) peripheral HD9 V3
section of this table and for more details on how to configure the EMAC pin
functions, see the device configuration section of this data sheet.
HD8 V2 HD7 W2 HD6 W4 HD5 Y1 HD4 W3 HD3 Y2 HD2 Y4 HD1 AA1 HD0 Y3
EMIFA (64-bit) CONTROL SIGNALS COMMON TO ALL TYPES OF MEMORY
ACE3 L26 O/Z IPU
EMIFA memory space enables ACE2 K23 O/Z IPU
Enabled by bits 28 through 31 of the word address
ACE1 K24 O/Z IPU
Only one pin is asserted during any external data access
ACE0 K25 O/Z IPU ABE7 T22 O/Z IPU ABE6 T23 O/Z IPU
EMIFA byte-enable control
ABE5 R25 O/Z IPU
Decoded from the low-order address bits. The number of address bits or
ABE4 R26 O/Z IPU
byte enables used depends on the width of external memory.
ABE3 M25 O/Z IPU
Byte-write enables for most types of memory
ABE2 M26 O/Z IPU
Can be directly connected to SDRAM read and write mask signal (SDQM)
ABE1 L23 O/Z IPU ABE0 L24 O/Z IPU
Device Overview30 Submit Documentation Feedback
Loading...
+ 132 hidden pages