- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have a CY8CKIT-042BLE kit and decided to develop a little application with an Arduino R3 shield which uses SPI communication. The shield has hardwired the CS/SS pin as Arduino pin 7, which translates to P1.0.
Now in PSoC Creator I went to assign my pins and was surprised to see that P1.0 was not available for me to use as a SS.
I am now most curious to learn why is that.
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC 4 has limited routing capabilities for SCB blocks.
Workarounds: use USB based SPI Master (v2.50)
or control ss pin yourself (that's more reliable) by setting the pin accordingly at begin and end of a transaction.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
PSoC 4 has limited routing capabilities for SCB blocks.
Workarounds: use USB based SPI Master (v2.50)
or control ss pin yourself (that's more reliable) by setting the pin accordingly at begin and end of a transaction.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Bob. Yes controlling the SS pin yourself makes better sense. I did not realise you could set number of SS to zero in the SCB SPI block.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I didn't know either 😉 I usually picked my own pin for that purpose.
Bob