lpcware

Deep power down mode uses approximately 1mA why?

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by lab1 on Thu Apr 03 01:58:26 MST 2014
I am trying to make an example that will use the Deep Power Down Mode, but my printer uses approximately 1mA. I am not sure if there are errors in my code, or it's my test print that has an error.
Is there anyone who could please look at my code and print(Page2) and tell me if there is something wrong?

Chip LPC11C14

#include "chip.h"
int main(void) {
LPC_SYSCTL->SSP0CLKDIV = 0;
LPC_SYSCTL->SSP1CLKDIV = 0;
LPC_SYSCTL->WDTCLKDIV = 0;

    while(1) {
    LPC_PMU->PCON= (1<<1)|(1<<11);
   SCB->SCR|=(1<<2);
    LPC_SYSCTL->PDRUNCFG &= ~((1<<0) | (1<<1));
    __WFI();
    }
    return 0 ;
}

[img=1024x760]http://s3.postimg.org/p31k2ozw3/Unavngivet.png[/img]

Outcomes