PIC18F6585-I/L Microchip Technology, PIC18F6585-I/L Datasheet - Page 274

Microcontrollers (MCU) 48KB 3328 RAM 52 I/O

PIC18F6585-I/L

Manufacturer Part Number
PIC18F6585-I/L
Description
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer
Microchip Technology
Datasheet

Specifications of PIC18F6585-I/L

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
I2C/SPI/AUSART/CAN
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
53
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, ICE4000, DV164136, DM183032
Minimum Operating Temperature
- 40 C
On-chip Adc
12-ch x 10-bit
Program Memory Type
Flash
Program Memory Size
48 KB
Package / Case
PLCC-68
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PIC18F6585/8585/6680/8680
22.2
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 22-4:
DS30491C-page 272
Internally Generated
Internally Generated
CASE 2:
CASE 1:
Reference Stable
Reference Stable
Operation
Enable LVD
Enable LVD
LVDIF
LVDIF
V
V
DD
DD
LOW-VOLTAGE DETECT WAVEFORMS
T
T
IVRST
IVRST
LVDIF may not be set
The following steps are needed to set up the LVD
module:
1.
2.
3.
4.
5.
6.
Figure 22-4 shows 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
 2004 Microchip Technology Inc.
LVDIF cleared in software
V
V
LVD
LVD

Related parts for PIC18F6585-I/L