This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

how can adjust to dozens of uA (with freertos)

Chip: NRF52832; SDK: 13.0.0 Softdevice: s132_nrf52_5.0.0; Routines: ble_app_hrs_freertos; Configuration: Minimum system board, broadcast interval 1000ms; Question: Broadcast power consumption of about 800uA or so, power consumption is too high, how can adjust to dozens of uA (with freertos);

Parents
  • I also face this problem (around 800µA of current consumption), using FreeRTOS example on my custom board design (SDK 12.0.2 Softdevice s132 3.1.0, nRF52832 QFAAB0).

    I removed any advertised BLE service, disabled NRF LOG module, applied the diff @Aryan just provided, and the FPU irq handler fix without success. My freeRTOSConfig file features :

    #define configUSE_TICKLESS_IDLE 1
    #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG 1
    ...
    #define configUSE_IDLE_HOOK 1
    #define configUSE_TICK_HOOK 0
    

    I also tried another example without FreeRTOS (ble_app_template), my current consuption is brought down to around 30µA.

    I off course detach the debugger and power cycle the board before testing current consumption.

    Do you have any idea what's going on ?

Reply
  • I also face this problem (around 800µA of current consumption), using FreeRTOS example on my custom board design (SDK 12.0.2 Softdevice s132 3.1.0, nRF52832 QFAAB0).

    I removed any advertised BLE service, disabled NRF LOG module, applied the diff @Aryan just provided, and the FPU irq handler fix without success. My freeRTOSConfig file features :

    #define configUSE_TICKLESS_IDLE 1
    #define configUSE_TICKLESS_IDLE_SIMPLE_DEBUG 1
    ...
    #define configUSE_IDLE_HOOK 1
    #define configUSE_TICK_HOOK 0
    

    I also tried another example without FreeRTOS (ble_app_template), my current consuption is brought down to around 30µA.

    I off course detach the debugger and power cycle the board before testing current consumption.

    Do you have any idea what's going on ?

Children
Related