PIC18F2431-I/SP Microchip Technology Inc., PIC18F2431-I/SP Datasheet - Page 263

no-image

PIC18F2431-I/SP

Manufacturer Part Number
PIC18F2431-I/SP
Description
Microcontroller; 16 KB Flash; 768 RAM; 256 EEPROM; 24 I/O; 28-Pin-SPDIP
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F2431-I/SP

A/d Inputs
5-Channel, 10-Bit
Cpu Speed
10 MIPS
Eeprom Memory
256 Bytes
Input Output
24
Interface
I2C/SPI/USART
Memory Type
Flash
Number Of Bits
8
Package Type
28-pin SPDIP
Programmable Memory
16K Bytes
Ram Size
768 Bytes
Speed
40 MHz
Timers
1-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part Electrostatic Device

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2431-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
PIC18F2431-I/SP
Quantity:
5
21.0
In many applications, the ability to determine if the
device voltage (V
is a desirable feature. A window of operation for the
application can be created, where the application
software can do “housekeeping tasks” before the
device voltage exits the valid operating range. This can
be done using the Low-Voltage Detect module (LVD).
This module is a software programmable circuitry,
where a device voltage trip point can be specified.
When the voltage of the device becomes lower then the
specified point, an interrupt flag is set. If the interrupt is
enabled, the program execution will branch to the
interrupt vector address and the software can then
respond to that interrupt source.
The Low-Voltage Detect circuitry is completely under
software control. This allows the circuitry to be turned
off by the software, which minimizes the current
consumption for the device.
Figure 21-1 shows a possible application voltage curve
(typically for batteries). Over time, the device voltage
decreases. When the device voltage equals voltage V
the LVD logic generates an interrupt. This occurs at
time T
FIGURE 21-1:
 2003 Microchip Technology Inc.
A
. The application software then has the time,
LOW-VOLTAGE DETECT
DD
V
V
) is below a specified voltage level
A
B
TYPICAL LOW-VOLTAGE DETECT APPLICATION
Time
PIC18F2331/2431/4331/4431
T
A
Preliminary
A
T
,
B
until the device voltage is no longer in valid operating
range, to shut down the system. Voltage point V
minimum valid operating voltage specification. This
occurs at time T
time for shutdown.
The block diagram for the LVD module is shown in
Figure 21-2. A comparator uses an internally gener-
ated reference voltage as the set point. When the
selected tap output of the device voltage crosses the
set point (is lower than), the LVDIF bit is set.
Each node in the resistor divider represents a “trip
point” voltage. The “trip point” voltage is the minimum
supply voltage level at which the device can operate
before the LVD module asserts an interrupt. When the
supply voltage is equal to the trip point, the voltage
tapped off of the resistor array is equal to the 1.2V
internal reference voltage generated by the voltage
reference module. The comparator then generates an
interrupt signal setting the LVDIF bit. This voltage is
software programmable to any one of 16 values (see
Figure 21-2). The trip point is selected by programming
the LVDL3:LVDL0 bits (LVDCON<3:0>).
Legend:
B
. The difference T
V
V
A
B
= LVD trip point
= Minimum valid device
operating voltage
DS39616B-page 261
B
– T
A
is the total
B
is the

Related parts for PIC18F2431-I/SP