Hi,
We are experimenting with Distance Measurement feature a we observed 2 issues.
HW: Custom HW with: CR2032 coin cell -> joulescope -> 40 uF capacity in ceramic caps -> BL652 (nrf52832) module from Ezurio.
SW: NRF connect SDK 2.7.0, custom toolchain (gcc 14.1). Simple app is using extended advertising and distance measurement is enabled.
- DCDC enabled
- CONFIG_PM=y
- CONFIG_PM_DEVICE=y
- CONFIG_DM_MODULE=y
- CONFIG_DM_RANGING_OFFSET_US=10000
- CONFIG_DM_INITIATOR_DELAY_US=1000
- only GPIOs enabled
Higher power consumption During advertising than online profiler expects
Screenshot from joulescope, average power consumption is around 92 uA (top right corner). No DM activity here.
Increased power consumption after distance measurement
When we make power on reflector and several distance measurement are made, power consumption never returns to original value.
To me, it looks like MPSL is started with first DM and then keeps waking MCU even though there is no need for more scheduling.
Green - advertising before DM
Blue - advertising + DM
Purple - advertising after DM
Details of advertising before and after DM (ignore slightly different time scale)