Hello,
I am trying to reduce the current on the nRF5340 during the distance measurement (dm) sample for BLE ranging.
For current measurement I am using the Power Profiler Kit II. I am measuring via Vout of PPK to "+" from external supply of the nRF5340 and GND to GND. I didn't cut the solder bridge on the current consumption pins.
During ranging, I can clrearly see the peaks and intervals from scanning and advertising, which perfectly match what I have set in the gap.h
Between those ranging intervals, my IDLE current is around 0.7 mA, and I think I can get that way lower, but am unsure how to do so.
I already switched off uart0 in the device tree and configured several power management CONFIGs like CONFIG_PM_DEVICE=y or CONFIG_SERIAL=n. But besides the uart, none of them helped me further reducing the idle current. I also tried to copy as much CONFIGs from the peripheral_lbs example, but that also dind't help. I also disabled other peripherals in the device tree, like leds, buttons, pwm, uarts, i2c or nfc ... but none of them helped. When I'm setting the DK to sys_poweroff(), I am getting approx. 450-500 µA. I also tried to flash the sys_poweroff sample but that gave me the same idle current. Then in the The current is about 500uA when nrf52840 in idle mode thread, it said that you need to turn off CONFIG_SERIAL which I also did, but didn*t help.
So now I am wondering how I can get this current lower, or am I at the minimum possible idle current for this dm example ? Of course I could also reduce the measurement rate or tx power but I first want to try to reduce the idle current as much as I can.
Thank you very much in advance for your help!