AM64x/AM625/AM623/AM243x/AM62Ax/AM62Px DDR Register Configuration (v0.10.02)

Introduction

This tool is intended to simplify the process of configuring the DDR Subsystem Controller and PHY to interface to DDR4/LPDDR4 memory devices. The tools consists of a number of parameters to be input by the user (based on the memory device datasheet, board design, and topology), and outputs a file to be used by software to properly initialize and train the selected memory.

Supported Features

Unsupported Features

Procedure:

  1. Modify parameters based on your DDR device. Hover mouse pointer over each parameter and choose the help icon (?) for more explanation
  2. The 'Generated Files' section on the right has output files for your software (uboot, RTOS, or GEL) that can be saved. A SysConfig configuration script can also be saved and then reloaded at a later time using File->Open in Sysconfg.

The configurations for the various EVMs can be chosen using the Reference Design selection.

LPDDR4 Configuration

System Configuration

DRAM Timing A)

DRAM Timing B)

IO Control A)

IO Control B)

DDR4 Configuration

System Configuration

DRAM Timing A)

DRAM Timing B)

IO Control A)

IO Control B)

GEL

The resulting .gel file should be placed in the CCS installation for your device, for example ccs\ccs_base\emulation\gel\AM64x\AM64_DDRSS, and loaded using a GEL_LoadGEL instruction (see example in ccs\ccs_base\emulation\gel\AM64x\AM64_DDRSS\AM64x_GP_EVM.gel)

CMM

The resulting .cmm file should be placed in the Lauterbach installation for your device.

Linux u-boot

The resulting .dtsi file should be placed in arch\arm\dts, and the include statement in k3-\<device\>-r5-\<board\>.dts (eg., k3-am642-r5-evm.dts for the AM64x GP EVM, or k3-am642-r5-sk.dts for the AM64x SK EVM) should reference the new .dtsi file. The DDR driver will properly set the DDR frequency and initialize the DDR controller using the information in this .dtsi file

MCU+ SDK (RTOS)

The resulting .h file should be placed in mcu_plus_sdk_\<device\>\_\<version\>\source\drivers\ddr\v0\soc\<device> and included by using the SysConfig for SDK tool when building your code. Please refer to the SDK API Guide mcu_plus_sdk_\<device\>_\<version\>\docs\api_guide_am64x\DRIVERS_DDR_PAGE.html for more information

Desktop Version

For computers without internet access, the DDR Register Configuration tool can be downloaded and installed on your local workstation by following these instructions:

Windows command example:

c:\ti\sysconfig_<version>\sysconfig_gui.bat --product c:\ti\Processor_DDR_Config_<version>\.metadata\product.json --device AM62x

Linux command example:

~/ti/sysconfig_<version>/sysconfig_gui.sh --product ~/ti/Processor_DDR_Config_<version>/.metadata/product.json --device AM62x