AnsweredAssumed Answered

IMX6ULL: Can not do read/write from extern RAM via EIM

Question asked by liqi wu on Mar 5, 2020
Latest reply on Mar 5, 2020 by igorpadykov

Hi, I use IMX6ULL and there is a extern RAM connect via EIM interface. I want to do read/write extern RAM, but it failed.


I captured the EIM_CS0 signal and found the signal is very strangely. 

Why the EIM_CS0 become LOW so long(more than 2us)?

and Why there is 32 noise while EIM_CS0 is LOW?


------------------------------------------------------------------my use case and configuration

//EIM clock confige 100MHZ

CLOCK_SetMux(kCLOCK_EimSlowMux, 2);
CLOCK_SetDiv(kCLOCK_EimSlowDiv, 1);


//EIM register confige, which is refer the Reference Manual

EIM->CS0GCR1 = 0x403104b1;
EIM->CS0RCR1 = 0x0b010000;
EIM->CS0RCR2 = 0x00000008;
EIM->CS0WCR1 = 0x0b040040;


//test case(read memory)

data = *((REG16 *)0x50000000);