PIC16F873-04E/SO Microchip Technology, PIC16F873-04E/SO Datasheet - Page 204
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
PIC16F873-04E/SO
Manufacturer Part Number
PIC16F873-04E/SO
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,SOP,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F873-04SO.pdf
(218 pages)
4.PIC16F873-04SO.pdf
(5 pages)
5.PIC16F873-04SO.pdf
(5 pages)
6.PIC16F873-04SO.pdf
(4 pages)
Specifications of PIC16F873-04E/SO
Rohs Compliant
YES
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
22
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 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 125°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
PIC16F87304E/SO
PIC16F87X
O
On-Line Support ............................................................... 207
OPCODE Field Descriptions ............................................ 135
OPTION_REG Register ............................................... 19, 48
OSC1/CLKIN Pin .............................................................. 7, 8
OSC2/CLKOUT Pin .......................................................... 7, 8
Oscillator Configuration .................................................... 119
Oscillator, WDT ................................................................ 131
Oscillators
P
P (STOP bit) ....................................................................... 66
Package Marking Information .......................................... 189
Packaging Information ..................................................... 189
Paging, Program Memory ............................................ 11, 26
Parallel Slave Port (PSP) ......................................... 9, 35, 38
PCL Register .......................................................... 15, 16, 26
PCLATH Register ..............................................15, 16, 17, 26
PCON Register .......................................................... 25, 124
PIC16F876 Pinout Description ............................................. 7
PIC16F87X Product Identification System ....................... 209
PICDEM 1 Low Cost PICmicro
PICDEM 17 Demonstration Board ................................... 146
PICDEM 2 Low Cost PIC16CXX
PICDEM 3 Low Cost PIC16CXXX
PICSTART Plus Entry Level
PIE1 Register ..................................................................... 21
PIE2 Register ..................................................................... 23
Pinout Descriptions
PIR1 Register ..................................................................... 22
PIR2 Register ..................................................................... 24
POP .................................................................................... 26
POR. See Power-on Reset
DS30292C-page 202
Demonstration Board ................................................... 145
Demonstration Board ................................................... 145
Demonstration Board ................................................... 146
Development Programmer ........................................... 145
INTEDG Bit ................................................................ 19
PS2:PS0 Bits .............................................................. 19
PSA Bit ....................................................................... 19
T0CS Bit ..................................................................... 19
T0SE Bit ..................................................................... 19
HS .................................................................... 121, 124
LP ..................................................................... 121, 124
RC ............................................................ 121, 122, 124
XT ..................................................................... 121, 124
Capacitor Selection .................................................. 122
Crystal and Ceramic Resonators ............................. 121
RC ............................................................................ 122
Associated Registers ................................................. 39
Block Diagram ............................................................ 38
RE0/RD/AN5 Pin .............................................. 9, 36, 38
RE1/WR/AN6 Pin ............................................. 9, 36, 38
RE2/CS/AN7 Pin .............................................. 9, 36, 38
Read Waveforms ....................................................... 39
Select (PSPMODE Bit) ..............................35, 36, 37, 38
Write Waveforms ........................................................ 39
BOR Bit ...................................................................... 25
POR Bit ...................................................................... 25
PIC16F873/PIC16F876 ................................................ 7
PIC16F874/PIC16F877 ................................................ 8
PORTA .......................................................................7, 8, 17
PORTB .......................................................................7, 8, 17
PORTC .......................................................................7, 9, 17
PORTD .....................................................................9, 17, 38
Analog Port Pins .......................................................7, 8
Associated Registers ................................................. 30
Block Diagram
Initialization ................................................................ 29
PORTA Register ...................................................15, 29
RA3
RA4/T0CKI Pin .........................................................7, 8
RA5/SS/AN4 Pin .......................................................7, 8
TRISA Register .......................................................... 29
Associated Registers ................................................. 32
Block Diagram
PORTB Register ...................................................15, 31
RB0/INT Edge Select (INTEDG Bit) .......................... 19
RB0/INT Pin, External .......................................7, 8, 130
RB7:RB4 Interrupt on Change ................................. 130
RB7:RB4 Interrupt on Change Enable
RB7:RB4 Interrupt on Change Flag
RB7:RB4 Interrupt-on-Change Enable
RB7:RB4 Interrupt-on-Change Flag
TRISB Register .....................................................17, 31
Associated Registers ................................................. 34
Block Diagrams
PORTC Register ...................................................15, 33
RC0/T1OSO/T1CKI Pin ............................................7, 9
RC1/T1OSI/CCP2 Pin ..............................................7, 9
RC2/CCP1 Pin ..........................................................7, 9
RC3/SCK/SCL Pin ....................................................7, 9
RC4/SDI/SDA Pin .....................................................7, 9
RC5/SDO Pin ............................................................7, 9
RC6/TX/CK Pin ...................................................7, 9, 96
RC7/RX/DT Pin ............................................. 7, 9, 96, 97
TRISC Register .....................................................33, 95
Associated Registers ................................................. 35
Block Diagram ........................................................... 35
Parallel Slave Port (PSP) Function ............................ 35
PORTD Register ...................................................15, 35
TRISD Register .......................................................... 35
RA3:RA0 and RA5 Pins ..................................... 29
RA4/T0CKI Pin .................................................. 29
RA0 and RA5 Port Pins ..................................... 29
RB3:RB0 Port Pins ............................................ 31
RB7:RB4 Port Pins ............................................ 31
Peripheral Output Override
Peripheral Output Override
(RBIE Bit) ................................................. 130
(RBIF Bit) ................................................. 130
(RBIE Bit) ................................................... 20
(RBIF Bit) ..............................................20, 31
(RC 0:2, 5:7) ...................................... 33
(RC 3:4) ............................................. 33
2001 Microchip Technology Inc.