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 CCS Technical Support

#fuses BROWNOUT what is the default setting?

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



Joined: 27 Dec 2006
Posts: 55
Location: Western New York - USA

View user's profile Send private message Visit poster's website

#fuses BROWNOUT what is the default setting?
PostPosted: Mon Mar 31, 2008 5:09 pm     Reply with quote

Hi,

#fuses BROWNOUT

Do not find a default for this in what I have looked at.

Using this with out a BORV setting what is the default setting??
Or should there always be a borv?? setting used.

Fuses: BORV21,BORV28,BORV43,BORV46
if so what criteria determines the BORV setting to use?

As I understand the info as I read it then a PICC reset is issued ??

may not be what is desired for my system.

I have a interrupt that looks at the 13v input and when it is below 9 volts does a interrupt to save critical operating data to eeprom before the logic is in a error condition and do NOT want the PICC reset unless the 13 volts is restored, this is taken care of in the routine fine.


tom Rolling Eyes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 31, 2008 5:22 pm     Reply with quote

Quote:
Using this with out a BORV setting what is the default setting??

Tell us your PIC and your compiler version.
w2drz



Joined: 27 Dec 2006
Posts: 55
Location: Western New York - USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Mar 31, 2008 5:42 pm     Reply with quote

Hi,

18F4580 PICC

and 3.249

tom
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Mar 31, 2008 5:49 pm     Reply with quote

Compile this test program and then look at the bottom of the .LST file.
It shows the configuration bits that the compiler set, and you'll be able to
see what the default brownout voltage is. The .LST file is in your project
directory after you do a successful compilation.
Code:
#include <18F4580.H>
#fuses XT,NOWDT,PUT,BROWNOUT,NOLVP
#use delay(clock=4000000)

//===========================
void main()
{

while(1);
}
w2drz



Joined: 27 Dec 2006
Posts: 55
Location: Western New York - USA

View user's profile Send private message Visit poster's website

PostPosted: Mon Mar 31, 2008 6:57 pm     Reply with quote

Hi PCM,

Interesting

I thank you for the new lesson,
when in the 7th decade age it shows can still learn new things.

Thank you.
tom

Word 2: 1E1E BROWNOUT NOWDT BORV21 PUT WDT32768
Quote:
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