This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TMS320C6657: 6657 DDR3 configure problem

Part Number: TMS320C6657

Tool/software: Code Composer Studio

Hello,

We use C6657 with two DDR3(MT41K128M16JT-125IT). C6657 Core CLK input is 100MHz, and DDR_CLK input is 60MHz. We use Memory_test pjt from STK_C6657.7z downloaded from the forum, and modify some places.

In original KeyStone_DDR_Init.c the C6657_EVM_DDR_Init function is as belwo:

gpBootCfgRegs->DDR3_CONFIG_REG[2~5]=***

gpBootCfgRegs->DDR3_CONFIG_REG[14~17]=***

Which corresponds to Lane0~4.

We use DDR3 PHY Calc v10.xlsx (downloaded from this forum) to calculate DDR3 leveling parameters. When we input Lane0~3 routing length, and see Registers’values for Lane4~7 change. We use new parameters from the .xlsx file and the test fails. We think DDR3_CONFIG_x and Byte lane do not match as described in SPRUGV8D.

Is there any other calc file/tool for C6657 DDR3?

Thanks a lot!

  • Hi,

    Is there any other calc file/tool for C6657 DDR3?


    You can also download the RTOS for TMS320C6657 and refer to the GEL file for the device. It should be located in:
    pdk_c665x_ 03_02_00_05/packages/ti/platform/evmc665x/gel

    The file contains DDR setup & initialization, as well as ddr PLL settings.

    Best Regards,
    Yordan
  • i find evmc6657l.gel in STK_C6657 package.

    there is a fxn ddr3_setup_auto_lvl_1333 which configures registers such as DATA0_WRLVL_INIT_RATIO, we can run it for evm6657, but fails for our board.

    i think these registers' values should be calculated for our board, shall we?