3-Wire SPI support on iMX6 (Linux)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

3-Wire SPI support on iMX6 (Linux)

ソリューションへジャンプ
1,883件の閲覧回数
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,164件の閲覧回数
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,165件の閲覧回数
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,164件の閲覧回数
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,164件の閲覧回数
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 件の賞賛
返信