lpcware

Issue with PD0_SLEEP0_HW_ENA register of LPC4357

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by henna on Sun Jul 05 15:55:17 MST 2015
Hi,

I would like to know how to make m0 as a master which puts the system into deep power down mode.

According to the manual both cores can put the system into any of low power down mode if respective register is set, i.e
PD0_SLEEP0_HW_ENA =0x1 for m4 as a master
PD0_SLEEP0_HW_ENA =0x2 for  m0 as a master.

I tested the PMC demo code of LPCOpen to put the system into deep power down mode when m4 is master which works fine, then I copied the code into m0 project and changed the PD0_SLEEP0_HW_ENA =0x2 register setting to make m0 as a master.

Now the result is if I put the system into a deep power down mode it doesn't works as expected.
1) The current consumption in deep power down mode reduces very low than expected.
2) If I press wake-up button, the system does not come out of the deep power down mode.

I would like know that am I missing something to put the system in low power mode using m0 core as master?

Any help or suggestion will be appreciated.

Thank you.

Outcomes