PIC18F2685-E/SO Microchip Technology, PIC18F2685-E/SO Datasheet - Page 272

IC PIC MCU FLASH 48KX16 28SOIC

PIC18F2685-E/SO

Manufacturer Part Number
PIC18F2685-E/SO
Description
IC PIC MCU FLASH 48KX16 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2685-E/SO

Core Size
8-Bit
Program Memory Size
96KB (48K x 16)
Oscillator Type
Internal
Core Processor
PIC
Speed
40MHz
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
3.25K x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 8x10b
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Controller Family/series
PIC18
No. Of I/o's
28
Eeprom Memory Size
1024Byte
Ram Memory Size
3328Byte
Cpu Speed
40MHz
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3.25 KB
Interface Type
EUSART, I2C, MSSP, SPI
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
28
Number Of Timers
4
Maximum Operating Temperature
+ 125 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, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 8 Channel
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
PIC18F2682/2685/4682/4685
FIGURE 22-3:
22.5
In many applications, the ability to detect a drop below,
or rise above a particular threshold is desirable. For
example, the HLVD module could be periodically
enabled to detect Universal Serial Bus (USB) attach or
detach. This assumes the device is powered by a lower
voltage source than the USB when detached. An attach
would indicate a high-voltage detect from, for example,
3.3V to 5V (the voltage on USB) and vice versa for a
detach. This feature could save a design a few extra
components and an attach signal (input pin).
For general battery applications, Figure 22-4 shows a
possible voltage curve. Over time, the device voltage
decreases. When the device voltage reaches voltage
V
The interrupt could cause the execution of an ISR,
which would allow the application to perform “house-
keeping tasks” and perform a controlled shutdown
before the device voltage exits the valid operating
range at T
application a time window, represented by the
difference between T
DS39761C-page 272
A
, the HLVD logic generates an interrupt at time T
CASE 1:
CASE 2:
Enable HLVD
Applications
Enable HLVD
B
HLVDIF
. The HLVD, thus, would give the
HLVDIF
IRVST
IRVST
V
V
DD
DD
A
HIGH-VOLTAGE DETECT OPERATION (VDIRMAG = 1)
and T
HLVDIF may not be set
Internal Reference is stable
B
, to safely exit.
Internal Reference is stable
T
T
A
IRVST
IRVST
.
HLVDIF cleared in software,
HLVDIF remains set since HLVD condition still exists
FIGURE 22-4:
V
V
A
B
Legend:
HLVDIF cleared in software
V
V
A
B
= HLVD trip point
= Minimum valid device
HLVDIF cleared in software
TYPICAL LOW-VOLTAGE
DETECT APPLICATION
operating voltage
© 2009 Microchip Technology Inc.
Time
T
A
V
V
LVD
LVD
T
B

Related parts for PIC18F2685-E/SO