Minimizing System Off current when using PWM

I'm developing with an nRF52832, NCS v2.6.1 and Zephyr 3.5.99

I've been forcing my MCU into System Off when I don't need it to do anything, then triggering it out of that state with a GPIO signal. That's working OK and I'm getting sub-uA current drain in my nRF52.

Ive just added Stepper motor control functionality using the pwm0 device, and am now noticing significant current (in the mA range!) of current during System OFF.

Do I need to explicitly disable the pwm0 device prior to calling sys_poweroff()?

if so, how do I do this when I'm using 4 channels on pwm0. I've got these predefined in my .dts file for my custom board.

Thanks,

Mike

Related