PIC16F874A-E/P Microchip Technology, PIC16F874A-E/P Datasheet - Page 124
![IC MCU FLASH 4KX14 W/AD 40-DIP](/photos/6/61/66192/150-40-dip_sml.jpg)
PIC16F874A-E/P
Manufacturer Part Number
PIC16F874A-E/P
Description
IC MCU FLASH 4KX14 W/AD 40-DIP
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/P
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
40-DIP (0.600", 15.24mm)
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
I2C, SPI, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
33
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022, DV164120
Minimum Operating Temperature
- 40 C
On-chip Adc
8
Data Rom Size
128 B
Height
3.81 mm
Length
52.26 mm
Supply Voltage (max)
5.5 V
Supply Voltage (min)
4 V
Width
13.84 mm
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
PIC16F87XA
TABLE 10-8:
FIGURE 10-9:
FIGURE 10-10:
DS39582B-page 122
0Bh, 8Bh,
10Bh,18Bh
0Ch
18h
19h
8Ch
98h
99h
Legend:
Note 1:
(Interrupt Flag)
Address
Note: Sync Master mode; SPBRG = 0. Continuous transmission of two 8-bit words.
RC7/RX/DT
RC6/TX/CK
TXREG reg
TRMT bit
TXEN bit
Write to
TXIF bit
RC7/RX/DT pin
RC6/TX/CK pin
pin
pin
x = unknown, - = unimplemented, read as ‘0’. Shaded cells are not used for synchronous master transmission.
Bits PSPIE and PSPIF are reserved on 28-pin devices; always maintain these bits clear.
TXREG Reg
INTCON
PIR1
RCSTA
TXREG
PIE1
TXSTA
SPBRG
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1Q2Q3 Q4Q1Q2Q3 Q4Q1 Q2 Q3 Q4
‘1’
Name
TRMT bit
TXEN bit
TXIF bit
Write to
REGISTERS ASSOCIATED WITH SYNCHRONOUS MASTER TRANSMISSION
Write Word 1
USART Transmit Register
Baud Rate Generator Register
PSPIF
PSPIE
SYNCHRONOUS TRANSMISSION
SYNCHRONOUS TRANSMISSION (THROUGH TXEN)
CSRC
SPEN
Bit 7
GIE
(1)
(1)
bit 0
ADIE
Bit 6
PEIE
ADIF
RX9
TX9
Write Word 2
bit 1
TMR0IE
Word 1
SREN
TXEN
RCIF
RCIE
Bit 5
bit 0
bit 2
CREN
SYNC
INTE
TXIE
Bit 4
TXIF
bit 1
SSPIE CCP1IE TMR2IE TMR1IE 0000 0000
SSPIF
RBIE
Bit 3
—
—
Q3 Q4 Q1Q2 Q3Q4 Q1Q2 Q3Q4 Q1Q2 Q3 Q4Q1 Q2 Q3Q4 Q1Q2 Q3 Q4 Q1 Q2Q3 Q4
TMR0IF
bit 7
CCP1IF TMR2IF TMR1IF 0000 0000
bit 2
BRGH
FERR
Bit 2
bit 0
OERR
TRMT
INTF
Bit 1
Word 2
bit 1
bit 6
RX9D
TX9D
Bit 0
R0IF
2003 Microchip Technology Inc.
0000 000x
0000 -00x
0000 0000
0000 -010
0000 0000
POR, BOR
Value on:
bit 7
0000 000u
0000 0000
0000 -00x
0000 0000
0000 0000
0000 -010
0000 0000
Value on
all other
Resets
bit 7
‘1’