Opens in a new tab

Authorized electronic component supplier · 12,000+ part numbers in stock

MENU

Instant Quote

SEARCH PARTS

PIC18F45K80-I/P

8-bit PIC18 MCU 64MHz, 32KB Flash, 3.6KB RAM, 1KB EEPROM, ECAN 2.0B, 2xEUSART, 12-bit ADC, CTMU touch, 20nA sleep, PDIP-40, 1.8-5.5V, -40~85C

Effective inventoryPCS

10000
in stock

SpecificationsTechnical data

Manufacturer part

PIC18F45K80-I/P

Package

PDIP-40 (53.34 x 14.73 x 5.08 mm, 2.54mm pitch, through-hole)

Brand

MICROCHIP

Category

Clock & Timing ICs, Integrated Circuits ICs

Quality Commitment

Shipping & Payment

Service & Packaging

DescriptionProduct overview

The PIC18F45K80-I/P from Microchip Technology is an 8-bit PIC18 XLP (eXtreme Low Power) microcontroller with integrated ECAN module in a 40-pin PDIP (through-hole) package. Key specifications: PIC18 core at up to 64 MHz (16 MIPS); 32 KB Flash program memory (16K x 16 words); 3648 bytes SRAM; 1024 bytes data EEPROM; 1.8 V to 5.5 V operating voltage; integrated ECAN module conforming to CAN 2.0B active specification (1 channel with 8 transmit/receive buffers); 2 Enhanced USART modules with LIN support; 1 MSSP serial port configurable as SPI or I2C; 11-channel 12-bit ADC; 2 analog comparators; 4 Capture/Compare/PWM modules and 1 Enhanced CCP module; 5 timers (4 x 8/16-bit + 1 8-bit); Charge Time Measurement Unit (CTMU) for touch sensing and precision timing; Digital Signal Modulator (DSM); 35 I/O pins; brown-out detect (BOD); power-on reset (POR); watchdog timer (WDT); extreme low power: 20 nA sleep mode, 300 nA WDT operation in sleep; operating temperature -40 to +85 degrees C (I grade); PDIP-40 package (through-hole, 53.34 x 14.73 x 5.08 mm); 10,000 erase/write Flash endurance; 20-year Flash data retention; self-programming capability; ICSP and ICD via 2-wire interface; RoHS compliant. Active/In Production status.

01PIC18F45K80-I/P · Product Introduction
The PIC18F45K80-I/P from Microchip Technology is an 8-bit PIC18 microcontroller with an integrated CAN 2.0B controller (ECAN module) and eXtreme Low Power (XLP) technology, designed for cost-sensitive automotive, industrial, and building automation applications that require CAN bus connectivity with minimal power consumption.

The PIC18F45K80 belongs to the PIC18F66K80 family, which includes devices with 28 to 64 pins and 16 KB to 64 KB Flash. The PIC18F45K80 is the 40-pin, 32 KB Flash member. The -I/P suffix indicates industrial temperature range (-40 to +85 degrees C) in PDIP (plastic dual in-line) through-hole package, making it ideal for prototyping, hobbyist projects, and low-volume production where through-hole assembly is preferred.

The ECAN module is the primary differentiator of the PIC18F45K80. ECAN (Enhanced CAN) is Microchip’s implementation of the CAN 2.0B active specification, supporting both standard (11-bit) and extended (29-bit) message identifiers. The module includes 8 transmit/receive buffers (configurable as TX or RX), 16 acceptance filters with 16 masks for message filtering, and automatic bit timing calculation from the CAN bus baud rate. The ECAN module handles all CAN protocol layer functions (bit stuffing, CRC, error management, bit timing) in hardware, offloading the CPU for application tasks.

The 20 nA sleep current is remarkably low and is a hallmark of Microchip’s XLP technology. In applications where the MCU spends most of its time sleeping (e.g., waiting for a CAN message or a timer wake-up), the battery drain is dominated by the sleep current. At 20 nA, a 1000 mAh coin cell battery would last over 5700 years in sleep (theoretical), making the sleep current essentially zero for practical purposes. Even with the WDT running at 300 nA, the battery life is still measured in centuries.

