PIC18F24K22

Features
  • C Compiler optimized architecture/instruction set
  • Data EEPROM to 1024 bytes
  • Linear program memory addressing to 64 Kbytes
  • Linear data memory addressing to 4 Kbytes
  • Up to 16 MIPS operation
  • 16-bit wide instructions, 8-bit wide data path
  • Priority levels for interrupts
  • 31-level, software accessible hardware stack
  • 8 x 8 Single-Cycle Hardware Multiplier
  • Sleep mode: 100 nA, typical
  • Watchdog Timer: 500 nA, typical
  • Timer1 Oscillator: 500 nA @ typical 32 kHz
  • Precision 16 MHz internal oscillator block: Factory calibrated to ± 1% Software selectable frequencies range of 31 kHz to 16 MHz 64 MHz performance available using PLL – no external components required
  • Factory calibrated to ± 1%
  • Software selectable frequencies range of 31 kHz to 16 MHz
  • 64 MHz performance available using PLL – no external components required
  • Four Crystal modes up to 64 MHz
  • Two external Clock modes up to 64 MHz
  • 4X Phase Lock Loop (PLL)
  • Secondary oscillator using Timer1 @ 32 kHz
  • Fail-Safe Clock Monitor: Allows for safe shutdown if peripheral clock stops
  • Allows for safe shutdown if peripheral clock stops
  • Two-Speed Oscillator Start-up
  • Full 5.5V operation (PIC18F2XK22/4XK22)
  • Low voltage option available for 1.8V-3.6V operation (PIC18LF2XK22/4XK22)
  • Self-reprogrammable under software control
  • Power-on Reset (POR), Power-up Timer (PWRT) and Oscillator Start-up Timer (OST)
  • Programmable Brown-out Reset (BOR)
  • Extended Watchdog Timer (WDT) with on-chip oscillator and software enable
  • Programmable code protection
  • In-Circuit Serial Programming™ (ICSP™) via two pins
  • In-Circuit Debug via two pins
  • Analog-to-Digital Converter (ADC) module: 10-bit resolution 17 analog input channels (PIC18F/LF2XK22) 28 analog input channels (PIC18F/LF4XK22) Auto acquisition capability Conversion available during Sleep
  • 10-bit resolution
  • 17 analog input channels (PIC18F/LF2XK22)
  • 28 analog input channels (PIC18F/LF4XK22)
  • Auto acquisition capability
  • Conversion available during Sleep
  • Programmable High/Low Voltage Detection (PLVD) module
  • Charge Time Measurement Unit (CTMU) for mTouch™ support: Up to 28 channels for button, sensor or slider input
  • Up to 28 channels for button, sensor or slider input
  • Analog comparator module with: Two rail-to-rail analog comparators Comparator inputs and outputs externally accessible and configurable
  • Two rail-to-rail analog comparators
  • Comparator inputs and outputs externally accessible and configurable
  • Voltage reference module with: Programmable On-chip Voltage Reference (CVREF) module (% of VDD) Selectable on-chip fixed voltage reference
  • Programmable On-chip Voltage Reference (CVREF) module (% of VDD)
  • Selectable on-chip fixed voltage reference
  • 24/35 I/O pins and 1 input-only pin: High current sink/source 25 mA/25 mA Individually programmable weak pull-ups Individually programmable interrupt-on-pin change
  • High current sink/source 25 mA/25 mA
  • Individually programmable weak pull-ups
  • Individually programmable interrupt-on-pin change
  • Three external interrupt pins
  • Up to seven Timer modules: Up to four 16-bit timers/counters with prescaler Up to three 8-bit timers/counters Dedicated, low-power Timer1 oscillator
  • Up to four 16-bit timers/counters with prescaler
  • Up to three 8-bit timers/counters
  • Dedicated, low-power Timer1 oscillator
  • Up to two Capture/Compare/PWM (CCP) modules
  • Up to three Enhanced Capture/Compare/PWM
  • One, two or four PWM outputs
  • Selectable polarity
  • Programmable dead time
  • Auto-shutdown and Auto-restart
  • PWM output steering control
  • Two Master Synchronous Serial Port (MSSP) modules with two modes of operation: 3-wire SPI (supports all 4 SPI modes) I2C™ Master and Slave modes (Slave mode with address masking)
  • 3-wire SPI (supports all 4 SPI modes)
  • I2C™ Master and Slave modes (Slave mode with address masking)
  • Two Enhanced Universal Synchronous Asynchronous Receiver Transmitter modules (EUSART): Supports RS-232, RS-485 and LIN 2.0 Auto-Baud Detect Auto Wake-up on Start bit
  • Supports RS-232, RS-485 and LIN 2.0
  • Auto-Baud Detect
  • Auto Wake-up on Start bit
