Unable to route SPI slave select in CY8C4045LQI-S411

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

cross mob
JT42
Level 1
Level 1
First solution authored First reply posted First question asked

I'm using a CY8C4045LQI-S411 and PSoC Creator v4.4.  I have a SPI port using SCB[1] configured as a slave.   I am able to route miso_s to P0.5, mosi_s to P0.4, and sclk_s to P0.6, however I am unable to place ss_s.  The PSoC 4000S Datasheet shows that SCB[1].spi_select0, 1, 2, and 3 are on P2.3, P2.4, P2.5, and P2.6, respectively.  However, in the CY8C4045LQI-S411 (a 24-pin package), the only one of those that is available is P2.6.  It appears that PSoC Creator only wants to use spi_select0, which isn't available in this package, instead of spi_select3.

0 Likes
1 Solution
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @JT42 

 

You need to choose the Slave select line 0 for the first slave in this device. One possibility is to use P3.3. Note that this is the SWD CLK line, but can be multiplexed by disabling Debug mode in Design wide resources. Navigate to Design wide resources > System and choose the Debug Select to GPIO - 

Hari_0-1642771445441.png

 

 

Best regards, 
Hari

View solution in original post

0 Likes
2 Replies
Hari
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hi @JT42 

 

You need to choose the Slave select line 0 for the first slave in this device. One possibility is to use P3.3. Note that this is the SWD CLK line, but can be multiplexed by disabling Debug mode in Design wide resources. Navigate to Design wide resources > System and choose the Debug Select to GPIO - 

Hari_0-1642771445441.png

 

 

Best regards, 
Hari

0 Likes
JT42
Level 1
Level 1
First solution authored First reply posted First question asked

Thanks.  I'll discuss this with my hardware designer.

0 Likes