text.skipToContent text.skipToNavigation

Manufacturer Part #


PIC18 Series 4 kB Flash 512 B RAM 40 MHz 8-Bit Microcontroller - SSOP-28

ECAD Model:
Mfr. Name: Microchip
Standard Pkg:
Product Variant Information section
Date Code:
Product Specification Section
Technical Attributes
Attributes Table
Family Name: PIC18
Core Processor: PIC
Program Memory Type: Flash
Flash Size (Bytes): 4kB
RAM Size: 512B
Speed: 40MHz
No of I/O Lines: 25
InterfaceType / Connectivity: I2C/SPI/UART
Peripherals: HLVD/POR/PWM/Watchdog
Number Of Timers: 4
Supply Voltage: 2V to 5.5V
Operating Temperature: -40°C to +85°C
On-Chip ADC: 10-chx10-bit
Watchdog Timers: 1
Package Style:  SSOP-28
Mounting Method: Surface Mount
Features & Applications
The PIC18LF2221-I/SS is a part of PIC18LF series 8-bit Microcontroller. It has 4 Kbytes of Flash Program Memory in a 28 Pin SSOP package. It has an industrial temperature range from -40°C to +85°C.

Ideal for connectivity applications that benefit from the availability of the double asynchronous serial port, the flexible synchronous serial port (I²C or SPI) as well as large amounts of RAM buffer memory and Flash program memory. These include instrumentation panels, TCP/IP enabled embedded applications as well as metering and industrial control and monitoring applications.

All of these below 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.


  • Power-Managed Modes:
    • Run: CPU on, peripherals on
    • Idle: CPU off, peripherals on
    • Sleep: CPU off, peripherals off
    • Idle mode currents down to 2.5 μA typical
    • Sleep mode currents down to 100 nA typical
  • Flexible Oscillator Structure:
    • Four Crystal modes, up to 40 MHz
    • 4x Phase Lock Loop (PLL) – available for crystal and internal oscillators
    • Two External RC modes, up to 4 MHz
    • Two External Clock modes, up to 40 MHz
  • Peripheral Highlights:
    • High-current sink/source 25 mA/25 mA
    • Three programmable external interrupts
    • Four input change interrupts
    • Up to 2 Capture/Compare/PWM (CCP) modules, one with Auto-Shutdown (28-pin devices)
  • Special Microcontroller Features:
    • C compiler optimized architecture:
      • Optional extended instruction set designed to optimize re-entrant code
    • 100,000 erase/write cycle Enhanced Flash program memory typical
    • 1,000,000 erase/write cycle Data EEPROM memory typical
    • Flash/Data EEPROM Retention: 100 years typical
    • Self-programmable under software control
Pricing Section
Global Stock:
On Order:
Factory Stock:Factory Stock:
Factory Lead Time:
Minimum Order:
Multiple Of:
Web Price
Product Variant Information section