PIC16F874A-E/P Microchip Technology, PIC16F874A-E/P Datasheet - Page 159
![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
FIGURE 14-12:
14.15 In-Circuit Debugger
When the DEBUG bit in the configuration word is pro-
grammed to a ‘0’, the in-circuit debugger functionality is
enabled. This function allows simple debugging
functions when used with MPLAB
microcontroller has this feature enabled, some of the
resources are not available for general use. Table 14-8
shows
background debugger.
TABLE 14-8:
To use the in-circuit debugger function of the microcon-
troller, the design must implement In-Circuit Serial Pro-
gramming connections to MCLR/V
and RB6. This will interface to the in-circuit debugger
module available from Microchip or one of the third
party development tool companies.
2003 Microchip Technology Inc.
I/O pins
Stack
Program Memory
Data Memory
Note 1: XT, HS or LP Oscillator mode assumed.
OSC1
CLKO
INT pin
INTF Flag
(INTCON<1>)
GIE bit
(INTCON<7>)
INSTRUCTION FLOW
Instruction
Fetched
Instruction
Executed
(4)
2: T
3: GIE = 1 assumed. In this case, after wake- up, the processor jumps to the interrupt routine.
4: CLKO is not available in these oscillator modes but shown here for timing reference.
which
PC
If GIE = 0, execution will continue in-line.
OST
Inst(PC) = Sleep
= 1024 T
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
Inst(PC - 1)
features
DEBUGGER RESOURCES
PC
OSC
WAKE-UP FROM SLEEP THROUGH INTERRUPT
0x070 (0x0F0, 0x170, 0x1F0)
Address 0000h must be NOP
(drawing not to scale). This delay will not be there for RC Oscillator mode.
are
Last 100h words
Inst(PC + 1)
0x1EB-0x1EF
PC+1
Sleep
consumed
RB6, RB7
PP
1 level
®
, V
ICD. When the
DD
Processor in
, GND, RB7
Sleep
by
PC+2
the
T
OST (2)
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4
Inst(PC + 2)
Inst(PC + 1)
14.16 Program Verification/Code
If
programmed, the on-chip program memory can be
read out for verification purposes.
14.17 ID Locations
Four memory locations (2000h-2003h) are designated
as ID locations, where the user can store checksum or
other code identification numbers. These locations are
not accessible during normal execution but are
readable and writable during program/verify. It is
recommended that only the 4 Least Significant bits of
the ID location are used.
PC+2
the
Protection
code
Interrupt Latency
Dummy cycle
PC + 2
protection
PIC16F87XA
(2)
Dummy cycle
Inst(0004h)
0004h
bit(s)
DS39582B-page 157
have
Inst(0005h)
Inst(0004h)
0005h
not
been