Parameter
Parameter Name Value Value
Program Memory Type Flash Flash
Program Memory (KB) 16 16
CPU Speed (MIPS) 16 16
RAM Bytes 768 768
Data EEPROM (bytes) 256 256
Digital Communication Peripherals 2-UART, 2-A/E/USART, 2-SPI, 2-I2C2-MSSP(SPI/I2C) 2-UART, 2-A/E/USART, 2-SPI, 2-I2C2-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals 1 CCP, 1 ECCP 1 CCP, 1 ECCP
Timers 1 x 8-bit, 3 x 16-bit 1 x 8-bit, 3 x 16-bit
ADC 17 ch, 10-bit 17 ch, 10-bit
Comparators 2 2
Temperature Range (C) -40 to 125 -40 to 125
Operating Voltage Range (V) 1.8 to 5.5 1.8 to 5.5
Pin Count 28 28
XLP Yes Yes
Cap Touch Channels 17 17
Documents
PIC18(L)F2X/4XK22 Data SheetData Sheets06/07/20129426KB
PIC18(L)F23/24/43/44K22 Silicon Errata and Data Sheet ClarificationErrata12/11/2015101KB
PIC18(L)F2XK22/4XK22 Flash Memory ProgrammingProgramming Specification04/23/2010508KB
AN1250 - Microchip CTMU for Capacitive Touch ApplicationsAppNote02/03/2009834KB
AN1310 - High-Speed Bootloader for PIC16 and PIC18 DevicesAppNote02/03/2010482KB
AN1317 - mTouch Conducted Noise Immunity Techniques for the CTMUAppNote05/19/20101100KB
AN1375 - AN1375, See What You Can Do with the CTMUAppNote05/11/2011168KB
AN1416 - Low-Power Design GuideAppNote11/30/2011274KB
AN1450 - Delay Block/DebouncerAppNote07/30/20121414KB
AN1921 - Microchip TCP/IP Lite StackAppNote11/16/2015264KB
AN2045 - Interfacing Serial EEPROMs with 8-Bit PIC MicrocontrollersAppNote01/21/20162087KB
AN2059 - LIN Basics and Implementation of the MCC LIN Stack Library on 8-Bit PIC MicrocontrollersAppNote02/24/2016816KB
Core Independent Peripherals for 8-bit PIC(R) Microcontrollers BrochureBrochures11/11/20123731KB
MPLAB® X IDE Product OverviewSell Sheets07/11/2011182KB
PIC18F "K22" Family of Microcontrollers Product OverviewSell Sheets08/30/2010115KB
Communicating with SPI serial EEPROM using a PIC18F24K20Code Examples12/13/20123495KB
AN1921 Source codeAppNoteLiterature09/10/201516041KB
AN2045 EXP8I2CClick.X.zipAppNoteLiterature01/21/2016684KB
AN2045 EXP8SPIClick.X.zipAppNoteLiterature01/21/2016417KB
Ordering Information
Part NumberLeadsPackage TypeTemp RangePacking1+26+100+1000+5000+
PIC18F24K22-E/ML28QFN-40C to +125CTUBE2.412.202.001.841.75
PIC18F24K22-E/MV28UQFN-40C to +125CTUBE2.412.202.001.841.75
PIC18F24K22-E/SO28SOIC-40C to +125CTUBE2.292.101.901.751.66
PIC18F24K22-E/SP28SPDIP-40C to +125CTUBE2.482.282.061.901.80
PIC18F24K22-E/SS28SSOP-40C to +125CTUBE2.252.061.871.721.64
PIC18F24K22-I/ML28QFN-40C to +85CTUBE2.202.011.821.681.60
PIC18F24K22-I/MV28UQFN-40C to +85CTUBE2.202.011.821.681.60
PIC18F24K22-I/SO28SOIC-40C to +85CTUBE2.081.911.731.591.51
PIC18F24K22-I/SP28SPDIP-40C to +85CTUBE2.272.081.891.741.65
PIC18F24K22-I/SS28SSOP-40C to +85CTUBE2.041.871.701.561.48
PIC18F24K22T-I/ML28QFN-40C to +85CT/R2.252.061.861.711.63
PIC18F24K22T-I/MV28UQFN-40C to +85CT/R2.252.061.861.711.63
PIC18F24K22T-I/SO28SOIC-40C to +85CT/R2.131.951.771.631.55
PIC18F24K22T-I/SS28SSOP-40C to +85CT/R2.091.921.741.601.52
PIC18LF24K22-E/ML28QFN-40C to +125CTUBE2.412.202.001.841.75
PIC18LF24K22-E/MV28UQFN-40C to +125CTUBE2.412.202.001.841.75
PIC18LF24K22-E/SO28SOIC-40C to +125CTUBE2.292.101.901.751.66
PIC18LF24K22-E/SP28SPDIP-40C to +125CTUBE2.482.282.061.901.80
PIC18LF24K22-E/SS28SSOP-40C to +125CTUBE2.252.061.871.721.64
PIC18LF24K22-I/ML28QFN-40C to +85CTUBE2.202.011.821.681.60
PIC18LF24K22-I/MV28UQFN-40C to +85CTUBE2.202.011.821.681.60
PIC18LF24K22-I/SO28SOIC-40C to +85CTUBE2.081.911.731.591.51
PIC18LF24K22-I/SP28SPDIP-40C to +85CTUBE2.272.081.891.741.65
PIC18LF24K22-I/SS28SSOP-40C to +85CTUBE2.041.871.701.561.48
PIC18LF24K22T-I/ML28QFN-40C to +85CT/R2.252.061.861.711.63
PIC18LF24K22T-I/MV28UQFN-40C to +85CT/R2.252.061.861.711.63
PIC18LF24K22T-I/SO28SOIC-40C to +85CT/R2.131.951.771.631.55
PIC18LF24K22T-I/SS28SSOP-40C to +85CT/R2.091.921.741.601.52
相关开发工具
Similar Devices
ProductPinsFlashRAMPrice5KNotes
PIC18F13K22208256$1.16
PIC18F14K222016512$1.26
PIC18F23K22288512$1.31
PIC18F24K222816768$1.48
PIC18F25K2228321,536$1.62
PIC18F26K2228643,896$1.90
PIC18F43K22408512$1.67
PIC18F44K224016768$1.74
PIC18F45K2240321,536$1.88
PIC18F46K2240643,896$2.16
RoHS Information
PartNumberDeviceWeightShippingWeightLeadCountPackageTypePackageWidthSolderCompositionJEDECIndicatorRoHSChinaEFUP
PIC18F24K22-I/SO0.7704001.37037028SOIC.300inMatte Tine3
PIC18F24K22-E/SO0.7704001.37037028SOIC.300inMatte Tine3
PIC18F24K22T-I/SO0.7704001.15250028SOIC.300inMatte Tine3
PIC18F24K22-E/SOVAO0.7704001.37037028SOIC.300inMatte Tine3
PIC18F24K22T-E/SOVAO0.7704001.15250028SOIC.300inMatte Tine3
PIC18F24K22-E/SP2.0875003.73333328SPDIP.300inMatte Tine3
PIC18F24K22-I/SP2.0875003.73333328SPDIP.300inMatte Tine3
PIC18F24K22-E/ML0.1016000.16393428QFN6x6x0.9mmMatte Tine3
PIC18F24K22-I/ML0.1016000.16393428QFN6x6x0.9mmMatte Tine3
PIC18F24K22T-I/ML0.1016000.33250028QFN6x6x0.9mmMatte Tine3
PIC18F24K22-E/SS0.2292000.48936228SSOP.209inMatte Tine3
PIC18F24K22-I/SS0.2292000.48936228SSOP.209inMatte Tine3
PIC18F24K22T-I/SS0.2292000.33333328SSOP.209inMatte Tine3
PIC18F24K22T-I/MV0.0261000.21212128UQFN4x4x0.5mmMatte Tine3
PIC18F24K22-I/MV0.0261000.10989028UQFN4x4x0.5mmMatte Tine3
PIC18F24K22-E/MV0.0261000.10989028UQFN4x4x0.5mmMatte Tine3
PIC18(L)F2X/4XK22 Data Sheet PIC18F45K22
PIC18(L)F23/24/43/44K22 Silicon Errata and Data Sheet Clarification PIC18F44K22
PIC18(L)F2XK22/4XK22 Flash Memory Programming PIC18F45K22
AN1250 DM240011
AN1310 PIC16F1827
AN1310 Source Code PIC16F1827
AN1317 DM240011
AN DM240011
AN1375 PIC24FJ16GA004
AN1416 DM240311
AN1450 PIC16F1786
AN1450 Source Code PIC16F1786
AN1921 PIC16F1824
AN1921 Source code PIC16F1824
AN2045 PIC16F1823
AN2045 EXP8I2CClick.X.zip PIC16F1823
AN2045 EXP8SPIClick.X.zip PIC16F1823
AN2059 PIC16F1933
Core Independent Peripherals for 8-bit PIC(R) Microcontrollers Brochure PIC16F1939
MPLAB® X IDE Product Overview 24VL025
PIC18F "K22" Family of Microcontrollers Product Overview PIC18F45K22
Communicating with SPI serial EEPROM using a PIC18F24K20 PIC18F24K22
AN1921 Source code PIC16F1513
AN2045 EXP8I2CClick.X.zip PIC16F1513
AN2045 EXP8SPIClick.X.zip PIC16F1513