Part Number: CC2340R2
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
Hello,
SDK LPF3 8.10.1.2
According to datasheet, the expected power consumption in shutdown is the same as in reset (165nA).
As a reference, when I hold CC2340 in reset, my board input current is stable (no activity whatsoever) at 125uA.
If I release reset, the CC2340 toggles a pin for a few seconds and then calls Power_Shutdown(0,0), all of this in an infinite loop. The pin stops toggeling so that means the call to Power_shutdown did not return (which is ok).
The pin toggled is not connected and left as an output when going to shutdown. All other pins are left in their default reset state from the start. I assume they are all inputs and they are all pulled down externally.
However, the input current shows periodic current peaks with a much higher current floor (don't mind the extra noise):

Peaks period is roughly 17ms.
These periodic peaks are not present while in reset. Moreover, as there is a pullup on the reset line, current draw should actually be higher in reset.
Any clue to what's going on?
Power_init() is called at beginning of main(). Are there some registers (or library calls) I should configure before calling Power_Shutdown()?
Regards