Microchip logo
  • All
  • Products
  • Documents
  • Applications Notes
product primary image

PIC18F23K22

Newer Device Available PIC18F24Q10

Status: In Production

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
  • 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
  • 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
  • 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
  • Up to 28 channels for button, sensor or slider input
  • Two rail-to-rail analog comparators
  • Comparator inputs and outputs externally accessible and configurable
  • Programmable On-chip Voltage Reference (CVREF) module (% of VDD)
  • Selectable on-chip fixed voltage reference
  • 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 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
  • One, two or four PWM outputs
  • Selectable polarity
  • Programmable dead time
  • Auto-shutdown and Auto-restart
  • PWM output steering control
  • 3-wire SPI (supports all 4 SPI modes)
  • I2C™ Master and Slave modes (Slave mode with address masking)
  • Supports RS-232, RS-485 and LIN 2.0
  • Auto-Baud Detect
  • Auto Wake-up on Start bit
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Add To Cart

Device Overview

For product comparison, please consider: PIC18F24Q10

Additional Features

    High Performance RISC CPU:

    • 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

    Extreme Low-Power Management with nanoWatt XLP™:

    • Sleep mode: 100 nA, typical
    • Watchdog Timer: 500 nA, typical
    • Timer1 Oscillator: 500 nA @ typical 32 kHz

    Flexible Oscillator Structure:

    • 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
    • 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
    • Two-Speed Oscillator Start-up

    Special Microcontroller Features:

    • 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 Features:

    • 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
    • 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
    • Analog comparator module with:
      • 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

      Peripheral Features:

      • 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
      • 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 two Capture/Compare/PWM (CCP) modules
      • Up to three Enhanced Capture/Compare/PWM (ECCP) modules with:
        • 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)
      • 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
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
8
CPU Speed (MIPS/DMIPS)
16
SRAM (KB)
512
Data EEPROM/HEF (bytes)
256
Digital Communication Peripherals
2-UART, 2-SPI, 2-I2C2-MSSP(SPI/I2C)
Capture/Compare/PWM Peripherals
2 Input Capture, 1 CCP, 1 ECCP,
Timers
1 x 8-bit, 3 x 16-bit
ADC Input
17 ch, 10-bit
Number of Comparators
2
Temperature Range (°C)
-40 to 125
Operating Voltage Range (V)
1.8 to 5.5
Pin Count
28
Low Power
Yes

Documents

Jump to:

Data Sheets

Programming Specifications

White Papers

Development Environment

  • Integrated Development Environments
  • Emulators & Debuggers
  • Programmers
  • Code Examples
Integrated Development Environments
MPLAB-X-IDE
MPLAB X Integrated Development Environment (IDE) ( MPLAB-X-IDE )

MPLAB® X Integrated Development Environment (IDE) is an expandable, highly configurable software program that incorporates powerful tools to help you discover, configure, develop, debug and qualify embedded designs for most of Microchip’s microcontrollers, microprocessors and digital signal controllers.
MPLAB X IDE works seamlessly with the MPLAB development ecosystem of

...

Learn More
Emulators & Debuggers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor, the PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® and SAM Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs and no new device support will be added to it as of June 1, 2019. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to

...

Learn More
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product and no new device support will be added to it as of June 1, 2019. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for

...

Learn More
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

 

Not recommended for new designs and no new device support will be added to it as of June 1, 2019. For new designs, please consider the MPLAB ICD 4 (DV164045).

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for

...

Debug Features:
Runtime watch:Supported
I/O Port Trace:True (Requires Compiler Support)
Native Trace:True
SPI Trace:True (Requires Compiler Support)


Learn More
MPLAB(R) Snap In-Circuit Debugger
MPLAB(R) Snap In-Circuit Debugger ( PG164100 )

Our most affordable debugger has power to impress.

The MPLAB® Snap In-Circuit Debugger/Programmer allows affordable, fast and easy debugging and programming of PIC®, dsPIC®, AVR and SAM flash MCUs, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE) version 5.05 or later. The MPLAB Snap can be connected to a computer using a

...

Learn More
Add To Cart
Programmers
MPLAB PICkit 4 In-Circuit Debugger
MPLAB PICkit 4 In-Circuit Debugger ( PG164140 )

Fast programming, increased functionality, at the same price as its predecessor, the PICkit™ 3.

The MPLAB PICkit 4 now has Programmer-to-Go functionality for 8-bit, 16-bit and 32-bit PIC MCUs and dsPICs and also SAM MCU devices . The firmware update comes with MPLAB X IDE v5.30. AVR is expected soon!


