Connecting SCB SPI to SmartIO - KBA222481

Version: **

 

Question:

How do I connect SCB SPI pins to SmartIO? The error “E2809: Unable to find a valid placement for pins and fixed-function blocks.” appears while trying to connect.

 

Answer:

In the SPI SCB Component, enable Show SPI Terminals under the SPI Pins tab.

 

While connecting the SPI to SmartIO, make sure the port and data selected are compatible with the available SCB’s dedicated pins.

 

For example, if SCB[1] is used as SPI and Port2 as SmartIO in PSoC® 4100S device, then see the table for connection details:

 

SPI pin

Dedicated Pin as per Datasheet

SmartIO Configuration

MOSI

P2_0

Connect this to data0 of Port2 SmartIO

MISO

P2_1

Connect this to data1 of Port2 SmartIO

SPI CLK

P2_2

Connect this to data2 of Port2 SmartIO

SPI select0

P2_3

Connect this to data3 of Port2 SmartIO

SPI select1

P2_4

Connect this to data4 of Port2 SmartIO

SPI select2

P2_5

Connect this to data5 of Port2 SmartIO

SPI select3

P2_6

Connect this to data6 of Port2 SmartIO