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.

DM368 DDR2控制器如何识别外接DDR2的raw address位数?

Spectrum的368开发板外接了1片128MB的DDR2,raw address为A12-A0,column address为A9-A0.

Udworks的368DVR开发板外接了2片128MB的DDR2,拼成256MB,raw address为A13-A0,column address为A9-A0.

在DM368的TMS320DM36x DMSoC DDR2_mDDR Memory Controller User's Guide文档里,关于DDR2控制器寄存器配置说明如下,即必须配置的只有5个寄存器。在SDCR寄存器中的pagesize位决定了column address的位数,在Spectrum的368开发板和Udworks的368DVR中均配为1024_word page requiring 10 column address bits,与A9-A0共10位相符。

但368是如何识别raw address位数的呢?有一个寄存器SDRAM Configuration Register2(SDCR2)有提到ROWSIZE,但这个寄存器好像是对mDDR有效,并且Spectrum的368开发板和Udworks的368DVR均没有配置这个寄存器。

谢谢。

  •  SDRCR2 寄存器仅在SDRAM configuration register (SDCR) 的IBANK_POS bit设置为1 的时候,用于特殊的寻址,这个不会的影响正常的SDRAM工作。