PIC16F874A-E/ML Microchip Technology, PIC16F874A-E/ML Datasheet - Page 13
![IC MCU FLASH 4KX14 A/D 44QFN](/photos/6/81/68122/150-44-qfn_sml.jpg)
PIC16F874A-E/ML
Manufacturer Part Number
PIC16F874A-E/ML
Description
IC MCU FLASH 4KX14 A/D 44QFN
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/ML
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
44-QFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
3.0
The PIC16F87XA has several configuration bits. These
bits can be set (reads ‘0’), or left unchanged (reads ‘1’),
to select various device configurations.
3.1
The device ID word for the PIC16F87XA is located at
2006h.
REGISTER 3-1:
2010 Microchip Technology Inc.
bit 13
bit 13
bit 12
bit 11
bit 10-9
bit 8
bit 7
bit 6
bit 5-4
bit 3
bit 2
bit 1-0
Legend:
R = Readable bit
-n = Default value
R/P-1
CP
CONFIGURATION WORD
Device ID Word
CP: Flash Program Memory Code Protection bit
(PIC16F877A/876A):
1 = Code protection off
0 = 0000h to 1FFFh code-protected
(PIC16F874A/873A):
1 = Code protection off
0 = 0000h to 0FFFh code-protected
1000h to 1FFFh wraps to 0000h to 0FFFh
Unimplemented: Read as ‘1’
DEBUG: Background Debugger Mode bit
1 = Background debugger functions not enabled
0 = Background debugger functional
WRT<1:0>: Flash Program Memory Write Enable bits
(PIC16F877A/876A):
11 = Write protection off
10 = 0000h to 00FFh write protected, 0100h to 1FFFh may be modified by EECON control
01 = 0000h to 07FFh write protected, 0800h to 1FFFh may be modified by EECON control
00 = 0000h to 0FFFh write protected, 1000h to 1FFFh may be modified by EECON control
(PIC16F874A/873A):
11 = Write protection off
10 = 0000h to 00FFh write protected, 0100h to 0FFFh may be modified by EECON control
01 = 0000h to 03FFh write protected, 0400h to 0FFFh may be modified by EECON control
00 = 0000h to 07FFh write protected, 0800h to 1FFFh may be modified by EECON control
CPD: Data EE Memory Code Protection bit
1 = Code protection off
0 = Data EE memory code-protected
LVP: Low Voltage Programming Enable bit
1 = RB3/PGM pin has PGM function, low voltage programming enabled
0 = RB3 is digital I/O, HV on MCLR must be used for programming
BOREN: Brown-out Reset Enable bit
1 = BOR enabled
0 = BOR disabled
Unimplemented: Read as ‘1’
PWRTEN: Power-up Timer Enable bit
1 = PWRT disabled
0 = PWRT enabled
WDTEN: Watchdog Timer Enable bit
1 = WDT enabled
0 = WDT disabled
FOSC<1:0>: Oscillator Selection bits
11 = RC oscillator
10 = HS oscillator
01 = XT oscillator
00 = LP oscillator
U-1
—
DEBUG WRT1
R/P-1
CONFIGURATION WORD REGISTER
R/P-1
WRT0
R/P-1
W = Writable bit
1 = Bit is erased
R/P-1
CPD
Advance Information
R/P-1
LVP
BOREN
R/P-1
U = Unimplemented bit, read as ‘1’
0 = Bit is programmed
TABLE 3-1:
PIC16F873A
PIC16F874A
PIC16F876A
PIC16F877A
Device
U-1
—
U-1
—
DEVICE ID VALUE
00 1110 0100
00 1110 0110
00 1110 0000
00 1110 0010
PWRTEN WDTEN FOSC1 FOSC0
PIC16F87XA
R/P-1
Dev
x = Bit is unknown
Device ID Value
R/P-1
DS39589C-page 13
R/P-1
XXXX
XXXX
XXXX
XXXX
Rev
R/P-1
bit 0