flexspi connects to 4 devices

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

flexspi connects to 4 devices

ソリューションへジャンプ
1,079件の閲覧回数
Luke-Hsieh
Contributor III

Hi,

Does anyone have the experience using i.mx8 SPI with multiple devices ?

Initially, I was trying to use ECSPI1, but there's only one CS pin supported on ECSPI.

 

I read i.mx8m nano reference manual and find that flex spi supports multiple devices.

In figure 10-15, there're 2 pairs of CLK & DATA in parallel mode which is not what I need.

Can I use the individual mode to support 4 devices which are sharing one CLK+MISO+MOSI ?

Is my expectation correct ?

Attach the figure10-15 for reference.

Thanks.

 

 

0 件の賞賛
1 解決策
1,074件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Luke

 

>I was trying to use ECSPI1, but there's only one CS pin supported on ECSPI.

 

one can use gpio as CS as described in linux documentation "- cs-gpios : GPIOs to use as chip selects"

https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/spi/fsl-...

 

>In figure 10-15, there're 2 pairs of CLK & DATA in parallel mode which is not what I need.

>Can I use the individual mode to support 4 devices which are sharing one CLK+MISO+MOSI ?

>Is my expectation correct ?

 

not sorry. Only option as described exactly in Figure10-15 is possible.

 

Best regards
igor

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
1,075件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi Luke

 

>I was trying to use ECSPI1, but there's only one CS pin supported on ECSPI.

 

one can use gpio as CS as described in linux documentation "- cs-gpios : GPIOs to use as chip selects"

https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/spi/fsl-...

 

>In figure 10-15, there're 2 pairs of CLK & DATA in parallel mode which is not what I need.

>Can I use the individual mode to support 4 devices which are sharing one CLK+MISO+MOSI ?

>Is my expectation correct ?

 

not sorry. Only option as described exactly in Figure10-15 is possible.

 

Best regards
igor

0 件の賞賛
1,068件の閲覧回数
Luke-Hsieh
Contributor III

Hi Igor,

 

Thanks for the confirmation!

The good news is that I can discuss further with HW reviewer.

https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/spi/spi-...

 

0 件の賞賛