- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Solved! Go to Solution.
- Labels:
-
PSoC 4 MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 -
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 -
Best regards,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks. I'll discuss this with my hardware designer.