PIC12F1516 MICROCHIP [Microchip Technology], PIC12F1516 Datasheet - Page 70

no-image

PIC12F1516

Manufacturer Part Number
PIC12F1516
Description
28/40/44-Pin Flash Microcontrollers with nanoWatt XLP Technology
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet
PIC16(L)F1516/7/8/9
6.3
The Low-Power Brown-Out Reset (LPBOR) is an
essential part of the Reset subsystem. Refer to
Figure 6-1
modules.
The LPBOR is used to monitor the external V
When too low of a voltage is detected, the device is
held in Reset. When this occurs, a register bit (BOR) is
changed to indicate that a BOR Reset has occurred.
The same bit is set for both the BOR and the LPBOR.
Refer to
6.3.1
The LPBOR is controlled by the LPBOR bit of
Configuration Word 2. When the device is erased, the
LPBOR module defaults to disabled.
6.3.1.1
The output of the LPBOR module is a signal indicating
whether or not a Reset is to be asserted. This signal is
to be OR’d together with the Reset signal of the BOR
module to provide the generic BOR signal which goes
to the PCON register and to the power control block.
6.4
The MCLR is an optional external input that can reset
the device. The MCLR function is controlled by the
MCLRE bit of Configuration Word 1 and the LVP bit of
Configuration Word 2
TABLE 6-2:
6.4.1
When MCLR is enabled and the pin is held low, the
device is held in Reset. The MCLR pin is connected to
V
The device has a noise filter in the MCLR Reset path.
The filter will detect and ignore small pulses.
6.4.2
When MCLR is disabled, the pin functions as a general
purpose input and the internal weak pull-up is under
software control. See
for more information.
DS41452B-page 70
DD
Note:
through an internal weak pull-up.
MCLRE
0
1
x
Register
Low-Power Brown-out Reset
(LPBOR)
MCLR
to see how the BOR interacts with other
ENABLING LPBOR
MCLR ENABLED
A Reset does not drive the MCLR pin low.
MCLR DISABLED
LPBOR Module Output
6-2.
MCLR CONFIGURATION
Section 12.6 “PORTE Registers”
(Register
LVP
0
0
1
4-2).
Disabled
Enabled
Enabled
MCLR
DD
pin.
Preliminary
6.5
The Watchdog Timer generates a Reset if the firmware
does not issue a CLRWDT instruction within the time-out
period. The TO and PD bits in the STATUS register are
changed to indicate the WDT Reset. See
“Watchdog Timer”
6.6
A RESET instruction will cause a device Reset. The RI
bit in the PCON register will be set to ‘0’. See
for default conditions after a RESET instruction has
occurred.
6.7
The device can reset when the Stack Overflows or
Underflows. The STKOVF or STKUNF bits of the PCON
register indicate the Reset condition. These Resets are
enabled by setting the STVREN bit in Configuration
Word 2.
Reset”
6.8
Upon exit of Programming mode, the device will
behave as if a POR had just occurred.
6.9
The Power-up Timer optionally delays device execution
after a BOR or POR event. This timer is typically used to
allow V
running.
The Power-up Timer is controlled by the PWRTE bit of
Configuration Word 1.
6.10
Upon the release of a POR or BOR, the following must
occur before the device will begin executing:
1.
2.
3.
The total time-out will vary based on oscillator configu-
ration and
Section 5.0 “Oscillator Module (With Fail-Safe
Clock Monitor)”
The Power-up Timer and oscillator start-up timer run
independently of MCLR Reset. If MCLR is kept low long
enough, the Power-up Timer and oscillator start-up
timer will expire. Upon bringing MCLR high, the device
will begin execution immediately (see
is useful for testing purposes or to synchronize more
than one device operating in parallel.
Power-up Timer runs to completion (if enabled).
Oscillator start-up timer runs to completion (if
required for oscillator source).
MCLR must be released (if enabled).
DD
for more information.
Watchdog Timer (WDT) Reset
RESET Instruction
Stack Overflow/Underflow Reset
Programming Mode Exit
Power-Up Timer
Start-up Sequence
See
to stabilize before allowing the device to start
Power-up
Section 3.4.2
for more information.
for more information.
 2011 Microchip Technology Inc.
Timer
“Overflow/Underflow
configuration.
Figure
Section 10.0
6-3). This
Table 6-4
See

Related parts for PIC12F1516