Hi, I was wondering if it is some easy way to turn off that the system goes into system off mode after a while for ble_app_pwr_profiling?
I would also like to test it with DC/DC converter, how do I do then?
BR Magnus
Hi, I was wondering if it is some easy way to turn off that the system goes into system off mode after a while for ble_app_pwr_profiling?
I would also like to test it with DC/DC converter, how do I do then?
BR Magnus
In on_ble_evt()
, you have a couple of err_code = sd_power_system_off()
at BLE_GAP_EVT_DISCONNECTED and BLE_GAP_EVT_TIMEOUT. I guess the one in the timeout is what you mean by "after a while", so just remove that.
For the DCDC there is a SoftDevice call to sd_power_dcdc_mode_set(dcdc_mode)
you can use, and pass it either NRF_POWER_DCDC_MODE_OFF, NRF_POWER_DCDC_MODE_ON or NRF_POWER_DCDC_MODE_AUTOMATIC after the SoftDevice is initialised.
Thank you Magnus for your good questions. In order to make it easier for others to find your questions and potential answers, it is better to post unrelated questions on a new thread. Thanks a lot.
Thank you Magnus for your good questions. In order to make it easier for others to find your questions and potential answers, it is better to post unrelated questions on a new thread. Thanks a lot.