AnsweredAssumed Answered

IMX6UL SPI DMA Example

Question asked by Ryan Shuttleworth on Jul 25, 2017
Latest reply on Jul 25, 2017 by igorpadykov

Hello all.  I am looking for an up-to-date example of how to perform SPI DMA at sample rates >= 128ksps on the imx6ul under Linux 3.14.52.  I have reviewed the discussion at https://community.nxp.com/message/886376?commentID=886376#comment-886376 but the code is old, uses SDMA and doesn't support the imx6ul.  I have also managed to get IIO working, however, the trigger system appears to be slow and inconsistent in timing and I am hoping DMA would be a more suitable approach.  

 

Any advice other than RTFM would be appreciated.

 

Thanks.

Outcomes