- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using CY8C4146AZI-S433 Kit, ARM Cortex M0+
I want to re route P2[0] to P2[5], P2[1] to p2[6] and P2[2] to p2[7] where 2.0, 2.1 and 2.2 are mapped to SCB[1]->SPI-> MOSI, MISO and SCLK respectively. Can I have example code for this
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Most of the hardware connections for the SCB are direct connections to specific pins. Since these connections are dedicated, I2C, SPI and UART can be connected to dedicated pins only.
Best Regards,
VSRS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It is always easier to check when we have a project to play with. Can you please post your complete project or a shortened version that shows the issue so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.
Your problem might be that the SCB pins are dedicated and may not be changed freely.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Most of the hardware connections for the SCB are direct connections to specific pins. Since these connections are dedicated, I2C, SPI and UART can be connected to dedicated pins only.
Best Regards,
VSRS