Can SCB SPI Master control multi-slave ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

 Hello Everyone

   

There are examples and video from Cypress. it talk about how to use one master with one slave in SPI 

   

That's great. 

   

 

   

In my product design, I need to use SPI master to control multi-slave.

   

it need to add more GPIO pin to connect SS for different device, 

   

but SS pin is only one pin for SCB.

   

I have no idea about how to solve multi-slave issue by SCB 

   

Does anyone have any idea about how to use SCB to control multi-slave ? 

   

Thanks a lot

   
        
0 Likes
1 Solution
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Have a look at page 40 of the SPIM datasheet concerning the handling of multiple slaves. There are some examples using muxes or program handling of the ss-line shown.

   

 

   

Bob

View solution in original post

0 Likes
2 Replies
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Have a look at page 40 of the SPIM datasheet concerning the handling of multiple slaves. There are some examples using muxes or program handling of the ss-line shown.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

 Tks 

   

It's useful 😄

0 Likes