a-smiggle / ruuvitag_fw_zephyr

Ruuvitag FW using Zephyr OS
MIT License
10 stars 5 forks source link

Power Usage #10

Open theBASTI0N opened 3 years ago

theBASTI0N commented 3 years ago

Currently the power usage of the ruuvitag is sitting at between 56 to 60 µA.

Ideally the power usage would be similar to the current Ruuvitag FW which is drawing 20 uA.

theBASTI0N commented 3 years ago

DCDC checks come back with it benig enabled.

theBASTI0N commented 3 years ago

Power Usage tests to be conducted:

ojousima commented 3 years ago

Are you using interrupts on GPIO? If yes, you should check if you're using per-port or per-pin interrupts. On Nordic SDK nrf_drv_gpiote_in_config_t.hi_accuracy option changes between port/pin mode. If interrupts are enabled per pin the current consumption is roughly 15 uA more than in per port mode.

It's also useful to check the floor of power consumption, is something running cyclically with high consumption or is the baseline higher than expected. For example BME oversampling leads to higher consumption at BME sampling interval.