the read rate of PCIe on i.mx6q

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

the read rate of PCIe on i.mx6q

595 Views
xiuqingchang
Contributor I

I am working on the linux kernel 3.10.17, to realize the imx6 communicate with FPGA usine the bus of PCIe,I have realized read and write correctly,the rate of write can reach up to 100B/s,can satisfy what I want,but the rate of read is very low,only reach to 100b/s,can’t satisfy the product qualification about 300b/s,please tell me how to increase the read rate of the PCIe bus?

Labels (3)
0 Kudos
3 Replies

485 Views
igorpadykov
NXP Employee
NXP Employee

Hi xiuqing

one can try to use dma, please check some examples on

i.MX6Q PCIe EP/RC Validation System 

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

0 Kudos

485 Views
xiuqingchang
Contributor I

hi,igorpadykov:

      thanking you for answering my question,on my board,i.xm6 CPU connect with FPGA only by PCIe bus(can't use IPU DMA),writing rate can reach up to 100MB/s,but reading rate is very low, only can reach to 100Mb/s,can't satisfy my need 400Mb/s.Are you sure i can use DMA to increase reading rate,I read that the PCIe address space can't be read by SDMA module,only ARM and IPU can access PCIe space,the other bus master can't access PCIe space.please answer my two question:

     1) Are you sure i can use DMA to increase reading rate?If i can ,please tell me which DMA controller to use?

     2) If i can't use DMA,is there any other way to increase reading rate to about 400Mb/s?

0 Kudos

485 Views
igorpadykov
NXP Employee
NXP Employee

please recheck carefully suggested material: IPU DMA was used for PCIe.

0 Kudos