The 1.8 V to 5.5 V operating voltage range is wider than typical PIC18 devices (which usually start at 2.0 V). The 1.8 V minimum enables operation from a single alkaline cell (1.5 V nominal, down to 0.9 V end-of-life with a boost converter) or from a single Li-Ion cell without regulation. The 5.5 V maximum allows direct connection to 5 V automotive and industrial systems.

The CTMU (Charge Time Measurement Unit) is a versatile peripheral that can be used for capacitive touch sensing (buttons, sliders, wheels), precision time measurement (resolution down to 1 ns), and capacitance-to-digital conversion. For touch sensing, the CTMU charges a sensor pad through a constant current source and measures the time to reach a threshold voltage. The measured time is proportional to the sensor capacitance, which changes when a finger is present. The CTMU enables touch user interfaces without external components.

The 11-channel 12-bit ADC provides higher resolution than the typical 10-bit ADC found on most PIC18 devices. The 12-bit resolution gives 4096 counts over the reference voltage range, providing 1.22 mV resolution at 5 V reference, compared to 4.88 mV for a 10-bit ADC. This improved resolution is valuable for sensor applications requiring higher precision.

The dual EUSART modules support LIN (Local Interconnect Network) bus communication in addition to standard UART. LIN is a single-wire, low-cost serial bus used in automotive sub-systems (door modules, seat controls, lighting). Each EUSART supports auto-baud detection, 9-bit addressing, and wake-on-start-bit for multi-node serial networks.

The PDIP-40 package is significant for several reasons: it is through-hole, making it easy to prototype on breadboards and through-hole PCBs; it is the same pinout as the classic PIC16F877A and PIC18F4520, enabling easy migration from these legacy devices; and it is one of the few CAN-equipped MCUs available in a through-hole package, making it accessible to hobbyists and educators who cannot solder surface-mount components.

Development is supported by Microchip’s MPLAB X IDE, MPLAB Code Configurator (MCC), and PICKit/ICD programmers. The PIC18F45K80 is also supported by the Microchip XC8 C compiler, which includes optimized libraries for ECAN, ADC, and communication peripherals.

02PIC18F45K80-I/P · Working Principle
The PIC18F45K80-I/P operates as an 8-bit Harvard architecture microcontroller with a 16-bit instruction word, integrating a CAN 2.0B protocol controller and advanced analog peripherals alongside the CPU core.

PIC18 Core: The PIC18 core uses a modified Harvard architecture with separate program and data memory buses. The program memory is organized as 16-bit words (not bytes), which allows most instructions to be encoded in a single word. The core executes most instructions in a single cycle (4 clock periods) at up to 64 MHz clock, giving 16 MIPS throughput. The instruction set includes 8×8 hardware multiply (single cycle), table read/write for Flash and EEPROM access, and conditional branch instructions. Unlike ARM Cortex-M cores, the PIC18 has no pipeline; each instruction is fetched and executed sequentially.

Memory Architecture: The 32 KB Flash is organized as 16K x 16-bit words. The data SRAM (3648 bytes) is accessed through the data bus using banked addressing (12 banks of 256 bytes each, plus Access RAM). The 1024-byte EEPROM is accessed through special registers (EEADR, EEDATA, EECON1, EECON2) and supports up to 1 million erase/write cycles. The Flash supports 10,000 erase/write cycles and 20-year data retention. Self-programming allows the application to write to its own Flash (for bootloaders and data logging) through the same table read/write mechanism.

ECAN Module: The Enhanced CAN module implements the CAN 2.0B active protocol in hardware. The module consists of a protocol engine, bit timing logic, and a message buffer system. The protocol engine handles frame formatting (start-of-frame, arbitration field, control field, data field, CRC field, ACK field, end-of-frame), bit stuffing/de-stuffing, error detection and signaling (bit error, stuff error, CRC error, form error, ACK error), error management (transmit/receive error counters, error passive/bus-off states), and bit timing (synchronization, propagation, phase segments).

