Hello experts,
I am connecting a peripheral to an iMX6S over a 3-Wire SPI interface (shared MOSI/MISO).
Do anyone know if SPI_3WIRE option is supported in iMX6 Linux SPI Driver?
If so, should we tie MOSI and MISO together via 10K resistors?
Regards,
Erez
Solved! Go to Solution.
Hi Erez
no it is not supported.
Actually it is not difficult to realize it as spi bit bang.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Erez
no it is not supported.
Actually it is not difficult to realize it as spi bit bang.
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Dear Igor,
Is bitbanging required only if MOSI and MISO not connected via resistor ?
My SPI connection is shown below
Here SDO is connected to SDI via resistor on Slave side. Will that work out?.
Thanks Igor,
Just to clarify, the support is missing in the Linux driver implementation. It's not a h/w limitation...
(Bit-banging was my backup plan, so i'm not concerned about this too much).
Regards,
Erez