PIC18F4680-I/P - 40MHz 8-bit MCU 64KB Flash ECAN DIP-40
MPN: PIC18F4680-I/P ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.2 | $9.20 |
| 10 | $8.32 | $83.20 |
| 100 | $7.15 | $715.00 |
| 500 | $6.4 | $3,200.00 |
| 1,000 | $5.78 | $5,780.00 |
PIC18F4680-I/P Overview
The PIC18 microcontroller family is an 8-bit RISC architecture with a modified Harvard structure and 16-bit instruction word. An 8-bit MCU (microcontroller unit) integrates a CPU core, non-volatile program memory (Flash), volatile data memory (RAM), and a configurable set of peripherals onto a single silicon die, reducing BOM count and PCB area relative to a discrete MCU plus external-memory design. The PIC18 family specifically targets higher-performance 8-bit control than the PIC16 baseline by adding hardware multiply, extended instructions, larger memory spaces, and enhanced peripherals such as ECAN, USB, and motor-control PWMs.
Key features of the PIC18F4680-I/P include 10-bit ADC, nanoWatt power management for low-power sleep modes, hardware ECAN for automotive and industrial CAN networks, 36 digital I/O pins, multiple timers, and a 40 MHz maximum oscillator (10 MIPS instruction throughput). The 4.2 V to 5.5 V supply range matches 5 V automotive and industrial rails directly without an external LDO.
Technically, the device uses Microchip's enhanced flash program memory architecture with self-programmability under firmware control, and provides separate code-protection and code-guard bits for IP protection. The ECAN module implements CAN 2.0B active with hardware acceptance filters and message buffers, offloading the CPU from bit-stuffing and arbitration tasks.
Typical applications include CAN node endpoints in automotive body and chassis networks, industrial CANopen / DeviceNet slave nodes, HVAC and building-automation controllers, sensor hubs with analog front-ends, and low-to-mid complexity motor controllers. Because the device supports extended (-40C to +125C) industrial temperatures, it is widely deployed in harsh environments.
When designing with this part, allocate sufficient decoupling (100 nF ceramic near each VDD/VSS pair plus a bulk 10 uF tantalum), follow Microchip's PCB-layout guidelines for the ECAN bus (matched-impedance traces and common-mode choke for long bus segments), and program the configuration bits (fuses) to match the oscillator and code-protection scheme before code development. The Industrial temperature grade -I suffix covers -40C to +85C.
This page synthesizes distributor pricing, drop-in alternatives within the same 40-pin PDIP footprint, and practical design notes not found in the standalone manufacturer datasheet to accelerate BOM decisions and layout planning.
Drop-in alternatives for PIC18F4680-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 PIC18F4680-I/P (same form factor and footprint) — differing in Package, Program Memory (Flash), Operating Temperature, ADC, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F4680-E/P
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F4480-I/P
✅ Drop-In✓ In Stock
$6.62 / Unit
View Datasheet →PIC18F4580-I/P
✅ Drop-In✓ In Stock
$5.1 / Unit
View Datasheet →PIC18F4520-I/P
✅ Drop-In✓ In Stock
$5.35 / Unit
View Datasheet →PIC18F4620-I/PT
✅ Drop-In✓ In Stock
$5.45 / Unit
View Datasheet →PIC18F4680-I/P Maximum Ratings & Electrical Characteristics
| Family | PIC18F |
| Core | 8-bit PIC RISC (enhanced Harvard) |
| Maximum Clock Frequency | 40 MHz |
| Instruction Throughput | 10 MIPS |
| Program Memory | 64 KB (32K x 16) Flash |
| RAM | 3328 bytes |
| EEPROM | 1024 bytes |
| I/O Pins | 36 |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| ADC | 10-bit, 11 channels |
| CAN | ECAN (CAN 2.0B active) |
| Timers | 4 (Timer0/1/2/3) |
| Package | 40-pin PDIP (DIP-40) |
| Operating Temperature | -40C to +85C (Industrial, -I) |
| Mounting Type | Through-Hole (DIP) |
| RoHS Status | Compliant |
PIC18F4680-I/P Pin Configuration
| Pin 1 | MCLR — Master Clear (reset) input, active low |
| Pin 2 | RA0/AN0 — Digital I/O / Analog input channel 0 |
| Pin 3 | RA1/AN1 — Digital I/O / Analog input channel 1 |
| Pin 4 | RA2/AN2/VREF- — Digital I/O / Analog input channel 2 / ADC negative reference |
| Pin 5 | RA3/AN3/VREF+ — Digital I/O / Analog input channel 3 / ADC positive reference |
| Pin 6 | RA4/T0CKI — Digital I/O / Timer0 clock input |
| Pin 7 | RA5/AN4/SS — Digital I/O / Analog input channel 4 / SPI slave select |
| Pin 8 | RE0/RD — Digital I/O / Parallel port read control |
| Pin 9 | RE1/WR — Digital I/O / Parallel port write control |
| Pin 10 | RE2/CS — Digital I/O / Parallel port chip select |
| Pin 11 | VDD — Positive supply voltage (4.2 V to 5.5 V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1/CLKI — Oscillator input / external clock input |
| Pin 14 | OSC2/CLKO — Oscillator output / clock output |
| Pin 15 | RC0/T1OSO/T13CKI — Digital I/O / Timer1 oscillator output / Timer1/Timer3 clock |
| Pin 16 | RC1/T1OSI/CCP2 — Digital I/O / Timer1 oscillator input / Capture-Compare-PWM 2 |
| Pin 17 | RC2/CCP1 — Digital I/O / Capture-Compare-PWM 1 |
| Pin 18 | RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock |
| Pin 19 | RD0/PSP0/C1IN+ — Digital I/O / Parallel slave port / Comparator 1 input + |
| Pin 20 | RD1/PSP1/C1IN- — Digital I/O / Parallel slave port / Comparator 1 input - |
| Pin 21 | RD2/PSP2/C2IN+ — Digital I/O / Parallel slave port / Comparator 2 input + |
| Pin 22 | RD3/PSP3/C2IN- — Digital I/O / Parallel slave port / Comparator 2 input - |
| Pin 23 | RC4/SDI/SDA — Digital I/O / SPI data in / I2C data |
| Pin 24 | RC5/SDO — Digital I/O / SPI data out |
| Pin 25 | RC6/TX/CK — Digital I/O / USART asynchronous transmit / synchronous clock |
| Pin 26 | RC7/RX/DT — Digital I/O / USART asynchronous receive / synchronous data |
| Pin 27 | RD4/PSP4/ECANRX — Digital I/O / Parallel slave port / ECAN receive |
| Pin 28 | RD5/PSP5/ECANTX — Digital I/O / Parallel slave port / ECAN transmit |
| Pin 29 | RD6/PSP6 — Digital I/O / Parallel slave port |
| Pin 30 | RD7/PSP7 — Digital I/O / Parallel slave port |
| Pin 31 | VSS — Ground reference |
| Pin 32 | VDD — Positive supply voltage (4.2 V to 5.5 V) |
| Pin 33 | RB0/INT0/FLT0 — Digital I/O / External interrupt 0 / PWM fault input |
| Pin 34 | RB1/INT1 — Digital I/O / External interrupt 1 |
| Pin 35 | RB2/INT2/CANTX — Digital I/O / External interrupt 2 / ECAN TX (alt) |
| Pin 36 | RB3/INT3/CANRX — Digital I/O / External interrupt 3 / ECAN RX (alt) |
| Pin 37 | RB4 — Digital I/O with interrupt-on-change |
| Pin 38 | RB5 — Digital I/O with interrupt-on-change |
| Pin 39 | RB6/PGC — Digital I/O / ICSP clock (programming/debug) |
| Pin 40 | RB7/PGD — Digital I/O / ICSP data (programming/debug) |
Typical Applications
PIC18F4680-I/P is suitable for 6 applications: Automotive CAN Node Endpoint, Industrial CANopen / DeviceNet Slave, HVAC and Building Automation Controller, Sensor Hub with Analog Front-End, Low-to-Mid Complexity Motor Controller, Industrial Sensor and Instrument Front-End.
Automotive CAN Node Endpoint
The PIC18F4680-I/P is well suited to automotive CAN node endpoints because its integrated ECAN 2.0B active module implements hardware acceptance filters, message buffers, and bit-stuffing offload, freeing the 10 MIPS CPU for application logic. The 4.2 V to 5.5 V supply matches the 5 V automotive bus rail directly without an external LDO, and the 64 KB Flash (32K x 16) holds a J1939 or CANopen stack plus application code with headroom for over-the-air update hooks. Placed on a CAN-H/CAN-L differential bus with a TJA1050 or MCP2551 transceiver, the device delivers deterministic bus latency. Compared with discrete CAN-controller-plus-MCU designs, the integrated approach reduces BOM by one IC and simplifies EMC compliance on the bus segment.
Recommended
Industrial CANopen / DeviceNet Slave
In industrial CANopen and DeviceNet slave nodes, the PIC18F4680-I/P delivers the deterministic real-time response required for process automation. The 3328 bytes of RAM are sufficient for CANopen object dictionary entries, PDO mapping tables, and SDO buffers, while the 64 KB Flash stores the CANopen stack plus vendor-specific objects. Hardware ECAN handles the bus protocol so that firmware can focus on PDO assembly and node-guarding tasks. The 11-channel 10-bit ADC reads sensor inputs directly, removing the need for an external ADC. Deployed on a DeviceNet trunk with a shielded twisted-pair cable, the device functions as a low-cost slave node from -40C to +85C ambient.
Recommended
HVAC and Building Automation Controller
The PIC18F4680-I/P fits HVAC and building-automation controllers because of its 36 digital I/O pins, 11-channel 10-bit ADC for temperature and humidity sensors, and four timers for PWM valve and damper actuation. The 64 KB Flash stores scheduling logic, BACnet object maps, and user-interface handling, while 3328 bytes RAM covers buffer space for the BACnet MS/TP or Modbus RTU stacks. The nanoWatt power-managed sleep modes reduce idle consumption between sensor polls, enabling battery-backed thermostat designs. Compared with PIC16 baseline parts, the enhanced Harvard core and 16-bit instructions cut CPU overhead per bit-toggle by approximately 4x, improving scheduler throughput.
Recommended
Sensor Hub with Analog Front-End
The PIC18F4680-I/P is appropriate as a sensor hub that aggregates analog sensor inputs and publishes readings over CAN or UART. The 10-bit ADC with 11 channels multiplexes multiple analog sensors into a single MCU, eliminating per-channel signal-conditioning ICs and trimming BOM cost. Hardware ECAN in the ECAN 2.0B implementation supports CAN-based sensor broadcast, while the four 16-bit timers schedule sensor sampling windows precisely. The 64 KB Flash holds calibration tables and linearization polynomials for the sensor mix. Power consumption in sleep mode drops to microampere levels via the nanoWatt technology, enabling solar- or battery-powered remote sensor deployments.
Recommended
Low-to-Mid Complexity Motor Controller
The PIC18F4680-I/P can drive low-to-mid complexity motor controllers such as small BLDC or stepper subsystems, leveraging its four 16-bit timers for PWM generation and quadrature decoding. The 64 KB Flash stores state-machine control algorithms and current-loop compensators, while 3328 bytes RAM hold PID state variables and feedback buffers. ECAN integration allows the controller to participate in coordinated multi-axis drives over a CAN bus, eliminating parallel encoder cables. Compared with a dedicated motor-control IC, the PIC18F4680-I/P offers more flexibility for proprietary commutation schemes at the cost of higher firmware complexity. Hardware ECAN offloads bus traffic from the real-time control loop.
Recommended
Industrial Sensor and Instrument Front-End
The PIC18F4680-I/P serves as a front-end controller for industrial sensors and instruments that require CAN connectivity for distributed monitoring. Its 64 KB Flash and 3328 bytes RAM allow on-chip implementation of measurement signal processing, calibration, and digital filtering without external memory. The 11-channel 10-bit ADC digitizes analog transducer outputs, and ECAN broadcasts measured values to a supervisory controller in real time. The 40-pin PDIP through-hole package is mechanically rugged for vibration-prone industrial cabinets and supports easy rework during prototyping. Compared with surface-mount QFP variants of the same die, the DIP-40 package simplifies hand-soldering and breadboard-based engineering evaluation.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F4680-I/P — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F4680-E/P | PIC18F4480-I/P | PIC18F4580-I/P | PIC18F4520-I/P | PIC18F4620-I/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | DIP-40 | DIP-40 - same | DIP-40 - same | DIP-40 - same | DIP-40 - same | DIP-40 - same |
| Program Flash | 64 KB | 64 KB | 16 KB | 32 KB | 32 KB | 64 KB |
| RAM | 3328 B | 3328 B | 768 B | 2048 B | 1536 B | 3986 B |
| CAN Peripheral | ECAN 2.0B | ECAN 2.0B | ECAN 2.0B | USB 2.0 FS (no CAN) | None | None (MSSP/USART) |
| ADC | 10-bit, 11 channels | 10-bit, 11 ch | 10-bit, 11 ch | 10-bit, 8 ch | 10-bit, 8 ch | 10-bit, 8 ch |
| Operating Temperature | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Approx. Unit Price (qty 1, USD) | 9.20 | 9.40 | 7.95 | 8.10 | 7.60 | 8.90 |
Key Differentiators
- Hardware ECAN 2.0B controller integrated on-chip (vs PIC18F4520-I/P)
- Larger program Flash and RAM than PIC18F4580 family (vs PIC18F4580-I/P)
- Backward-compatible with PIC18F4480 firmware and toolchain (vs PIC18F4480-I/P)
Design Notes
Place a 100 nF ceramic decoupling capacitor as close as possible to each VDD/VSS pair (pins 11/12 and 31/32) and add a single 10 uF tantalum or low-ESR ceramic bulk capacitor on the same supply trace within 1 inch of the package. The PIC18F4680-I/P can source up to 250 mA through all I/O pins combined; if the design drives high-current loads (relays, LEDs), use a driver IC such as ULN2003 rather than the MCU port pins to avoid VDD droop during switching transitions. The nanoWatt sleep modes drop quiescent current to under 1 uA but require the ECAN module to be disabled before entering sleep.
For the ECAN bus, route CANH and CANL as a 100 m differential pair on the PCB, keeping them matched in length (delta < 5 mm) and isolated from switching nodes or high-current traces. Place a 60 mA ferrite bead in series with VDD near the IC and a 100 nF bypass on each VDD pin to suppress ECU transients common in 12 V automotive systems. If the bus leaves the PCB, add a TVS diode (e.g. SMAJ24CA) across the bus pair near the transceiver connector to absorb ESD and load-dump events. Keep the ICSP pins (RB6/RB7) accessible via a 0.1 inch header for in-circuit debugging with MPLAB ICD 5.
Do not leave the MCLR pin floating: tie it to VDD through a 10 kohm pull-up and add a 100 nF cap to ground for noise filtering, otherwise spurious resets may occur. Configure the configuration bits (CONFIG1H through CONFIG5L) before code development to set the oscillator mode (HS for 40 MHz crystal), watchdog timer, code protection, and brown-out voltage. The PIC18F4680 is a 5 V part; connecting 3.3 V peripherals to its I/O pins without a level translator can damage either side. Finally, when migrating from PIC18F4520 or PIC18F4580 firmware, verify ECAN peripheral pin mapping in the datasheet because RB2/RB3 are alternate CANTX/CANRX and may need reassignment.
Estimated: in still air at 25C ambient, the PIC18F4680-I/P in a DIP-40 package has theta_JA of approximately 50 C/W (typical Microchip value for through-hole PDIP). For a worst-case load of 40 MHz clock at 5.5 V drawing 70 mA, internal dissipation is roughly 385 mW and junction rise is about 19C, well within the +85C industrial ceiling. Extended-temperature variants (-E suffix) must keep junction temperature below +150C absolute maximum. Use a wide ground pour under the package and consider thermal vias if the design sees sustained high ambient temperature inside an enclosure.
Compliance Information
RoHS and REACH compliance per Microchip product page. Lead-free and halogen-free per Microchip 2010 onwards catalog standard. AEC-Q100 is not applicable because the -I/P is the industrial-grade (not automotive-grade) variant; for AEC-Q100 qualified CAN nodes use the PIC18F4680T-I/PT or PIC18F46K80T-I/PT auto-grade variants.