The MPLAB® PICkit™ 4 In-Circuit

...

Learn More
Add To Cart
MPLAB ICD 4 In-Circuit Debugger
MPLAB ICD 4 In-Circuit Debugger ( DV164045 )

The MPLAB® ICD 4 In-Circuit Debugger/Programmer is Microchip’s fastest, cost-effective debugging and programming tool for PIC® and SAM Microcontrollers (MCUs), dsPIC® Digital Signal Controllers (DSCs), and CEC flash microcontrollers. This speed is provided by a SAME70 MCU with 300 MHz, 32-bit MCU with 2MB of RAM and a high-speed FPGA to yield

...

Learn More
Add To Cart
PICkit 3 In-Circuit Debugger
PICkit 3 In-Circuit Debugger ( PG164130 )
(Not Recommended for new design)

The PICkit 3 is not recommended for new designs and no new device support will be added to it as of June 1, 2019. For new designs, please see the MPLAB PICKit 4.

Microchip’s PICkit™ 3 In-Circuit Debugger/Programmer uses in-circuit debugging logic incorporated into each chip with Flash memory to

...

Learn More
MPLAB PM3 Universal Device Programmer
MPLAB PM3 Universal Device Programmer ( DV007004 )

The MPLAB® PM3 Universal Device Programmer is easy to use and operates with a PC or as a stand-alone unit, and programs Microchip's entire line of PIC® devices as well as the latest dsPIC® DSC devices. When used standalone, data can be loaded and saved with the SD/MMC card (not included).

  • Socket: AC164302   PartNo: PIC18F23K22 (28SO)
  • Socket: AC164301   PartNo: PIC18F23K22 (28SP)
  • Socket: AC164322   PartNo: PIC18F23K22 (28ML)
  • Socket: AC164307   PartNo: PIC18F23K22 (28SS)
  • Socket: AC164345   PartNo: PIC18F23K22 (28MV)
Learn More
Add To Cart
MPLAB ICD 3 In-Circuit Debugger
MPLAB ICD 3 In-Circuit Debugger ( DV164035 )
(Not Recommended for new design)

 The MPLAB ICD 3 is a mature product and no new device support will be added to it as of June 1, 2019. For new designs, consider using the MPLAB ICD 4 (DV164045)

MPLAB® ICD 3 In-Circuit Debugger System is Microchip's most cost effective high-speed hardware debugger/programmer for

...

Learn More
MPLAB REAL ICE PROBE KIT
MPLAB REAL ICE PROBE KIT ( DV244005 )
(Not Recommended for new design)

 

Not recommended for new designs and no new device support will be added to it as of June 1, 2019. For new designs, please consider the MPLAB ICD 4 (DV164045).

MPLAB REAL ICE In-Circuit Emulator System is Microchip’s next generation high speed emulator for

...

Learn More
MPLAB(R) Snap In-Circuit Debugger
MPLAB(R) Snap In-Circuit Debugger ( PG164100 )

Our most affordable debugger has power to impress.

The MPLAB® Snap In-Circuit Debugger/Programmer allows affordable, fast and easy debugging and programming of PIC®, dsPIC®, AVR and SAM flash MCUs, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE) version 5.05 or later. The MPLAB Snap can be connected to a computer using a

...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
20
8
256
$1.16
 
20
16
512
$1.26
 
28
8
512
$1.34
 
28
16
768
$1.48
 
28
32
1,536
$1.62
 
28
64
3,896
$1.90
 
40
8
512
$1.67
 
40
16
768
$1.74
 
40
32
1,536
$1.88
 
40
64
3,896
$2.16
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (grams)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18F23K22-E/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K22-I/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K22T-I/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K22T-E/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K22-I/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22-I/SSVAO
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22T-E/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22T-I/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22T-I/SSVAO
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22-E/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F23K22-E/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F23K22-I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F23K22T-I/SO
0.770400
1.152500
28
SOIC
.300in
Matte Tin
e3
PIC18F23K22-I/MV
0.026100
0.109890
28
UQFN
4x4x0.55mm
Matte Tin
e3
PIC18F23K22T-I/MV
0.026100
0.212121
28
UQFN
4x4x0.55mm
Matte Tin
e3
PIC18F23K22-E/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
PIC18F23K22-I/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
To see a complete listing of RoHS data for this device, please Click here
Shipping Weight = Device Weight + Packing Material weight. Please contact sales office if device weight is not available.

Buy from Microchip

Grid
View
Table
View
Filter:
Apply
Clear
Only show products with samples
Product
Leads
Package Type
Temp Range
Packing Media
5K Pricing
Buy