EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 23hrs 09min 44sec
Learn More →
PIC18F24K40-I/SO

MCHPPIC18F24K40-I/SO

Microchip Technology
PIC PIC® XLP™ 18K Microcontroller IC 8-Bit 64MHz 16KB (8K x 16) FLASH 28-SOIC
Active1,818 in stock

Overview

The PIC18F24K40-I/SO is an 8-bit microcontroller featuring 16KB of Flash memory and a 64MHz internal oscillator. Part of the eXtreme Low-Power (XLP) family, it balances high-speed processing with ultra-low power consumption for battery-dependent systems. It includes Peripheral Pin Select (PPS) for flexible I/O routing and a robust set of Core Independent Peripherals.

Why Choose This Part

This MCU offers high performance with a 64MHz clock and optimized RISC architecture for efficient C code execution. The Peripheral Pin Select (PPS) feature simplifies PCB layout by allowing digital peripherals to be mapped to any I/O pin. Integrated safety features like the Windowed Watchdog Timer (WWDT) and Fail-Safe Clock Monitor enhance system reliability.

Applications

Battery-Powered Remote Sensors
Utilizes XLP technology and 0.5uA sleep current to extend battery life in wireless monitoring nodes.
Industrial Protocol Translation
Manages LINbus, I2C, and UART communication tasks in factory automation environments.
Handheld Medical Devices
Ideal for portable diagnostic tools requiring low power consumption and internal voltage references.
Automotive Body Electronics
Fits interior control modules needing LIN connectivity and flexible peripheral mapping.

Key Specifications

Speed 64MHz
RAM Size 1K x 8
Core Size 8-Bit
EEPROM Size 256 x 8
Peripherals Brown-out Detect/Reset, LVD, POR, PWM, WDT
Connectivity I2C, LINbus, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 25
Core Processor PIC
Package / Case 28-SOIC (0.295", 7.50mm Width)
Data Converters A/D 24x10b; D/A 1x5b
Oscillator Type Internal
Program Memory Size 16KB (8K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 28-SOIC
Voltage - Supply (Vcc/Vdd) 2.3V ~ 5.5V

Getting Started

Development is supported by the MPLAB X IDE and the XC8 C Compiler. For hardware evaluation, use the Curiosity High Pin Count (HPC) Development Board or a PICkit 4 / MPLAB Snap debugger. Microchip Code Configurator (MCC) is recommended for rapid graphical configuration of the PPS and internal oscillators.

PIC18F24 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package ADC/DAC Connectivity Stock
PIC18F24K40-I/SO (this part) 16KB 1K 25 SOIC-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 1,818
PIC18F24K40T-I/ML 16KB 1K 25 VQFN-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 2,180
PIC18F24K40-I/ML 16KB 1K 25 VQFN-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 2,026
PIC18F24Q10-I/SO 16KB 1K 25 SOIC-28 A/D 24x10b; D/A 1x5b I2C, SPI, UART/USART 4,603
PIC18F24K22-I/SO 16KB 768 x 8 24 SOIC-28 A/D 19x10b I2C, SPI, UART/USART 2,175
PIC18F24Q10-I/SS 16KB 1K 25 SSOP-28 A/D 24x10b; D/A 1x5b I2C, SPI, UART/USART 23,542
PIC18F24K40T-I/SO 16KB 1K 25 SOIC-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 1,275
PIC18F24K40-I/SS 16KB 1K 25 SSOP-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 110
PIC18F24K42-I/SO 16KB 1K 25 SOIC-28 A/D 24x12b; D/A 1x5b I2C, LINbus, SPI, .. —

Also Consider

PIC18F25K42-I/SO MCHPMicrochip Technology - Offers larger 32KB Flash and advanced DMA capabilities for more complex data handling.
PIC18LF24K40-I/SO MCHPMicrochip Technology - The low-voltage variant optimized specifically for 1.8V to 3.6V operation.