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.

how to change configuration or source code to use DDR2 in DM814x?

hello, all!

I am using the DM814x EVM with DDR3. But I want to use DDR2 for some reason in my product. Before the hardware is produced, I want to comfirm the step of  changing configuration  or source code to use DDR2?

   I read the PSP-U-boot user guide, from which I know that I have to change the macro   

"To use PG2.1 with DDR2 support, un-comment the macro "#define CONFIG_TI814X_EVM_DDR2" in file "include/configs/ti8148_evm.h" that will forcefully select DDR2 support."

I want to comfirm that whether I only have to change this macro and rebuild u-boot , or I have to change other configuration like menuconfig selection, source code in kernel, pinmux change etc. 

And another question is how to change the parameter(like data rate, Bank type etc) to satisfy the DDR2 type?

Is there any other user guide in this field?

Thank you ahead of time.

BR,

qiuxicj

  • Hi Qiuxicj,

    Regarding software changes, no, I can not find any other SW changes needed to switch from DDR3 to DDR2 memory, other than you have already found in the wiki

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide

    Note
    To use PG2.1 with DDR2 support, un-comment the macro "#define CONFIG_TI814X_EVM_DDR2" in file "include/configs/ti8148_evm.h" that will forcefully select DDR2 support.

    For HW changes, refer to the DM814x datasheet, section 8.13 DDR2/DDR3 Memory Controller and  DM814x TRM, chapter 7 DDR2 and DDR3 Memory Controller.

    Also note that the upper frequency limit for DDR3 is 533 MHz and for DDR2 is 400 MHz. For the same frequency of operation and data transfer rate, DDR3 consumes much less power than DDR2.

    Best regards,
    Pavel

  • Pavel:

    Thank you so much for your reply.

    Best Regards,

    qiuxicj