PIC18LF45K80-I/P - 8-bit 64MHz 32KB Flash ECAN MCU | Microchip
MPN: PIC18LF45K80-I/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.92 | $5.92 |
| 10 | $5.27 | $52.70 |
| 100 | $4.4 | $440.00 |
| 500 | $3.74 | $1,870.00 |
| 1,000 | $3.22 | $3,220.00 |
PIC18LF45K80-I/P Overview
A PIC18 microcontroller is a high-performance 8-bit Harvard-architecture device from Microchip's enhanced PIC18 family, sitting hierarchically within the broader category of microcontrollers -> microcontrollers (MCU) -> 8-bit MCU -> embedded controller -> semiconductor IC. The 'LF' prefix indicates a low-voltage variant (1.8V to 3.6V operation) and 'K80' identifies the family with integrated ECAN, nanoWatt XLP ultra-low-power technology, and CTMU (Charge Time Measurement Unit). These features enable robust automotive and industrial communication applications with industry-leading low sleep current.
Key specifications include a 64MHz internal oscillator (16 MIPS instruction throughput), 12-bit A/D converter with up to 11 channels, multiple communication peripherals (ECAN, SPI, I2C, UART), and nanoWatt XLP technology that drops quiescent current below 100 nA in sleep mode. The CTMU peripheral enables touch sensing, capacitive proximity detection, and precision time measurement, eliminating the need for external timer ICs in many designs.
Architecturally, the PIC18LF45K80 uses a 16-bit instruction word with an 8-bit data path, separate program and data buses (Harvard architecture), and a hardware multiplier for faster arithmetic. The integrated ECAN module implements CAN 2.0B active with 32 acceptance filters, supporting bit rates up to 1 Mbps, making this part well suited to industrial and automotive network nodes.
Typical applications include automotive body and comfort modules (CAN nodes), industrial sensor transmitters with ECAN, building automation controllers, low-power battery-powered sensor nodes, and capacitive touch user interfaces. The 40-pin PDIP package supports easy breadboarding and through-hole prototype assembly, which is preferred in education, hobbyist, and legacy industrial installations.
When designing with this part, ensure your supply stays within 1.8V to 3.6V (LF variant); use the 5V-tolerant PIC18F45K80-I/P if you require 5V rail compatibility. Always place a 100nF decoupling capacitor within 5mm of each VDD/VSS pin pair, and configure the CONFIG register correctly for your oscillator choice.
This page synthesizes current distributor pricing from DigiKey and Mouser, parametric alternatives within the same PIC18 K-series family, and practical design notes drawn from Microchip application notes not duplicated in the manufacturer datasheet.
Drop-in alternatives for PIC18LF45K80-I/P — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC18LF45K80-I/P (same form factor and footprint) — differing in ADC, Package, I/O Pins, Data RAM, Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F45K80-I/PT
✅ Drop-In✓ In Stock
$2.4 / Unit
View Datasheet →PIC18LF46K80-I/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF45K22-I/P
✅ Drop-In✓ In Stock
$3.35 / Unit
View Datasheet →PIC18LF458-I/PT
✅ Drop-In✓ In Stock
$6.12 / Unit
View Datasheet →PIC18LF4520-I/PT
✅ Drop-In✓ In Stock
$5.21 / Unit
View Datasheet →PIC18LF44K22-I/P
✅ Drop-In✓ In Stock
$2.78 / Unit
View Datasheet →PIC18LF45K80-I/P Maximum Ratings & Electrical Characteristics
| Family | PIC® XLP™ 18K |
| Core Processor | PIC18 |
| Core Size | 8-bit |
| Max CPU Frequency | 64 MHz |
| Instruction Throughput | 16 MIPS |
| Program Memory (Flash) | 32 KB (16K x 16) |
| Data RAM | 3648 bytes |
| Data EEPROM | 1024 bytes |
| Operating Voltage Range | 1.8 V to 3.6 V |
| Operating Temperature | -40C to +85C (Industrial) |
| ADC | 12-bit, up to 11 channels |
| CAN | ECAN 2.0B active, 32 filters |
| Package | 40-pin PDIP (0.600 inch, 15.24mm) |
| Mounting Type | Through-Hole |
| MSL Level | 1 (unlimited) |
| Lead-Free / RoHS | Compliant |
| I/O Pins | 36 |
PIC18LF45K80-I/P Pin Configuration
| Pin 1 | MCLR/RE3 — Master Clear (reset) input / digital input on Port E bit 3 |
| Pin 2 | RA0/AN0 — PORTA bit 0 / analog input 0 |
| Pin 3 | RA1/AN1 — PORTA bit 1 / analog input 1 |
| Pin 4 | RA2/AN2 — PORTA bit 2 / analog input 2 |
| Pin 5 | RA3/AN3 — PORTA bit 3 / analog input 3 |
| Pin 6 | RA4 — PORTA bit 4 |
| Pin 7 | RA5/AN4 — PORTA bit 5 / analog input 4 |
| Pin 8 | RE0/RD — PORTE bit 0 / CAN receive pin |
| Pin 9 | RE1/WR — PORTE bit 1 / CAN write/read strobe (parallel slave) |
| Pin 10 | RE2/CS — PORTE bit 2 / chip select (parallel slave) |
| Pin 11 | VDD — Positive supply voltage (1.8V to 3.6V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKIN/RA7 — Oscillator crystal input / external clock input / PORTA bit 7 |
| Pin 14 | OSC2/CLKOUT/RA6 — Oscillator crystal output / clock output / PORTA bit 6 |
| Pin 15 | RC0/T1OSO/T13CKI — PORTC bit 0 / Timer1 oscillator output / Timer1/Timer3 clock input |
| Pin 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 I/O |
| Pin 17 | RC2/CCP1 — PORTC bit 2 / CCP1 I/O |
| Pin 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pin 19 | RD0/C1IN+/PSP0 — PORTD bit 0 / comparator 1 input + / parallel slave port bit 0 |
| Pin 20 | RD1/C1IN-/PSP1 — PORTD bit 1 / comparator 1 input - / parallel slave port bit 1 |
| Pin 21 | RD2/C2IN+/PSP2 — PORTD bit 2 / comparator 2 input + / parallel slave port bit 2 |
| Pin 22 | RD3/C2IN-/PSP3 — PORTD bit 3 / comparator 2 input - / parallel slave port bit 3 |
| Pin 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Pin 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Pin 25 | RC6/TX/CK — PORTC bit 6 / USART asynchronous transmit / USART synchronous clock |
| Pin 26 | RC7/RX/DT — PORTC bit 7 / USART asynchronous receive / USART synchronous data |
| Pin 27 | RD4/ECANRX/PSP4 — PORTD bit 4 / ECAN receive input / parallel slave port bit 4 |
| Pin 28 | RD5/ECANTX/PSP5 — PORTD bit 5 / ECAN transmit output / parallel slave port bit 5 |
| Pin 29 | RD6/TX2/CK2/PSP6 — PORTD bit 6 / USART2 async transmit / USART2 sync clock / parallel slave port bit 6 |
| Pin 30 | RD7/RX2/DT2/PSP7 — PORTD bit 7 / USART2 async receive / USART2 sync data / parallel slave port bit 7 |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage (1.8V to 3.6V) |
| Pin 33 | RB0/INT0/FLT0 — PORTB bit 0 / external interrupt 0 / PWM fault input |
| Pin 34 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pin 35 | RB2/INT2/CTED1 — PORTB bit 2 / external interrupt 2 / CTMU edge detect 1 |
| Pin 36 | RB3/INT3/CTED2 — PORTB bit 3 / external interrupt 3 / CTMU edge detect 2 |
| Pin 37 | RB4/KBI0 — PORTB bit 4 / keyboard interrupt 0 |
| Pin 38 | RB5/KBI1 — PORTB bit 5 / keyboard interrupt 1 |
| Pin 39 | RB6/KBI2/PGC — PORTB bit 6 / keyboard interrupt 2 / ICSP clock |
| Pin 40 | RB7/KBI3/PGD — PORTB bit 7 / keyboard interrupt 3 / ICSP data |
Typical Applications
PIC18LF45K80-I/P is suitable for 6 applications: Automotive Body and Comfort CAN Nodes, Industrial Sensor Transmitter with ECAN, Building Automation Controller, Low-Power Battery Sensor Node, Capacitive Touch User Interface, Legacy Industrial Replacement / Education Platform.
Automotive Body and Comfort CAN Nodes
The PIC18LF45K80-I/P is well suited for automotive body and comfort ECAN nodes thanks to its integrated ECAN 2.0B controller with 32 acceptance filters and 1 Mbps bit rate, plus 32KB Flash for CANopen or J1939 stacks. The nanoWatt XLP technology drops quiescent current below 100 nA in sleep, meeting strict quiescent drain budgets on always-on body modules. Used between the 12V (regulated to 3.3V) rail and the CAN bus transceiver, the part enables window, mirror, seat, and lighting nodes that must stay awake on CAN while drawing minimal current. The -40C to +85C industrial temperature range covers cabin and under-hood adjacent placements. For AEC-Q100 qualified applications, migrate to PIC18F45K80-I/P VAO variant instead.
Recommended
Industrial Sensor Transmitter with ECAN
Industrial 4-20 mA loop replacement designs and ECAN-based field sensors benefit from the PIC18LF45K80-I/P's ECAN peripheral and 12-bit ADC. The 64MHz core provides 16 MIPS, enough to run ECAN, ADC sampling, and calibration loops simultaneously. The 1024-byte EEPROM stores calibration coefficients without external memory, and the CTMU enables precision time measurement for flow and level sensing. Powered from a 24V industrial bus with an MCP1700 LDO dropping to 3.3V, the part operates reliably across the -40C to +85C industrial range with nanoWatt XLP sleep mode extending battery life on wireless variants.
Recommended
Building Automation Controller
Building automation nodes such as HVAC controllers, lighting switches, and access keypads use the PIC18LF45K80-I/P for its ECAN connectivity on BACnet or CANopen building networks. The 32KB Flash holds BACnet MS/TP or CANopen stack plus application logic, while 3648 bytes RAM supports buffer management. The CTMU drives capacitive touch keypads directly without external timer ICs, reducing BOM cost. With nanoWatt XLP sleep current below 100 nA, battery-powered wireless variants achieve multi-year coin-cell life. The 40-pin PDIP package simplifies field service and legacy 5V installations through pin-compatible migration to PIC18F45K80-I/P.
Recommended
Low-Power Battery Sensor Node
Battery-powered wireless sensor nodes leverage the PIC18LF45K80-I/P's nanoWatt XLP technology for sub-100 nA sleep current, enabling multi-year battery life on a single CR2032 coin cell. The 12-bit ADC with up to 11 channels multiplexes multiple sensors (temperature, humidity, light), while the ECAN or UART peripheral reports data to a gateway. The Watchdog Timer and Brown-Out Reset ensure reliable wake-up from sleep. Operating from 1.8V to 3.6V, the part runs directly from two AA cells without a boost converter, reducing quiescent loss. Internal 8MHz oscillator eliminates external crystal cost for cost-sensitive IoT deployments.
Recommended
Capacitive Touch User Interface
Capacitive touch keypads, sliders, and proximity sensors benefit from the PIC18LF45K80-I/P's built-in CTMU (Charge Time Measurement Unit), which measures capacitance with picosecond resolution using a single GPIO plus a known reference capacitor. The CTMU eliminates dedicated touch ICs in designs up to 16 buttons, reducing BOM by 50 to 70 percent versus dedicated solutions. The 12-bit ADC reads the CTMU discharge timing while the 64MHz core debounces and handles HID reports over USB or UART. NanoWatt XLP keeps average current under 5 uA in always-listening touch wake applications, making it ideal for battery-powered remote controls and white-goods front panels.
Recommended
Legacy Industrial Replacement / Education Platform
The PIC18LF45K80-I/P in the 40-pin PDIP package remains a popular through-hole platform for industrial retrofits, university curricula, and hobbyist prototyping because it accepts hand-soldered DIP sockets and breadboards. The 32KB Flash supports MPLAB X IDE, XC8 compiler, and Microchip's Code Configurator plug-in for rapid peripheral setup. Legacy industrial machines replacing obsolete 8051 or PIC16C parts use this MCU as a modern drop-in upgrade with ECAN, 12-bit ADC, and nanoWatt XLP at a comparable price. The 40-pin PDIP is pin-compatible with the older PIC18F458 and PIC18F452, simplifying mechanical retrofit without PCB changes.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF45K80-I/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F45K80-I/P | PIC18LF46K80-I/P | PIC18LF45K22-I/P | PIC18LF458-I/P | PIC18LF4520-I/P | PIC18LF44K22-I/P |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) | PDIP-40 (0.600 in) |
| Operating Voltage Range | 1.8 V to 3.6 V | 1.8 V to 5.5 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 1.8 V to 3.6 V |
| Max CPU Frequency | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 64 MHz (16 MIPS) |
| Flash Program Memory | 32 KB | 32 KB | 64 KB | 32 KB | 32 KB | 32 KB | 16 KB |
| Data RAM | 3648 bytes | 3648 bytes | 3863 bytes | 1536 bytes | 1536 bytes | 1536 bytes | 768 bytes |
| Integrated ECAN | Yes (ECAN 2.0B) | Yes (ECAN 2.0B) | Yes (ECAN 2.0B) | No | No | No | No |
| CTMU Peripheral | Yes | Yes | Yes | No | No | No | No |
| ADC | 12-bit, 11 channels | 12-bit, 11 channels | 12-bit, 11 channels | 10-bit, 28 channels | 10-bit, 8 channels | 10-bit, 13 channels | 10-bit, 28 channels |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
Key Differentiators
- Low-voltage 3.6V max VDD vs 5.5V on PIC18F variant (vs PIC18F45K80-I/P)
- 32KB Flash / 3648B RAM is cost-optimized vs 64KB K80 siblings (vs PIC18LF46K80-I/P)
- K80 family adds ECAN + CTMU that the older 5V 8-bit MCUs lack (vs PIC18LF4520-I/P)
Design Notes
The PIC18LF45K80-I/P requires 1.8V to 3.6V on VDD; using a PIC18F45K80-I/P variant instead extends the range to 5.5V for legacy 5V rails. Place a 100nF ceramic decoupling capacitor within 5mm of each VDD/VSS pin pair (pins 11/12 and 31/32). For battery applications, the MCP1700 LDO (1.6uA quiescent) is preferred over a switching regulator to preserve nanoWatt XLP sleep current performance below 100 nA.
Do not assume the LF prefix means 5V tolerance - the LF45K80 maxes at 3.6V and 5V on VDD will damage the part. Always set the CONFIG1H register for your oscillator choice (HS, XT, EC, INTOSC); an incorrect CONFIG can prevent the part from starting up. The CTMU requires a calibration step at production test for accurate capacitance measurements - omitting this yields offsets of several percent. Use the -I/P industrial temperature grade (this part) for any deployment that may see temperatures above 70C.
Route the ECANTX and ECANRX traces to pins 28 and 27 (PORTD bit 5 and bit 4) as a matched differential pair to the MCP2551 CAN transceiver, keeping the pair length under 50mm to meet CAN bus timing at 1 Mbps. Place the crystal on OSC1/OSC2 (pins 13/14) within 5mm of the IC and guard the traces with a ground pour to minimize EMI. Add a 1 MOhm pull-up on MCLR (pin 1) for normal operation and route the ICSP clock/data lines (PGC/PGD, pins 39/40) away from analog inputs to reduce noise coupling during in-circuit programming.
Compliance Information
RoHS compliant per Microchip product page. Industrial grade (-40C to +85C) only; for automotive AEC-Q100 use the PIC18F45K80-I/P VAO variant.