IMX6UL SPI DMA Example

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

IMX6UL SPI DMA Example

1,279 Views
ryanshuttlewort
Contributor IV

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.

Labels (3)
Tags (4)
0 Kudos
1 Reply

657 Views
igorpadykov
NXP Employee
NXP Employee

Hi Ryan

one can look at SDK examples:

Board Support Packages (7)
SDK2.2_iMX6UL_WIN(REV SDK2.2)
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-processors/i.mx-6-pr...

../boards/evkmcimx6ul/driver_examples/ecspi/sdma_b2b_transfer/master/ecspi_sdma_b2b_transfer_master.c

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

0 Kudos