最近项目用到TMS570LS1227的EMIF功能,第一次接触求HAL中关于SRAM配置如何配置?附件中有SRAM资料(IDT70V25)。谢谢
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.
最近项目用到TMS570LS1227的EMIF功能,第一次接触求HAL中关于SRAM配置如何配置?附件中有SRAM资料(IDT70V25)。谢谢
To connect an external 16bits memory with BLE/BHE for 8bits accesses, please follow this recommandation:
EMIFADD[16:0] to SRAM_ADD[17:1]
EMIFBADD1 to SRAM_ADD[0]
EMIFDQM0 to SRAM_BLE
EMIFDQM1 to SRAM_BHE
The EMIF has to be programmed as following:
Select Strobe = 0
Enhanced Wait = 0
Memory Size = 16
SETUP Cycle Config = Slave Dependent
HOLD Cycle Config = Slave Dependent
Strobe Cycle Config = Slave Dependent
In the TRM, the EMIF is described as 8 bits. This is not correct. The EMIF on TMS570LS series is 16bits data.
Select Strobe = 0
Enhanced Wait = 0
Memory Size = 16
SETUP Cycle Config = Slave Dependent
HOLD Cycle Config = Slave Dependent
Strobe Cycle Config = Slave Dependent
是只需要设置这几个就好了吗?在HAL里还有其他的参数,那些不用管?
还有我是通过CPLD来控制SRAM的,因为当时设计的时候发现控制信号数量与SRAM控制线数量不符,所以用了CPLD来中转控制,那我需要怎么设置呢?