Skip to main content
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
Results tagged with
Search options not deleted user 192830

MPLAB® X IDE is an IDE to develop applications for Microchip microcontrollers and digital signal controllers.

1 vote

PIC16F1519 gets stuck when reading UART (RCIF never goes to 1)

From my experience with similar (PIC16F145x) parts. According to the datasheet, the FERR and OERR bits of the RCSTA register are read-only and thus cannot be cleared as you do in uart.c. The datasheet …
user85471's user avatar
  • 767
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), …
user85471's user avatar
  • 767
0 votes
Accepted

Low power sleep with WDT wakeup on PIC32MM

It appears the key is clearing the the WDTS flag in RNMICON. According to the datasheet, this should be zero at reset, so the function should work once (but doesn't appear to). The below code works ( …
user85471's user avatar
  • 767