Dear all,
I'm looking for support for spi slave with sdma. Do you have any suggestion?
I know that there's around a patch to use ecspi as spi slave in pio mode (something like [RFC,5/5] spi: imx: Add support for SPI Slave mode for imx53 and imx6 chips - Patchwork ) and I gave it a try. But I would like to use the ecspi to receive a fast stream of data.
I had a look at sdma hacking articles (Jonah's Blog by skrap and Freescale i.MX SDMA tutorial (part I)) and it could be a way to implement something but I wonder if NXP guys could suggest something more standard using current sdma driver.
Thank you for your help,
pz
Hi Pazzo
from sect.4.4.2.2 Software Limitations attached Linux Manual, found
on below official nxp software web page:
The ECSPI driver limitations are as follows:
• Does not currently have SPI slave logic implementation
Also there are many other configurations and settings in linux codes (in development and experimental).
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Thanks a lot for your answer and your help Igor.
I'm aware of current NXP software limitation (and ecspi silicon's bugs that will be never solved)
but I'm looking around for solutions. I had a look at your link but I cannot find anything related to ecspi in slave.
Could you please indicate, if any, something from your link related to ecspi in slave mode?
BR,
pz