Hello everyone
I have a EIM problem.i want to use eim's 'CS0(32M), CS1(32M), CS2(32M), CS3(32M)' function. I configure GPR1 register, Pad Mux Register,when i configure register,i use oscilloscope measure cs0 cs1 cs2 cs3 level ,found cs0 cs2 cs3 always high ,cs1 always low.i think all high is right,i dont kown where problem is.could you give me some help.......
THANKS.
Please double check the IOMUX setting and the PAD setting for the CS pins.
you said i already configure, i configure cs0 ~ cs3,only cs1 have problem.
could you tell me which BSP are you using?
could you show me your dtsi file?
i don't use the bsp , i only use uboot, configure regeister under the uboot, i say configure regeisters,as example CS0
i configure:
IOMUXC_GPR1 value is 0x410249,mean cs0~cs3 all 32M
IOMUXC_SW_MUX_CTL_PAD_EPDC_PWR_CTRL2 value is 0x03, mean EIM_CS0_B
Pad Mux Register's EIM_EB0 EIM_EB1 EIM_EB2 EIM_EB3 EIM_OE EIM_RW EIM_LBA EIM_ADDR0 ~ EIMADDR20 EIM_DATA0~EIM_DATA15 all value is 0x03,mean set eim mode
EIM_CS0GCR1 value is 0x4104B1
EIM_CS0GCR2 value is 0x1
EIM_CS0RCR1 value is 0x1c212412
EIM_CS0RCR2 value is 0x0
EIM_CS0WCR1 value is 0x1c40088a
EIM_CS0WCR2 value is 0x0
i want to know ,if eim can function normal , configure these regeister is right ? if OK, i will find read and write time sequence configrtion.