PIC18F2220-I/SP Microchip Technology, PIC18F2220-I/SP Datasheet - Page 229

IC MCU FLASH 2KX16 A/D 28DIP

PIC18F2220-I/SP

Manufacturer Part Number
PIC18F2220-I/SP
Description
IC MCU FLASH 2KX16 A/D 28DIP
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2220-I/SP

Program Memory Type
FLASH
Program Memory Size
4KB (2K x 16)
Package / Case
28-DIP (0.300", 7.62mm)
Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
25
Eeprom Size
256 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
SPI/I2C/USART
Maximum Clock Frequency
40 MHz
Number Of Programmable I/os
25
Number Of Timers
5
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE4000, ICE2000, DV164136
Minimum Operating Temperature
- 40 C
On-chip Adc
10-ch x 10-bit
Package
28SPDIP
Device Core
PIC
Family Name
PIC18
Maximum Speed
40 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
DVA18XP280 - DEVICE ADAPTER 18F2220 PDIP 28LD
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F2220-I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
21.0
The comparator voltage reference is a 16-tap resistor
ladder network that provides a selectable voltage refer-
ence. The resistor ladder is segmented to provide two
ranges of CV
tion to conserve power when the reference is not being
used. The CVRCON register controls the operation of
the reference as shown in Register 21-1. The block
diagram is given in Figure 21-1.
The comparator reference supply voltage comes from
V
REGISTER 21-1:
© 2007 Microchip Technology Inc.
bit 7
Legend:
R = Readable bit
-n = Value at POR
bit 7
bit 6
bit 5
bit 4
bit 3-0
Note 1:
DD
CVREN
and V
R/W-0
COMPARATOR VOLTAGE
REFERENCE MODULE
SS
CVROE overrides the TRISA<2> bit setting.
.
REF
CVREN: Comparator Voltage Reference Enable bit
1 = CV
0 = CV
CVROE: Comparator V
1 = CV
0 = CV
CVRR: Comparator V
1 = 0.00 V
0 = 0.25 V
Unimplemented: Read as ‘0’
CVR3:CVR0: Comparator V
When CVRR = 1:
CV
When CVRR = 0:
CV
values and has a power-down func-
CVROE
REF
REF
R/W-0
CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER
= (CVR<3:0>) •
= 1/4 • (CV
REF
REF
REF
REF
(1)
DD
DD
circuit powered on
circuit powered down
voltage level is also output on the RA2/AN2/V
voltage is disconnected from the RA2/AN2/V
to 0.667 V
to 0.75 V
W = Writable bit
‘1’ = Bit is set
R/W-0
CVRR
RSRC
REF
REF
DD
) + (CVR<3:0> + 8) •
DD
V
Range Selection bit
, with V
24
DD
, with V
Output Enable bit
REF
PIC18F2220/2320/4220/4320
Value Selection 0 ≤ VR3:VR0 ≤ 15 bits
DD
U-0
DD
/32 step size
/24 step size
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
(1)
R/W-0
CVR3
21.1
The comparator voltage reference can output 16 distinct
voltage levels for each range. The equations used to cal-
culate the output of the comparator voltage reference
are as follows:
EQUATION 21-1:
The settling time of the comparator voltage reference
must be considered when changing the CV
output (see Table 26-2 in Section 26.0 “Electrical
Characteristics”).
V
32
DD
Configuring the Comparator
Voltage Reference
REF
REF
If CVRR = 1:
CV
If CVRR = 0:
CV
-/CV
-/CV
R/W-0
REF
REF
CVR2
REF
= (CVR<3:0>) •
= (CVR<3:0> + 8) •
REF
pin
pin
x = Bit is unknown
R/W-0
CVR1
V
DS39599G-page 227
24
DD
V
32
DD
R/W-0
CVR0
bit 0
REF

Related parts for PIC18F2220-I/SP