hello.
We are using imx6 and fpga connected by EIM bus.
When an interrupt occurs in the cpu, the data of CS0 is read from EIM Memory.
The structure is similar to the link below.
https://community.nxp.com/t5/i-MX-Processors/How-to-inteface-an-Xilinx-Artix-FPGA-to-the-imx6-dual-q...
We basically allocated CS0 as a 128M area.
I have a question.
1) Where is the physical location of this 128MB EIM memory?
Is it the internal memory of imx6 or the internal memory of fpga? Or is it external DDR memory?
2) We are using CS0 as a single buffer.
I want to use multi buffer like Ring buffer.
How do I start implementing it as a Ring buffer?
I would appreciate it if you could let me know the related application note or technical link.
Thank you so much, villager
已解决! 转到解答。
For the EIM details, please read the EIM chapter 22 in the RM.
And you could find some examples from google search about access external memory on EIM.
e.g.
https://community.toradex.com/t/accessing-external-memory-bus-eim-on-imx6-via-memory-map/6831
https://community.toradex.com/t/external-memory-bus-eim-on-imx6/6116
For the EIM details, please read the EIM chapter 22 in the RM.
And you could find some examples from google search about access external memory on EIM.
e.g.
https://community.toradex.com/t/accessing-external-memory-bus-eim-on-imx6-via-memory-map/6831
https://community.toradex.com/t/external-memory-bus-eim-on-imx6/6116