Hi All,
I have configured my LPC802 as following before entering in power down mode
- FRO set to 9MHz and set as main clock
- LPOSC_PD is powered and BOD_PD is powered down in PDSLEEPCFG
- Only ACMP is powered down in PDRUNCFG and PDAWAKECFG
- All interrupts wake-up are disabled ==> STARTERP1 and STARTERP0 have the reset value
- All the peripheral clock are disable in SYSAHBCLKCTRL. Except for SYS, ROM, RAM0, Flash
- WKT and WDT clock are disabled in LPOSCCLKEN
- PM set to 0x2
- Write one to the SLEEPDEEP bit in the Arm Cortex-M0+ SCR register
- Use the Arm WFI instruction
With all this configuration, I have a periodic peak current of 5mA each 30ms when watching Power Measurement window.
It looks like something is running in back ground.
Any idea?
Thank a lot for your support.
Best regards,
Emmanuel
Hello,
How about run the power_mode_switch_lpc demo under SDK, does it also have periodic peak current of 5mA each 30ms ?
And what is wake-up source in your project?
BR
Alice
Hi Alice,
1) I don't test demo under SDK.
2) There isn't wake-up source. Everything are disable
Best regards
Emmanuel
Hello emmanuelJJ,
Sorry just from your first description it hard to identify the problem.
BR
Alice