PIC16F874A-E/P Microchip Technology, PIC16F874A-E/P Datasheet - Page 130
![IC MCU FLASH 4KX14 W/AD 40-DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16F874A-E/P
Manufacturer Part Number
PIC16F874A-E/P
Description
IC MCU FLASH 4KX14 W/AD 40-DIP
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16C770-ISO.pdf
(8 pages)
4.PIC16F873A-ISO.pdf
(234 pages)
5.PIC16F873A-ISO.pdf
(6 pages)
6.PIC16F873A-ISO.pdf
(4 pages)
7.PIC16F873A-ISO.pdf
(6 pages)
8.PIC16F873A-ISO.pdf
(4 pages)
9.PIC16F873A-ISO.pdf
(22 pages)
Specifications of PIC16F874A-E/P
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
7KB (4K x 14)
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
40-DIP (0.600", 15.24mm)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8
Data Rom Size
128 B
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4 V
Width
13.84 mm
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F874A-E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16F87XA
REGISTER 11-2:
DS39582B-page 128
bit 7
bit 6
bit 5-4
bit 3-0
ADFM: A/D Result Format Select bit
1 = Right justified. Six (6) Most Significant bits of ADRESH are read as ‘0’.
0 = Left justified. Six (6) Least Significant bits of ADRESL are read as ‘0’.
ADCS2: A/D Conversion Clock Select bit (ADCON1 bits in shaded area and in bold)
Unimplemented: Read as ‘0’
PCFG3:PCFG0: A/D Port Configuration Control bits
Legend:
R = Readable bit
- n = Value at POR
ADCON1 REGISTER (ADDRESS 9Fh)
A = Analog input
C/R = # of analog input channels/# of A/D voltage references
bit 7
PCFG
<ADCS2>
<3:0>
ADCON1
0000
0001
0010
0011
0100
0101
011x
1000
1001
1010
1011
1100
1101
1110
1111
Note:
R/W-0
ADFM
0
0
0
0
1
1
1
1
AN7
On any device Reset, the port pins that are multiplexed with analog functions (ANx)
are forced to be an analog input.
D
D
D
D
D
D
D
D
D
D
D
D
A
A
A
<ADCS1:ADCS0>
ADCS2
R/W-0
AN6
ADCON0
D
D
D
D
D
D
D
D
D
D
D
D
A
A
A
D = Digital I/O
00
01
10
11
00
01
10
11
AN5
A
A
D
D
D
D
D
A
A
A
A
D
D
D
D
U-0
—
W = Writable bit
‘1’ = Bit is set
AN4
A
A
A
A
D
D
D
A
A
A
A
A
D
D
D
F
F
F
F
F
F
F
F
OSC
OSC
OSC
RC
OSC
OSC
OSC
RC
(clock derived from the internal A/D RC oscillator)
(clock derived from the internal A/D RC oscillator)
/2
/8
/32
/4
/16
/64
V
V
V
V
V
V
V
V
V
U-0
AN3
—
REF
REF
REF
REF
REF
REF
REF
REF
REF
D
D
A
A
A
A
+
+
+
+
+
+
+
+
+
V
V
V
V
V
AN2
PCFG3
REF
REF
REF
REF
REF
R/W-0
D
D
D
D
A
A
A
A
A
A
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
-
-
-
-
-
Clock Conversion
AN1
A
A
A
A
A
A
D
A
A
A
A
A
A
D
D
PCFG2
R/W-0
AN0
2003 Microchip Technology Inc.
A
A
A
A
A
A
D
A
A
A
A
A
A
A
A
V
AN3
AN3
AN3
AN3
AN3
AN3
AN3
AN3
AN3
V
V
V
V
V
REF
x = Bit is unknown
—
PCFG1
DD
DD
DD
DD
DD
R/W-0
+
V
AN2
AN2
AN2
AN2
AN2
V
V
V
V
V
V
V
V
V
REF
—
SS
SS
SS
SS
SS
SS
SS
SS
SS
-
PCFG0
R/W-0
C/R
8/0
7/1
5/0
4/1
3/0
2/1
0/0
6/2
6/0
5/1
4/2
3/2
2/2
1/0
1/2
bit 0