RP2040: Callback not triggered and device crashes
| Parameter | Value |
|---|---|
| Model | Arduino Nano RP2040 Connect |
| Power Source | USB |
| Controller | PS4 DualShock 4 V2 |
| BT-Chipset | NINA WL102 |
| Bluepad32-FW Version | 3.1.0 |
| Bluepad32 Library Version | 1.1.0 |
| Bluepad32 Library Source | Arduino IDE |
| Arduino Sketch | Gamepad.ino (Bluepad32 example file from library 1.1.0) |
| Development Environment | Arduino IDE 1.8.19 |
| Development Machine | MacBook Pro (14", 2021), Apple M1 Pro |
| Development O/S | macOS Monterey Version 12.3.1 |
Behaviour
After boot, the device shows the output on serial but does not show any firmware version. When pairing/connecting the PS4 DualShock controller, the controller indicates a blue LED and seems to be connected.
When restarting the RP2040, it raises the callback and then ultimately crashes (orange LED). The crash requires the RP2040 to be reset (tapping the reset-button twice) and flashing it again.
Feel free to let me know if there are any additional test parameters you need or any assistance with testing.
Many thanks in advance and greetings from Germany!
Jan



