CM4 access fpga by eim

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CM4 access fpga by eim

626 Views
jingyangxie
Contributor V

Hi,

     I used a imx6sx-sdb custom board,want to use M4 to access fpga by eim,when I read or wrote(using address range 0x04000000~0x07FFFFF) ,no matter what address I gave, the address collected by FPGA was always 0.but the cs、rw、oe signals were right,and the data on the data bus was also correct.Can anyone knows what is the problem?

Labels (1)
0 Kudos
Reply
2 Replies

512 Views
igorpadykov
NXP Employee
NXP Employee

Hi jingyang

one can check IOMUXC_GPR_GPR1 register which

configures eim memory between CSn. Test with a9 using

imx6sx-19x19-arm2.dts (it has enabled eim)

linux-imx.git - i.MX Linux Kernel 

and if it is working, printf eim registers and reuse them with m4.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

512 Views
jingyangxie
Contributor V

Hi,igor

    Thanks for your patience! The problem that how CM4 accesses EIM has been solved!

0 Kudos
Reply