This powerful 10 MIPS (100 nanosecond instruction execution), yet easy-to-program (only 77 single word instructions) CMOS Flash-based 8-bit microcontroller packs Microchip's powerful PIC® architecture into an 28-pin package and is upwards compatible with the PIC16C5X, PIC12CXXX, PIC16CXX and PIC17CXX devices and provides a seamless migration path of software code to higher levels of hardware integration.
The PIC18F2221 features a C compiler-friendly development environment, 256 bytes of EEPROM, self-programming, an ICD, 2 capture/compare/PWM functions, 13 channels of 10-bit Analog-to-Digital (A/D) converter, 2 comparators, the synchronous serial port can be configured as either 3-wire Serial Peripheral Interface (SPI™) or the 2-wire Inter-Integrated Circuit (I²C™) bus and Enhanced Universal Asynchronous Receiver Transmitter (EUSART), 8 MHz internal RC oscillator and advanced low power oscillator controls.
All of these features make it ideal for battery powered and power consumption critical applications including instrumentation and monitoring, data acquisition, power conditioning, environmental monitoring, telecom and consumer audio/video applications.
Program Memory Size (KB) | 4 | RAM (bytes) | 512 |
Data EEPROM (bytes) | 256 | Pin Count | 28 |
Operation Voltage Max.(V) | 5.5 | Operation Voltage Min.(V) | 2 |
Timers | 1 x 8-bit - 3 x 16-bit | Max ADC Resolution (bits) | 10 |
ADC Channels | 10 | Zero Cross Detect | No |
Number of Comparators | 2 | SPI | 1 -SPI |
I2C | 1 -I2C | Stand alone PWM | 0 |
Low Power | No | Numerically Controlled Oscillator (NCO) | 0 |
Data Signal Modulator (DSM) | 0 |