
mgonsalv
-
Content Count
5 -
Joined
-
Last visited
Reputation Activity
-
mgonsalv reacted to spirilis in Excessive current useage when analogReference is not DEFAULT
Turn off REFON when you turn off ADC10ON.
Sent from my Galaxy Note II with Tapatalk 4
-
mgonsalv reacted to grahamf72 in Excessive current useage when analogReference is not DEFAULT
In your main loop, put your call to BIS_SR... inside your while(1) loop, and take the call to BIS_SR out of your interrupt. I think it is ending up in your while loop, and not going back to LPM. Also, it probably wouldn't hurt to explicitly clear REFON bit. I know the family guide says the reference is automatically turned off, but it can't hurt.
Sent from my iPad using Tapatalk