PIC16F872-I/SO Microchip Technology, PIC16F872-I/SO Datasheet - Page 516

IC MCU FLASH 2KX14 EE 28SOIC

PIC16F872-I/SO

Manufacturer Part Number
PIC16F872-I/SO
Description
IC MCU FLASH 2KX14 EE 28SOIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F872-I/SO

Program Memory Type
FLASH
Program Memory Size
3.5KB (2K x 14)
Package / Case
28-SOIC (7.5mm Width)
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
22
Eeprom Size
64 x 8
Ram Size
128 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
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
128 B
Interface Type
I2C/SPI/SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
22
Number Of Timers
3
Operating Supply Voltage
4 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
5-ch x 10-bit
Package
28SOIC W
Device Core
PIC
Family Name
PIC16
Maximum Speed
20 MHz
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28SO-1 - SOCKET TRANSITION 28SOIC 300MIL309-1073 - ADAPTER 28-SOIC TO 28-SOIC309-1024 - ADAPTER 28-SOIC TO 28-DIP309-1023 - ADAPTER 28-SOIC TO 28-DIP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F872-I/SO
Manufacturer:
MICROCHI
Quantity:
470
Part Number:
PIC16F872-I/SO
Manufacturer:
TI
Quantity:
5
Part Number:
PIC16F872-I/SO
Manufacturer:
MIC
Quantity:
20 000
Company:
Part Number:
PIC16F872-I/SO
Quantity:
5 000
PICmicro MID-RANGE MCU FAMILY
28.7
DS31028A-page 28-8
Field Programming of PICmicro OTP MCUs
An OTP device is not normally capable of being reprogrammed, but the PICmicro architecture
gives you this flexibility provided the size of your firmware is at least half that of the desired device
and the device is not code protected. If your target device does not have enough program mem-
ory, Microchip provides a wide spectrum of devices from 0.5K to 8K program memory with the
same set of peripheral features that will help meet the criteria.
The PIC16CXXX microcontrollers have two vectors, reset and interrupt, at locations 0x0000 and
0x0004. When the PICmicro encounters a reset or interrupt condition, the code located at one of
these two locations in program memory is executed. The first listing of
code that is first programmed into the PICmicro. The second listing of
code that is programmed into the PICmicro for the second time.
Example 28-2
originally goto Main (0x2808), is reprogrammed to all 0’s which happens to be a NOP instruction.
This location cannot be reprogrammed to the new opcode (0x2860) because the bits that are 0’s
cannot be reprogrammed to 1’s, only bits that are 1’s can be reprogrammed to 0’s. The next mem-
ory location 0x0001 was originally blank (all 1’s) and now becomes a goto Main (0x2860). When
a reset condition occurs, the PICmicro executes the instruction at location 0x0000 which is the
NOP , a completely benign instruction, and then executes the goto Main to start the execution of
code. The example also shows that all program memory locations after 0x005A are blank in the
original program so that the second time the PICmicro is programmed, the revised code can be
programmed at these locations. The same descriptions can be given for the interrupt vector at
location 0x0004.
This method changes slightly for PICmicros with >2K words of program memory. Each of the
goto
Example 28-1
Example 28-1:
Now your one-time programmable PICmicro is exhibiting EEPROM- or Flash-like qualities.
movlw <page>
movwf PCLATH
goto
Main and goto
Main
shows that to program the PICmicro a second time the memory location 0x0000,
due to paging on devices with >2K words of program memory.
Crossing Program Memory Pages
ISR instructions are replaced by the following code segment is
movlw <page>
movwf PCLATH
goto
ISR
1997 Microchip Technology Inc.
Example 28-2
Example 28-2
shows the
shows the

Related parts for PIC16F872-I/SO