Hello,
MCU: 52832
SDK: nRF5_SDK_17.0.2_d674dde
I am currently using ble_app_hrs_freertos_pca10040_s132 as starting point with SEGGER Embedded Studio as debugger. Below is the current consumption sequence with different modifications:
1) ~7.3mA - Original Code
2) ~3.5mA - After adding below code
// Set power mode
err_code = sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
APP_ERROR_CHECK(err_code);
// set dcdc mode
err_code = sd_power_dcdc_mode_set(NRF_POWER_DCDC_ENABLE);
APP_ERROR_CHECK(err_code);
3) ~40uA - After set NRF_LOG_ENABLED to 0
4) ~3.5mA - After creating new task
I am suspecting that there is idle / sleep issue on FreeRTOS after creating a task, same issue happened for NRF log task. Please advise how can I fix this issue and getting a normal current consumption.
Thanks and best regards,
Kevin