- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I'm trying to connect PSoC6 to the external SPI master through SPI.
Is it possible to change the default MOSI/MISO pin mapping of PSoC6's SPI as like the below?
In CYB06445LQI-S3D42, when SCB4 is set as SPI Slave
MOSI : P7_0 (default) -> P7_1
MISO : P7_1 (default) -> P7_0
When I've tried it by just swapping MOSI and MISO pin mapping at the function "cyhal_spi_init", it has been failed.
Thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's only possible if you use Port8 or Port9, because these ports have the Smart I/O, which allows you to change the routing of the interfaces linked to these ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @pagansjb
Can you please guide me which Development Environment are you using? ModusToolbox 3.0.0 or PSoC Creator 4.4?
Kind Regards
Arpit Srivastav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, Arpit Srivastav
I'm using ModusToolbox 2.4.0 to implement a firmware for CYB06445LQI-S3D42
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's only possible if you use Port8 or Port9, because these ports have the Smart I/O, which allows you to change the routing of the interfaces linked to these ports.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi RodolfoGL,
Thanks for your answer
In our product, port7 is dedicated to SPI. In this case, physical wires should be changed in order to swap pins.
My understanding is right?
Thanks,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That's correct.