- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a question about SPI component.
Device: CYBLE-212020-01
1) Is it possible to assign both Slave and Master to the SPI (SCB mode) component?
2) Is it possible to share the four pins (miso, mosi, sclk, ss) using in both Slave mode and Master mode?
3) If 1) and 2) are impossible, any other way?
Best Regards
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You will need to have the SCB component in unconfigured mode and configure it in firmware. There is a code example for SCB unconfigured available with PSoC Creator. Please have a look at that.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
You will need to have the SCB component in unconfigured mode and configure it in firmware. There is a code example for SCB unconfigured available with PSoC Creator. Please have a look at that.
Thanks,
Hima
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As hima stated, you will need to use the SCB component in unconfigured mode, and then manually switch/set which mode you are using and when to get it to flip between master and slave modes.