我使用三星的K4T51163QG-HCF7和DM6437配合,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 ] |