I have been working on trying to get the app_uart to go into low power mode to reduce current draw. I have looked on the forum and have not found a clear answer.
I'm running on the PCA10056 and a slightly modified version for the ble_app_uart example.
TLDR Changes to ble_app_uart:
- APP_ADV_DURATION is set to 1000 (So that BLE goes idle after 10Sec)
- BLE_ADV_EVT_IDLE doesn't call sleep_mode_enter(); (so we can see current draw in system_on with no BLE active)
With only the above changes in place we see the following in release mode:
~2mA with BLE advertising
~1.6mA with BLE IDLE (i.e. after BLE_ADV_EVT_IDLE occurs)
1.6mA with no BLE active is very high and my goal was to reduce this into the uA range. What would be the proper way to disable the uart before using nrf_pwr_mgmt_run(); and then reinit after nrf_pwr_mgmt_run();has returned?
Thanks