PIC16F874A-E/PT Microchip Technology, PIC16F874A-E/PT Datasheet - Page 227
![IC MCU FLASH 4KX14 W/AD 44-TQFP](/photos/6/82/68251/c04-076_pt_sml.jpg)
PIC16F874A-E/PT
Manufacturer Part Number
PIC16F874A-E/PT
Description
IC MCU FLASH 4KX14 W/AD 44-TQFP
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/PT
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-TQFP, 44-VQFP
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
Power-up Timer (PWRT) .................................................. 148
PR2 Register ................................................................ 20, 61
Prescaler, Timer0
PRO MATE II Universal Device Programmer .................. 169
Program Counter
Program Memory ............................................................... 15
Program Verification ......................................................... 157
Programming Pin (V
Programming, Device Instructions ................................... 159
PSP. See Parallel Slave Port.
Pulse Width Modulation. See Capture/Compare/PWM,
PUSH ................................................................................. 30
R
RA0/AN0 Pin .................................................................. 8, 10
RA1/AN1 Pin .................................................................. 8, 10
RA2/AN2/V
RA3/AN3/V
RA4/T0CKI/C1OUT Pin .................................................. 8, 10
RA5/AN4/SS/C2OUT Pin ............................................... 8, 10
RAM. See Data Memory.
RB0/INT Pin ................................................................... 9, 11
RB1 Pin .......................................................................... 9, 11
RB2 Pin .......................................................................... 9, 11
RB3/PGM Pin ................................................................. 9, 11
RB4 Pin .......................................................................... 9, 11
RB5 Pin .......................................................................... 9, 11
RB6/PGC Pin ................................................................. 9, 11
RB7/PGD Pin ................................................................. 9, 11
RC0/T1OSO/T1CKI Pin ................................................. 9, 12
RC1/T1OSI/CCP2 Pin .................................................... 9, 12
RC2/CCP1 Pin ............................................................... 9, 12
RC3/SCK/SCL Pin ......................................................... 9, 12
RC4/SDI/SDA Pin .......................................................... 9, 12
RC5/SDO Pin ................................................................. 9, 12
RC6/TX/CK Pin .............................................................. 9, 12
RC7/RX/DT Pin .............................................................. 9, 12
RCREG Register ................................................................ 19
RCSTA Register ................................................................. 19
RD0/PSP0 Pin .................................................................... 13
RD1/PSP1 Pin .................................................................... 13
RD2/PSP2 Pin .................................................................... 13
RD3/PSP3 Pin .................................................................... 13
RD4/PSP4 Pin .................................................................... 13
RD5/PSP5 Pin .................................................................... 13
RD6/PSP6 Pin .................................................................... 13
RD7/PSP7 Pin .................................................................... 13
2003 Microchip Technology Inc.
Assignment (PSA Bit) ................................................ 23
Rate Select (PS2:PS0 Bits) ....................................... 23
Reset Conditions ...................................................... 149
Interrupt Vector .......................................................... 15
Paging ........................................................................ 30
Program Memory Map and Stack
Program Memory Map and Stack
Reset Vector .............................................................. 15
PWM Mode.
ADDEN Bit ............................................................... 112
CREN Bit .................................................................. 112
FERR Bit .................................................................. 112
OERR Bit ................................................................. 112
RX9 Bit ..................................................................... 112
RX9D Bit .................................................................. 112
SPEN Bit .......................................................... 111, 112
SREN Bit .................................................................. 112
(PIC16F873A/874A) ........................................... 15
(PIC16F876A/877A) ........................................... 15
REF
REF
-/CV
+ Pin ....................................................... 8, 10
REF
PP
) ........................................................ 8
Pin ............................................ 8, 10
RE0/RD/AN5 Pin ............................................................... 13
RE1/WR/AN6 Pin ............................................................... 13
RE2/CS/AN7 Pin ................................................................ 13
Read-Modify-Write Operations ........................................ 159
Register File ....................................................................... 16
Register File Map (PIC16F873A/874A) ............................. 18
Register File Map (PIC16F876A/877A) ............................. 17
Registers
Reset ........................................................................143, 147
Reset, Watchdog Timer, Oscillator Start-up Timer,
Revision History ............................................................... 219
S
SCI. See USART.
SCK ................................................................................... 71
SDI ..................................................................................... 71
SDO ................................................................................... 71
Serial Clock, SCK .............................................................. 71
Serial Communication Interface. See USART.
Serial Data In, SDI ............................................................. 71
Serial Data Out, SDO ........................................................ 71
Serial Peripheral Interface. See SPI.
Slave Select Synchronization ............................................ 77
Slave Select, SS ................................................................ 71
Sleep ................................................................. 143, 147, 156
Software Simulator (MPLAB SIM) ................................... 168
Software Simulator (MPLAB SIM30) ............................... 168
SPBRG Register ................................................................ 20
Special Features of the CPU ........................................... 143
ADCON0 (A/D Control 0) ......................................... 127
ADCON1 (A/D Control 1) ......................................... 128
CCP1CON/CCP2CON (CCP Control 1
CMCON (Comparator Control) ................................ 135
CVRCON (Comparator Voltage
EECON1 (EEPROM Control 1) ................................. 34
FSR ........................................................................... 31
INTCON ..................................................................... 24
OPTION_REG ......................................................23, 54
PCON (Power Control) .............................................. 29
PIE1 (Peripheral Interrupt Enable 1) .......................... 25
PIE2 (Peripheral Interrupt Enable 2) .......................... 27
PIR1 (Peripheral Interrupt Request 1) ....................... 26
PIR2 (Peripheral Interrupt Request 2) ....................... 28
RCSTA (Receive Status and Control) ..................... 112
Special Function, Summary ....................................... 19
SSPCON (MSSP Control 1, I
SSPCON (MSSP Control 1, SPI Mode) ..................... 73
SSPCON2 (MSSP Control 2, I
SSPSTAT (MSSP Status, I
SSPSTAT (MSSP Status, SPI Mode) ........................ 72
Status ........................................................................ 22
T1CON (Timer1 Control) ........................................... 57
T2CON (Timer2 Control) ........................................... 61
TRISE Register .......................................................... 50
TXSTA (Transmit Status and Control) ..................... 111
Brown-out Reset (BOR). See Brown-out Reset (BOR).
MCLR Reset. See MCLR.
Power-on Reset (POR). See Power-on Reset (POR).
Reset Conditions for PCON Register ...................... 149
Reset Conditions for Program Counter .................... 149
Reset Conditions for Status Register ....................... 149
WDT Reset. See Watchdog Timer (WDT).
Power-up Timer and Brown-out Reset
Requirements .......................................................... 184
and CCP Control 2) ........................................... 64
Reference Control) .......................................... 141
PIC16F87XA
2
C Mode) ........................ 81
2
C Mode) ..................... 82
2
C Mode) ................... 83
DS39582B-page 225