PIC18F2680-I/SO - 8-bit MCU 64KB Flash ECAN 28-SOIC | Microchip
N.º de pieza: PIC18F2680-I/SO ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $8.62 | $8,62 |
| 10 | $7.79 | $77,90 |
| 100 | $6.86 | $686,00 |
| 500 | $6.18 | $3.090,00 |
| 1.000 | $5.62 | $5.620,00 |
PIC18F2680-I/SO Descripción general
What is an 8-bit PIC microcontroller? An 8-bit MCU is a single-chip computer that processes data in 8-bit chunks and falls under the broader category of microcontrollers, itself a sub-family of embedded processors. The PIC18F family is Microchip's high-performance 8-bit line that adds an enhanced instruction set, C-compiler-friendly architecture, and advanced peripherals such as ECAN and USB. PIC18F sits between the mid-range PIC16F and the 16-bit dsPIC/PIC24 families in Microchip's taxonomy, making it the typical choice when an engineer needs CAN, USB, or more peripherals without paying for a 16-bit core.
Key features of the PIC18F2680 include the enhanced CAN 2.0B module with acceptance filters and masks for selective message filtering on multi-node CAN networks, multiple 16-bit timers (Timer0/1/2/3), two Capture/Compare/PWM (CCP) modules, a Master SSP for SPI and I2C, an enhanced USART that supports LIN and RS-485, and a 10-bit ADC with auto-acquisition. The 64 KB self-programmable flash and 256-byte data EEPROM allow remote firmware updates on CAN-connected nodes, which is essential for service and recall scenarios in automotive and industrial deployments.
Typical applications include automotive and industrial CAN nodes, sensor conditioning front-ends with analog inputs, building automation gateways, low-cost motor peripherals, and any distributed control network where CAN 2.0B is the backbone bus. The wide SOIC package also supports legacy through-hole-replacement designs that benefit from a robust surface-mount mechanical outline.
When designing with this device, allocate one of the 28 pins to the ECAN TX/RX pair, ensure a clean 5 V rail because ADC accuracy degrades with supply ripple, and follow Microchip's ICD programming pinout when laying out the PCB to avoid rework if in-circuit debug is later required. This page synthesizes distributor stock and pricing, drop-in alternatives in the PIC18F family, and engineering design notes that are not consolidated in the manufacturer datasheet alone.
Alternativas directas para PIC18F2680-I/SO — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18F2680-I/SO (mismo factor de forma y huella) — difiere en Timers, Package, ADC, Operating Temperature, Core Architecture.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F2680T-I/SO
✅ Sustitución directa✓ En stock
$6.15 / unidad
Ver hoja de datos →PIC18F2682-I/SO
✅ Sustitución directa✓ En stock
$5.02 / unidad
Ver hoja de datos →PIC18F2580-I/SO
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F4585-I/SO
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F4680-I/SO
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F26K80-I/SO
✅ Sustitución directa✓ En stock
$2.87 / unidad
Ver hoja de datos →PIC18F2680-I/SO Valores máximos y características eléctricas
| Core | PIC18F, 8-bit RISC |
| Instruction Set | Enhanced PIC18, C-compiler friendly |
| Maximum Clock Speed | 40 MHz (10 MIPS) |
| Program Memory (Flash) | 64 KB (32K x 16) |
| RAM | 3328 bytes |
| Data EEPROM | 256 bytes |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 25 |
| ADC | 10-bit, up to 8 channels |
| CAN | ECAN (CAN 2.0B) with filters/masks |
| Timers | Timer0/1/2/3 (16-bit capable) |
| CCP/PWM Modules | 2 |
| Communication | EUSART (LIN/RS-485), MSSP (SPI/I2C) |
| Power Management | nanoWatt technology, low-power sleep modes |
| Operating Temperature Range (I grade) | -40C to +85C |
| Encapsulado | 28-pin SOIC (0.295" / 7.50 mm width) |
| Tipo de montaje | Surface Mount |
| In-Circuit Debug | ICSP via ICD pins |
Configuración de pines de PIC18F2680-I/SO
| Pin 1 | MCLR/RE3 — Master Clear (reset) input / digital I/O |
| Pin 2 | RA0 — Digital I/O / analog input AN0 |
| Pin 3 | RA1 — Digital I/O / analog input AN1 |
| Pin 4 | RA2 — Digital I/O / analog input AN2 / VREF- |
| Pin 5 | RA3 — Digital I/O / analog input AN3 / VREF+ |
| Pin 6 | RA4 — Digital I/O / analog input AN4 |
| Pin 7 | RA5 — Digital I/O / analog input AN5 |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/RA7 — Crystal oscillator input / digital I/O |
| Pin 10 | OSC2/RA6 — Crystal oscillator output / digital I/O |
| Pin 11 | RC0 — Digital I/O / SOSCO / PWM |
| Pin 12 | RC1 — Digital I/O / SOSCI / CCP2 |
| Pin 13 | RC2 — Digital I/O / CCP1 / PWM |
| Pin 14 | RC3 — Digital I/O / SCL (MSSP I2C clock) |
| Pin 15 | RC4 — Digital I/O / SDA (MSSP I2C data) |
| Pin 16 | RC5 — Digital I/O / SDO (MSSP SPI) |
| Pin 17 | RC6 — Digital I/O / TX (EUSART) |
| Pin 18 | RC7 — Digital I/O / RX (EUSART) |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply (4.2 V to 5.5 V) |
| Pin 21 | RB0 — Digital I/O / INT0 / ECAN RX |
| Pin 22 | RB1 — Digital I/O / INT1 / ECAN TX |
| Pin 23 | RB2 — Digital I/O / INT2 |
| Pin 24 | RB3 — Digital I/O / INT3 / PGD (ICSP data) |
| Pin 25 | RB4 — Digital I/O / PGC (ICSP clock) |
| Pin 26 | RB5 — Digital I/O / PGM (LVP) |
| Pin 27 | RB6 — Digital I/O / PGC (alt) |
| Pin 28 | RB7 — Digital I/O / PGD (alt) |
Aplicaciones típicas
PIC18F2680-I/SO es adecuado para 6 aplicacións: Automotive CAN Bus Nodes, Industrial Sensor Conditioning Nodes, Building Automation Gateways, Low-Cost Motor Control Peripherals, LIN Bus Subordinate Nodes, Remote Firmware-Updatable CAN Devices.
Automotive CAN Bus Nodes
The PIC18F2680-I/SO is purpose-built for in-cabin and chassis CAN nodes where ECAN 2.0B, 64 KB flash, and 25 I/O pins converge in a single chip. The integrated acceptance filters and masks allow the MCU to ignore irrelevant CAN frames without CPU wake-up, reducing bus load and saving nanoWatt-mode sleep current. With 64 KB flash it can host a full J1939 or CANopen stack plus application code, and the 28-SOIC package provides a robust automotive surface-mount footprint suited for under-dash ECUs.
Recomendado
Industrial Sensor Conditioning Nodes
The 10-bit ADC with up to 8 input channels, plus 25 digital I/O and ECAN bus, lets a single PIC18F2680 read multiple analog sensors and report them over a CAN backbone in industrial automation. nanoWatt sleep current in the low microamp range supports battery-backed remote sensor nodes that wake periodically to take readings. The 64 KB flash holds industrial protocol stacks (CANopen, DeviceNet slave) while the 3328-byte SRAM buffers incoming telegrams without loss.
Recomendado
Building Automation Gateways
Building automation controllers aggregate sensor data from HVAC, lighting, and security zones over CAN and forward to BACnet or Modbus hosts. The PIC18F2680's ECAN module handles the field-bus side while the enhanced USART provides RS-485 for trunk-line connection to a building management system. With 64 KB self-programmable flash, firmware changes can be pushed over the field bus without physical access to controllers, simplifying maintenance of large installations.
Recomendado
Low-Cost Motor Control Peripherals
Two Capture/Compare/PWM (CCP) modules drive brush-DC or stepper motor control loops at up to 40 MHz instruction throughput. The 10 MIPS speed and 10-bit ADC sample the back-EMF or current-sense amplifier at sufficient rates for sensorless trapezoidal commutation. Adding an ECAN link lets the peripheral accept torque/speed commands from a centralized motion controller, fitting modern distributed-motion architectures in conveyor and robotics applications.
Recomendado
LIN Bus Subordinate Nodes
The enhanced USART with LIN-capable baud-rate generator makes the PIC18F2680 well-suited for LIN 1.3/2.0/2.1 subordinate communication in body-control modules. Automotive LIN clusters (door modules, seat controllers, mirror adjusters) use the same ECAN-aware PIC18F family as a stepping stone to full CAN networks, sharing firmware IP and reducing development cost. The 256-byte EEPROM stores node configuration that survives battery disconnect events.
Recomendado
Remote Firmware-Updatable CAN Devices
The 64 KB self-programmable flash and 256-byte data EEPROM enable field firmware updates over the CAN bus without physical access. This is essential for CAN-connected devices deployed in inaccessible locations (elevator controllers, wind turbine sensors, pipeline monitors) where physical service calls are expensive. The PIC18F2680's flash write/erase cycles per the Microchip datasheet (DS39646F) and CRC-checking capability ensure reliable in-the-field reprogramming.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F2680-I/SO — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC18F2680T-I/SO | PIC18F2682-I/SO | PIC18F2580-I/SO | PIC18F4585-I/SO | PIC18F4680-I/SO | PIC18F26K80-I/SO |
|---|---|---|---|---|---|---|---|
| Package | 28-SOIC (0.295") | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same | 28-SOIC - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Flash | 64 KB | 64 KB | 128 KB | 32 KB | 48 KB | 64 KB | 64 KB |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 1,536 bytes | 3,328 bytes | 3,328 bytes | 3,584 bytes |
| Data EEPROM | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 256 bytes | 1,024 bytes |
| Maximum Clock | 40 MHz (10 MIPS) | 40 MHz | 48 MHz | 40 MHz | 40 MHz | 40 MHz | 64 MHz |
| Supply Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 2.0 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 4.2 V to 5.5 V | 1.8 V to 5.5 V |
| ECAN (CAN 2.0B) | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| USB | No | No | Yes (USB 2.0 FS) | No | No | No | No |
| ADC Channels | 8 (10-bit) | 8 | 8 | 8 | 8 | 8 | 8 |
Diferenciadores clave
- Industry-leading low-jitter 5 V ECAN with acceptance masks (frente a PIC18F2580-I/SO)
- Higher-density flash in same 28-SOIC footprint (frente a PIC18F4585-I/SO)
- Mature, automotive-grade ECAN firmware ecosystem (frente a PIC18F26K80-I/SO)
- Mature self-programming flash with ECAN-driven firmware updates (frente a PIC18F4680-I/SO)
Notas de diseño
The PIC18F2680-I/SO requires a clean 4.2 V to 5.5 V supply; ADC accuracy depends on a low-ripple rail because the 10-bit ADC reference is VDD-derived by default. Place a 0.1 uF ceramic decoupling capacitor as close as possible to each VDD pin (pins 20 and the second VDD ball) and add a 10 uF bulk tantalum or aluminum polymer capacitor at the regulator output. Use a ferrite bead or L-C filter if the 5 V rail is shared with a switching converter.
The 28-SOIC and 28-SPDIP pinouts are NOT identical for PIC18F2680 - the SPDIP version exposes more I/O on PORTA than the SOIC because the SOIC pins 9 and 10 are OSC1/OSC2 by default. If your design switches between SOIC and SPDIP, verify the OSC and PORTA pin allocation in the pin compatibility chart (DS00148J2). When migrating to PIC18F2682-I/SO you must update the linker script for the larger 128 KB flash map.
Route the ECAN TX/RX pair (RB1/RB0) as a differential pair with 120-ohm characteristic impedance and 120-ohm termination at each end of the bus. Keep the pair short and avoid crossing digital switching signals to maintain the CAN signal integrity. Provide an ICD header footprint (PGC/PGD/MCLR/VSS/VDD) on the PCB even if you skip in-circuit debug in production - this saves rework time during development.
Keep the crystal or external clock traces to the PIC18F2680 short and symmetric. Use a ground guard ring around the crystal to reduce EMI injection into sensitive analog inputs. Place the VREF+ capacitor close to the RA3 pin if using an external ADC reference; nanoWatt sleep current is sensitive to floating analog inputs, so tie unused analog pins to VDD or VSS to minimize leakage.
Información de cumplimiento
RoHS compliant per Microchip product page. Industrial temperature grade (-40C to +85C). Not AEC-Q100 qualified; choose PIC18F2680-H/SO for high-temperature grade.