Part Number:AM3352
Hi Sir
DDR設定問題, 我們使用gel 檔案調整的參數, 想要確定是否真的在CPU 跑起來後, 有設定到位
例如 #define DDR_IOCTRL_VALUE (0x18B)
這行是設定driving, 對應的暫存器位置會是在哪?
#define DDR_IOCTRL_VALUE (0x18B) //Registers tab: DDR_CMDx_IOCTRL //******************************************************************
//EMIF parameters
//******************************************************************
#define ALLOPP_DDR3_READ_LATENCY 0x08 //Registers tab: DDR_PHY_CTRL_1
#define ALLOPP_DDR3_SDRAM_TIMING1 0x0AAAD4DB //Registers tab: SDRAM_TIM_1 #define ALLOPP_DDR3_SDRAM_TIMING2 0x246B7FDA //Registers tab: SDRAM_TIM_2
#define ALLOPP_DDR3_SDRAM_TIMING3 0x50FFE67F //Registers tab: SDRAM_TIM_3
#define ALLOPP_DDR3_SDRAM_CONFIG 0x61A05332 //Registers tab: SDRAM_CONFIG #define ALLOPP_DDR3_REF_CTRL 0x00000c30 //Registers tab: SDRAM_REF_CTRL
#define ALLOPP_DDR3_ZQ_CONFIG 0x50074BE1 //Registers tab: ZQ_CONFIG
謝謝
Daniel
Shine:
DDR_IOCTRL_VALUE这个值可以用来配置PHY寄存器,这些PHY寄存器请看TRM文档第1462页上Table 9-10. CONTROL_MODULE REGISTERS (continued)。ddr_cmd0_ioctrl ddr_cmd1_ioctrl ddr_cmd2_ioctrl ddr_data0_ioctrl ddr_data1_ioctrl https://www.ti.com/lit/ug/spruh73q/spruh73q.pdf另外,EMIF tool里的gel文件有配置这些寄存器,可以参考一下。The spreadsheet discussed in this application report can be downloaded from this link.https://www.ti.com/lit/an/sprack4/sprack4.pdf