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
22days 03hrs 58min 25sec
Learn More →
PIC18F24K40-I/ML

MCHPPIC18F24K40-I/ML

Microchip Technology
PIC PIC® XLP™ 18K Microcontroller IC 8-Bit 64MHz 16KB (8K x 16) FLASH 28-QFN (6x6)
Active2,026 in stock

Overview

The PIC18F24K40-I/ML is an 8-bit eXtreme Low-Power (XLP) microcontroller featuring 16KB of Flash memory and a 64MHz internal oscillator. It combines a C-compiler optimized RISC architecture with Core Independent Peripherals to handle complex tasks with minimal CPU intervention. This device is designed for power-sensitive applications requiring a compact 28-pin QFN footprint.

Why Choose This Part

The inclusion of Peripheral Pin Select (PPS) allows for flexible I/O mapping, simplifying PCB routing and reducing layer counts. Its XLP technology provides remarkably low sleep currents of 50uA, while the 64MHz clock speed ensures high performance when the application wakes for processing.

Applications

Battery-Powered Handheld Devices
Utilizes XLP technology and Idle/Sleep modes to extend battery life in portable instrumentation.
Industrial Sensor Nodes
Leverages the hardware CRC and Windowed Watchdog Timer for reliable data processing in noisy environments.
Motor Control Housekeeping
Uses Peripheral Pin Select (PPS) and hardware PWMs to manage motor commutation logic and system monitoring.

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-VQFN Exposed Pad
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-QFN (6x6)
Voltage - Supply (Vcc/Vdd) 2.3V ~ 5.5V

Getting Started

Begin development using the MPLAB X IDE and the XC8 C Compiler. For hardware evaluation, the MPLAB Curiosity Nano or a PIC18F24K40 Curiosity Development Board is recommended along with a PICkit 4 or MPLAB Snap debugger.

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/ML (this part) 16KB 1K 25 VQFN-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 2,026
PIC18F24K40T-I/ML 16KB 1K 25 VQFN-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 2,180
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
PIC18F24K40-I/SO 16KB 1K 25 SOIC-28 A/D 24x10b; D/A 1x5b I2C, LINbus, SPI, .. 1,818
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

PIC18F25K40-I/ML MCHPMicrochip Technology - Provides double the Flash memory (32KB) in the same pin-compatible 28-QFN package.
ATmega168PB MCHPMicrochip Technology - An alternative 8-bit architecture with 16KB Flash and similar 5V tolerance for legacy industrial designs.
STM32L011K4U6 STMicroelectronics - A 32-bit ARM Cortex-M0+ alternative for users requiring higher computational efficiency at ultra-low power levels.