Microchip Technology

PIC18F2682-I/SP - 40MHz 8-bit MCU 80KB Flash ECAN DIP-28 | Microchip

MPN: PIC18F2682-I/SP ✓ Active
In Stock Ships in 1-3 business days
2.0 V to 5.5 V Vdss 28-pin SPDIP (Skinny Plastic DIP) Package 40 MHz (10 MIPS) Speed 80 KB (40K x 16 words) Memory
From $4.31 USD / Unit
MOQ: 1 |
Price updated: 2026-09-27
Volume Pricing
Qty Unit Price Extended
1 $6.92 $6.92
10 $6.18 $61.80
100 $5.42 $542.00
500 $4.79 $2,395.00
1,000 $4.31 $4,310.00
ℹ️ All prices are in USD

PIC18F2682-I/SP Overview

The Microchip Technology PIC18F2682-I/SP is a high-performance 8-bit PIC microcontroller built on the enhanced RISC architecture with an integrated ECAN (Enhanced Controller Area Network) module, delivering 40 MHz (10 MIPS) throughput, 80 KB of on-chip Flash program memory and 3328 bytes of RAM, housed in a 28-pin SPDIP (Skinny Plastic DIP) through-hole package. The "-I" suffix denotes the industrial temperature grade of -40C to +85C, and the "/SP" suffix denotes the 28-pin SPDIP package.

A microcontroller (MCU) is a single-chip computer containing a CPU, memory, and programmable I/O peripherals. The PIC18 family is Microchip's high-performance 8-bit line, positioned within the broader 8-bit microcontroller taxonomy (MCU -> microcontroller -> embedded controller -> semiconductor). PIC18F parts add enhanced peripherals (ECAN, ADC, PWM) while retaining the classic PIC instruction set, making them a frequent choice for cost-sensitive industrial control and CAN-bus nodes.

Key features include 25 digital I/O pins, an internal oscillator block, an enhanced 10-bit ADC with up to 11 input channels, two enhanced USART modules, two MSSP ports for SPI/I2C, a 10-bit PWM module, and nanoWatt Technology for low-power sleep modes. Hardware ECAN support (CAN 2.0B active) is the defining peripheral, allowing direct connection to high-speed CAN bus networks without an external controller.

The PIC18F2682 uses a 16-bit modified Harvard architecture with separate program and data buses, supporting 75 instructions including hardware multiply. In-system programming via ICSP and ICD (in-circuit debugger) is supported, enabling firmware updates and debug in the final assembled board without removing the chip.

Typical applications include industrial CAN-bus nodes (CANopen, DeviceNet), automotive body controllers and sensor interfaces, building automation HVAC nodes, and embedded control with mixed analog/digital sensing. The DIP-28 package is favored for prototyping, educational kits, and low-volume industrial controllers where through-hole replacement is desired.

When designing with this device, use Microchip's MPLAB X IDE with XC8 compiler. Ensure decoupling capacitors (0.1 uF) are placed within 5 mm of VDD pins, and configure the ECAN module baud rate via the CANCON/CANSTAT registers per the CAN 2.0B timing diagrams in the datasheet. For sleep-mode designs, leverage the nanoWatt Technology features such as ultra-low-power wake-on-interrupt.

This page synthesizes distributor stock data, the same-family alternatives PIC18F2685/PIC18F4685 listed in Microchip literature, and practical ECAN design notes that go beyond the manufacturer datasheet pinout and register tables.

Drop-in alternatives for PIC18F2682-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 PIC18F2682-I/SP (same form factor and footprint) — differing in Mounting Type, Package, Program Memory (Flash), ADC, RoHS Status.

