Connecting SPI over port 4

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

cross mob
Anonymous
Not applicable

The error that I am getting is the following:

   

ERROR: M0145 '(the pin)' P4 cannot be used for routed connections.

   

We are trying to use the entire port four to run our SPI on the PSoC 4. In the datasheet it says that SPI works for this port but when we try to implement it in PSoC creator, it is giving us that error.

   

Any suggestions? Ideas?

0 Likes
2 Replies
Anonymous
Not applicable
        Hi tylerjaywilson   
What kind of SPI did you use?   
Which SPI_Master or SPI(SCB mode)?   
I guess it was SPI_Master.   
   
In PSoC4, Usual SPI module can't assign to dedicated Pins.   
Besides, SPI(SCB mode) must assign to dedicated Pins.   
That shows pin assignment dialog in Blue print.   
   
Data sheet of SPI(SCB mode) say   
[   
The interface specific pins are buried inside component because   
these pins use dedicated connections and are not routable as general purpose signals.   
See the I/O System section in chip Technical Reference Manual (TRM)   
for more information.   
]   
OK?   
0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

In the TRM the following is stated -

   

 

   

7.17 Restrictions on Port 4

   


Port 4 does not have a dedicated port-adapter (Port Adapter Block on page 161). Therefore, none of the port 4 pins can be
routed through the DSI. However, port 4 pins can still be used as a firmware pin, LCD_COM, LCD_SEG or can be connected
to the SCB block through the HSIOM.

   

 

   

Regards, Dana.

0 Likes