Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

PIC18F010T View Datasheet(PDF) - Microchip Technology

Part Name
Description
MFG CO.
PIC18F010T
Microchip
Microchip Technology Microchip
'PIC18F010T' PDF : 176 Pages View PDF
PIC18F010/020
11.2 Operation
Depending on the power source for the device voltage,
the voltage normally decreases relatively slowly. This
means that the LVD module does not need to be con-
stantly operating. To decrease the current require-
ments, the LVD circuitry only needs to be enabled for
short periods, where the voltage is checked. After
doing the check, the LVD module may be disabled.
Each time that the LVD module is enabled, the circuitry
requires some time to stabilize. After the circuitry has
stabilized, all status flags may be cleared. The module
will then indicate the proper state of the system.
The following steps are needed to set up the LVD
module:
1. Unlock the LVDCON register using the unlock
sequence described in Section 12.4.
2. Write the value to the LVDL3:LVDL0 bits
(LVDCON register), which selects the desired
LVD Trip Point.
3. Ensure that LVD interrupts are disabled (the
LVDIE bit is cleared or the GIE bit is cleared).
4. Enable the LVD module (set the LVDEN bit in
the LVDCON register).
5. Wait for the LVD module to stabilize (the IRVST
bit to become set).
6. Clear the LVD interrupt flag, which may have
falsely become set until the LVD module has
stabilized (clear the LVDIF bit).
7. Enable the LVD interrupt (set the LVDIE and the
GIE bits).
Figure 11-3 shows typical waveforms that the LVD
module may be used to detect.
FIGURE 11-3:
CASE 1:
VDD
LOW VOLTAGE DETECT WAVEFORMS
LVDIF may not be set
LVDIF
Enable LVD
Internally Generated
Reference Stable
50 ms
VLVD
LVDIF cleared in software
CASE 2:
VDD
LVDIF
Enable LVD
Internally Generated
Reference Stable
VLVD
50 ms
LVDIF cleared in software
LVDIF cleared in software,
LVDIF remains set since LVD condition still exists
DS41142A-page 80
Preliminary
2001 Microchip Technology Inc.
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]