PIC16F872-E/SS Microchip Technology, PIC16F872-E/SS Datasheet - Page 406

no-image

PIC16F872-E/SS

Manufacturer Part Number
PIC16F872-E/SS
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SSOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SSOP
Package
28SSOP
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Operating Supply Voltage
5 V
Data Bus Width
8 Bit
Number Of Programmable I/os
22
Interface Type
I2C/SPI
On-chip Adc
5-chx10-bit
Number Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
PICmicro MID-RANGE MCU FAMILY
Register 22-2:
DS31022A-page 22-4
bit 7:2
bit 1:0
bit 2:0
ADCON1 Register
bit 7
Unimplemented: Read as '0'
PCFG1:PCFG0: A/D Port Configuration Control bits
PCFG2:PCFG0: A/D Port Configuration Control bits
Legend
R = Readable bit
U = Unimplemented bit, read as ‘0’
Note 1: Some devices add an additional Port configuration bit (PCFG2). This allows the min-
Note 2: On any device reset, the Port pins multiplexed with analog functions (ANx) are
Note:
U-0
A = Analog input
D = Digital I/O
A = Analog input
D = Digital I/O
Note:
Note:
PCFG1:PCFG0
PCFG2:PCFG0
000
001
010
011
100
101
110
111
imum number of analog channels to be one. This is of most benefit to the 8-pin
devices with the A/D converter, since in an 8-pin device I/O is a premium resource.
In the other devices this bit is unimplemented, and read as ‘0’.
forced to be an analog input.
Some devices implement bit2 as the PCFG2 bit.
00
01
10
11
U-0
When AN3 is selected as V
pin. When AN3 is selected as an analog input (A), then the voltage reference for
the A/D is the device V
When AN1 is selected as V
pin. When AN1 is selected as an analog input (A), then the voltage reference for
the A/D is the device V
W = Writable bit
U-0
V
AN3
AN3
REF
A
D
D
A
A
D
D
D
D
D
D
+
U-0
DD
DD
AN2
AN2
.
.
A
A
D
D
A
A
A
A
D
D
D
D
- n = Value at POR reset
REF
REF
U-0
+, the A/D reference is the voltage on the AN3
+, the A/D reference is the voltage on the AN1
V
V
V
— / PCFG2
AN1
AN1
REF
REF
REF
U-0 / R/W-0
D
D
D
A
A
A
A
A
A
(1)
+
+
+
AN0
AN0
(1)
D
D
A
A
A
A
A
A
A
A
A
A
1997 Microchip Technology Inc.
PCFG1
R/W-0
bit 0
PCFG0
R/W-0

Related parts for PIC16F872-E/SS