PIC18F65K90-I/MR Microchip Technology, PIC18F65K90-I/MR Datasheet - Page 403

32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE

PIC18F65K90-I/MR

Manufacturer Part Number
PIC18F65K90-I/MR
Description
32kB Flash, 2kB RAM, 1kB EE, NanoWatt XLP, LCD 64 QFN 9x9x0.9mm TUBE
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of PIC18F65K90-I/MR

Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Program Memory Type
Flash
Program Memory Size
32 KB
Data Ram Size
2 KB
Interface Type
I2C, SPI
Maximum Clock Frequency
64 MHz
Number Of Timers
8
Operating Supply Voltage
1.8 V to 5.5 V
Maximum Operating Temperature
+ 125 C
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Minimum Operating Temperature
- 40 C
On-chip Adc
12 bit, 16 Channel
Core Processor
PIC
Core Size
8-Bit
Speed
64MHz
Connectivity
I²C, LIN, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
53
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-VFQFN Exposed Pad
Lead Free Status / Rohs Status
 Details
26.2
To set up the HLVD module:
1.
2.
3.
4.
5.
26.3
When the module is enabled, the HLVD comparator
and voltage divider are enabled and consume static
current. The total current consumption, when enabled,
is specified in electrical specification Parameter
(Table
FIGURE 26-2:
 2009-2011 Microchip Technology Inc.
Note:
Select the desired HLVD trip point by writing the
value to the HLVDL<3:0> bits.
Set the VDIRMAG bit to detect high voltage
(VDIRMAG = 1 ) or low voltage (VDIRMAG = 0 ).
Enable the HLVD module by setting the
HLVDEN bit.
Clear the HLVD interrupt flag (PIR2<2>), which
may have been set from a previous interrupt.
If interrupts are desired, enable the HLVD
interrupt by setting the HLVDIE and GIE bits
(PIE2<2> and INTCON<7>, respectively).
An interrupt will not be generated until the
IRVST bit is set.
CASE 1:
CASE 2:
31-10).
HLVD Setup
Current Consumption
Enable HLVD
Enable HLVD
Before changing any module settings
(V
module (HLVDEN = 0 ), make the changes
and re-enable the module. This prevents
the generation of false HLVD events.
DIRMAG
HLVDIF
HLVDIF
IRVST
IRVST
V
V
DD
DD
, HLVDL<3:0>), first disable the
LOW-VOLTAGE DETECT OPERATION (VDIRMAG = 0)
Internal Reference is Stable
D022B
Internal Reference is Stable
T
T
IRVST
IRVST
HLVDIF may Not be Set
PIC18F87K90 FAMILY
Depending on the application, the HLVD module does
not need to operate constantly. To reduce current
requirements, the HLVD circuitry may only need to be
enabled for short periods where the voltage is checked.
After such a check, the module could be disabled.
26.4
The internal reference voltage of the HLVD module,
specified in electrical specification Parameter
(
used by other internal circuitry, such as the
programmable Brown-out Reset. If the HLVD 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 or high-voltage condition can be reliably
detected. This start-up time, T
is independent of device clock speed. It is specified in
electrical specification Parameter
The HLVD 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 (see
Figure
HLVDIF Cleared in Software,
HLVDIF Remains Set since HLVD Condition still Exists
Section 31.0 “Electrical Characteristics”
26-3).
HLVD Start-up Time
HLVDIF Cleared in Software
HLVDIF Cleared in Software
IRVST
36 (Table
V
DS39957D-page 403
, is an interval that
V
HLVD
HLVD
Figure 26-2
31-10).
), may be
IRVST
has
37
or

Related parts for PIC18F65K90-I/MR