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 20hrs 29min 35sec
Learn More →
PIC18F24K40T-I/SO

MCHPPIC18F24K40T-I/SO

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

Overview

The PIC18F24K40T-I/SO is an 8-bit eXtreme Low-Power (XLP) microcontroller from Microchip's PIC18 K40 family, featuring 16KB of Flash memory and a 64MHz internal oscillator. It combines a 31-level hardware stack and an extended instruction set optimized for C compilers to deliver high performance in a compact 28-pin SOIC package. The device includes robust Core Independent Peripherals (CIPs) that handle tasks in hardware to reduce CPU overhead and power consumption.

Why Choose This Part

This MCU offers a high 64MHz clock speed for an 8-bit architecture while maintaining very low power profiles through its XLP modes. The integration of 256 bytes of EEPROM allows for persistent storage of configuration data without requiring external components. Additionally, the Peripheral Pin Select (PPS) feature provides layout flexibility by allowing digital peripherals to be mapped to different I/O pins.

Applications

Battery-Powered Remote Sensors
Utilizes XLP technology with sleep currents as low as 50nA to extend the life of coin-cell operated devices.
Industrial Control Logic
Integrated Windowed Watchdog Timer (WWDT) and Brown-out Reset (BOR) ensure reliable operation in electrically noisy environments.
Human Interface Devices
Features 25 I/O pins and hardware PWM modules suitable for controlling status LEDs, small displays, and user input buttons.

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

To develop with this part, use the MPLAB X IDE and the XC8 C Compiler provided by Microchip. Hardware programming and debugging are typically performed using the MPLAB PICkit 4 or MPLAB Snap in-circuit debuggers. For rapid prototyping, the Curiosity Nano or Explorer 8 development boards offer a compatible environment for the PIC18-K40 family.

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

ATmega328P MCHPMicrochip Technology - A popular 8-bit alternative with a large community ecosystem, though it lacks the 64MHz clock speed of the PIC18F.