Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Use this tag for questions concerning low power sleep states, eg. a battery powered circuit waiting for an external event to happen.
2
votes
1
answer
1k
views
Low power sleep with WDT wakeup on PIC32MM
I'm trying to put a PIC32MM0256GPM028 into sleep mode and have it woken up by the Sleep Mode Watchdog Timer (say 1/4 second later- adjustable by SWDTPS anyway). … Once it goes to sleep (current drops), it just stays there. …
0
votes
Accepted
Low power sleep with WDT wakeup on PIC32MM
The below code works (ie sleep(1); sleeps for 1 WDT period), although it may still have some unnecessary lines in it. … void sleep(uint32_t t){
SYSKEY = 0x0;
SYSKEY = 0xAA996655; //unlock
SYSKEY = 0x556699AA;
//OSCCONbits.SLPEN=0; //enable idle
OSCCONbits.SLPEN= …