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

PIC18F23K20

Status: In Production

Features:

  • Optional extended instruction set designed to optimize re-entrant code
  • Up to 1024 bytes Data EEPROM
  • Up to 64 Kbytes Linear program memory addressing
  • Up to 3936 bytes Linear data memory addressing
  • 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
  • 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
  • Allows for safe shutdown if peripheral clock stops
  • Two-Speed Oscillator Start-up
  • Operating Voltage Range: 1.8V to 3.6V
  • Self-Programmable under Software Control
  • Interrupt on High/Low-Voltage Detection
  • With software enable option
  • Programmable period from 4 ms to 131s
  • Single-Supply 3V In-Circuit Serial Programming™ (ICSP™) via two pins
  • In-Circuit Debug (ICD) via Two Pins
  • Sleep mode: 100 nA
  • Watchdog Timer: 500 nA
  • Timer1 Oscillator: 500 nA @ 32 kHz
  • 10-bit resolution, 13 External Channels
  • Auto-acquisition capability
  • Conversion available during Sleep
  • 1.2V Fixed Voltage Reference (FVR) channel
  • Independent input multiplexing
  • Two rail-to-rail analog comparators
  • Independent input multiplexing
  • Programmable (% VDD), 16 steps
  • Two 16-level voltage ranges using VREF pins
  • High-Current Sink/Source 25 mA/25 mA
  • Three programmable external interrupts
  • Four programmable interrupt-on-change
  • Eight programmable weak pull-ups
  • Programmable slew rate
  • Capture/Compare/PWM (CCP) module
  • One, two or four PWM outputs
  • Selectable polarity
  • Programmable dead time
  • Auto-Shutdown and Auto-Restart
  • 3-wire SPI (supports all 4 modes)
  • I2C™ Master and Slave modes with address mask
  • Supports RS-485, RS-232 and LIN
  • RS-232 operation using internal oscillator
  • Auto-Wake-up on Break
  • Auto-Baud Detect
View More
Overview
Documents
Development Environment
Similar Devices
RoHS Information
Buy Now

Device Overview

Additional Features

    High Performance RISC CPU:

    • C Compiler Optimized Architecture:
      • Optional extended instruction set designed to optimize re-entrant code
    • Up to 1024 bytes Data EEPROM
    • Up to 64 Kbytes Linear program memory addressing
    • Up to 3936 bytes Linear data memory addressing
    • 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

    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:

    • Operating Voltage Range: 1.8V to 3.6V
    • Self-Programmable under Software Control
    • Programmable 16-Level High/Low-Voltage Detection (HLVD) module:
      • Interrupt on High/Low-Voltage Detection
    • Programmable Brown-out Reset (BOR):
      • With software enable option
    • Extended Watchdog Timer (WDT):
      • Programmable period from 4 ms to 131s
    • Single-Supply 3V In-Circuit Serial Programming™ (ICSP™) via two pins
    • In-Circuit Debug (ICD) via Two Pins

    Extreme Low-Power Management with nanoWatt XLP™:

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

    Analog Features:

    • Analog-to-Digital Converter (ADC) module :
      • 10-bit resolution, 13 External Channels
      • Auto-acquisition capability
      • Conversion available during Sleep
      • 1.2V Fixed Voltage Reference (FVR) channel
      • Independent input multiplexing
    • Analog Comparator module:
      • Two rail-to-rail analog comparators
      • Independent input multiplexing
    • Voltage Reference (CVREF) module
      • Programmable (% VDD), 16 steps
      • Two 16-level voltage ranges using VREF pins

    Peripheral Highlights:

    • Up to 35 I/O pins plus 1 input-only pin:
      • High-Current Sink/Source 25 mA/25 mA
      • Three programmable external interrupts
      • Four programmable interrupt-on-change
      • Eight programmable weak pull-ups
      • Programmable slew rate
    • Capture/Compare/PWM (CCP) module
    • Enhanced CCP (ECCP) module:
      • One, two or four PWM outputs
      • Selectable polarity
      • Programmable dead time
      • Auto-Shutdown and Auto-Restart
    • Master Synchronous Serial Port (MSSP) module
      • 3-wire SPI (supports all 4 modes)
      • I2C™ Master and Slave modes with address mask
    • Enhanced Universal Synchronous Asynchronous Receiver Transmitter (EUSART) module:
      • Supports RS-485, RS-232 and LIN
      • RS-232 operation using internal oscillator
      • Auto-Wake-up on Break
      • Auto-Baud Detect
