SPI : Multiple Slave communication over shared Slave Select line

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

SPI : Multiple Slave communication over shared Slave Select line

1,593 次查看
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,491 次查看
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 项奖励
回复