SPI : Multiple Slave communication over shared Slave Select line

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI : Multiple Slave communication over shared Slave Select line

787 Views
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

Labels (1)
0 Kudos
1 Reply

685 Views
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 Kudos