SPI Slave Select Multiple pins

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

cross mob
RoRo_3281831
Level 1
Level 1
10 questions asked 10 sign-ins 5 questions asked

I am having some trouble with the SPI SCB.

I have a chip which my PSoC4 is using SPI to talk to.  I am in the middle of developing the SPI interface code, so I'm using a scope to instrument the SPI signals to aid in my development.  The SCLK, MISO, and MOSI lines are all available on an inter-board connector, so I can connect to those easily.

However, the SS line is buried on the board, and rather than trying to attach a tiny wire, I figured I could just duplicate the SS signal out of an available GPIO pin that runs out to my connector.  However, when I do that, the signal doesn't seem to get duplicated.  The SS line is toggling, but the duplicate remains high, or vice versa.

My PSoC schematic has the SPI module display the pins, and I've wired up the SCLK, MISO, and MOSI lines.  I have the SS line running to both the "real" SS line for the chip and another digital output pin wired in parallel with it.  But only one of them ever toggles.

Why is that?  How can I fix that?

0 Likes
1 Solution
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi RoRo_3281831

Please ensure that you have set the mode of both the slave select pins (real and replicated) as 'Strong Drive'. Also ensure that you have selected spi.select[0] of same SCB (For example - SCB[0], SCB[1] etc.,).

Please share the device information that you are using and screenshot of the pin allotment.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B

View solution in original post

0 Likes
1 Reply
Rakshith
Moderator
Moderator
Moderator
250 likes received 1000 replies posted 750 replies posted

Hi RoRo_3281831

Please ensure that you have set the mode of both the slave select pins (real and replicated) as 'Strong Drive'. Also ensure that you have selected spi.select[0] of same SCB (For example - SCB[0], SCB[1] etc.,).

Please share the device information that you are using and screenshot of the pin allotment.

Thanks and Regards,

Rakshith M B

Thanks and Regards,
Rakshith M B
0 Likes