i.MX6UL: Failed to connect multiple SPI slaves devices to spi bus of imx6UL

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

i.MX6UL: Failed to connect multiple SPI slaves devices to spi bus of imx6UL

5,155件の閲覧回数
ganesh_k
Contributor III

Dear NXP Team,

We are trying to connect multiple SPI salves (5 slaves) to i.MX6UL processor - SPI bus. But in our case only 4 slave devices are able to communicate with master(i.MX6UL), and unable to communicate with 5 slave. In a simple way only 4 slaves can be able to communicate over SPI bus irrespective of the number slave devices connected to it.

Is there any limitation in SPI master driver about this slave device connection?

Attaching the device tree configuration and the respective to SPI logs for your reference.

Please help us in this regards

 

Thanks,

Ganesh K

0 件の賞賛
返信
5 返答(返信)

5,101件の閲覧回数
kef2
Senior Contributor V

SNVS pads and non-SNVS pads can't be mixed in the same pinctrl groups. SNVS pads belong to iomuxc-snvs, while non-SNVS pads belong to iomuxc. 

0 件の賞賛
返信

5,124件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @ganesh_k 

I hope you are doing well.

Maximum limit of slave device connect with SPI master is 4. That is why 5th device was unable to connect at a time. For more reference one can refer Chapter 20 Enhanced Configurable SPI of IMX6UL Reference manual.

Thanks & Regards

Sanket Parekh

0 件の賞賛
返信

5,100件の閲覧回数
kef2
Senior Contributor V

Only 4 HW CS's, unlimited GPIO CS's!

0 件の賞賛
返信

5,108件の閲覧回数
ganesh_k
Contributor III

Hi @Sanket_Parekh,

Thanks for the quick response. Will come back to you if any further information is needed in this regard.

 

Thanks,

Ganesh K

0 件の賞賛
返信

5,078件の閲覧回数
Sanket_Parekh
NXP TechSupport
NXP TechSupport

Hi @ganesh_k 

Any updates from your side?

If not, Can I mark this ticket to close state?

Thanks & Regards

Sanket Parekh

0 件の賞賛
返信