Hi,
I a have a firmware which was developed on a PCA10056 development board. We attached an external sensor which can produce an interrupt.
The interrupt is used to wake up the system from sd_power_system_off. On the development in release mode the CPU sleeps correctly and can be woken up. On the real product PCB the code is exactly the same. Only the Pins are changed. But I can see the interrupt toggling and producing a Log message on both systems but on the real PCB the CPU does not wake up.
Again the code base is exactly the same, both are compiled without DEBUG etc.. The only difference is that the PCA code included the board.c files.
The strange thing is that despite other notifications in this forum the PCA board can be brought to system sleep with the Debugger console connected. And it still shows an error return value but works as expected. For the real PCB the same error message is notified but the application crashes / freezes at the end.
Any suggestion would be valuable.
Kind regards,
PS: SDK 17.0.1 was used and the PCB module was BMD340 of ublox without external oszillator. Same clock settings were used for PCA10056.