I am using NRF52832 Custom Board and Have to implement deep sleep for 1 minute and have to limit the current consumption to a very minimal value during the sleep cycle
I have just enabled the log and used the below sleep function

I am using NRF52832 Custom Board and Have to implement deep sleep for 1 minute and have to limit the current consumption to a very minimal value during the sleep cycle
I have just enabled the log and used the below sleep function
I have already disconnected the J-Link and measuring the current using power profiler kit by powering the chip on using the kit.
You can disable LOG and printk and try again.
What is the ENABLE_DCDC in your prf.conf?
You could also check that the devices in the device tree have a pinctrl set for the sleep state and that "zephyr,pm-device-runtime-auto;" is set, so that they are set to sleep after initialisation when they are not used:
debug_rs232: &uart0 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&uart0_default>;
pinctrl-1 = <&uart0_sleep>;
pinctrl-names = "default", "sleep";
zephyr,pm-device-runtime-auto;
};
I have seen somewhere that we should enable the dcdc conversion so that the microcontroller would operate in 3.3 V and the current consumption would be limited. I am not sure which uart I am using for RTT Viewer debugger. My setup contains the GND, DIO and CLK pins for flashing the custom board. I am using another NRF Dev Kit. Where should I add power management in my dts file
Uh, I did not want to start a confusing: RTT uses the debugger, no uart needed here.
I mentioned the uart because I do not see your device tree/overlays and your prj.conf and wanted to give you an example where pm-device-runtime-auto is used.
When you have peripherals enabled in the device tree of your custom board or in your overlay (if you are using one), you could check if the peripherals support pm-device-runtime-auto and add the setting there
Hi
Please check out our power optimization guide for some pointers on how to minimize current consumption. Optimizing Power on nRF52 Designs
It seems like a lot of steps are already mentioned by Stefan Schmidt here, but please make sure that logging is disabled, and that any peripherals that might draw power. Please also share how exactly you're measuring current in your project. Are there any other MCUs connected to the nRF52832 that might be drawing power in your design? Are the two SPI peripherals you mention connected and running for example?
Best regards,
Simon