PIC16F873-20I/SP Microchip Technology, PIC16F873-20I/SP Datasheet - Page 135
![IC MCU FLASH 4KX14 EE 28DIP](/photos/6/59/65908/150-28-dip_sml.jpg)
PIC16F873-20I/SP
Manufacturer Part Number
PIC16F873-20I/SP
Description
IC MCU FLASH 4KX14 EE 28DIP
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-20I/SP
Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
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 ~ 85°C
Package / Case
28-DIP (0.300", 7.62mm)
Controller Family/series
PIC16F
No. Of I/o's
22
Eeprom Memory Size
128Byte
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
192 B
Interface Type
MSSP, PSP, USART
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 85 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
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F873-20I/SP
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
FIGURE 12-11:
12.14 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 func-
tions when used with MPLAB
controller has this feature enabled, some of the
resources are not available for general use. Table 12-8
shows which features are consumed by the back-
ground debugger.
TABLE 12-8:
To use the In-Circuit Debugger function of the micro-
controller, the design must implement In-Circuit Serial
Programming connections to MCLR/V
RB7 and RB6. This will interface to the In-Circuit
Debugger module available from Microchip, or one of
the third party development tool companies.
I/O pins
Stack
Program Memory
Data Memory
Note 1: XT, HS or LP oscillator mode assumed.
OSC1
CLKOUT
INT pin
INTF Flag
(INTCON<1>)
GIE bit
(INTCON<7>)
INSTRUCTION FLOW
Instruction
Fetched
Instruction
Executed
2001 Microchip Technology Inc.
2: T
3: GIE = ’1’ assumed. In this case, after wake- up, the processor jumps to the interrupt routine.
4: CLKOUT is not available in these osc modes, but shown here for timing reference.
(4)
PC
If GIE = ’0’, execution will continue in-line.
OST
Inst(PC) = SLEEP
= 1024T
Q1 Q2 Q3 Q4 Q1 Q2 Q3 Q4 Q1
Inst(PC - 1)
DEBUGGER RESOURCES
PC
OSC
WAKE-UP FROM SLEEP THROUGH INTERRUPT
0x070 (0x0F0, 0x170, 0x1F0)
(drawing not to scale) This delay will not be there for RC osc mode.
Address 0000h must be NOP
®
Last 100h words
Inst(PC + 1)
SLEEP
0x1EB - 0x1EF
PC+1
ICD. When the micro-
RB6, RB7
1 level
PP
, V
Processor in
SLEEP
DD
, GND,
PC+2
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)
12.15 Program Verification/Code
If the code protection bit(s) have not been pro-
grammed, the on-chip program memory can be read
out for verification purposes.
12.16 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 read-
able and writable during program/verify. It is recom-
mended that only the 4 Least Significant bits of the ID
location are used.
PC+2
Protection
Interrupt Latency
Dummy cycle
PC + 2
(2)
PIC16F87X
Inst(0004h)
Dummy cycle
0004h
DS30292C-page 133
Inst(0005h)
Inst(0004h)
0005h