From PICLIST@MITVMA.MIT.EDU Thu Nov 14 14:39:26 2002 Received: from cherry.ease.lsoft.com [209.119.0.109] by dpmail10.doteasy.com with ESMTP (SMTPD32-7.13) id A61E17AB00AE; Thu, 14 Nov 2002 14:39:26 -0800 Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by cherry.ease.lsoft.com (LSMTP for Digital Unix v1.1b) with SMTP id <10.007D9934@cherry.ease.lsoft.com>; Thu, 14 Nov 2002 17:25:29 -0500 Received: from MITVMA.MIT.EDU by MITVMA.MIT.EDU (LISTSERV-TCP/IP release 1.8d) with spool id 3434 for PICLIST@MITVMA.MIT.EDU; Thu, 14 Nov 2002 17:25:23 -0500 Received: from MITVMA (NJE origin SMTP@MITVMA) by MITVMA.MIT.EDU (LMail V1.2d/1.8d) with BSMTP id 3722; Thu, 14 Nov 2002 17:24:02 -0500 Received: from unlserve.unl.edu [129.93.1.130] by mitvma.mit.edu (IBM VM SMTP Level 320) via TCP with ESMTP ; Thu, 14 Nov 2002 17:24:01 EST X-Comment: mitvma.mit.edu: Mail was sent by unlserve.unl.edu Received: from 129.93.212.111 (pcp036055pcs.unl.edu [129.93.212.111]) by unlserve.unl.edu (AIX4.3/8.9.3/8.9.2) with ESMTP id QAA49426 for ; Thu, 14 Nov 2002 16:23:59 -0600 X-Mailer: The Bat! (v1.61) Educational X-Priority: 3 (Normal) References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <102766294222.20021114162330@mtptech.com> Date: Thu, 14 Nov 2002 16:23:30 -0600 Reply-To: Mike Poulton Sender: pic microcontroller discussion list From: Mike Poulton Organization: MTP Technologies Subject: Re: [PIC]: Now, exactly what use is the BOR bit? To: PICLIST@MITVMA.MIT.EDU In-Reply-To: X-RCPT-TO: Status: R X-UIDL: 277600523 X-Evolution-Source: pop://mailinglist%40farcite.net@mail.farcite.net/ X-Evolution: 000006ef-0000 llile@SALTONUSA.COM wrote: > The BOR bit, bit 0 of the PCON register in the 16F core, is purportedly > used to detect brownout conditions. > It is also "Unknown on POR" Now, if you start up your PIC, and test BOR > to find out if you were in a brownout, but it is in an unknown state, then > what use is it? BOR and POR are different events. It is unknown after POR (startup from zero voltage), but known after a BOR (restart due to low voltage). So after a POR (initial startup), it is in an unknown state. You then clear it so it is in a known state. If a BOR occurs, it will be set. I think. Right? -- Mike Poulton mpoulton@mtptech.com MTP Technologies KC0LLX -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics