PIC16F877-04E/PQ Microchip Technology, PIC16F877-04E/PQ Datasheet - Page 201
![IC MCU FLASH 8KX14 EE 44-MQFP](/photos/6/59/65984/150-44-pqfp_sml.jpg)
PIC16F877-04E/PQ
Manufacturer Part Number
PIC16F877-04E/PQ
Description
IC MCU FLASH 8KX14 EE 44-MQFP
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.PIC16F873-04SO.pdf
(218 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(5 pages)
Specifications of PIC16F877-04E/PQ
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Size
14KB (8K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
368 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-MQFP, 44-PQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87704E/PQ
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16F877-04E/PQ
Manufacturer:
Microchip Technology
Quantity:
10 000
INDEX
A
A/D ................................................................................... 111
Absolute Maximum Ratings ............................................. 149
ACK .................................................................................... 74
Acknowledge Data bit ........................................................ 68
Acknowledge Pulse ............................................................ 74
Acknowledge Sequence Enable bit .................................... 68
Acknowledge Status bit ...................................................... 68
ADRES Register ........................................................ 15, 111
Analog Port Pins. See A/D
Analog-to-Digital Converter. See A/D
Application Notes
Architecture
Assembler
B
Banking, Data Memory ................................................. 12, 18
Baud Rate Generator ......................................................... 79
BCLIF ................................................................................. 24
BF ............................................................................74, 82, 84
Block Diagrams
2001 Microchip Technology Inc.
Acquisition Requirements ........................................ 114
ADCON0 Register .................................................... 111
ADCON1 Register .................................................... 112
ADIF bit .................................................................... 112
Analog Input Model Block Diagram .......................... 114
Analog Port Pins ....................................... 7, 8, 9, 36, 38
Associated Registers and Bits ................................. 117
Block Diagram .......................................................... 113
Calculating Acquisition Time .................................... 114
Configuring Analog Port Pins ................................... 115
Configuring the Interrupt .......................................... 113
Configuring the Module ............................................ 113
Conversion Clock ..................................................... 115
Conversions ............................................................. 116
Delays ...................................................................... 114
Effects of a RESET .................................................. 117
GO/DONE bit ........................................................... 112
Internal Sampling Switch (Rss) Impedence ............. 114
Operation During SLEEP ......................................... 117
Result Registers ....................................................... 116
Sampling Requirements ........................................... 114
Source Impedence ................................................... 114
Time Delays ............................................................. 114
AN552 (Implementing Wake-up on Key Strokes
AN556 (Implementing a Table Read) ........................ 26
AN578 (Use of the SSP Module in the I2C
PIC16F873/PIC16F876 Block Diagram ....................... 5
PIC16F874/PIC16F877 Block Diagram ....................... 6
MPASM Assembler .................................................. 143
A/D ........................................................................... 113
A/D Converter .......................................................... 113
Analog Input Model .................................................. 114
Baud Rate Generator ................................................. 79
Capture Mode ............................................................ 59
Compare Mode .......................................................... 60
I
I
I
Interrupt Logic .......................................................... 129
PIC16F873/PIC16F876 ................................................ 5
2
2
2
C Master Mode ........................................................ 78
C Module ................................................................. 73
C Slave Mode .......................................................... 73
Using PIC16CXXX) .................................... 31
Multi-Master Environment) ......................... 73
BOR. See Brown-out Reset
BRG ................................................................................... 79
BRGH bit ............................................................................ 97
Brown-out Reset (BOR) ............................ 119, 123, 125, 126
Buffer Full bit, BF ............................................................... 74
Bus Arbitration ................................................................... 89
Bus Collision Section ......................................................... 89
Bus Collision During a Repeated START Condition .......... 92
Bus Collision During a START Condition .......................... 90
Bus Collision During a STOP Condition ............................ 93
Bus Collision Interrupt Flag bit, BCLIF ............................... 24
C
Capture/Compare/PWM (CCP) ......................................... 57
PIC16F874/PIC16F877 ............................................... 6
PORTA
PORTB
PORTC
PORTD ...................................................................... 35
PORTD and PORTE (Parallel Slave Port) ................. 38
PORTE ...................................................................... 36
PWM Mode ................................................................ 61
RESET Circuit .......................................................... 123
SSP (I
SSP (SPI Mode) ........................................................ 69
Timer0/WDT Prescaler .............................................. 47
Timer1 ....................................................................... 52
Timer2 ....................................................................... 55
USART Asynchronous Receive ............................... 101
USART Asynchronous Receive (9-bit Mode) .......... 103
USART Transmit ........................................................ 99
Watchdog Timer ...................................................... 131
BOR Status (BOR Bit) ............................................... 25
Associated Registers
Capture Mode ............................................................ 59
CCP Timer Resources ............................................... 57
CCP1
CCP2
Compare
Compare Mode .......................................................... 60
Interaction of Two CCP Modules (table) .................... 57
RA3:RA0 and RA5 Pins ..................................... 29
RA4/T0CKI Pin .................................................. 29
RB3:RB0 Port Pins ............................................ 31
RB7:RB4 Port Pins ............................................ 31
Peripheral Output Override (RC 0:2, 5:7) .......... 33
Peripheral Output Override (RC 3:4) ................. 33
Capture, Compare and Timer1 .......................... 62
PWM and Timer2 ............................................... 63
Block Diagram ................................................... 59
CCP1CON Register ........................................... 58
CCP1IF .............................................................. 59
Prescaler ........................................................... 59
RC2/CCP1 Pin ..................................................7, 9
RC1/T1OSI/CCP2 Pin ......................................7, 9
Special Trigger Output of CCP1 ........................ 60
Special Trigger Output of CCP2 ........................ 60
Block Diagram ................................................... 60
Software Interrupt Mode .................................... 60
Special Event Trigger ........................................ 60
2
C Mode) ......................................................... 73
PIC16F87X
DS30292C-page 199