NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

DM385 and DM388 DDR Config Resources

From Texas Instruments Wiki
Jump to: navigation, search

Introduction
[edit]

This page provides the DDR Configuration resources for DM38x devices.

The DDR controller within the TSM320DM38x SOCs can accommodate DDR2 and DDR3 devices. This description discusses the EVM selection of DDR3,

selection of system parameters, and the programmation of the DDR registers. The operating mode OPP of the DM385/388 is listed in the datasheet Table 7-3. This determines the DDR clock for the Controller configuration.

OPP # DDR Clock rate
100 400Mhz
120 400Mhz
Turbo 533Mhz
Nitro 533Mhz

1, 2, and 4 DDR3 devices can be implemented in a single rank topology. The DDR databus is 16 or 32bits wide. The memory-size of the DDR3, is normally dependent on the device application. In this example we have (2) x16 DDR3, 4Gbit devices. They provide 1Gbyte total DDR memory, 256Mx32bits.

DM38x Specific Instructions
[edit]

The DM813x, DM814x DDR Configuration spreadsheet is used for programmation. [1]
An example of this spreadsheet is attached, based on the DM388 EVM configuration - File:DM813x DDR Controller DM388.xlsx.zip

There are several key parameters needed for the DDR controller programmation:
Under the DDR Controller Register tab..

F3 - Enter the DDR type
F4 - Enter the DDR clock rate (depending on OPP mode) (single edge rate)
Additional - Entries in white highlighted boxes mostly rows 12 - 22.

Under the DDR DRAM tab ..

Enter the DDR device datasheet parameters from F10 - G34
Based on the spreadsheet calculations, you copy the DDR controller registers hex values on the DDR Controller Registers tab I3 - R9

Using the device datasheet, you would obtain the DDR Controller memory offset address, and Using the DM38x Technical Reference Manual add the DDR Controller device offset addresses, and program the C programming file.

The DDR3 Controller must have search parameters for the proper DQS strobes for DDR3 memory. After following the DDR3 layout guidance in the datasheet and Technical Reference manual, the word-wise, or byte-wise(preferred) DQS seed value is calculated in the spreadsheet, found in the DM814x DDR Software Leveling wiki. [2] The calculations from the spreadsheet are used with CCS and GEL to test the DDR, DQS and clock invert values.

Here is an example of the entries from the layout file, used with the DSP program and GEL file to check the DDR on your board. In the next graphic you enter the values in green. The DDR clock output is inverted if the shortest data path trace is shorter than the DDR clock trace.

Note: you enter the seed values at the bottom of the graphic into the GEL file, when you test your DDR3 subsystem on your board. The GEL file searches for the DQS parameters that work with the specific layout of your board. In the next graphic, is the GEL file output for the DM388 EVM. You also need to take the GEL file output, and write these DQS values into the C programmation file for your DDR implementation.

Note: remember to test several boards, and if needed voltage margining, and temperature cycling to insure the DQS final values work for your design.

References: DM385/DM388 Datasheet - [3]
TMS320DM38x Technical Reference Manual – [4]
DM814x DDR Controller Configuration spreadsheet - [5]
DM814x DDR Software Leveling wiki - [6]

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DM385 and DM388 DDR Config Resources here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article DM385 and DM388 DDR Config Resources here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article DM385 and DM388 DDR Config Resources here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article DM385 and DM388 DDR Config Resources here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity