Hello,
I have an nRF24 example project in VSCode using Platform IO extension with two different target boards. The Arduino Uno build works fine but the Arduino Due build does not run correctly. I have observed the SPI signals from the Due and I do not see any activity, the sketch reports the radio is not responding.
My platformio.ini looks like this:
default_envs = due
[env:uno]
platform = atmelavr
board = uno
framework = arduino
lib_deps = nrf24/RF24@^1.4.5
monitor_speed = 115200
upload_port = COM12
[env:due]
platform = atmelsam
board = due
framework = arduino
lib_deps = nrf24/RF24@^1.4.5
monitor_speed = 115200
upload_port = COM13
Is there anything more I need?
The SPI of the radio is patched into the 6-pin connector of the Due, the one next to the MCU.