EmbeddedRelated.com
PIC18F27K40-I/SP

MCHPPIC18F27K40-I/SP

Microchip Technology
PIC PIC® XLP™ 18K Microcontroller IC 8-Bit 64MHz 128KB (64K x 16) FLASH 28-SPDIP
Active905 in stock

Overview

The PIC18F27K40-I/SP is a high-performance 8-bit microcontroller featuring 128KB of Flash memory and 3.6KB of RAM in a breadboard-friendly 28-pin SPDIP package. Part of the PIC18 K40 family, it integrates eXtreme Low Power (XLP) technology with a robust set of Core Independent Peripherals (CIPs) to handle timing and control tasks with minimal CPU intervention.

Why Choose This Part

This MCU offers a massive 128KB Flash capacity for an 8-bit device, accommodating complex logic and large look-up tables. The inclusion of Peripheral Pin Select (PPS) allows engineers to map digital peripherals to any I/O pin, greatly simplifying PCB layout and routing.

Applications

Industrial Control Systems
Utilizing the Zero-Cross Detect (ZCD) and Hardware Capacitive Voltage Divider (CVD) for robust sensor interfacing and AC load switching.
Low-Power Remote Sensors
Leveraging XLP technology and multiple sleep modes to extend battery life in periodic data logging applications.
Prototyping and Education
The through-hole SPDIP package allows for direct insertion into breadboards and sockets for rapid hardware development.
Communication Bridges
Using Peripheral Pin Select (PPS) to flexible map EUSART, SPI, and I2C interfaces for protocol conversion tasks.

Key Specifications

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

Getting Started

Develop using the Microchip MPLAB X IDE and the XC8 C Compiler. For hardware programming and debugging, use the MPLAB PICkit 4 or Snap in-circuit debugger connected to the ICSP pins. The Curiosity Development Board (DM164137) is the recommended evaluation platform for this family.

PIC18F27 Family

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

Part Number Flash RAM Package ADC/DAC Peripherals Temp Range Stock
PIC18F27K40-I/SP (this part) 128KB 3.6K DIP-28 A/D 24x10b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 85degC (.. 905
PIC18F27K40T-I/SS 128KB 3.6K SSOP-28 A/D 24x10b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 85degC (.. 2,630
PIC18F27K42-I/SP 128KB 8K DIP-28 A/D 24x12b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 85degC (.. 661
PIC18F27K42-E/SO 128KB 8K SOIC-28 A/D 24x12b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 125degC .. 3,146
PIC18F27Q10-I/SO 128KB 3.53K SOIC-28 A/D 24x10b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 85degC (.. 652
PIC18F27Q43-I/SO 128KB 8K SOIC-28 A/D 24x12b; D/A 1x8b Brown-out Detect/R.. -40degC ~ 85degC (.. 1,530
PIC18F27K42-E/SS 128KB 8K SSOP-28 A/D 24x12b; D/A 1x5b Brown-out Detect/R.. -40degC ~ 125degC .. 113

Also Consider

ATmega328P MCHPMicrochip Technology - A common alternative for 28-pin DIP projects requiring extensive community libraries and Arduino ecosystem compatibility.