SPI : Multiple Slave communication over shared Slave Select line

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

SPI : Multiple Slave communication over shared Slave Select line

1,678件の閲覧回数
amarjeet_kumar
Contributor II

Hi All Community Members

Is it possible to communicate to the slave over share slave select (peripheral chip select line) as per below config without using Daisy-chain SPI bus scheme:

For Example:

LPSPI2 pcs0: PTA9, PTC14, PTE11

like pin PTA9 is used for Slave-1, PTC14 used for Slave-2, PTE11 used for Slave-3.

1.PNG

can someone please share the test project for above configuration using SDK for s32k144 EVB-Q100.

Thanks

Amarjeet

ラベル(1)
0 件の賞賛
返信
1 返信

1,576件の閲覧回数
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Amarjeet,

I’m not sure if I understand.
All the ports that you mentioned (PTA9, PTC14, PTE11) can be used for LPSPI0_PCS0.
So, it would be as if you used just one PSC0 pin and route it to all the slaves.
Without the daisy chain, all the slave would transmit on the MISO line at the same time.

Could you please elaborate?

BR, Daniel

0 件の賞賛
返信