PIC18LF2680-I/SP - 8-bit MCU 64KB Flash ECAN 28-SPDIP | Microchip
MPN: PIC18LF2680-I/SP ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.4 | $8.40 |
| 10 | $7.65 | $76.50 |
| 100 | $6.55 | $655.00 |
| 500 | $5.85 | $2,925.00 |
| 1,000 | $5.2 | $5,200.00 |
PIC18LF2680-I/SP Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory, data memory, I/O peripherals, and sometimes communication interfaces on one die. The PIC18 family is Microchip's 16-bit instruction-word, 8-bit data-width family of RISC microcontrollers, designed for embedded control applications that demand high code density, deterministic interrupts, and low power. The 'LF' prefix denotes the low-voltage variant optimised for 2.0V to 3.6V operation, while the 'F' variant typically runs from 4.2V to 5.5V. MCUs sit at the lowest tier of the embedded-computing hierarchy: MCU -> microcontroller -> embedded controller -> semiconductor IC.
Key features of the PIC18LF2680-I/SP include on-chip ECAN 2.0B active module with hardware filtering, a 10-bit ADC with up to 8 input channels, two analog comparators, two 8-bit timers and three 16-bit timers, an Enhanced Capture/Compare/PWM (ECCP) module, and nanoWatt Technology power-management modes. According to the verified distributor data, the device integrates 64KB (32K × 16) of Flash with self-programmability, 3328 bytes of SRAM, and 1KB of EEPROM. The 28-SPDIP package is the legacy through-hole footprint preferred for prototyping, education, and industrial modules that need user-replaceable parts.
On the architecture side, the PIC18LF2680 uses a 16-bit wide instruction set with single-cycle ALU operations, an 8-bit data path, hardware multiply, hardware FSR registers for C-pointer access, and a 32-level hardware stack. The ECAN engine implements ISO 11898-1 compliant CAN 2.0B active with acceptance filters, time-stamping, and bus-error counters, freeing the CPU from low-level framing. Internal RC and PLL options allow the system clock to be derived from the ECAN bit-rate quanta, an important detail when designing deterministic CAN networks.
Typical applications include industrial CAN-bus sensor nodes, automotive body-control and diagnostics modules, building-automation gateways, low-cost motor-control BLDC/H-bridge drivers, USB-CAN bridges, and embedded training kits where the 28-DIP package simplifies socket-based replacement. Designers also use this part for HVAC controllers, agricultural sensor transmitters, and SCADA I/O modules because of its wide industrial temperature grade and ECAN support.
Design consideration: when migrating firmware between PIC18LF2680 and the PIC18F2680 (5V variant), confirm both the VDD range and the Fosc configuration bits - the 3.3V regulator must not exceed 3.6V. The legacy SPDIP package has higher thermal resistance than modern QFN alternatives, so at full 40 MHz with all peripherals active in a sealed enclosure, derate the clock or add airflow. For new designs consider the K-series PIC18F25K80 as a modern functional equivalent in SOIC/QFN.
This page synthesises distributor pricing, parametric equivalents, and practical design notes not found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC18LF2680-I/SP — 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 PIC18LF2680-I/SP (same form factor and footprint) — differing in ADC, Operating Temperature, Package, Timers, Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F2680-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF2580-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.95 / Unit
View Datasheet →PIC18F25K80-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18LF25K80-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.36 / Unit
View Datasheet →PIC18LF2682-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$5.74 / Unit
View Datasheet →PIC18LF2685-I/SP
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.95 / Unit
View Datasheet →PIC18LF2680-I/SP Maximum Ratings & Electrical Characteristics
| Core | PIC18F 8-bit RISC |
| Program Memory | 64 KB Flash (32K × 16) |
| Data RAM | 3328 bytes SRAM |
| Data EEPROM | 1 KB |
| Maximum CPU Frequency | 40 MHz |
| Operating Voltage Range | 2.0 V to 3.6 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 8 channels |
| Timers | 2 × 8-bit, 3 × 16-bit |
| Communication Interfaces | ECAN, USART, MSSP (SPI / I2C) |
| ECAN | CAN 2.0B active, ISO 11898-1 compliant |
| Comparators | 2 analog comparators |
| Package | 28-pin SPDIP (Skinny Plastic DIP, through-hole) |
| Operating Temperature | -40 °C to +85 °C (Industrial) |
| Mounting Type | Through-Hole |
| RoHS Status | Compliant |
| MSL Level | 1 (unlimited) |
| Lead-Free | Yes |
PIC18LF2680-I/SP Pin Configuration
| Pin 1 | MCLR/VPP/RE3 — Master Clear / programming voltage input / digital I/O RE3 |
| Pin 2 | RA0/AN0 — Digital I/O RA0 / analog input AN0 |
| Pin 3 | RA1/AN1 — Digital I/O RA1 / analog input AN1 |
| Pin 4 | RA2/AN2/VREF- — Digital I/O RA2 / analog input AN2 / ADC VREF- |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O RA3 / analog input AN3 / ADC VREF+ |
| Pin 6 | RA4/T0CKI — Digital I/O RA4 / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — Digital I/O RA5 / analog input AN4 / SPI slave select |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/RA7 — Crystal oscillator input / digital I/O RA7 |
| Pin 10 | OSC2/RA6 — Crystal oscillator output / digital I/O RA6 |
| Pin 11 | RC0/T1OSO/T1CKI — Digital I/O RC0 / Timer1 oscillator output / Timer1 clock input |
| Pin 12 | RC1/T1OSI/CCP2 — Digital I/O RC1 / Timer1 oscillator input / ECCP2 output |
| Pin 13 | RC2/CCP1 — Digital I/O RC2 / ECCP1 output |
| Pin 14 | RC3/SCK/SCL — Digital I/O RC3 / SPI clock / I2C clock |
| Pin 15 | RC4/SDI/SDA — Digital I/O RC4 / SPI data in / I2C data |
| Pin 16 | RC5/SDO — Digital I/O RC5 / SPI data out |
| Pin 17 | RC6/TX/CK — Digital I/O RC6 / USART TX / USART synchronous clock |
| Pin 18 | RC7/RX/DT — Digital I/O RC7 / USART RX / USART synchronous data |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply (2.0V to 3.6V for LF variant) |
| Pin 21 | RB0/INT0 — Digital I/O RB0 / external interrupt 0 |
| Pin 22 | RB1/INT1 — Digital I/O RB1 / external interrupt 1 |
| Pin 23 | RB2/INT2 — Digital I/O RB2 / external interrupt 2 |
| Pin 24 | RB3/INT3/CCP2A — Digital I/O RB3 / external interrupt 3 / ECCP2 alternate |
| Pin 25 | RB4/KBI0 — Digital I/O RB4 / interrupt-on-change KBI0 |
| Pin 26 | RB5/KBI1 — Digital I/O RB5 / interrupt-on-change KBI1 |
| Pin 27 | RB6/KBI2/PGC — Digital I/O RB6 / interrupt-on-change KBI2 / ICSP clock |
| Pin 28 | RB7/KBI3/PGD — Digital I/O RB7 / interrupt-on-change KBI3 / ICSP data |
Typical Applications
PIC18LF2680-I/SP is suitable for 6 applications: Industrial CAN-bus Sensor Nodes, Automotive Body-Control Modules, Building Automation Gateways, Low-Cost BLDC / DC Motor Control, USB-CAN Bridges and Diagnostics, Embedded Training Kits and Education.
Industrial CAN-bus Sensor Nodes
The PIC18LF2680-I/SP is engineered for CAN-bus sensor nodes because it integrates a hardware ECAN 2.0B active module with acceptance filtering and time-stamping, so the CPU is not burdened with bit-level framing. According to the Microchip datasheet, the ECAN engine is ISO 11898-1 compliant and supports bit rates up to 1 Mbit/s when paired with an external MCP2551 or MCP2561 transceiver. The 2.0V to 3.6V LF supply range allows the node to be powered from a 3.3V LDO, while nanoWatt Technology idle/sleep modes drop quiescent current to microampere levels for battery-powered field sensors. Engineers typically wire the MCU's CANTX/CANRX (RC6/RC7) directly to the transceiver and configure Fosc via the ECAN's dedicated clock source for deterministic bit-time quanta. With 64KB Flash and 3328 bytes RAM, the part accommodates CANopen, DeviceNet, or J1939 protocol stacks.
Recommended
Automotive Body-Control Modules
The PIC18LF2680-I/SP fits automotive body-control modules because it integrates ECAN, USART, MSSP, 10-bit ADC, and ECCP for motor/lighting control in a single 28-SPDIP package. The industrial -40°C to +85°C temperature grade supports under-hood and cabin environments when the module is mounted away from direct heat sources. According to the Microchip datasheet, the 25 GPIO are sufficient for door/window/seat/liftgate actuators with PWM dimming via the ECCP module. Pairing the MCU with an automotive-grade CAN transceiver such as the MCP2561A or ATA6561 gives a low-EMI, ISO 11898-5 compliant bus interface. Designers also use the internal 8 MHz RC and PLL to derive the ECAN bit-time quanta, eliminating the need for a separate crystal in cost-sensitive body modules. The 1KB EEPROM stores node configuration, CANopen LSS address, or J1939 NAME persistently across battery events.
Recommended
Building Automation Gateways
Building automation gateways frequently use the PIC18LF2680-I/SP because its ECAN port bridges field devices to higher-level BACnet, Modbus, or KNX supervisors over a CAN-bus backbone. The 64KB Flash fits a full CANopen or Modbus RTU stack with room for application logic such as lighting, HVAC, or shading control. According to the Microchip datasheet, the USART can simultaneously drive an RS-485 Modbus link while MSSP operates an SPI-driven display or EEPROM. The 10-bit ADC supports up to 8 inputs, allowing direct connection of light, temperature, or CO2 sensor bridges. The 2.0V to 3.6V LF supply range simplifies deployment in 24V building-rail systems with a low-dropout 3.3V regulator. The 28-SPDIP package also enables rapid prototyping on breadboards during commissioning.
Recommended
Low-Cost BLDC / DC Motor Control
Low-cost BLDC and brushed DC motor controllers can be built around the PIC18LF2680-I/SP because the device integrates an Enhanced Capture/Compare/PWM (ECCP) module with complementary outputs and hardware dead-band delay generation. According to the Microchip datasheet, the ECCP can drive a 3-phase inverter or a single H-bridge directly through gate drivers such as the MCP14E4 or MCP14A0153. The 10-bit ADC samples current-sense amplifiers and back-EMF at up to 100 ksps with 8 channels, enough for trapezoidal BLDC control. The 25 GPIO include quadrature encoder inputs via the 16-bit timers, supporting closed-loop speed/position control. The 2.0V to 3.6V supply matches a 3.3V MCU rail powered from a switching converter, while the ECCP module's fault-input pins provide hardware shutdown for overcurrent protection.
Recommended
USB-CAN Bridges and Diagnostics
USB-to-CAN bridges and OBD-II diagnostic tools leverage the PIC18LF2680-I/SP because it integrates both ECAN and USART plus MSSP, allowing the part to handle the CAN frame layer on one side and a USB-UART bridge IC on the other. According to the Microchip datasheet, the ECAN module's hardware acceptance filters let the tool ignore irrelevant CAN IDs to reduce USB bandwidth pressure. The 64KB Flash and 1KB EEPROM support a small CANopen or ISO-TP transport layer with persistent VIN / DTC storage. The 28-SPDIP package is ideal for legacy OBD-II J1962 connectors that require a slim board outline. Pairing the LF2680 with an MCP2551 transceiver and an MCP2200 USB-UART bridge yields a 1 Mbit/s diagnostic interface suitable for engineering scans and fleet telematics.
Recommended
Embedded Training Kits and Education
Educational microcontroller kits rely on the PIC18LF2680-I/SP because the 28-SPDIP through-hole package fits standard IC sockets, simplifying firmware-swapping and student breadboarding. According to the Microchip datasheet, the device is supported by MPLAB X IDE, XC8 compiler, and the PICkit 5 / MPLAB ICD 5 programmer/debugger, with free lessons and application notes available on Microchip's academic site. The integrated ECAN module allows students to learn industrial-bus concepts in a single chip, and the 10-bit ADC plus 25 GPIO are sufficient for sensor-interface labs without external components. The 64KB Flash accommodates a CAN bootloader for in-class firmware updates. Industrial temperature grade gives the kit longevity for university lab stock. The 2.0V to 3.6V LF supply matches low-cost USB-powered trainer boards.
Recommended
Recommended Products Summary
Engineering reference data for PIC18LF2680-I/SP — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F2680-I/SP | PIC18LF2580-I/SP | PIC18F25K80-I/SP | PIC18LF25K80-I/SP |
|---|---|---|---|---|---|
| Package | 28-SPDIP | 28-SPDIP | 28-SPDIP | 28-SPDIP | 28-SPDIP |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Voltage Range | 2.0 V to 3.6 V | 4.2 V to 5.5 V | 2.0 V to 3.6 V | 1.8 V to 5.5 V | 1.8 V to 3.6 V |
| ECAN Module | Yes (2.0B active) | Yes (2.0B active) | No | Yes (2.0B active) | Yes (2.0B active) |
| Program Flash | 64 KB | 64 KB | 64 KB | 32 KB | 32 KB |
| SRAM | 3328 bytes | 3328 bytes | 3328 bytes | 3648 bytes | 3648 bytes |
| Maximum CPU Frequency | 40 MHz | 40 MHz | 40 MHz | 64 MHz | 64 MHz |
| Operating Temperature | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C |
| Automotive AEC-Q100 | Not qualified | Not qualified | Not qualified | Not qualified | Not qualified |
| Approx. Unit Price (qty-1) | $8.40 | $8.20 | $7.80 | $4.50 | $4.30 |
Key Differentiators
- Integrated hardware ECAN 2.0B active with acceptance filters (vs PIC18LF2580-I/SP)
- Industrial 3.3 V LF supply range (vs PIC18F2680-I/SP)
- Through-hole 28-SPDIP for socket-replaceable designs (vs PIC18LF2680-I/SO)
Design Notes
The PIC18LF2680-I/SP operates from 2.0 V to 3.6 V; pair it with an MCP1700-3302 LDO to drop a 5 V or 24 V industrial rail to a clean 3.3 V. Place a 100 nF decoupling capacitor as close as possible to each VDD pin (pins 20 and the bonded pair on this package) plus a bulk 10 µF tantalum or ceramic capacitor at the regulator output. According to the Microchip datasheet, the ECAN module's internal voltage reference shares the VDD rail, so noisy 5 V-to-3.3 V switching converters feeding the MCU must add a pi-filter (LC) or post-LDO to keep CAN-bit-time jitter under specification.
Route the ECAN bus in a differential pair (CANTX/CANRX) from the MCU RC6/RC7 pins to the MCP2551/MCP2561 transceiver with 120 Ω characteristic impedance and 120 Ω termination at each end. Keep the differential pair length-matched within 5 mm to avoid common-mode noise. According to the Microchip datasheet, place a transient-suppression TVS diode (e.g., PESD1CAN) directly at the bus connector and a common-mode choke between the transceiver and connector to pass ISO 7637-3 transient tests in automotive environments.
The 28-SPDIP through-hole package has a theta_JA of approximately 50 °C/W in still air, so at full 40 MHz with all peripherals active, the junction-to-ambient rise is acceptable for industrial -40 °C to +85 °C applications. At temperatures near the upper limit, derate the Fosc to 32 MHz (HS-PLL mode × 4) or add a small clip-on heatsink across the top of the package. According to the Microchip datasheet, the MCU consumes roughly 15 mA at 40 MHz / 3.3 V, so power dissipation is ~50 mW - well within SPDIP thermal limits for natural convection.
Do not apply 5 V to the PIC18LF2680-I/SP VDD rail - this is the LF (low-voltage) variant and the absolute-maximum VDD is 3.6 V; using the F variant PIC18F2680-I/SP on a 3.3 V rail will likewise fail to start. Always verify the configuration bits in MPLAB X before programming; incorrect Fosc configuration can cause the oscillator to fail to start or run at the wrong speed. The ECAN module requires the CAN clock source to be derived from a stable Fosc (HS or HS-PLL); the internal LF RC oscillator is not precise enough for CAN bit-time quanta above 125 kbit/s.
The 10-bit ADC on the PIC18LF2680-I/SP achieves ~9.5 ENOB when the conversion clock is set ≤ 1 µs and the input impedance is below 10 kΩ. For sensor bridges with higher impedance, add an op-amp buffer (e.g., MCP6001) at the ANx pin. According to the Microchip datasheet, switching the I/O pin during ADC acquisition injects charge into the analog pin; either stop peripheral activity during conversion or use dedicated analog pins plus the A/D acquisition timer to avoid sampling transients in motor-control applications where the ECCP PWM edges would otherwise corrupt ADC samples.
Compliance Information
RoHS and REACH compliant per Microchip product page; the 'I' suffix denotes industrial temperature grade (-40 °C to +85 °C). Not AEC-Q100 qualified - for automotive applications choose the PIC18F2680-I/SP and validate against AEC-Q100 part numbers such as PIC18F2680-E/SP. Halogen-free status not explicitly listed in the verified distributor data - set to 'unknown' rather than assumed.