AnsweredAssumed Answered

iMx6 SPI speed issue

Question asked by vijesh reddy on Aug 4, 2017
Latest reply on Aug 6, 2017 by igorpadykov

Hi,

I am using iMX6 Phycore module, I have an SPI interface between imx6 and FPGA. I am able to communicate with FPGA and read the data.

I have written SPI driver in user space, spi is operated at 10Mhz.

I read 50,000 bits from FPGA, as per 10Mhz SPI speed it should take around 5msec time to read 50000 bits, but it is taking around 80msec. This delay is not acceptable for my application.

Is this delay because of the spi driver written in user space and not in kernel space? I don't have expertise in writing code in kernel space, what are the best methods to improve the SPI speed with driver in user space.

 

Thanks in advance,

Vijesh.

Outcomes