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.

TMS570LC4357: SDRAM(IS42S16400J-7BLI) Load mode register

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

王工:

您好,TMS579LC4357配置SDRAM,通过查看手册支持SDRAM Commands配置

SDRAM初始过程:

通过HALCogen生成EMIF驱动,并没有对Load mode register 进行配置,请问一下如何配置SDRAM的Load mode?

  • Hi,

    The SDRAM initialization sequence (step1 to step 6) is triggered by writing the least 3 bytes of SDCR register (page size, bank, ..). You don't need to issue LMR command, PRE command manually. 

    In HALCOGen EMIF initialization code (emif_SDRAM_StartupInit()):

    emifREG->SDCR = (uint32)((uint32)0U << 31U)|
                                    (uint32)((uint32)1U << 14U)|
                                    (uint32)((uint32)2U << 9U)|
                                    (uint32)((uint32)1U << 8U)|
                                    (uint32)((uint32)2U << 4U)|
                                    (uint32)((uint32)elements_256);

    will trigger the SDRAM initialization (step 1~step 6).

  • 王工:

    如何按照上述配置LOAD MODE REGISTER Command是如何配置的(默认值是多少),我这边想通过SDRAM LOAD MODE REGISTER Command修改Burst Length,如何去操作?