Parametrics
Name
Value
Program Memory Type
Flash
Program Memory Size (KB)
8
CPU Speed (MIPS/DMIPS)
16
SRAM Bytes
512
Data EEPROM/HEF (bytes)
256
Digital Communication Peripherals
1-UART, 1-SPI, 1-I2C1-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
10 ch, 10-bit
Number of Comparators
2
Temperature Range (°C)
-40 to 125
Operating Voltage Range (V)
1.8 to 3.6
Pin Count
28
Low Power
Yes

Documents

Jump to:

Migration Guide

Programming Specification

Applications Source code

05/30/2017
3028KB
01/21/2016
684KB
01/21/2016
417KB

Brochures

Product Line Card

Brochures

Development Environment

  • Emulators & Debuggers
  • Programmers
  • Demo & Evaluation Boards
  • Code Examples
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 MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

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
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
Add To Cart
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:
I/O Port Trace:True (Requires Compiler Support)
SPI Trace:True (Requires Compiler Support)


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 MPLAB® PICkit™ 4 In-Circuit Debugger/Programmer allows fast and easy debugging and programming of PIC®, dsPIC®, AVR, SAM and CEC flash microcontrollers, using the powerful graphical user interface of MPLAB X Integrated Development Environment (IDE), version 4.15. The MPLAB

...

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
Add To Cart
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).

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
Add To Cart
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
Add To Cart
Demo & Evaluation Boards
Explorer 8 Development Kit
Explorer 8 Development Kit ( DM160228 )

Summary
The Explorer 8 Development Kit is a full-featured development board and platform for 8-bit PIC® microcontrollers. This kit is a versatile development solution, featuring several options for external sensors, off-board communication and human interface. Additionally, it offers ample room for expansion, making it an excellent solution for developers and engineers looking for a...

Learn More
Add To Cart

Similar Devices

Product
Pins
Flash (KB)
RAM (B)
Price 5K
Notes
28
8
512
$1.23
 
28
16
768
$1.30
 
28
32
1,536
$1.37
 
28
64
3,936
$1.65
 
40
8
512
$1.46
 
40
16
768
$1.53
 
40
32
1,536
$1.60
 
40
64
3,936
$1.81
 

RoHS Information

Part Number
Device Weight (g)
Shipping Weight (Kg)
Lead Count
Package Type
Package Width
Solder Composition
JEDEC Indicator
RoHS
China EFUP
PIC18F23K20-E/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K20-I/ML
0.101600
0.163934
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K20T-I/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K20T-E/ML
0.101600
0.332500
28
QFN
6x6x0.9mm
Matte Tin
e3
PIC18F23K20-E/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F23K20-I/SS
0.229200
0.489362
28
SSOP
.209in
Matte Tin
e3
PIC18F23K20T-E/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F23K20T-I/SS
0.229200
0.333333
28
SSOP
.209in
Matte Tin
e3
PIC18F23K20-E/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F23K20-I/SO
0.770400
1.370370
28
SOIC
.300in
Matte Tin
e3
PIC18F23K20T-I/SO
0.770400
1.152500
28
SOIC
.300in
Matte Tin
e3
PIC18F23K20-E/MV
0.026100
0.109890
28
UQFN
4x4x0.55mm
Matte Tin
e3
PIC18F23K20-I/MV
0.026100
0.109890
28
UQFN
4x4x0.55mm
Matte Tin
e3
PIC18F23K20T-I/MV
0.026100
0.212121
28
UQFN
4x4x0.55mm
Matte Tin
e3
PIC18F23K20-E/SP
2.087500
3.733333
28
SPDIP
.300in
Matte Tin
e3
PIC18F23K20-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 the Microchip Store

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