The message buffer system uses 8 buffers that can be individually configured as transmit or receive buffers. Each buffer has dedicated registers for the message identifier (SID/EID), data length code (DLC), data bytes (up to 8), and status flags. The 16 acceptance filters and 16 masks allow the ECAN to accept or reject incoming messages based on the identifier field, reducing CPU interrupt load by filtering out irrelevant messages at the hardware level.

The ECAN supports bit rates from 10 kbps to 1 Mbps, determined by the CAN bus length and the oscillator frequency. The bit timing is configured through the BRGCONx registers, which set the baud rate prescaler, synchronization jump width, propagation segment, and phase segments 1 and 2. The module requires an external CAN transceiver (such as MCP2551 or SN65HVD230) to convert the MCU logic-level signals to the differential CAN bus levels.

CTMU: The Charge Time Measurement Unit consists of a precision constant current source, a discharge switch, and measurement circuitry. For capacitive touch sensing, the CTMU charges the sensor pad (connected to a GPIO pin configured as a capacitive input) with a constant current for a fixed time period, then the ADC measures the resulting voltage. When a finger is present, the additional capacitance causes the voltage to be lower (since V = I x T / C, higher C means lower V for constant I and T). The CTMU can also measure time intervals by charging a known capacitor with a constant current and measuring the voltage change, which gives the elapsed time with nanosecond-level resolution.

12-bit ADC: The ADC uses a successive approximation register (SAR) architecture with a capacitive charge redistribution DAC. The 12-bit resolution provides 4096 quantization levels. The ADC can be triggered by software, timer overflow, or external event. It supports automatic acquisition time calculation and can perform sequential scanning of multiple channels. The result is stored in 12-bit right-justified or left-justified format in the ADRESH:ADRESL register pair.

Power Management: The XLP technology achieves the ultra-low sleep current through several techniques: the on-chip voltage regulator is disabled in sleep mode (the core runs at 1.8 V internally, and the regulator is bypassed during sleep); the oscillator and all peripherals are stopped; only the WDT (if enabled) and the BOR (if enabled) remain active. The 20 nA sleep current assumes WDT and BOR are both disabled. With WDT enabled, the current increases to 300 nA. The MCU wakes from sleep on any enabled interrupt (external interrupt, CAN activity, EUSART start bit, timer overflow, etc.).

ICSP/ICD: The In-Circuit Serial Programming and In-Circuit Debug interface uses 2 pins (PGC, PGD) plus VDD, VSS, and MCLR. This allows Flash programming and real-time debugging (breakpoints, single-step, register view) without removing the device from the target board. The ICD interface is compatible with Microchip’s PICKit 3/4, ICD 3/4, and MPLAB Snap programmers/debuggers.

