Other Parts Discussed in Thread: OMAP-L138
Hello,
I use OMAP-L138 EMIFA CS2 to access MRAM, and the CE2CFG is set 0x04224225. My program is following, and using scope to probe the EMA_CS2 signal.
Why CPU lag 175nsec every time after EMIFA read cycle ? The result is same by EMIFA CS4 to access another device in my hardware.
#define MRAM_START_ADDR 0x60000000
unsigned short uReadValue;
unsigned short * pPt = ((unsigned short *)MRAM_START_ADDR);
while(1){
// read cycle
uReadValue = *pPt;
uReadValue = *pPt;
// write cycle
*pPt = 0x5A5A;
*pPt = 0x5A5A;
}
