View previous topic :: View next topic |
Author |
Message |
w2drz
Joined: 27 Dec 2006 Posts: 55 Location: Western New York - USA
|
#fuses BROWNOUT what is the default setting? |
Posted: Mon Mar 31, 2008 5:09 pm |
|
|
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 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Mar 31, 2008 5:22 pm |
|
|
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
|
|
Posted: Mon Mar 31, 2008 5:42 pm |
|
|
Hi,
18F4580 PICC
and 3.249
tom |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Mar 31, 2008 5:49 pm |
|
|
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
|
|
Posted: Mon Mar 31, 2008 6:57 pm |
|
|
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 |
|
|
|