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.

dm6437连接DDR(k4t51163QG-HCF7)时的gel初始化参数配置

Other Parts Discussed in Thread: TMS320DM6437

【芯片型号】DSP: TMS320DM6437, DDR: K4T51163QG-HCF7

 【CCS版本】CCS3.3

 【问题描述】DDR读写不正确

这是参考开发板自己做的一个板子,原理图和布线应该问题不大,但DDR始终调试不通,写入数据的时候出错,不但写入的地址不对,数据本身也出错,所以怀疑是ddr的配置参数不对,现在使用的配置如下:

    DDR_DDRPHYCR = 0x50006405;      // DLL powered, ReadLatency=5
    DDR_SDBCR    = 0x00138822;      // DDR Bank: 32-bit bus, CAS=4,
                                    // 4 banks, 1024-word pg
    DDR_SDTIMR   = 0x22923209;      // DDR Timing
    DDR_SDTIMR2  = 0x0012c722;      // DDR Timing
    DDR_SDBCR    = 0x00130822;      // DDR Bank: cannot modify
    DDR_SDRCR    = freq * 7.8;      // Refresh Control [ 7.8 usec * freq

我已经核对了好多遍,看不出问题,请各位帮忙看一下,这个参数有没有问题,多谢多谢!