Other Parts Discussed in Thread: HALCOGEN
王工:
您好,TMS579LC4357配置SDRAM,通过查看手册支持SDRAM Commands配置
SDRAM初始过程:
通过HALCogen生成EMIF驱动,并没有对Load mode register 进行配置,请问一下如何配置SDRAM的Load mode?
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.
王工:
您好,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).