Code that is working on the nRF52832 does not work the same when recompiled for the nRF52833

I'm trying to migrate from the nRF52832 to the nRF52833 using the same exact code, but the nRF52833 does not go into low power mode. The nRF52832 consumes 100uA with the nRF52833 consuming 5mA, again running the same code. What needs to change when migrating from the nRF52832 to the nRF52833?

  • Hi.

    You didn't give enough information.

    What IDE do you use? What is config...What boards do you use...

  • Hello,

    Assuming you are working with the nRF5 SDK, you can compare a 'pca10040' project which is configured for the nRF52 DK against a PCA10100 to see what the differences are. E.g. /nRF5_SDK_17.1.0_ddde560/examples/ble_peripheral/ble_app_uart/pca10040/s132 vs. /nRF5_SDK_17.1.0_ddde560/examples/ble_peripheral/ble_app_uart/pca10100/s140/ses.

    The main ones are:

    1. Different Softdevice variants. See compatibility matrix here: SDKs and SoftDevices

    2. Linker settings

    3. Startup files

    If you are using the nRF connect SDK, then it should be sufficient to just re-build the project with for your nRF52833 board. The build system will link in the object files appropriate for the board you use. 

    5 mA may be and indication of the CPU is not entering sleep. A suggestion would be to debug the application to see if it hangs somewhere in an assert or a fault handler.

    Best regards,

    Vidar

Related