PIC18F2221-E/SO Microchip Technology, PIC18F2221-E/SO Datasheet - Page 251

no-image

PIC18F2221-E/SO

Manufacturer Part Number
PIC18F2221-E/SO
Description
4KB, Flash, 512bytes-RAM, 25I/O, 8-bit Family,nanoWatt 28 SOIC .300in TUBE
Manufacturer
Microchip Technology
Series
PIC® 18Fr

Specifications of PIC18F2221-E/SO

Core Processor
PIC
Core Size
8-Bit
Speed
40MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, HLVD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
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 ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
FIGURE 22-2:
TABLE 22-1:
© 2009 Microchip Technology Inc.
CVRCON
CMCON
TRISA
Legend: Shaded cells are not used with the comparator voltage reference.
Note 1:
Name
Note 1:
PORTA pins are enabled based on oscillator configuration.
TRISA7
CVREN
C2OUT
Bit 7
REGISTERS ASSOCIATED WITH COMPARATOR VOLTAGE REFERENCE
R is dependent upon the voltage reference configuration bits, CVRCON<3:0> and CVRCON<5>.
CV
Module
COMPARATOR VOLTAGE REFERENCE OUTPUT BUFFER EXAMPLE
PIC18F2221/2321/4221/4321 FAMILY
(1)
REF
PIC18FXXXX
TRISA6
CVROE
C1OUT
Bit 6
Impedance
Reference
Voltage
Output
R
(1)
(1)
PORTA Data Direction Control Register
C2INV
CVRR
Bit 5
RA2
CVRSS
C1INV
Bit 4
CVR3
Bit 3
CIS
+
CVR2
Bit 2
CM2
CVR1
Bit 1
CM1
CV
REF
Output
CVR0
Bit 0
CM0
DS39689F-page 251
on page
Values
Reset
57
57
58

Related parts for PIC18F2221-E/SO