Hi, my linux kernel is 4.1.15, my pad is connected to DSP through SPI。Now I want my pad wors as SPI slave, but I don't know how to do. So I want to know: Do I need to rewrite a spi slave program and put it into the Linux kernel, or just modify the spi configuration register ? And how can I know the pad works which slave mode?
Hi 留杰 付
first one can check ecspi errata and check patches with description
Chip Errata for the i.MX 6Dual/6Quad and i.MX 6DualPlus/6QuadPlus - IMX6DQCE
[PATCH RFC 0/5] *** SPI Slave mode support ***
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
hi igorpadykov,
I am alse using linux4.1.15 and imx6, I want to run spi slave , and I patch "imx_add_spi_slave_mode.path"(add in the attachment), do I choose the correct patch?
In your last reply, you mentioned "[PATCH RFC 0/5] *** SPI Slave mode support *** ", How can I download this patch? Do you give a link, please?
thanks,