ECSPI DMA support for MAX14830

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

ECSPI DMA support for MAX14830

892 Views
surendradhobale
Contributor III

Hello,

        As we facing the issue of the rxoverrun for spi-uart exapnder chip 14830, looking for the use of DMA for the same so that cpu overhead will reduce and communication will be faster.

Then we will check the ovevrrun is happening or not for MAX14830.

What could be the approach to use DMA ?

I have enabled dma for the ecspi. but still it using the pio mode in the spi-imx driver.

As max14830 is slave device in the communication, is we need to implement anything in max310x driver for the DMA burst mechanism ?

Please help.

Regards,
Surendra 

Labels (4)
0 Kudos
1 Reply

533 Views
igorpadykov
NXP Employee
NXP Employee

Hi Surendra

sdma may not help with with overrun, recommended to use flow control.

As for spi dma support, it is not supported in nxp linux bsps according to attached Linux

Manual sect.4.1.2 Software Operation.

In general one can just follow documentation in linux/Documentation/devicetree/bindings/spi/fsl-imx-cspi.txt

linux-imx.git - i.MX Linux Kernel 

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

0 Kudos