Summary of Contents for Spectrum Digital TMS320DM642
Page 1
TMS320DM642 Evaluation Module with TVP Video Decoders Technical Reference 2004 DSP Development Systems...
Page 3
TMS320DM642 Evaluation Module With TVP Video Decoders Technical Reference 507345-0001 Rev. B December 2004 SPECTRUM DIGITAL, INC. 12502 Exchange Drive, Suite 440 Stafford, TX. 77477 Tel: 281.494.4505 Fax: 281.494.5310 sales@spectrumdigital.com www.spectrumdigital.com...
Page 4
IMPORTANT NOTICE Spectrum Digital, Inc. reserves the right to make changes to its products or to discontinue any product or service without notice. Customers are advised to obtain the latest version of relevant information to verify that the data being relied on is current before placing orders.
Page 5
Contents Introduction to the DM642 Evaluation Module ....... Provides you with a description of the DM642 Evaluation Module, key features, and block diagram.
Page 6
Physical Specifications ........... . Describes the physical layout of the DM642 Evaluation Module and its connectors.
Page 7
About This Manual This document describes the board level operations of the TMS320DM642 Evaluation Module (EVM). The EVM is based on the Texas Instruments TMS320DM642 Digital Signal Processor. The DM642 Evaluation Module is a table top or PCI plug-in card that allows engineers and software developers to evaluate certain characteristics of the TMS320DM642 DSP to determine if the processor meets the designers application requirements.
Page 8
(http://www.ti.com) for the latest revisions of these documents. Application Notes & User Guides spra920.pdf: DM642 EVM Daughter card Interface Specification sprs200b.pdf: TMS320DM642 Video/Imaging Fixed-Point Digital Signal Processor spru041b.pdf: TMS320C6000 DSP Multichannel Audio Serial Port (McASP) Reference Guide spru175a.pdf: TMS320C6000 DSP Inter-Integrated Circuit (I2C) Module Reference Guide spru190d.pdf: TMS320C6000 Peripherals Reference Guide...
Page 9
Table 1: Manual History Revision History Production Release Updated for HD Filters Table 2: Board History Revision History Prototype Release Production Release...
Page 11
Chapter 1 Introduction to the TMS320DM642 EVM Chapter One provides a description of the TMS320DM642 EVM along with the key features and a block diagram of the circuit board. Topic Page Key Features Functional Overview Basic Operation Memory Map Configuration Switch Settings...
The DM642 EVM is a low-cost standalone development platform that enables users to evaluate and develop applications for the TI C64xx DSP family. The EVM also serves as a hardware reference design for the TMS320DM642 DSP. Schematics, logic equations and application notes are available to ease hardware development and reduce time to market.
Page 13
• Expansion connectors for daughter card use • Dual UART with RS-232 drivers 1.2 Functional Overview of the TMS320DM642 EVM The DSP on the DM642 EVM interfaces to on-board peripherals through the 64-bit wide EMIF or one of the three 8/16 bit wide video ports. The SDRAM, Flash, FPGA, and UART are each connected to one of the busses.
Page 14
To start, follow the instructions in the Quick Start Guide to install Code Composer. This process will install all of the necessary development tools, documentation and drivers. Detailed information about the EVM including examples and reference material is available on the EVM’s CD-ROM. TMS320DM642 EVM Technical Reference...
Page 15
Spectrum Digital, Inc 1.4 Memory Map The C64xx family of DSPs has a large byte addressable address space. Program code and data can be placed anywhere in the unified address space. Addresses are always 32-bits wide. The memory map shows the address space of a generic DM642 processor on the left with specific details of how each region is used on the right.
Spectrum Digital, Inc 1.6 Power Supply The EVM operates from a single +5V external power supply connected to the main power input (J5) or from the PCI slot. Internally, the +5V input is converted into +1.4V and +3.3V using Texas Instruments swift voltage regulators. The +1.4V supply is used for the DSP core while the +3.3V supply is used for the DSP's I/O buffers and all other...
Chapter 2 Board Components This chapter describes the operation of the major board components on the TMS320DM642 EVM. Topic Page EMIF Interfaces 2.1.1 SDRAM Memory Interface 2.1.2 Flash Memory Interface 2.1.3 UART Interface 2.1.4 FPGA Asynchronous Memory Interface 2.1.5 FPGA Synchronous Memory Interface 2.1.6...
Page 20
S2 Input Multiplier Output Frequency 100 Mhz Open 5.33x 133.25 Mhz * 125 Mhz Open 2.5x 62.5 Mhz Open Open 50 Mhz Open 3.33x 83.25 Mhz 150 Mhz Open 75 Mhz 200 Mhz * Default setting TMS320DM642 EVM Technical Reference...
Page 21
Spectrum Digital, Inc Strapping resistors R119, R121, R122, and R123 set the inputs for the S0, S1 inputs on the PLL. The DM642 can be configured as the source of the EMIF clock. The ECLKIN pin is the default on the EVM. However it is possible to operate the EMIF clock as a divider function of the CPU clock.
The FPGA has 10 asynchronous memory registers which reside in the upper portion of the CE1 space. These registers implement various functions listed below. More information is available on these registers in the TMS320DM642 EVM OSD FPGA User’s Guide, SPRU295. The addresses and registers are shown in the table below.
Page 24
EMIF_OE <= ‘0’ when CE1 = ‘0’ or CE2 =’0’ or CE3 = 0’ else ‘1’; EMIF_DIR <= ‘1’ when (CE1 = ‘0’ and AOE =’0’) or (CE2 = ‘0’ and AOE =’0’) or (CE3 = ‘0’ and AOE =’0’) else ‘0’; TMS320DM642 EVM Technical Reference...
Page 25
Spectrum Digital, Inc 2.2 Video Port/McASP Interfaces The DM642 has three on chip video ports. These ports can be subdivided to allow optional functions such as an McASP or SPDIF on ports 0 and 1. The DM642 EVM uses all three of these video ports. Video Port 0 and Video Port 1 are used for capture ports and Video Port 2 is used as a display port.
Page 26
The FIFO’s in the FPGA are accessed via the DM642’s EMIF in synchronous mode via the CE3 space. For more information on the implementation of the FPGA functions, the user should reference the document SPRU295, TMS320DM642 EVM OSD FPGA User’s Guide.
Page 27
Spectrum Digital, Inc 2.2.4 AIC23B Interface The EVM uses a Texas Instruments AIC23B (P/N TLV320AIC23B) stereo codec for input and output of audio signals. The codec samples analog signals on the microphone or line inputs and converts them into digital data so it can be processed by the DSP.
Page 28
The diagram below is a simplified diagram of this clocking scheme. To FPGA AIC23_STCLK SCK03 DM642_AHCLKX0 SCK02 DC_STCLK MCK02 PLL1708 SAA7105_STCLK MCK01 DM642 STCLK VCXO STCLK VDAC Circuit Using PICX100-27 Figure 2-3, Audio PLL/VCXO Circuit/PLL1708 Clock Generator 2-10 TMS320DM642 EVM Technical Reference...
Page 29
Spectrum Digital, Inc 2.3 PCI/HPI/Ethernet Interfaces The DM642 supports a wide variety of peripheral interfaces. The DSP multiplexes a PCI bridge, host port interface, and ethernet MAC. The DM642 EVM supports all of these interfaces. 2.3.1 PCI Interface The DM642 directly supports a PCI interface. Cross Bar Technology (CBT) mux and switches are used to separate the PCI bus from the DM642 so that the EVM can support both the PCI interface or ethernet interface.
B3 on the PCI forcing PCI_DETECT# low (installing R250 will also force PCI_DETECT# low) which automatically disables the EMAC, and allows all 32 bits of access to be enabled. However, to force the PCI_EN pin on the DM642 low, R249 needs to be removed. 2-12 TMS320DM642 EVM Technical Reference...
Page 31
Spectrum Digital, Inc 2.4 I C Interface The I C bus on the DM642 is ideal for interfacing to the control registers of many devices. On the DM642 EVM the I C bus is used to configure the video encoder, video decoders, and stereo Codec.
Video Port 0 Data 12-19 EXP_AUDIO_EN Video Port 1 Data 12-19 Video Port 0 Data 0-19 EXP_DISPLAY_EN All Video Port 2 Control Other than the buffering, most daughter card signals are not modified on the board. 2-14 TMS320DM642 EVM Technical Reference...
Page 33
Spectrum Digital, Inc 2.7 Programming the FPGA The FPGA on the DM642 EVM is programmed via the DSP. The Xilinx XC2S300 FPGA supports a serial programming interface and the DM642 EVM uses this serial interface to program the on board FPGA.
Page 35
Spectrum Digital, Inc The figure below shows a section of the schematic for the encoder output prior to and after modification. The sequence is outlined. HIGH DEFINITION VERSION AS SHIPPED RCA JACK L24 1uH BLUE R184 C220 C221 100pF C341...
Chapter 3 Physical Description This chapter describes the physical layout of the TMS320DM642 EVM and its connectors. Topic Page Board Layout Connectors 3.2.1 J1, S-Video Out Connector 3.2.2 J2, Video Out - Red and Pr 3.2.3 J3, Video Out - Green and Y 3.2.4...
Page 38
Spectrum Digital, Inc Topic Page User LEDs 3-20 System Status LEDs 3-20 Reset Switch - S3 3-21 Test Points 3-21 TMS320DM642 EVM Technical Reference...
The DM642 EVM is a 8.75 x 4.5 inch (210 x 115 mm.) multi-layer board which is powered by an external +5 volt only power supply. Figure 3-1 shows the layout of the DM642 EVM. DC_P3 DC_P2 DC_P1 DS1-DS9 Bottom Figure 3-1, TMS320DM642 EVM...
Page 40
Spectrum Digital, Inc 3.2 Connectors The TMS320DM642 EVM has 24 connectors which provide the user access to the various signals on the EVM. Table 1: TMS320DM642 EVM Connectors Connector # Pins Function S-Video Out Video Out -Red Video Out - Green...
Spectrum Digital, Inc 3.2.1 J1, S-Video Out Connector J1 is a four pin mini din connector which interfaces to an output display device. The connector is driven directly by the Philips SAA7105 video encoder. The pin out is the connector is shown below.
Page 42
Philips SAA7105 video encoder. This output is also used in HDTV mode to drive the Pb component of the video. The pinout of this connector is shown below. Shield (ground) Signal Output Figure 3-5, J4, RCA Jack TMS320DM642 EVM Technical Reference...
Page 43
Spectrum Digital, Inc 3.2.5 J5, PC Video Output Connector Connector J5 provides the standard personal computer monitor video output 15 pin high density female D-connector. The signals on the pins are shown in the table below. Table 3: J5, PC Video Output Connector...
Page 44
Spectrum Digital, Inc 3.2.7 J7, JTAG Interface The TMS320DM642 EVM is supplied with a 14 pin header interface, J7. This is the standard interface used by JTAG emulators to interface to Texas Instruments DSPs. The pinout for the connector is shown in the figure below.
Page 45
The DM642 EVM can be powered either standalone or from the PCI bus. The input supply is +5 volts only. In the standalone mode power (+5 volts) is brought onto the TMS320DM642 EVM via connector J10. The connector has an outside diameter of 5.5 mm. and an inside diameter of 2.5 mm.
Page 46
Direction The pin numbers for J12 and their corresponding signals are shown in the table below. Table 7: J12, 5 x 2 Pinout Signal Signal Pin # Direction Pin # Direction Name Name Not Used 3-10 TMS320DM642 EVM Technical Reference...
Page 47
Spectrum Digital, Inc 3.2.12 J13, Microphone/Audio Input Connector Connector J13 is the audio line input and the microphone input. The microphone input is a 3.5 mm. stereo jack located at the top position of J13. Both inputs are connected to the microphone so it is monaural.
Page 48
J15 is an RCA jack used to capture composite video for capture channel 1. This connector is driven directly into the TI TVP5146 video decoder. The pinout of this connector is shown below. Shield (ground) Signal Input Figure 3-13, J15, RCA Jack 3-12 TMS320DM642 EVM Technical Reference...
Page 49
Spectrum Digital, Inc 3.2.15 J16, Capture Port 1 S-Video Input Connector J16 is a four pin mini din connector which interfaces to an S-video input for capture channel 1. The connector is driven directly into the TI TVP5146 video decoder.
Page 51
Spectrum Digital, Inc 3.2.19 J20, P2 PCI Connector The P2 connector is a card edge PCI interface. This connector has an “A” and “B” side. Because of the card seating notches the pin numbers are not contiguous. The “B” side is the top component side.
Page 52
Address/Data 8 I/O/Z Address/Data 7 +3.3 Volts Not Used I/O/Z Address/Data 5 I/O/Z Address/Data 3 Ground I/O/Z Address/Data 1 +V I/O Not Used ACK64- Not Used +5 Volts +5 Volt Power +5 Volts +5 Volt Power 3-16 TMS320DM642 EVM Technical Reference...
Page 53
Spectrum Digital, Inc 3.2.20 DC_P1, Video Port 2/Expansion Table 12: DC_P1, Video Port 2/Expansion Signal Description Signal Description DSP_GPIO_3 I/O/Z DSP GPIO3 DSP_EXTINT4 I/O/Z DSP Interrupt 4 System Ground DSP_EXTINT5 I/O/Z DSP Interrupt 5 DSP_NMI# DSP NMI Interrupt System Ground...
Page 54
Video Port 1 D5 System Ground System Ground VP1D2 I/O/Z Video Port 1 D2 VP1D3 I/O/Z Video Port 1 D3 VP1D0 I/O/Z Video Port 1 D0 VP1D1 I/O/Z Video Port 1 D1 System Ground DCARD_STCLK 3-18 TMS320DM642 EVM Technical Reference...
Page 55
Spectrum Digital, Inc 3.2.22 DC_P3, EMIF Expansion Table 14: DC_P3, EMIF Expansion (all signals are buffered) Signal Description Signal Description System Ground System Ground DC_D31 EMIF Data D31 DC_D30 I/O/Z EMIF Data D30 DC_D29 EMIF Data D29 DC_D28 I/O/Z EMIF Data D28...
Page 56
EVM function as shown in the table below. Table 16: System Status LEDs LED Number Color Function Yellow FPGA Programming Complete DS10 Green Decoder 1 Lock DS11 Yellow Reset DS12 Green Input Power DS13 Green Decoder 2 Lock 3-20 TMS320DM642 EVM Technical Reference...
Page 57
Spectrum Digital, Inc 3.5 Reset Switch - S3 There are three sources for reset on the TMS320DM642 EVM. The first reset is the power on reset. This circuit waits until power is within the specified range before releasing the power on reset pin to the TMS320DM642.
Need help?
Do you have a question about the TMS320DM642 and is the answer not in the manual?
Questions and answers