03PIC18F45K80-I/P · Pin Description
Pin Group Name Type Description
Power VDD, VSS Power VDD: positive supply 1.8-5.5 V (2 pins); VSS: ground (2 pins); decouple each VDD with 100 nF ceramic capacitor close to the pin; add a 10 uF bulk capacitor near the MCU; for analog accuracy, use a separate filtered VDD path for AVDD and AVSS
Reset MCLR Input Master Clear (reset) input; active-low; internal pull-up; asserting LOW for at least 2 us generates device reset; also used as ICSP programming voltage input (VPP, approximately 9 V during programming); connect through a 10 kOhm pull-up resistor to VDD; add a 100 nF capacitor to VSS for noise filtering; do not connect directly to VDD without pull-up resistor
Debug/Program PGC, PGD Digital I/O ICSP programming and ICD debug clock (PGC) and data (PGD); shared with general-purpose I/O pins (typically RB6, RB7); during programming, PGC and PGD must be isolated from the application circuit (use series resistors or jumpers); connect to PICKit/ICD programmer
OSC OSC1, OSC2 Analog I/O Primary oscillator pins; OSC1: external clock input or crystal connection; OSC2: crystal feedback or FOSC/4 clock output; supports LP, XT, HS, EC oscillator modes; for CAN applications, a crystal oscillator is required for accurate bit timing (internal RC oscillator tolerance of 1 percent is too loose for CAN); typical crystal frequency: 16 MHz or 20 MHz with PLL to achieve 64 MHz CPU clock
CAN CANRX, CANTX Digital ECAN receive data input (CANRX) and transmit data output (CANTX); connect to external CAN transceiver (MCP2551, SN65HVD230, TJA1050); CANTX drives the TXD input of the transceiver; CANRX receives the RXD output of the transceiver; do not connect directly to CAN bus; shared with other digital peripheral functions (alternate pin selection may be available)
ADC AN0-AN10 Analog Input 11 analog input channels for 12-bit ADC; shared with digital I/O pins; configure ANSELH register to select analog vs digital mode; internal acquisition and conversion; reference voltage can be VDD or external VREF pin; differential measurement not supported; channels can be sequentially scanned
GPIO RA0-RA7, RB0-RB7, RC0-RC7, RD0-RD7, RE0-RE2 I/O 35 general-purpose I/O pins across 5 ports (A-E); each pin has individually configurable direction (TRIS register), input latch (PORT register), and output latch (LAT register); most pins have multiple alternate functions (ECAN, EUSART, MSSP, CCP, PWM, ADC, CTMU, comparators, timers); 5 V tolerant inputs when VDD = 3.3 V; RB0/INT supports external interrupt
Analog Ref VREF+, VREF- Analog Input External ADC reference voltage inputs; VREF+ sets the positive reference (2.4 V to VDD); VREF- sets the negative reference (VSS to VREF+ – 0.7 V); if not used, internal VDD/VSS references are used; use external references for higher accuracy or different measurement ranges; shared with digital I/O pins
04PIC18F45K80-I/P · Application Scenarios
Application Description
CAN Bus Sensor Node Read analog sensors via 12-bit ADC and transmit data over CAN bus; ECAN module handles CAN protocol autonomously; 20 nA sleep current allows battery-powered operation with periodic wake-up; CTMU provides capacitive touch buttons for local configuration; 32 KB Flash stores application code and CAN message handling; ideal for distributed sensor networks in industrial and building automation
Automotive Body Controller Control door locks, windows, mirrors, and lighting via CAN bus; ECAN module communicates with vehicle body network; dual EUSART supports LIN bus for local sub-networks (door modules, seat controls); 5 V operation compatible with automotive electrical systems; CCP/PWM modules control LED dimming and motor speed; CTMU enables touch-sensitive door handle or dashboard controls
Industrial CAN Gateway Bridge between CAN bus and serial (RS-232/RS-485) networks; ECAN receives CAN messages and EUSART forwards them to serial port (and vice versa); 3648 bytes SRAM provides buffer space for message queuing; 1 KB EEPROM stores configuration and calibration data persistently; 12-bit ADC monitors supply voltage and temperature for diagnostics; watchdog timer ensures automatic recovery from software faults
Precision Sensor Interface Use CTMU for high-resolution capacitance measurement (humidity, pressure, liquid level sensors); 12-bit ADC provides 1.22 mV resolution at 5 V reference; CTMU time measurement mode enables nanosecond-resolution timing for time-of-flight sensors; EEPROM stores sensor calibration coefficients; CAN or UART transmits measurement data to host system
Educational CAN Development Board PDIP-40 package is ideal for breadboard-based CAN development and teaching; students can build CAN networks on breadboards without SMD soldering; MPLAB X IDE and MCC provide graphical peripheral configuration; PICKit programmer connects directly; CAN transceiver (MCP2551 in DIP-8) completes the hardware; inexpensive platform for learning CAN protocol and embedded networking
05PIC18F45K80-I/P · Alternative Models
Model Manufacturer Compatibility Key Difference
PIC18F45K80-I/PT Microchip Same Die, SMD Package Same MCU in TQFP-44 surface-mount package (10×10 mm); same electrical specs and peripherals; 4 additional pins (44 vs 40) for additional I/O; pin-compatible with other PIC18F45K80 package options; use for production where SMD is preferred; TQFP allows higher pin-count variants
PIC18F46K80-I/P Microchip Same Family, More Memory 64 KB Flash (2x), 3648 bytes SRAM (same), PDIP-40; same ECAN and peripherals; more program memory for larger applications (TCP/IP stack, complex CAN protocol); pin-compatible upgrade; use when 32 KB Flash is insufficient
PIC18F26K80-I/SO Microchip Same Family, Smaller Package 28-pin SOIC package (smaller); 32 KB Flash; fewer I/O (25 vs 35); fewer ADC channels (9 vs 11); same ECAN module; use when fewer I/O pins are needed and a smaller footprint is desired
STM32F042C6T6 STMicroelectronics Competitive ARM Alternative Cortex-M0 at 48 MHz; 32 KB Flash, 6 KB SRAM; CAN 2.0B; TSSOP-20 (smaller); 32-bit architecture (more powerful); not pin-compatible; lower cost; use as modern ARM-based alternative with CAN; requires different development tools (STM32CubeIDE)
ATmega32M1-AU Microchip (AVR) Competitive AVR Alternative AVR core at 16 MHz (slower); 32 KB Flash, 2 KB SRAM, 1 KB EEPROM; CAN 2.0A/B; TQFP-32; 10-bit ADC (lower resolution); LIN controller; not pin-compatible; use for AVR-ecosystem developers needing CAN; lower performance but simpler architecture

