DS30221B is the data sheet of Microchip's PIC16F872, which was released in 2002. It is a 28-pin, 8-bit CMOS FLASH microcontroller with a 10-bit A/D converter.
The PIC16F872 is a 28‑pin, 8‑bit CMOS flash microcontroller featuring a 10‑bit analog‑to‑digital converter, up to 2 KB of flash program memory, 128 bytes of RAM, and 64 bytes of EEPROM. It operates up to 20 MHz and includes 10 interrupt sources, three timers, a capture/compare/PWM module, and a synchronous serial port supporting SPI and I²C.
The device is offered in PDIP, SOIC, and SSOP packages and supports a wide voltage range (2.0 V to 5.5 V) with low power consumption. The datasheet details electrical characteristics, pin configurations, peripheral modules, and ordering information for industrial, commercial, and extended temperature grades.
| Operating Frequency | DC - 20 MHz |
|---|---|
| Flash Program Memory | 2 KB (14‑bit words) |
| Data Memory (RAM) | 128 bytes |
| EEPROM Data Memory | 64 bytes |
| Interrupt Sources | 10 |
| I/O Ports | Ports A, B, C |
| Timers | 3 (Timer0, Timer1, Timer2) |
| Capture/Compare/PWM Modules | 1 |
| Serial Communications (MSSP) | SPI and I²C master modes |
| Instruction Set Size | 35 instructions |
| Package Types | 28‑lead PDIP, SOIC, SSOP |
The PIC16F872 can operate up to 20 MHz.
It includes 2 KB of flash program memory (14‑bit words).
The device has three I/O ports: Port A, Port B, and Port C.