Dear Nordic Team,
I am working on a custom board using the nRF5340, and I have configured SPI with the following pins:
- SPIM_SCK → P0.08
- SPIM_MOSI → P0.09
- SPIM_MISO → P0.10
- SPIM_CS → P0.11
- Button → P1.01
However, I noticed that P0.10, P0.11, and P1.01 are by default assigned to /nrf-gpio-forwarder/uart functionality.
To disable this, I added the following in my board.overlay:
status = "disabled";
/delete-node/ uart;
};
I am also using BLE in my application.
Issue:
When I try to communicate with the SPI device:
- SCK and CS lines are toggling as expected
- MISO (P0.10) shows no activity
- The SPI device is not detected
Questions:
- Can P0.10 be reliably used as SPI MISO on the nRF5340?
- Is disabling
gpio_fwdas shown above sufficient to free these pins and is miso will work with p010 every time? - Do I need to disable anything additional on the network core to permanently release these pins from UART/gpio-forwarder usage?
Any guidance on properly configuring these pins for SPI (especially in a dual-core + BLE setup) would be greatly appreciated.
Thank you!