Datasheet
PIC12C5XX
DS40139E-page 40 1999 Microchip Technology Inc.
8.3.1 MCLR ENABLE
This configuration bit when unprogrammed (left in the
‘1’ state) enables the external MCLR
function. When
programmed, the MCLR
function is tied to the internal
V
DD, and the pin is assigned to be a GPIO. See
Figure 8-7. When pin GP3/MCLR
/VPP is configured as
MCLR
, the internal pull-up is always on.
FIGURE 8-7: MCLR SELECT
8.4 P
ower-On Reset (POR)
The PIC12C5XX family incorporates on-chip Power-
On Reset (POR) circuitry which provides an internal
chip reset for most power-up situations.
The on-chip POR circuit holds the chip in reset until
V
DD has reached a high enough level for proper opera-
tion. To take advantage of the internal POR, program
the GP3/MCLR
/VPP pin as MCLR and tie through a
resistor to V
DD or program the pin as GP3. An internal
weak pull-up resistor is implemented using a transistor.
Refer to Table 11-1 for the pull-up resistor ranges. This
will eliminate external RC components usually needed
to create a Power-on Reset. A maximum rise time for
V
DD is specified. See Electrical Specifications for
details.
When the device starts normal operation (exits the
reset condition), device operating parameters (voltage,
frequency, temperature, ...) must be met to ensure
operation. If these conditions are not met, the device
must be held in reset until the operating parameters are
met.
A simplified block diagram of the on-chip Power-On
Reset circuit is shown in Figure 8-8.
GP3/MCLR/VPP
MCLRE
INTERNAL MCLR
WEAK
PULL-UP
The Power-On Reset circuit and the Device Reset
Timer (Section 8.5) circuit are closely related. On
power-up, the reset latch is set and the DRT is reset.
The DRT timer begins counting once it detects MCLR
to be high. After the time-out period, which is typically
18 ms, it will reset the reset latch and thus end the on-
chip reset signal.
A power-up example where MCLR
is held low is
shown in Figure 8-9. V
DD is allowed to rise and
stabilize before bringing MCLR
high. The chip will
actually come out of reset T
DRT msec after MCLR
goes high.
In Figure 8-10, the on-chip Power-On Reset feature is
being used (MCLR
and VDD are tied together or the
pin is programmed to be GP3.). The V
DD is stable
before the start-up timer times out and there is no
problem in getting a proper reset. However, Figure 8-
11 depicts a problem situation where V
DD rises too
slowly. The time between when the DRT senses that
MCLR
is high and when MCLR (and VDD) actually
reach their full value, is too long. In this situation, when
the start-up timer times out, V
DD has not reached the
V
DD (min) value and the chip is, therefore, not
guaranteed to function correctly. For such situations,
we recommend that external RC circuits be used to
achieve longer POR delay times (Figure 8-10).
For additional information refer to Application Notes
“
Power-Up Considerations”
- AN522 and “
Power-up
Trouble Shooting
” - AN607.
Note: When the device starts normal operation
(exits the reset condition), device operating
parameters (voltage, frequency, tempera-
ture, etc.) must be meet to ensure opera-
tion. If these conditions are not met, the
device must be held in reset until the oper-
ating conditions are met.