AC162078 Microchip Technology, AC162078 Datasheet - Page 189

HEADER INTRFC MPLAB ICD2 18F1330

AC162078

Manufacturer Part Number
AC162078
Description
HEADER INTRFC MPLAB ICD2 18F1330
Manufacturer
Microchip Technology
Datasheet

Specifications of AC162078

Accessory Type
Transition Header
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
ICD2
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Not applicable / Not applicable

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AC162078
Manufacturer:
MICROCHIP
Quantity:
12 000
19.2
The following steps are needed to set up the LVD
module:
1.
2.
3.
4.
5.
19.3
When the module is enabled, the LVD comparator and
voltage divider are enabled and will consume static cur-
rent. The total current consumption, when enabled, is
specified in electrical specification parameter D022B.
FIGURE 19-2:
 2009 Microchip Technology Inc.
Disable the module by clearing the LVDEN bit
(LVDCON<4>).
Write the value to the LVDL3:LVDL0 bits that
selects the desired LVD trip point.
Enable the LVD module by setting the LVDEN
bit.
Clear the LVD interrupt flag (PIR2<2>) which
may have been set from a previous interrupt.
Enable the LVD interrupt, if interrupts are
desired, by setting the LVDIE and GIE bits
(PIE2<2> and INTCON<7>). An interrupt will not
be generated until the IRVST bit is set.
CASE 1:
CASE 2:
LVD Setup
Current Consumption
Enable LVD
Enable LVD
IRVST
IRVST
LVDIF
LVDIF
V
V
DD
DD
LOW-VOLTAGE DETECT OPERATION
Internal reference is stable
Internal reference is stable
T
T
IRVST
IRVST
LVDIF may not be set
LVDIF cleared in software,
LVDIF remains set since LVD condition still exists
Depending on the application, the LVD module does
not need to be operating constantly. To decrease the
current requirements, the LVD circuitry may only need
to be enabled for short periods where the voltage is
checked. After doing the check, the LVD module may
be disabled.
19.4
The internal reference voltage of the LVD module,
specified in electrical specification parameter D420,
may be used by other internal circuitry, such as the
programmable Brown-out Reset. If the LVD or other
circuits using the voltage reference are disabled to
lower the device’s current consumption, the reference
voltage circuit will require time to become stable before
a low-voltage condition can be reliably detected. This
start-up time, T
of device clock speed. It is specified in electrical
specification parameter 36.
The LVD interrupt flag is not enabled until T
expired and a stable reference voltage is reached. For
this reason, brief excursions beyond the set point may
not be detected during this interval (refer to Figure 19-2).
LVD Start-up Time
PIC18F1230/1330
IRVST
LVDIF cleared in software
, is an interval that is independent
LVDIF cleared in software
V
V
DS39758D-page 189
LVD
LVD
IRVST
has

Related parts for AC162078