Request a quoteWithin 24h

Tell us the quantity you need. We confirm price and availability within one business day.

DatasheetPDF

Specifications subject to change by the manufacturer.

IC-Vendor · Sourcing

Verified stock, quoted fast.

AuthenticityOriginal parts
Lead time1 business day
ShippingDHL / FedEx / UPS

Recommended

Related parts you may need

PIC18F45K80-I/PT

8-bit PIC18 MCU, 32KB Flash, ECAN 2.0B, 12-bit ADC, CTMU, 1.8-5.5V, 20nA sleep, TQFP-44, -40~85°C

Brand: MICROCHIPPackage: TQFP-44 (10 x 10 x 1.0 mm, 0.8mm pitch)

IN STOCK: 1750pcs

Cargo cycle: 3~7 Days

The minimum order is 1

LPC1768FBD100

ARM Cortex-M3 MCU 100MHz, 512KB Flash, 64KB SRAM, Ethernet, USB 2.0 FS Host/Dev/OTG, 2x CAN, 4x UART, 8ch DMA, ADC, DAC, motor PWM, LQFP-100, -40~85C

Brand: NXPPackage: LQFP-100 (SOT407-1) (14 x 14 x 1.4 mm, 0.5mm pitch)

IN STOCK: 6000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

CD4047BM

CMOS monostable/astable multivibrator, 3V-18V, SOIC-14, retriggerable, edge-triggered

Brand: TIPackage: SOIC-14 (8.65 x 3.9 x 1.5 mm)

IN STOCK: 3500pcs

Cargo cycle: 3~7 Days

The minimum order is 1

TPS54627DDAR

4.5-18V 6A sync buck converter, D-CAP2, 650kHz, integrated FETs 36/28mOhm, no ext comp, adj SS, SO-8 PowerPAD, -40~85C, tape&reel

Brand: TIPackage: SO PowerPAD-8 (DDA) (4.89 x 3.90 mm)

IN STOCK: 8000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

STM32F446RCT6

ARM Cortex-M4 180MHz, 256KB Flash, 128KB SRAM, FPU+DSP, USB HS, Dual QSPI, FMC, 3ADC+2DAC, LQFP-64

Brand: STPackage: LQFP-64 (10 x 10 x 1.4 mm, 0.5mm pitch)

IN STOCK: 38000pcs

Cargo cycle: 3~7 Days

The minimum order is 1

MSP430F5304IRGZR

