English
Language : 

PIC24FV16KM204 Datasheet, PDF (84/336 Pages) Microchip Technology – General Purpose, 16-Bit Flash Microcontroller with XLP Technology Data Sheet
PIC24FV16KM204 FAMILY
7.4.2 SOFTWARE ENABLED BOR
When BOREN<1:0> = 01, the BOR can be enabled or
disabled by the user in software. This is done with the
control bit, SBOREN (RCON<13>). Setting SBOREN
enables the BOR to function as previously described.
Clearing the SBOREN disables the BOR entirely. The
SBOREN bit operates only in this mode; otherwise, it is
read as ‘0’.
Placing BOR under software control gives the user the
additional flexibility of tailoring the application to its
environment without having to reprogram the device to
change the BOR configuration. It also allows the user to
tailor the incremental current that the BOR consumes.
While the BOR current is typically very small, it may have
some impact in low-power applications.
Note:
Even when the BOR is under software con-
trol, the Brown-out Reset voltage level is
still set by the BORV<1:0> Configuration
bits; it can not be changed in software.
7.4.3 DETECTING BOR
When BOR is enabled, the BOR bit (RCON<1>) is
always reset to ‘1’ on any BOR or POR event. This
makes it difficult to determine if a BOR event has
occurred just by reading the state of BOR alone. A
more reliable method is to simultaneously check the
state of both POR and BOR. This assumes that the
POR and BOR bits are reset to ‘0’ in the software
immediately after any POR event. If the BOR bit is ‘1’
while POR is ‘0’, it can be reliably assumed that a BOR
event has occurred.
7.4.4 DISABLING BOR IN SLEEP MODE
When BOREN<1:0> = 10, BOR remains under hardware
control and operates as previously described. However,
whenever the device enters Sleep mode, BOR is
automatically disabled. When the device returns to any
other operating mode, BOR is automatically re-enabled.
This mode allows for applications to recover from
brown-out situations, while actively executing code,
when the device requires BOR protection the most. At
the same time, it saves additional power in Sleep mode
by eliminating the small incremental BOR current.
Note:
BOR levels differ depending on device type;
PIC24FV16KM204 devices are at different
levels than those of PIC24F16KM204
devices. See Section 27.0 “Electrical
Characteristics” for BOR voltage levels.
DS33030A-page 84
Advance Information
 2013 Microchip Technology Inc.