PIC16F874A-E/PT Microchip Technology, PIC16F874A-E/PT Datasheet - Page 225
![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
I
I/O Ports ............................................................................. 41
I2C Bus Data Requirements ............................................ 192
I
I
I
ID Locations ............................................................. 143, 157
In-Circuit Debugger .................................................. 143, 157
In-Circuit Serial Programming (ICSP) ...................... 143, 158
INDF Register .........................................................19, 20, 31
Indirect Addressing ............................................................ 31
Instruction Format ............................................................ 159
Instruction Set .................................................................. 159
2003 Microchip Technology Inc.
2
2
2
C Bus Start/Stop Bits Requirements ............................. 191
C Mode
C Mode ............................................................................ 80
Registers .................................................................... 80
ACK Pulse ............................................................ 84, 85
Acknowledge Sequence Timing ............................... 104
Baud Rate Generator ................................................. 97
Bus Collision
Clock Arbitration ......................................................... 98
Effect of a Reset ...................................................... 105
General Call Address Support ................................... 94
Master Mode .............................................................. 95
Master Mode Reception ........................................... 101
Master Mode Start Condition ..................................... 99
Master Mode Transmission ...................................... 101
Multi-Master Communication, Bus Collision
Multi-Master Mode ................................................... 105
Read/Write Bit Information (R/W Bit) ................... 84, 85
Serial Clock (RC3/SCK/SCL) ..................................... 85
Slave Mode ................................................................ 84
Sleep Operation ....................................................... 105
Stop Condition Timing .............................................. 104
Resources ................................................................ 157
FSR Register ............................................................. 16
ADDLW .................................................................... 161
ADDWF .................................................................... 161
ANDLW .................................................................... 161
ANDWF .................................................................... 161
BCF .......................................................................... 161
BSF .......................................................................... 161
BTFSC ..................................................................... 161
BTFSS ..................................................................... 161
CALL ........................................................................ 162
CLRF ........................................................................ 162
CLRW ...................................................................... 162
CLRWDT .................................................................. 162
COMF ...................................................................... 162
DECF ....................................................................... 162
DECFSZ ................................................................... 163
GOTO ...................................................................... 163
INCF ......................................................................... 163
INCFSZ .................................................................... 163
IORLW ..................................................................... 163
IORWF ..................................................................... 163
RETURN .................................................................. 164
RLF .......................................................................... 164
Repeated Start Condition ................................. 108
Start Condition ................................................. 106
Stop Condition ................................................. 109
Operation ........................................................... 96
Repeated Start Timing ..................................... 100
and Arbitration .................................................. 105
Addressing ......................................................... 84
Reception ........................................................... 85
Transmission ...................................................... 85
INT Interrupt (RB0/INT). See Interrupt Sources.
INTCON Register ............................................................... 24
Inter-Integrated Circuit. See I
Internal Reference Signal ................................................ 137
Internal Sampling Switch (Rss) Impedance ..................... 130
Interrupt Sources ......................................................143, 153
Interrupts
Interrupts, Context Saving During .................................... 154
Interrupts, Enable Bits
Interrupts, Flag Bits
L
Loading of PC .................................................................... 30
Low-Voltage ICSP Programming ..................................... 158
Low-Voltage In-Circuit Serial Programming ..................... 143
M
Master Clear (MCLR) ........................................................... 8
Master Synchronous Serial Port (MSSP). See MSSP.
MCLR ............................................................................... 148
MCLR/V
Memory Organization ........................................................ 15
MPLAB ASM30 Assembler, Linker, Librarian .................. 168
MPLAB ICD 2 In-Circuit Debugger .................................. 169
MPLAB ICE 2000 High-Performance Universal
RRF ......................................................................... 164
SLEEP ..................................................................... 164
SUBLW .................................................................... 164
SUBWF .................................................................... 164
SWAPF .................................................................... 165
XORLW ................................................................... 165
XORWF ................................................................... 165
Summary Table ....................................................... 160
GIE Bit ....................................................................... 24
INTE Bit ..................................................................... 24
INTF Bit ..................................................................... 24
PEIE Bit ..................................................................... 24
RBIE Bit ..................................................................... 24
RBIF Bit ................................................................24, 44
TMR0IE Bit ................................................................ 24
TMR0IF Bit ................................................................. 24
Interrupt-on-Change (RB7:RB4) ................................ 44
RB0/INT Pin, External ..................................... 9, 11, 154
TMR0 Overflow ........................................................ 154
USART Receive/Transmit Complete ....................... 111
Bus Collision Interrupt ................................................ 28
Synchronous Serial Port Interrupt .............................. 26
Global Interrupt Enable (GIE Bit) ........................24, 153
Interrupt-on-Change (RB7:RB4)
Peripheral Interrupt Enable (PEIE Bit) ....................... 24
RB0/INT Enable (INTE Bit) ........................................ 24
TMR0 Overflow Enable (TMR0IE Bit) ........................ 24
Interrupt-on-Change (RB7:RB4) Flag
RB0/INT Flag (INTF Bit) ............................................ 24
TMR0 Overflow Flag (TMR0IF Bit) .....................24, 154
MCLR Reset, Normal Operation ............... 147, 149, 150
MCLR Reset, Sleep .................................. 147, 149, 150
Data EEPROM Memory ............................................. 33
Data Memory ............................................................. 16
Flash Program Memory ............................................. 33
Program Memory ....................................................... 15
In-Circuit Emulator ................................................... 169
PP
Enable (RBIE Bit) .......................................24, 154
(RBIF Bit) .............................................. 24, 44, 154
......................................................................... 10
PIC16F87XA
2
C.
DS39582B-page 223