PIC18F2221

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.

产品特性
  • Up to 10 MIPS performance
  • C compiler optimized RISC architecture
  • 8 x 8 Single Cycle Hardware Multiply
  • Internal oscillator support - 31 kHz to 8 MHz, up to 32 MHz with 4X PLL
  • Fail-Safe Clock Monitor – allows safe shutdown if clock fails
  • Watchdog Timer with separate RC oscillator
  • Wide operating Voltage range; 2.0V to 5.5V
  • Run, Idle and Sleep modes
  • Idle mode currents down to 5.8uA typical
  • Sleep mode currents down to 0.1uA typical
  • 10-bit ADC, 10 channels, 100K samples per second
  • Programmable Low Voltage Detection Module
  • Programmable Brown-out Reset module
  • Two Analog comparators with input multiplexing
  • Master Synchronous Serial Port supports SPI ™ and I2C™ Master and Slave Mode
  • EUSART module including LIN bus support
  • Four Timer Modules
  • Up to 5 PWM outputs
  • Up to 2 Capture / Compare
技术参数
Parameter Name Value Value
Program Memory Type Flash Flash
Program Memory (KB) 4 4
CPU Speed (MIPS) 10 10
RAM Bytes 512 512
Data EEPROM (bytes) 256 256
Digital Communication Peripherals 1-UART, 1-A/E/USART, 1-SPI, 1-I2C1-MSSP(SPI/I2C) 1-UART, 1-A/E/USART, 1-SPI, 1-I2C1-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 2 CCP 2 CCP
Timers 1 x 8-bit, 3 x 16-bit 1 x 8-bit, 3 x 16-bit
ADC 10 ch, 10-bit 10 ch, 10-bit
Comparators 2 2
Temperature Range (C) -40 to 125 -40 to 125
Operating Voltage Range (V) 2 to 5.5 2 to 5.5
Pin Count 28 28
文档资料
PIC18F2221/2321/4221/4321 Family Data SheetData Sheets10/16/20096444KB
PIC18F2221/2321/4221/4321 Silicon/Data Sheet ErrataErrata07/30/201490KB
Migrating from PIC18F to PIC18FXXJ Flash DevicesMigration Documents01/12/2006253KB
PIC18F to PIC24F Migration: An OverviewMigration Documents03/28/2006770KB
PIC18F2XXX/4XXX Flash MCU Programming SpecificationProgramming Specification10/02/2015384KB
AN1095 - AN1095, Emulating Data EEPROM for PIC18 and PIC24 MCUs and dsPIC DSCsAppNote06/27/2011427KB
AN1229 - Class B Safety Software Library for PIC MCUs and dsPIC DSCsAppNote04/24/2012439KB
AN1310 - High-Speed Bootloader for PIC16 and PIC18 DevicesAppNote02/03/2010482KB
8-bit PIC® Microcontroller SolutionsBrochures05/02/20146041KB
MPLAB® X IDE Product OverviewSell Sheets07/11/2011182KB
Corporate Product Selector GuideProduct Line Card04/13/201610173KB
PIC Microcontroller Compiled Tips 'n Tricks GuideTips and Tricks04/22/20095964KB
订购型号
Part NumberLeadsPackage TypeTemp RangePacking1+26+100+1000+5000+
PIC18F2221-E/ML28QFN-40C to +125CTUBE3.222.952.662.452.33
PIC18F2221-E/SO28SOIC-40C to +125CTUBE2.972.722.462.272.16
PIC18F2221-E/SP28SPDIP-40C to +125CTUBE3.162.902.622.412.30
PIC18F2221-E/SS28SSOP-40C to +125CTUBE2.932.692.432.242.13
PIC18F2221-I/ML28QFN-40C to +85CTUBE2.952.702.442.242.14
PIC18F2221-I/SO28SOIC-40C to +85CTUBE2.702.472.242.061.96
PIC18F2221-I/SP28SPDIP-40C to +85CTUBE2.892.652.402.212.10
PIC18F2221-I/SS28SSOP-40C to +85CTUBE2.662.442.212.031.93
PIC18F2221T-I/ML28QFN-40C to +85CT/R2.992.742.482.282.17
PIC18F2221T-I/SO28SOIC-40C to +85CT/R2.762.532.282.102.00
PIC18F2221T-I/SS28SSOP-40C to +85CT/R2.722.492.252.071.97
PIC18LF2221-I/ML28QFN-40C to +85CTUBE3.082.832.552.352.23
PIC18LF2221-I/SO28SOIC-40C to +85CTUBE2.832.602.352.162.06
PIC18LF2221-I/SP28SPDIP-40C to +85CTUBE3.032.772.512.312.20
PIC18LF2221-I/SS28SSOP-40C to +85CTUBE2.792.562.322.132.03
PIC18LF2221T-I/SS28SSOP-40C to +85CT/R2.852.612.362.172.07
相关开发工具
相类似产品
ProductPinsFlashRAMPrice5KNotes
PIC18F2221284512$1.93
PIC18F2321288512$2.06
PIC18F4221404512$2.17
PIC18F4321408512$2.30
器件无铅环保信息
PartNumberDeviceWeightShippingWeightLeadCountPackageTypePackageWidthSolderCompositionJEDECIndicatorRoHSChinaEFUP
PIC18F2221-E/SO0.7704001.37037028SOIC.300inMatte Tine3
PIC18F2221-I/SO0.7704001.37037028SOIC.300inMatte Tine3
PIC18F2221T-I/SO0.7704001.15250028SOIC.300inMatte Tine3
PIC18F2221T-E/SO0.7704001.15250028SOIC.300inMatte Tine3
PIC18F2221-E/SP2.0875003.73333328SPDIP.300inMatte Tine3
PIC18F2221-I/SP2.0875003.73333328SPDIP.300inMatte Tine3
PIC18F2221-I/SPREL2.0875003.73333328SPDIP.300inMatte Tine3
PIC18F2221-E/ML0.1016000.16393428QFN6x6x0.9mmMatte Tine3
PIC18F2221T-I/ML0.1016000.33250028QFN6x6x0.9mmMatte Tine3
PIC18F2221-I/ML0.1016000.16393428QFN6x6x0.9mmMatte Tine3
PIC18F2221T-I/SS0.2292000.33333328SSOP.209inMatte Tine3
PIC18F2221-E/SS0.2292000.48936228SSOP.209inMatte Tine3
PIC18F2221-I/SS0.2292000.48936228SSOP.209inMatte Tine3
PIC18F2221/2321/4221/4321 Family Data Sheet PIC18F4321
PIC18F2221/2321/4221/4321 Silicon/Data Sheet Errata PIC18F4321
Migrating from PIC18F to PIC18FXXJ Flash Devices PIC18F87J10
PIC18F to PIC24F Migration: An Overview PIC24FJ16GA004
PIC18F2XXX/4XXX Flash MCU Programming Specification PIC18F4580
AN1095 PIC24FJ32GA002
DEE Emulation 16-bit v2.2 PIC24FJ32GA002
DEE Emulation 8-bit v1.1.2 PIC24FJ32GA002
AN1229 ENC624J600
PIC18F ClassB-2 Library ENC624J600
AN1310 PIC16F1939
AN1310 Source Code PIC16F1939
8-bit PIC® Microcontroller Solutions PIC16F1939
MPLAB® X IDE Product Overview 24VL025
Corporate Product Selector Guide SST49LF080A
PIC Microcontroller Compiled Tips 'n Tricks Guide PIC24FJ64GB412