PIC18F4420-E/PT Microchip Technology, PIC18F4420-E/PT Datasheet - Page 241
![44 PIN, 16 KB ENH FLASH, 3804 RAM, 36 I/O, PB FREE,](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC18F4420-E/PT
Manufacturer Part Number
PIC18F4420-E/PT
Description
44 PIN, 16 KB ENH FLASH, 3804 RAM, 36 I/O, PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 18Fr
Datasheets
1.PIC18F2221-ISO.pdf
(46 pages)
2.PIC18F2420-IML.pdf
(412 pages)
3.PIC18F2420-IML.pdf
(16 pages)
4.PIC18F2420-IML.pdf
(8 pages)
5.PIC18F2420-IML.pdf
(6 pages)
6.PIC18F2420-IML.pdf
(8 pages)
7.PIC18F2420-IML.pdf
(4 pages)
Specifications of PIC18F4420-E/PT
Rohs Compliant
YES
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
36
Program Memory Size
16KB (8K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
768 x 8
Voltage - Supply (vcc/vdd)
4.2 V ~ 5.5 V
Data Converters
A/D 13x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC18F4420-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
- PIC18F2221-ISO PDF datasheet
- PIC18F2420-IML PDF datasheet #2
- PIC18F2420-IML PDF datasheet #3
- PIC18F2420-IML PDF datasheet #4
- PIC18F2420-IML PDF datasheet #5
- PIC18F2420-IML PDF datasheet #6
- PIC18F2420-IML PDF datasheet #7
- Current page: 241 of 412
- Download datasheet (7Mb)
21.0
The comparator voltage reference is a 16-tap resistor
ladder network that provides a selectable reference
voltage. Although its primary purpose is to provide a
reference for the analog comparators, it may also be
used independently of them.
A block diagram of the module is shown in Figure 21-1.
The resistor ladder is segmented to provide two ranges
of CV
conserve power when the reference is not being used.
The module’s supply reference can be provided from
either device V
21.1
The voltage reference module is controlled through the
CVRCON register (Register 21-1). The comparator
voltage reference provides two ranges of output volt-
age, each with 16 distinct levels. The range to be used
REGISTER 21-1:
© 2008 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:
CVREN
R/W-0
REF
COMPARATOR VOLTAGE
REFERENCE MODULE
Configuring the Comparator
Voltage Reference
values and has a power-down function to
CVROE overrides the TRISA<2> bit setting.
DD
CVREN: Comparator Voltage Reference Enable bit
1 = CV
0 = CV
CVROE: Comparator V
1 = CV
0 = CV
CVRR: Comparator V
1 = 0 to 0.667 CV
0 = 0.25 CV
CVRSS: Comparator V
1 = Comparator reference source, CV
0 = Comparator reference source, CV
CVR3:CVR0: Comparator V
When CVRR = 1:
CV
When CVRR = 0:
CV
CVROE
/V
REF
REF
R/W-0
SS
or an external voltage reference.
CVRCON: COMPARATOR VOLTAGE REFERENCE CONTROL REGISTER
= ((CVR<3:0>)/24) • (CV
= (CV
REF
REF
REF
REF
(1)
voltage is disconnected from the RA2/AN2/V
circuit powered on
circuit powered down
voltage level is also output on the RA2/AN2/V
RSRC
RSRC
W = Writable bit
‘1’ = Bit is set
R/W-0
CVRR
/4) + ((CVR<3:0>)/32) • (CV
RSRC
to 0.75 CV
REF
REF
REF
, with CV
Range Selection bit
Source Selection bit
Output Enable bit
REF
RSRC
PIC18F2420/2520/4420/4520
RSRC
CVRSS
RSRC
Value Selection bits (0 ≤ (CVR<3:0>) ≤ 15)
R/W-0
, with CV
)
/24 step size (low range)
RSRC
RSRC
RSRC
= (V
= V
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
(1)
RSRC
R/W-0
DD
CVR3
is selected by the CVRR bit (CVRCON<5>). The
primary difference between the ranges is the size of the
steps
(CVR<3:0>), with one range offering finer resolution.
The equations used to calculate the output of the
comparator voltage reference are as follows:
The comparator reference supply voltage can come
from either V
V
voltage source is selected by the CVRSS bit
(CVRCON<4>).
The settling time of the comparator voltage reference
must be considered when changing the CV
put (see Table 26-3 in Section 26.0 “Electrical
Characteristics”).
/32 step size (high range)
REF
REF
– V
)
+) – (V
If CVRR = 1:
CV
If CVRR = 0:
CV
CV
- that are multiplexed with RA2 and RA3. The
SS
REF
REF
RSRC
selected
REF
REF
REF
= ((CVR<3:0>)/24) x CV
= (CV
-/CV
)
-/CV
DD
-)
R/W-0
CVR2
REF
and V
REF
RSRC
by
pin
pin
SS
x 1/4) + (((CVR<3:0>)/32) x
the
, or the external V
x = Bit is unknown
R/W-0
CVR1
CV
REF
DS39631E-page 239
RSRC
Selection
R/W-0
CVR0
REF
REF
+ and
bit 0
out-
bits
Related parts for PIC18F4420-E/PT
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![PIC18F442-I/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-I/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-I/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-I/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 44QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-I/PTG](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC PIC MCU FLASH 8KX16 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-E/P](/photos/6/61/66192/150-40-dip_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 40MHZ 8K FLASH 40DIP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-E/PT](/photos/6/82/68251/c04-076_pt_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 40MHZ 8K FLSH 44TQFP
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-E/L](/photos/6/63/66325/150-44-plcc_tmb.jpg)
Part Number:
Description:
IC MCU CMOS 40MHZ 8K FLSH 44PLCC
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F442-E/ML](/photos/6/81/68122/150-44-qfn_tmb.jpg)
Part Number:
Description:
IC MCU FLASH 8KX16 EE A/D 44QFN
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6393T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6493T-I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
PIC18F With 128-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8393T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 8KB Flash, 768B RAM, CCP, MSS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F8493T-I/PT](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
PIC18F With 192-segment LCD Driver And 12-bit ADC, 16KB Flash, 768B RAM, CCP, MS
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6585-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 48KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet:
![PIC18F6680-I/L](/photos/16/12/161282/68-plcc-large-300dpi-lyrd_tmb.jpg)
Part Number:
Description:
Microcontrollers (MCU) 64KB 3328 RAM 52 I/O
Manufacturer:
Microchip Technology
Datasheet: