Can I use the Slave Selects more than 4 existing ones in SPI of Flexcomm?

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

Can I use the Slave Selects more than 4 existing ones in SPI of Flexcomm?

Jump to solution
796 Views
toipaz
Contributor III

We designed the circuit and connected eight SPI slaves to one SPI bus.
(Of course, each CS is connected by each GPIO respectively.)

I just checked, and Flexcomm supports up to four Slave select...
When I looked at the SDK code, there was no way to control CS using GPIO.

When using SPI of Flexcomm, can I use a separate GPIO to use Slave Select more than four existing ones?

Tags (1)
0 Kudos
1 Solution
767 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @toipaz,

This should be possible, only you would need to be careful about the timing for the SSEL.

Best Regards,

Alexis Andalon

View solution in original post

0 Kudos
3 Replies
768 Views
Alexis_A
NXP TechSupport
NXP TechSupport

Hello @toipaz,

This should be possible, only you would need to be careful about the timing for the SSEL.

Best Regards,

Alexis Andalon

0 Kudos
763 Views
toipaz
Contributor III

thanks for your reply.

Yes. I'm trying it.

I'm asking the next question because there seems to be a timing issue.

https://community.nxp.com/t5/LPC-Microcontrollers/Using-SPI-of-Flexcomm-with-GPIO-CS-in-LPC54608-the...

 

0 Kudos
793 Views
toipaz
Contributor III

1. Set the pin mux to GPIO without SSEL0~SSEL3 func.
2. SPI driver code controls each CS using GPIO before and after communication.
Is it possible to use this method?

0 Kudos