This data sheet introduces the PIC16F870/871 28/40-pin 8-bit CMOS FLASH microcontrollers
This data sheet from Microchip Technology describes the PIC16F870 and PIC16F871, 28/40-pin 8-bit CMOS FLASH microcontrollers. It covers the device overview, memory organization, data EEPROM and FLASH program memory, I/O ports, timer modules, capture/compare/PWM modules, the addressable USART, the analog-to-digital converter module, special features of the CPU, the instruction set summary, development support, electrical characteristics and packaging information.
The devices feature a high-performance RISC CPU with 35 single-word instructions, 2K x 14 words of FLASH program memory, 128 bytes of RAM and 64 bytes of EEPROM data memory, operating at DC to 20 MHz over a 2.0V to 5.5V range. Peripheral features include three timers, a capture/compare/PWM module, a 10-bit A/D converter, a USART and, on the 40/44-pin device, an 8-bit Parallel Slave Port.
| Operating speed | DC - 20 MHz clock input |
|---|---|
| FLASH Program Memory | 2K x 14 words |
| Data Memory (RAM) | 128 x 8 bytes |
| EEPROM Data Memory | 64 x 8 bytes |
| Operating voltage range | 2.0V to 5.5V |
| Instruction set | 35 single-word instructions |
| A/D converter | 10-bit, multi-channel |
| I/O sink/source current | 25 mA |
The devices operate from DC to 20 MHz clock input, with a DC to 200 ns instruction cycle.
The devices have 2K x 14 words of FLASH Program Memory, 128 x 8 bytes of Data Memory (RAM) and 64 x 8 bytes of EEPROM Data Memory.
The core uses only 35 single word instructions to learn; all single cycle instructions except for program branches which are two-cycle.
The devices include a 10-bit multi-channel Analog-to-Digital converter, with 5 input channels on the PIC16F870 and 8 on the PIC16F871.