Microchip Technology
Mounting Type: Through-Hole (DIP)
Package: 28-pin SPDIP (0.300" / 7.62 mm)
Program Memory (Flash): 80 KB (40K x 16)
Microchip Technology
Mounting Type: Surface Mount
Package: 28-pin SOIC (300-mil)
Program Memory (Flash): 96 KB (48K x 16 words)

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F2685-I/SP

✅ Drop-In
📦 SPDIP-28
96 KB Flash (+20%) vs 80 KB, identical ECAN, peripherals and 28-pin SPDIP pinout per Microchip family datasheet

📋 Reference alternative (not in catalog)

PIC18F2680-I/SP

✅ Drop-In
📦 SPDIP-28
64 KB Flash (-20%) vs 80 KB, no ECAN module, same 28-pin SPDIP pinout and 10-bit ADC

📋 Reference alternative (not in catalog)

PIC18F2682-E/SP

✅ Drop-In
Microchip Technology
📦 SPDIP-28
8-bit PIC18 RISC (Harvard) · 80 KB (40K x 16) · 3328 bytes · 1024 bytes · 40 MHz · 4.2 V to 5.5 V · -40C to +125C · 25

✓ In Stock

$7.62 / Unit

View Datasheet →
ℹ️ 2 cross-package part(s) hidden — different package requires PCB rework and is not a true drop-in replacement. Contact us if you need cross-package suggestions.

PIC18F2682-I/SP Maximum Ratings & Electrical Characteristics

Product Family PIC18F
Core PIC 8-bit
Core Architecture Enhanced Harvard
Max CPU Frequency 40 MHz (10 MIPS)
Program Memory (Flash) 80 KB (40K x 16 words)
RAM 3328 bytes
EEPROM 1024 bytes
I/O Pins 25
ADC 10-bit, up to 11 channels
Communication ECAN, 2x USART (Enhanced), 2x MSSP (SPI/I2C)
PWM 10-bit, 2 modules
Supply Voltage (VDD) 2.0 V to 5.5 V
Operating Temperature -40 C to +85 C (industrial grade)
Package 28-pin SPDIP (Skinny Plastic DIP)
Mounting Type Through-Hole
ICSP / ICD Supported
Instruction Set 75 instructions, hardware multiply
NanoWatt Technology Yes (low-power modes)
RoHS Status Compliant
Lead-Free Yes

PIC18F2682-I/SP Pin Configuration

DIP-28 Package Pinout Diagram DIP-28 28-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 28 2 27 3 26 4 25 5 24 6 23 7 22 8 21 9 20 10 19 11 18 12 17 13 16 14 15 DIP-28
Pin 1 RA0/AN0 — Port A bit 0 / analog input 0
Pin 2 RA1/AN1 — Port A bit 1 / analog input 1
Pin 3 RA2/AN2/Vref- — Port A bit 2 / analog input 2 / ADC Vref-
Pin 4 RA3/AN3/Vref+ — Port A bit 3 / analog input 3 / ADC Vref+
Pin 5 RA4 — Port A bit 4
Pin 6 RA5/AN4 — Port A bit 5 / analog input 4
Pin 7 RA6 — Port A bit 6
Pin 8 OSC1/RA7 — Crystal oscillator input / Port A bit 7
Pin 9 OSC2/RA8 — Crystal oscillator output / Port A bit 8
Pin 10 RC0/T1OSO — Port C bit 0 / Timer1 oscillator output
Pin 11 RC1/T1OSI — Port C bit 1 / Timer1 oscillator input
Pin 12 RC2/CCP1 — Port C bit 2 / Capture/Compare/PWM 1
Pin 13 RC3/CCP2 — Port C bit 3 / Capture/Compare/PWM 2
Pin 14 RC4 — Port C bit 4
Pin 15 RC5 — Port C bit 5
Pin 16 RC6/TX — Port C bit 6 / EUSART TX
Pin 17 RC7/RX — Port C bit 7 / EUSART RX
Pin 18 VSS — Ground reference
Pin 19 VDD — Positive supply voltage (2.0-5.5V)
Pin 20 RB0/INT0 — Port B bit 0 / External interrupt 0
Pin 21 RB1/INT1 — Port B bit 1 / External interrupt 1
Pin 22 RB2/INT2 — Port B bit 2 / External interrupt 2
Pin 23 RB3 — Port B bit 3
Pin 24 RB4 — Port B bit 4
Pin 25 RB5 — Port B bit 5
Pin 26 RB6/PGC — Port B bit 6 / ICSP clock
Pin 27 RB7/PGD — Port B bit 7 / ICSP data
Pin 28 MCLR/VPP/RE3 — Master clear reset / ICSP VPP / Port E bit 3

Typical Applications

PIC18F2682-I/SP is suitable for 6 applications: Industrial CAN-bus Node (CANopen / DeviceNet), Automotive Body Controller / Sensor Interface, Building Automation HVAC Controller, Industrial Sensor / Data Acquisition Front-End, Educational / Embedded Development Platform, USB / Embedded Host Bridge with CAN.

🏭

Industrial CAN-bus Node (CANopen / DeviceNet)

The PIC18F2682-I/SP's integrated ECAN 2.0B active module makes it a strong fit for industrial CAN-bus nodes implementing CANopen (CiA 301/401) or DeviceNet slave profiles. With on-chip hardware acceptance filtering, message buffers, and bit rates up to 1 Mbps, the MCU can drive an 8-byte PDO at 1 ms cycle times without external CAN controller ICs. The 80 KB Flash accommodates a CANopen stack plus application code; the 3328-byte SRAM is sized for OD entries plus PDO buffers. Designers place a 60 ohm termination at the bus end and configure BRGCON registers per CAN timing diagrams. Unlike CAN-less MCUs, this part eliminates the SPI-to-CAN bridge, reducing BOM cost and PCB footprint. The industrial temperature grade (-40 to +85C) is required for factory-floor cabinets.

🚗

Automotive Body Controller / Sensor Interface

The PIC18F2682-I/SP suits automotive body electronics where multiple LIN/CAN nodes aggregate sensor data. Although its AEC-Q100 qualification is on the automotive grade variant (PIC18F2682-I/SP is the industrial grade), the part's ECAN module and 11-channel 10-bit ADC read wheel-speed, temperature, and pressure sensors with conversion rates up to 500 ksps. The 25 I/O pins drive MOSFET gates for body actuators (window, mirror, lock). Compared with automotive-only parts, the industrial grade is widely used in non-safety body systems and in-vehicle infotainment (IVI) peripherals where AEC-Q100 is not required. Combined with a 5V CAN transceiver and LIN transceiver, the MCU forms a complete body-electronics node. The nanoWatt Technology enables sleep currents under 100 nA for battery-saving wake-on-CAN scenarios.

🌐

Building Automation HVAC Controller

Building automation systems (BAS) running BACnet, LonWorks, or Modbus over RS-485 often use a PIC18F2682-I/SP as the node MCU thanks to its 25 I/O pins, 10-bit ADC for analog sensor inputs (temperature, humidity, CO2), and dual Enhanced USARTs for BACnet MS/TP or Modbus RTU communication. The 40 MHz CPU executes scheduling and PID loops at 10 MIPS, sufficient for HVAC damper and valve control. Compared with smaller PIC16 parts, the 80 KB Flash holds BACnet stack plus application logic; the EEPROM supports non-volatile setpoint retention through power cycles. The DIP-28 package is favored for field-replaceable controller cards in retrofit installations where socketed DIP is preferred over SMT. A 24V AC-to-5V DC supply with the MCU's 2.0-5.5V VDD range simplifies power design.

🖥️

Industrial Sensor / Data Acquisition Front-End

The PIC18F2682-I/SP's 11-channel 10-bit ADC and dual MSSP (SPI/I2C) ports make it well-suited for industrial data-acquisition front-ends aggregating analog sensors (strain gauges, thermocouples, pressure transducers) and digital sensors over SPI or I2C. The 25 I/O lines handle discrete inputs and outputs; the 3328 bytes SRAM buffer scan data for forwarding to a host PLC over CAN or USART. With nanoWatt Technology, the part can sleep between scans, drawing nanoamps. Compared with external ADC ICs, the on-chip 10-bit ADC simplifies BOM; for higher precision the designer may pair the part with an external 16-bit ADC such as MCP3421 via I2C. The DIP-28 form factor is useful for legacy 4-20 mA loop-powered sensor designs and OEM instrumentation.

🔧

Educational / Embedded Development Platform

The PIC18F2682-I/SP is widely used in university embedded systems courses and PIC training kits because the 28-pin DIP-28 package fits standard 0.3-inch DIP sockets, breadboards, and trainer boards, allowing students to swap the chip in and out without soldering. The 40 MHz core, ECAN, USART, MSSP, PWM, and ADC expose nearly the full PIC18 peripheral set, providing realistic exposure to industrial MCU features. The MPLAB X IDE with XC8 compiler and PICkit 3/4 in-circuit debugger supports the part for hands-on labs. The ICSP interface allows programming and debugging on the trainer board without removing the chip. Compared with surface-mount-only modern MCUs, the DIP-28 form factor is essential for first-year lab experiences teaching low-level embedded C and assembly programming.

💡

USB / Embedded Host Bridge with CAN

Although PIC18F2682-I/SP lacks native USB, designers can pair it with an external USB-to-UART bridge (MCP2200) or USB-to-SPI bridge (MCP2210) to add USB device connectivity while retaining the ECAN module for upstream fieldbus communication. This architecture is common in industrial gateways and diagnostic tools forwarding CAN traffic to a host PC for analysis. The 80 KB Flash holds USB-CDC class firmware plus CAN parsing; the 3328 bytes SRAM buffer CAN-to-USB frames. Compared with single-chip USB+CAN MCUs, this two-chip approach allows upgrades on either side independently. Combined with ECAN at 1 Mbps and USB Full Speed at 12 Mbps, the gateway streams CAN logs to a host application in real time.

Recommended Products Summary

MCP2551 External CAN transceiver (5V) Used in: Industrial CAN-bus Node (CANopen / DeviceNet), Automotive Body Controller / Sensor Interface, Industrial Sensor / Data Acquisition Front-End, Educational / Embedded Development Platform, USB / Embedded Host Bridge with CAN PIC18F2685-I/SP Drop-in upgrade with more Flash Used in: Industrial CAN-bus Node (CANopen / DeviceNet) MCP2515 Optional external CAN controller for higher-layer protocol offload Used in: Industrial CAN-bus Node (CANopen / DeviceNet) MCP2021 LIN transceiver for body sensor network Used in: Automotive Body Controller / Sensor Interface MCP9700 Analog temperature sensor for ADC input Used in: Automotive Body Controller / Sensor Interface, Building Automation HVAC Controller, Industrial Sensor / Data Acquisition Front-End, Educational / Embedded Development Platform MAX3082 RS-485 transceiver for BACnet MS/TP Used in: Building Automation HVAC Controller 24LC256 External I2C EEPROM for trend log storage Used in: Building Automation HVAC Controller MCP3421 External 18-bit I2C ADC for high-precision channels Used in: Industrial Sensor / Data Acquisition Front-End PICkit 4 In-circuit debugger/programmer (ICSP) Used in: Educational / Embedded Development Platform MCP2200 USB-to-UART bridge for host connectivity Used in: USB / Embedded Host Bridge with CAN MCP2210 USB-to-SPI bridge alternative Used in: USB / Embedded Host Bridge with CAN
What is the maximum CPU speed of the PIC18F2682-I/SP?
The PIC18F2682-I/SP runs up to 40 MHz on its internal PLL/s oscillator chain, executing 10 MIPS (million instructions per second). According to Microchip's 28/40/44-pin ECAN datasheet family, the CPU clock is derived from the system clock (FOSC) which may be sourced from an external crystal, resonator, internal oscillator, or ECAN clock. At 5V VDD the part is rated for 40 MHz; at lower VDD values the maximum frequency derates per the datasheet frequency-vs-voltage graphs.
How much program memory does PIC18F2682 have?
The PIC18F2682 has 80 KB of self-programmable Flash program memory organized as 40K x 16-bit words, plus 3328 bytes of SRAM data memory and 1024 bytes of EEPROM. The Flash supports ICSP (In-Circuit Serial Programming) and a self-write boot-block, enabling field firmware updates and bootloader designs without external EEPROM. According to the Microchip datasheet, endurance is rated at 100K erase/write cycles for the Flash and 1M cycles for the EEPROM.
Does the PIC18F2682 support CAN bus?
Yes, the PIC18F2682 integrates an Enhanced Controller Area Network (ECAN) module supporting CAN 2.0B active with standard and extended identifiers, acceptance filtering, and bit rates up to 1 Mbps. This eliminates the need for an external CAN controller IC. According to Microchip's ECAN datasheet family, baud rate is configured via the BRGCON registers and the device complies with ISO 11898-1, making it a direct CAN-bus node for automotive and industrial networks.
What is the difference between PIC18F2682 and PIC18F2685?
The PIC18F2685 is the larger-memory sibling in the same ECAN-family datasheet: it offers 96 KB of Flash and 3328 bytes of RAM versus the PIC18F2682's 80 KB Flash, while sharing the same 28-pin SPDIP/28-pin QFN footprint, same 40 MHz core, same ECAN module, and same peripheral set. The PIC18F2685 is therefore a drop-in upgrade when additional code space is needed. According to Microchip's selection guide for the 28/40/44-pin ECAN family, both parts share an identical pinout and register map.
What is the operating voltage range of PIC18F2682-I/SP?
The PIC18F2682-I/SP operates from 2.0 V to 5.5 V across the industrial temperature range of -40 C to +85 C. The "I" suffix specifically denotes the industrial temperature grade, while the lower-grade PIC18F2682-E variants are specified for 0 C to +70 C. According to Microchip's datasheet, VDD must remain within spec for the ECAN module to operate at full 1 Mbps baud; below 4.5 V the maximum CPU frequency derates linearly.
Where can I buy PIC18F2682-I/SP online?
The PIC18F2682-I/SP is in stock today at authorized distributors DigiKey (part 1154173) and Mouser, with pricing starting around $4.87 at LCSC and quantity-1000 quotes in the $4-5 range (as of 2026-09-27). For OEM production volumes, Microchip Direct is the primary source. Octopart aggregates 12 distributors for real-time stock checks. All sources listed confirm ACTIVE lifecycle status, so this part is not obsolete or in last-time-buy.
What is the price of PIC18F2682-I/SP?
The PIC18F2682-I/SP starts at approximately $6.92 per unit at qty 1 and drops to about $4.31 per unit at qty 1000 (as of 2026-09-27 from DigiKey/Mouser). LCSC lists it from $4.87 in smaller reels. Volume pricing is best negotiated through Microchip Direct for OEM contracts; note that DIP-28 through-hole parts generally carry a small package premium versus the equivalent SOIC-28 or QFN-28 variants of the same die.
What is the lead time for PIC18F2682-I/SP?
Lead time for PIC18F2682-I/SP at major authorized distributors is generally 6-10 weeks from Microchip's factory for production volumes, while distributor stock at DigiKey and Mouser ships same-day for qty-1 to qty-100 orders (as of 2026-09-27). Because the part is ACTIVE, no allocation or allocation-warning is in effect. For long-lead planning, contact Microchip Direct for forecast schedules.
Is PIC18F2682-I/SP in stock?
Yes, the PIC18F2682-I/SP is in stock at DigiKey (sku 1154173), Mouser, Newark, and at least 9 other distributors as listed on Octopart (as of 2026-09-27). The DigiKey listing explicitly states "ships today" for small quantities. There is no current allocation or shortage signal for this part; however, given its 2007-era release, plan ahead for future EOL transitions by checking Microchip's PCN notifications.
PIC18F2682-I/SP vs PIC18F4685 - which is better for CAN-bus applications?
Choose the PIC18F2682-I/SP when you need 80 KB of Flash in a 28-pin SPDIP/QFN package, and choose the PIC18F4685 when you need 80-96 KB Flash in a 40/44-pin package with more I/O and a 12-bit ADC (versus 10-bit). Both share the same ECAN module, instruction set, and register architecture. According to the PIC18F2685/4685 family datasheet, peripherals are register-compatible, enabling firmware migration with minor pin-out re-mapping. For new designs, PIC18F2682 is preferred for tight 28-pin layouts, PIC18F4685 for higher-pin-count systems needing the 12-bit ADC.
PIC18F2682 vs PIC18F2580 - which is the better drop-in replacement?
The PIC18F2580 is a direct predecessor with 32 KB Flash and 3328 bytes RAM versus PIC18F2682's 80 KB Flash, but shares the same 28-pin SPDIP package, 10-bit ADC, and 25 I/O pins. The PIC18F2580 lacks the ECAN module that defines PIC18F2682, so it is NOT a true drop-in when CAN is required. According to Microchip's PIC18F2580/2585/2680/2685/4680/4685 family datasheet, ECAN is only present on the 268x and 468x parts; for CAN applications PIC18F2682 remains the correct choice.
When should I choose PIC18F2682-I/SP over PIC18F2680-I/SP?
Choose PIC18F2682-I/SP when your design needs the on-chip ECAN module; choose PIC18F2680-I/SP when CAN is not required. Both parts share the same 28-pin SPDIP/QFN package, 40 MHz core, 25 I/O pins, and 10-bit ADC, with Flash memory being the other main differentiator (80 KB on 2682 vs 64 KB on 2680). According to Microchip's PIC18F2680/2682/2685 family datasheet, the parts are register-compatible at the peripheral level, allowing ECAN code to be compiled out for 2680-based variants.
Is PIC18F2682-I/SP suitable for new designs in 2026?
Yes - the PIC18F2682-I/SP is in ACTIVE lifecycle status and is supported by Microchip's MPLAB X IDE with the latest XC8 compiler, but consider newer alternatives such as PIC18F26K83 (more memory, lower power) or PIC18F26Q43 for new designs with similar I/O count. For legacy through-hole designs, repair stock, and industrial CAN-bus nodes that must remain on DIP-28, the PIC18F2682-I/SP remains a valid choice in 2026 with active inventory at major distributors.
What is the best drop-in replacement for PIC18F2682-I/SP?
The best drop-in replacement is the PIC18F2685-I/SP from Microchip, which shares the identical 28-pin SPDIP package, 40 MHz core, ECAN module, 25 I/O pins, and 10-bit ADC, and offers 96 KB Flash (vs 80 KB) for additional code headroom. According to Microchip's selection guide for the 28/40/44-pin ECAN family, all three PIC18F268x variants (2680/2682/2685) are pin-compatible in 28-pin packages. For cross-brand drop-in, no direct second-source exists; consider Microchip's own PIC18F26K83 family for next-generation designs.
Where can I download the PIC18F2682-I/SP datasheet PDF?
Download the PIC18F2682 datasheet directly from Microchip at the product page or at the legacy document path (the 28/40/44-pin ECAN family document covers PIC18F2682, PIC18F2685, and PIC18F4685). Third-party datasheet mirrors are also available at Mouser, DigiKey, and AllDatasheet. According to Microchip's literature numbering, the family document covers pinouts, ECAN register definitions, electrical characteristics, and programming specifications.

Engineering reference data for PIC18F2682-I/SP — comparison, design guidance, and compliance information.

Selection Guide

Choose PIC18F2682-I/SP when you need a through-hole (SPDIP-28) PIC18 microcontroller with on-chip ECAN 2.0B, 80 KB Flash, and 3328 bytes RAM for industrial CAN-bus nodes, automotive body controllers, or educational embedded platforms. Choose PIC18F2685-I/SP when you need 96 KB Flash (the next step up in the same family) - all three PIC18F268x parts share the same SPDIP-28 pinout, ECAN module, peripherals, and register map. Choose PIC18F2680-I/SP when you do not need ECAN and want 64 KB Flash at lower cost. Choose PIC18F4685-I/P when you need more I/O (40 pins) or plan to add 12-bit ADC channels via firmware migration. For cross-brand drop-in, no second-source exists; for new designs with strict BOM diversity requirements, consider Microchip's ATSAM3N or NXP LPC15xx families.

Comparison with Alternatives

Parameter This Product PIC18F2685-I/SP PIC18F2680-I/SP PIC18F2682-I/SO PIC18F4685-I/P
Package SPDIP-28 SPDIP-28 - same SPDIP-28 - same SOIC-28 - cross-package DIP-40 - cross-package
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Program Memory (Flash) 80 KB 96 KB (+20%) 64 KB (-20%) 80 KB (same) 96 KB (+20%)
RAM 3328 bytes 3328 bytes 3328 bytes 3328 bytes 3328 bytes
Max CPU Frequency 40 MHz (10 MIPS) 40 MHz (10 MIPS) 40 MHz (10 MIPS) 40 MHz (10 MIPS) 40 MHz (10 MIPS)
ECAN Module Yes (CAN 2.0B active) Yes No Yes Yes
I/O Pins 25 25 25 25 36 (DIP-40)
ADC 10-bit, 11 channels 10-bit, 11 channels 10-bit, 11 channels 10-bit, 11 channels 10-bit, 11 channels
Operating Temperature -40C to +85C (industrial) -40C to +85C -40C to +85C -40C to +85C -40C to +85C
Pin-Compatible (SPDIP-28) Yes (this device) Yes - same SPDIP-28 footprint Yes - same SPDIP-28 footprint No - SOIC-28, cross-package No - DIP-40, cross-package

Key Differentiators

  • On-chip ECAN with hardware acceptance filtering (vs PIC18F2680-I/SP)
  • Larger Flash memory for richer firmware (vs PIC18F2685-I/SP)
  • Through-hole SPDIP-28 package for easy prototyping (vs PIC18F2682-I/SO)

Design Notes

The PIC18F2682 operates over 2.0V to 5.5V. Place a 0.1 uF decoupling capacitor within 5 mm of each VDD pin and a bulk 10 uF tantalum or aluminum polymer capacitor near the IC. When using the ADC, add a ferrite bead plus 10 ohm resistor on the AVDD rail and a separate analog ground pour to reduce digital switching noise coupling into ADC measurements. Brown-out reset (BOR) is enabled by default to prevent code runaway during VDD dips.

Route the ECAN TX/RX pins to MCP2551 transceiver with traces as short as possible and matched lengths (delta under 5 mm) to keep the bus edges clean. Place a 60 ohm termination resistor at each end of the CAN bus, not at the node. The CANH and CANL traces should be a differential pair with 120 ohm characteristic impedance and not cross any digital switching signal. Keep oscillator traces (OSC1/OSC2) short and surrounded by a ground guard ring to reduce EMI. The ICSP PGC/PGD pins should be accessible via a 6-pin header for in-circuit programming.

Do not forget to disable the watchdog timer (WDT) during development or set proper WDT postscaler to avoid unexpected resets. When using ECAN, configure BRGCON1/BRGCON2/BRGCON3 registers per the CAN bit timing tables in the datasheet for the target baud rate - incorrect configuration causes silent bus errors. Ensure the MCLR pin is pulled high via a 10 kohm resistor and not left floating. The ADC result requires acquisition time per the datasheet TAD table; reading too early after channel switching produces invalid data.

Estimated: at 40 MHz, 5V VDD, and full peripheral activity the PIC18F2682 draws approximately 25 mA (125 mW), with junction temperature rise of 7 C above ambient assuming standard DIP-28 theta_JA of 70 C/W. At industrial operating temperature of 85 C, junction reaches 92 C, well below the 150 C absolute max. Power-saving modes (Sleep/Idle and nanoWatt Technology) drop consumption to under 100 nA in Sleep with WDT disabled. Use Sleep for battery-backed or energy-harvested designs and wake via ECAN or external interrupt.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Applicable
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

RoHS compliant per Microchip product page. Industrial temperature grade (-40C to +85C). Not AEC-Q100 qualified - choose AEC-Q100 automotive parts (e.g., PIC18F2682-I/SP automotive variant) for safety-critical applications. Halogen-free per Microchip green-compliance documentation.

Data verified on: 2026-09-27 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F2682-I/SP PIC18F2682-I/SP datasheet Microchip PIC18F2682 PIC18 40MHz 80KB Flash ECAN 28-pin DIP PIC microcontroller CAN PIC18F2682-I/SP CAN-bus node PIC18F2682 vs PIC18F2685 PIC18F2682 drop-in replacement buy PIC18F2682-I/SP online PIC18F2682 price stock lead time what is the Flash memory of PIC18F2682 PIC18F2682 industrial CANbus 8-bit MCU PIC18F2682 pinout SPDIP-28 ECAN 2.0B PIC18F 28-pin DIP

Related Components & Terms

Microchip Technology PIC18F2682 PIC18F2682-I/SP PIC18F2685-I/SP PIC18F2680-I/SP PIC18F4685-I/P PIC18 family 8-bit microcontroller MCU Enhanced CAN (ECAN) CAN 2.0B SPDIP-28 DIP-28 SOIC-28 Flash memory EEPROM 10-bit ADC Enhanced USART MSSP ICSP MPLAB X IDE XC8 compiler industrial temperature grade nanoWatt Technology RoHS ISO 11898-1
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details