apache / mynewt-nimble

Apache mynewt
https://mynewt.apache.org/
Apache License 2.0
664 stars 384 forks source link

Power consumption during non-connectable advertising #868

Open mohit3112 opened 3 years ago

mohit3112 commented 3 years ago

I am using a NRF51822 chip in DC/DC mode. with adv interval 150ms, 0 dbm tx power ,and BLE_LP_CLOCK 1. I am getting a current consumption of 1.2mA.

I tried changing the BLE_LL_TX_PWR_DBM to -10 but i see no impact. Do we have any power numbers for nimble + Nrf51/Nrf52 in different modes ?

haukepetersen commented 3 years ago

Hej, as it happens, I just recorded some numbers for the nrf52dk running RIOT this morning. All measured with the Nordic power profiler kit directly attached to the devkit:

local_20201030 log_pwr_adv

The plot shows 7 measurements:

Hope this gives you some orientation?!

vbelloir commented 3 years ago

Hi @haukepetersen , thanks for those measurements!

have you improved then simce October '20?

If I play with nrf online power estimator, with a 200ms connectable, with 15 bytes payload, I get 58µA. image

On your graph, it seems that it is the green line, at about 350µA isn't it?

I know that this estimator uses SoftDevice instead of nimble.

sjanc commented 3 years ago

Floor current is most likely due to other peripherals (UART, LEDs etc) being powered