PIC16F737-I/SP Microchip Technology Inc., PIC16F737-I/SP Datasheet - Page 179

no-image

PIC16F737-I/SP

Manufacturer Part Number
PIC16F737-I/SP
Description
28 PIN, 7 KB FLASH, 368 RAM, 25 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC16F737-I/SP

A/d Inputs
5-Channel, 8-Bit
Cpu Speed
5 MIPS
Eeprom Memory
0 Bytes
Input Output
25
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
7K Bytes
Ram Size
192 Bytes
Speed
20 MHz
Timers
2-8-bit, 1-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device
15.10 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
constantly 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.
FIGURE 15-6:
 2004 Microchip Technology Inc.
Internally Generated
Internally Generated
Reference Stable
Reference Stable
CASE 1:
CASE 2:
Enable LVD
Enable LVD
LVDIF
LVDIF
V
V
DD
DD
LOW-VOLTAGE DETECT WAVEFORMS
T
T
IRVST
IRVST
LVDIF may not be set
The following steps are needed to set up the LVD
module:
1.
2.
3.
4.
5.
6.
Figure 15-6 shows the typical waveforms that the LVD
module may be used to detect.
LVDIF cleared in software,
LVDIF remains set since LVD condition still exists
Write the value to the LVDL3:LVDL0 bits
(LVDCON register) which selects the desired
LVD trip point.
Ensure that LVD interrupts are disabled (the
LVDIE bit is cleared or the GIE bit is cleared).
Enable the LVD module (set the LVDEN bit in
the LVDCON register).
Wait for the LVD module to stabilize (the IRVST
bit to become set).
Clear the LVD interrupt flag, which may have
falsely become set, until the LVD module has
stabilized (clear the LVDIF bit).
Enable the LVD interrupt (set the LVDIE and the
GIE bits).
LVDIF cleared in software
PIC16F7X7
LVDIF cleared in software
DS30498C-page 177
V
V
LVD
LVD

Related parts for PIC16F737-I/SP