3-Wire SPI support on iMX6 (Linux)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

3-Wire SPI support on iMX6 (Linux)

跳至解决方案
1,879 次查看
erezsteinberg
Contributor IV

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

标签 (2)
标记 (1)
0 项奖励
回复
1 解答
1,160 次查看
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,161 次查看
igorpadykov
NXP Employee
NXP Employee

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!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,160 次查看
jamesdeepu
Contributor II

Dear Igor,

Is bitbanging required only if MOSI and MISO not connected via resistor ?

My SPI connection is shown below

pastedImage_0.png

Here SDO is connected to SDI via resistor on Slave side. Will that work out?.

0 项奖励
回复
1,160 次查看
erezsteinberg
Contributor IV

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

0 项奖励
回复