CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

How to use brownout ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
karti.m



Joined: 07 Jul 2011
Posts: 5

View user's profile Send private message

How to use brownout ?
PostPosted: Wed Dec 21, 2011 4:44 am     Reply with quote

Can anyone explain what is brownout and how to use it?
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Wed Dec 21, 2011 1:13 pm     Reply with quote

the DATA sheet for the pic explains it....
when the dc voltage falls below the brownout point - the pic shuts off and resets itself only after the supply voltage exceeds the brownout voltage set by default or fuses
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Wed Dec 21, 2011 1:24 pm     Reply with quote

Hi,

And, I'll add that 'brownout' detection is useful to ensure an orderly shutdown of your PIC when the power source goes away. The idea is that the PIC is still operating "normally" at the brownout trip point, and resets cleanly at this point before the voltage falls any lower and the PIC (potentially) starts to act erratically (I/O changes, etc.).

I had a project recently that was interpreting a falling supply voltage as a switch closure (switches are wired to pull an input to Gnd when pressed), and that was triggering some unintended EEPROM writes. The problem was totally solved by enabling brownout detection.

John
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group