16-bit ultra-low-power MCU, 25MHz, 8KB Flash, 6KB RAM, 10-bit ADC, VQFN-48

Brand: TIPackage: VQFN-48 (7.0 x 7.0 x 0.95 mm, 0.5mm pitch, exposed pad)

IN STOCK: 8900pcs

Cargo cycle: 3~7 Days

The minimum order is 1

QUALITY COMMITMENT

Quality Commitment

Every order is sourced, inspected and documented so your production line receives parts that meet specification.

Authenticity & traceability

We supply original manufacturer parts or material from authorized distribution channels. Unless a listing states otherwise, parts are new and unused — not refurbished, re-marked or pulled from used equipment. Each shipment is traceable to its purchase lot, date code and supplier record.

Incoming inspection

  • Visual inspection of labels, packaging, marking and date codes.
  • Lot and quantity verification against the purchase order.
  • Moisture-sensitivity and ESD packaging checks.
  • Electrical and functional testing, curve tracing, X-ray or decapsulation available on request.

Documentation

Commercial invoice and packing list are included with every shipment. A Certificate of Conformance (CoC) showing part number, quantity, lot/date code and inspection result is available on request. RoHS/REACH declarations and conflict-minerals statements can be supplied for compliance programs.

Warranty & returns

Parts are warranted against manufacturer defects for 12 months from shipment unless otherwise agreed in writing. Quality claims should be raised within 30 days of receipt with photos, the quantity affected and lot/date-code information. Special-order and non-cancellable/non-returnable (NCNR) items are handled case by case.

Counterfeit prevention

Suspect material is quarantined, documented and never resold. Suppliers are screened and monitored, and we support customer audits and third-party verification when required.

SHIPPING & PAYMENT

Shipping & Payment

From same-day dispatch on stock lines to consolidated production shipments, we keep logistics and payment predictable.

Lead time

In-stock lines usually ship the same or next business day. For backorder and factory-order items, lead time is confirmed in the quotation before you commit.

Carriers & tracking

We ship worldwide with DHL, FedEx, UPS and SF Express. Tracking details are sent as soon as the shipment is handed to the carrier. Customer carrier accounts can be used on request.

Freight & insurance

Freight is quoted prepaid-and-added, collect, or included depending on the agreed Incoterm (EXW, FOB, CIF or DDP). Shipment insurance is available on request; risk passes according to the agreed Incoterm.

Payment methods

  • Bank transfer (T/T) in USD, EUR or CNY.
  • PayPal for smaller or sample orders.
  • Alipay / RMB transfer for domestic settlement.

A proforma invoice is issued for every order. New customers are normally prepaid; repeat customers may apply for net terms.

Order changes & cancellation

Please confirm changes before dispatch. Once material is allocated, cut tape/reel or shipped, cancellation may not be possible. Non-standard items are subject to NCNR terms.

Customs & duties

We provide commercial invoices and origin documentation. Import duties, taxes and customs clearance are the buyer’s responsibility unless DDP terms are agreed.

SERVICE & PACKAGING

Service & Packaging

Beyond supplying the part, we support BOM sourcing, value-added processing and packaging that fits your line.

BOM sourcing & kitting

Send your BOM and we will cross-reference alternatives, consolidate lines and quote shortages. Kitting and kit-level labeling are available for production and repair centers.

Value-added services

  • Programming and firmware loading.
  • Tape-and-reel, re-reeling and tray packing.
  • Baking and dry-pack for moisture-sensitive parts.
  • Barcode, QR and custom label generation.

Packaging options

Parts are packed in ESD-safe bags, moisture-barrier bags with desiccant and humidity indicator, tape-and-reel, trays, tubes or bulk cartons. Custom labels, mixed kits and drop-ship to your contract manufacturer can be arranged.

Documentation & traceability

Each package carries the part number, quantity, lot/date code and country of origin. Packing lists and CoCs can be formatted to match your receiving process.

After-sales support

For returns, please contact us with the invoice number, part number and reason. We will issue an RMA and instructions before material is returned. Technical and order-status questions are answered within one business day.