Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
Why can I not choose SCB for SPI Slave for PSoC® 4100S Plus 64-TQFP in PSoC Creator™?
SPI needs four pins for Master Out Slave In (MOSI), Master In Slave Out (MISO), Serial Clock (CLK), and Slave Select (SS), and these pins should be dedicated pins in the same serial communication block (SCB).
Also, SS for SPI Slave can be select0, even though SS for SPI Master select0, select1, and select2 can be chosen.
Availability of dedicated pins depend to be assigned depend on the package capacity. If all dedicated pins are not available for a certain package, you will not be permitted to use the corresponding block inside the device.
For example, in the PSoC 4100S Plus datasheet, “Alternate Pin Functions” states P6.0 (for MOSI), P6.1(for MISO), P6.2 (CLK), and P6.3 (SS) are dedicated pins for the SPI Slave instance of SCB for PSoC 4100S Plus device, as shown Figure 1. P6 – P6, highlighted in blue, is for SS in SCB, but SS for SPI Slave can be just P6 because of select0.
Check the pins in the pin list (Figure 2) carefully, because some pins are disabled depending on the package capacity. Therefore, it is recommended to use other SCB blocks for SCB SPI instead of SCB.
When a block is required to be used, check "Alternate Pin Function" in PSoC 4100S Plus datasheet to avoid choosing a block that is not available inside the device.
It is recommended to check Pinout when using other peripherals as well as SPI.