I have read several posts about connecting a FPGA via EMI or one of the video ports of the i.MX6 Dual, but I need to stream from DDR3 as quickly as possible (won't write to it). In this application, the DDR3 will be loaded once and then will only be read from afterwards. My initial plan is to DMA data out six ports to an FPGA which will re-assemble based on preset DMA transfer size. I don't need any processing just straight from DDR3 to off-chip. I am new to this product family. Does this plan make sense? How big is the transfer FIFO for each of these peripherals?
My initial plan from the IOMUX tool best case
IPU1_DI0_DISP_CLK
IPU1_DISP0_DATA[23:0] ==> 150 MHz * 24 = 3.6 Gb
IPU1_DI1_DISP_CLK
IPU1_DISP1_DATA[23:0] ==> 150 MHz * 24 = 3.6 Gb
LVDS0_CLK_N/P
LVDS0_DATA[3:0]_N/P ==> 85 MHz * 24 = 2.0 Gb
LVDS1_CLK_N/P
LVDS1_DATA[3:0]_N/P ==> 85 MHz * 24 = 2.0 Gb
SATA Phy (No "SATA" just raw bandwidth) ==> 2.4 Gb
PCIe Phy (FPGA has only a 3 Gb transceiver, No "PCIe" just raw bandwidth) ==> 2.0 Gb
Thank you for your assistance.
Kevin
Solved! Go to Solution.
Hi Kevin
I am afraid PCIe and SATA can not be used as fast gpios.
Best regards
igor
Hi Igor,
Thank you for the really fast response.
I am going through the Github you suggested and working through the specs. :-)
I am still curious about the PCIe and SATA PHY's. Can I use these Phy's like "Super Fast GPIO" once setup without the protocol overhead of PCIe or SATA? The transceivers in the FPGA will probably just be raw transceivers without PCIe or SATA cores behind them.
Thanks!
Kevin
Hi Kevin
I am afraid PCIe and SATA can not be used as fast gpios.
Best regards
igor
Hi Kevin
some sdma examples can be found in SDK (please check ../doc folder)
Github SDK
https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK
or linux unit test (mxc_sdma_memcopy_test.c)
imx-test
www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-test-5.7.tar.gz
EIM frequency limitations can be found in sect.4.9.3 External Interface Module (EIM) i.MX6DQ Datasheet
http://www.nxp.com/docs/en/data-sheet/IMX6DQCEC.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------