PIC18F4680-I/ML - 8-Bit 40MHz 64KB Flash MCU 44-QFN | Microchip
N.º de pieza: PIC18F4680-I/ML ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $16.15 | $16,15 |
| 10 | $14.21 | $142,10 |
| 100 | $11.85 | $1.185,00 |
| 500 | $10.62 | $5.310,00 |
| 1.000 | $9.84 | $9.840,00 |
PIC18F4680-I/ML Descripción general
A microcontroller (MCU) is a single-chip computer containing a processor core, program memory, data RAM, and programmable peripherals. The PIC18 family uses an enhanced 8-bit RISC architecture with 16-bit instructions, optimized for deterministic real-time control. Within Microchip's portfolio, the PIC18F4680 belongs to the mid-range flash MCU segment, bridging classic PIC16 designs and the higher-performance dsPIC/PIC24 families. Its main application domains are CAN-node industrial automation and automotive body/comfort ECUs, where deterministic latency and on-chip ECAN significantly reduce BOM cost.
Key features include hardware ECAN 2.0B controller with masking and filtering, 10-bit ADC with up to 11 channels, two USART modules (one enhanced, supports LIN), one MSSP (I2C/SPI), two CCP/ECCP modules for PWM/capture/compare, nanoWatt power-managed modes (Sleep, Idle, Doze), and 1024 bytes data EEPROM for non-volatile parameter storage. The 36 programmable I/O pins support 5.5V tolerance and individually configurable weak pull-ups. The 44-QFN exposed-pad package has low thermal resistance for the 100 mA typical operating current.
The CPU core is a Harvard-architecture 8-bit engine with an 8x8 hardware multiplier, 16-bit instructions, and a 4-deep stack per priority level. Up to 16 priority levels of interrupt nesting are supported. The internal oscillator block provides selectable 8 MHz, 4 MHz, 2 MHz, and 31 kHz sources, and supports PLL-driven operation at 40 MHz from a 10 MHz crystal. Fail-Safe Clock Monitor and Two-Speed Start-up enable reliable operation from internal oscillator without external crystal in cost-sensitive designs.
Typical applications include automotive body and chassis ECUs (window lift, seat control, lighting, instrument clusters), industrial CAN nodes (sensors, motor drives, PLCs), building automation (HVAC, access control), and LIN/J1939 gateway nodes. The ECAN peripheral is the defining feature for these networks. The 64KB Flash supports application code up to 32K single-word instructions, while the 3328-byte SRAM and 1024-byte EEPROM handle CAN message buffering and non-volatile calibration data.
Design with the PIC18F4680-I/ML using MPLAB X IDE and the MPLAB XC8 compiler. Decouple VDD/AVDD with 100 nF and 10 uF ceramics placed within 5 mm of the supply pins, and bond the QFN exposed pad to a continuous ground plane with at least 8 thermal vias for heat dissipation. MPLAB ICD 5 or PICkit 5 provide in-circuit debug and programming through the ICSP interface on pins RB6/RB7.
This page consolidates distributor pricing, parametric drop-in alternatives, and practical design guidance drawn from the Microchip PIC18F4680 datasheet (DS39758) and reference designs, providing context not present on a single distributor listing.
Alternativas directas para PIC18F4680-I/ML — 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 PIC18F4680-I/ML (mismo factor de forma y huella) — difiere en Package, Operating Temperature, ADC, Program Memory (Flash), Power-Saving Modes.
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F4680-E/ML
✅ Sustitución directa✓ En stock
$12.85 / unidad
Ver hoja de datos →PIC18F4585-I/ML
✅ Sustitución directa✓ En stock
$5.53 / unidad
Ver hoja de datos →PIC18F4480-I/ML
✅ Sustitución directa✓ En stock
$4.89 / unidad
Ver hoja de datos →PIC18F4680-I/ML Valores máximos y características eléctricas
| Product Type | 8-bit Microcontroller (MCU) |
| Series | PIC 18F |
| Core Processor | PIC |
| Core Size | 8-bit |
| Program Memory Size | 64 KB (32K x 16) Flash |
| SRAM | 3328 bytes |
| Data EEPROM | 1024 bytes |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Supply Voltage (VDD) | 4.2 V to 5.5 V |
| Number of I/O Pins | 36 |
| ADC | 10-bit, up to 11 channels |
| Communication Peripherals | ECAN 2.0B, 1x EUSART (LIN), 1x MSSP (I2C/SPI), 1x AUSART |
| PWM / CCP | 2x CCP (1x ECCP) |
| Temperatura de funcionamiento | -40C to +85C (Industrial, -I suffix) |
| Encapsulado | 44-QFN (8x8 mm) with Exposed Pad |
| Tipo de montaje | Surface Mount |
| Nivel MSL | 3 (per JEDEC J-STD-020) |
| Estado RoHS | Compliant |
| Power-Saving Modes | nanoWatt (Sleep, Idle, Doze, Run) |
Configuración de pines de PIC18F4680-I/ML
| Pin 1 | RX/DT — EUSART RX / Data |
| Pin 2 | TX/CK — EUSART TX / Clock |
| Pin 3 | RC6/TX1 — I/O / AUSART1 TX |
| Pin 4 | RC7/RX1 — I/O / AUSART1 RX |
| Pin 5 | MCLR — Master Clear (Reset, active-low) |
| Pin 6 | RA0/AN0 — Analog input 0 / I/O |
| Pin 7 | RA1/AN1 — Analog input 1 / I/O |
| Pin 8 | RA2/AN2 — Analog input 2 / I/O |
| Pin 9 | RA3/AN3/VREF+ — Analog input 3 / VREF+ |
| Pin 10 | RA4/AN4/T0CKI — Analog input 4 / Timer0 clock |
| Pin 11 | RA5/AN5/SS/HLVD — Analog input 5 / Slave Select / HLVD |
| Pin 12 | RE0/AN6 — Analog input 6 / I/O |
| Pin 13 | RE1/AN7 — Analog input 7 / I/O |
| Pin 14 | RE2/AN8 — Analog input 8 / I/O |
| Pin 15 | VDD — Positive supply voltage |
| Pin 16 | VSS — Ground |
| Pin 17 | RA6/OSC2 — I/O / Crystal output |
| Pin 18 | RA7/OSC1 — I/O / Crystal input |
| Pin 19 | RB0/INT0 — External interrupt 0 / I/O |
| Pin 20 | RB1/INT1 — External interrupt 1 / I/O |
| Pin 21 | RB2/INT2 — External interrupt 2 / I/O |
| Pin 22 | RB3/INT3/CCP2 — I/O / External interrupt / CCP2 |
| Pin 23 | RB4/KBI0 — I/O / Keyboard interrupt |
| Pin 24 | RB5/KBI1/PGM — I/O / Keyboard interrupt / LVP |
| Pin 25 | RB6/PGC — ICSP clock / I/O |
| Pin 26 | RB7/PGD — ICSP data / I/O |
| Pin 27 | RC0 — I/O |
| Pin 28 | RC1 — I/O |
| Pin 29 | RC2/CCP1 — I/O / CCP1 PWM |
| Pin 30 | RC3 — I/O |
| Pin 31 | RC4 — I/O |
| Pin 32 | RC5 — I/O |
| Pin 33 | RD0 — I/O |
| Pin 34 | RD1 — I/O |
| Pin 35 | RD2 — I/O |
| Pin 36 | RD3 — I/O |
| Pin 37 | RD4 — I/O |
| Pin 38 | RD5 — I/O |
| Pin 39 | RD6 — I/O |
| Pin 40 | RD7 — I/O |
| Pin 41 | CANTX — ECAN transmit output |
| Pin 42 | CANRX — ECAN receive input |
| Pin 43 | AVDD — Analog positive supply |
| Pin 44 | AVSS — Analog ground |
| Pin 45 | EP — Exposed pad (ground, thermal) |
Aplicaciones típicas
PIC18F4680-I/ML es adecuado para 6 aplicacións: Automotive Body Control Modules, Industrial CAN Sensor Nodes, Building Automation and HVAC Controllers, Automotive Instrument Clusters, LIN Bus Slave Nodes, Motor Control and PWM Drive.
Automotive Body Control Modules
The PIC18F4680-I/ML fits automotive body and comfort ECUs (window lift, seat, lighting, mirror control) because its hardware ECAN 2.0B controller delivers deterministic bus access for J1939 and CANopen networks, while the 40 MHz PIC18 core runs 10 MIPS of control code with predictable 100 ns instruction timing. The 1024-byte EEPROM stores calibration constants and trim data that survive battery disconnect, and the 3328-byte SRAM buffers CAN message queues without external memory. The 44-QFN package reduces PCB area by 36 percent compared to 44-TQFP, allowing compact body-module integration behind dashboard panels. Place the QFN exposed pad on a continuous ground plane with at least 8 thermal vias to keep junction temperature within industrial ratings under 100 mA active current. Pair the MCU with the MCP2551 CAN transceiver for a complete LIN/CAN body node.
Recomendado
Industrial CAN Sensor Nodes
The PIC18F4680-I/ML suits distributed industrial sensor nodes that publish measurements over CANopen, DeviceNet, or proprietary CAN, because the on-chip ECAN peripheral eliminates an external controller and reduces BOM cost and board area. The 10-bit ADC with 11 channels handles multiple sensor inputs (temperature, pressure, position) without an external multiplexer. The nanoWatt Sleep and Idle modes reduce quiescent current below 100 nA in duty-cycled battery-powered sensor nodes, which is critical for 4-20 mA loop replacement designs. The 64 KB Flash accommodates CANopen stack libraries such as Canard or CANopenNode, leaving space for application code. Hardware ECCP delivers flexible PWM for proportional valve or actuator control.
Recomendado
Building Automation and HVAC Controllers
The PIC18F4680-I/ML fits building-automation controllers for HVAC and access control because its ECAN node, EUSART (LIN), and MSSP (I2C/SPI) cover the three major building-automation field buses. The PIC18 core executes 10 MIPS, sufficient to run BACnet MS/TP or Modbus application stacks alongside control loops, while the 1024-byte EEPROM stores building setpoints and commissioning parameters that survive power cycles. The 4.2-5.5 V supply range simplifies 5 V industrial rail designs, and the nanoWatt modes keep idle panel controllers within Energy Star standby limits. Two CCP modules generate PWM outputs for variable-speed fan and damper actuators, and the 10-bit ADC reads multiple thermistor inputs for zone temperature averaging.
Recomendado
Automotive Instrument Clusters
The PIC18F4680-I/ML is well-suited for low-end instrument cluster sub-controllers and telltale indicators because its ECAN peripheral receives vehicle speed, RPM, and diagnostic data from the body controller over CAN at 500 kbit/s. The 64 KB Flash stores custom telltale glyph libraries and CAN J1939 message decoders, while the ECCP module drives analog gauge stepper motors via external driver ICs. The 36 programmable I/O pins handle up to 30 LED telltales with individual weak pull-ups, eliminating external drivers. The 44-QFN package fits behind the cluster bezel, and its exposed pad keeps the die within temperature limits when illuminating multiple high-current telltales simultaneously. The MSSP can drive a small TFT display for low-cost cluster variants.
Recomendado
LIN Bus Slave Nodes
The PIC18F4680-I/ML is widely used as a LIN (Local Interconnect Network) slave node because its enhanced EUSART supports LIN 2.0/2.1 auto-baud detection and the 10 MIPS core runs LIN application and diagnostic layers with sub-millisecond response times. The 1024-byte EEPROM stores node configuration (NAD, PID assignments) and the 64 KB Flash holds LIN Application Layer code plus the OEM-specific diagnostic handler. The 4.2-5.5 V supply matches the automotive 12 V bus after a 5 V LDO such as the MCP1790. The ECAN peripheral shares bus arbitration and timing resources with the LIN stack for combined LIN/CAN gateway nodes. Use PICkit 5 for production-line firmware provisioning through the ICSP pins.
Recomendado
Motor Control and PWM Drive
The PIC18F4680-I/ML handles low-power brushless DC and stepper motor control because its two CCP/ECCP modules generate complementary PWM with programmable dead time, fault input, and hardware shutdown for safe inverter control of sub-100 W motors. The 10 MIPS PIC18 core executes FOC (field-oriented control) or trapezoidal commutation loops within 10 microseconds at 40 MHz. The 11-channel 10-bit ADC samples phase currents via shunt resistors with simultaneous sampling triggered by PWM, and the 36 I/O pins drive gate drivers directly or through low-side MOSFET arrays. The 44-QFN package keeps motor control PCBs compact in industrial pump and fan designs.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F4680-I/ML — 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 | PIC18F4680-E/ML | PIC18F4585-I/ML | PIC18F4480-I/ML |
|---|---|---|---|---|
| Package | 44-QFN (8x8 mm) | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory | 64 KB Flash | 64 KB Flash | 64 KB Flash | 16 KB Flash (-75%) |
| SRAM | 3328 bytes | 3328 bytes | 3328 bytes | 768 bytes (-77%) |
| CAN Peripheral | ECAN 2.0B with filtering | ECAN 2.0B with filtering | CAN 2.0A/B basic | ECAN 2.0B with filtering |
| Maximum CPU Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| Supply Voltage | 4.2 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 |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| I/O Pins | 36 | 36 | 36 | 36 |
| Approximate Price (qty 1, USD) | $16.15 | $18.20 | $13.95 | $11.50 |
Diferenciadores clave
- 64 KB Flash for full CANopen/J1939 stacks (frente a PIC18F4480-I/ML)
- ECAN 2.0B with hardware filtering (frente a PIC18F4585-I/ML)
- 1024-byte EEPROM for non-volatile parameter storage (frente a PIC18F4480-I/ML)
Notas de diseño
Decouple VDD with a 100 nF ceramic within 5 mm of each supply pin and a single 10 uF bulk capacitor on the board. AVDD should be tied to VDD through a ferrite bead or low-pass filter to isolate ADC analog supply noise from digital switching. According to the Microchip PIC18F4680 datasheet (DS39758), the brown-out reset threshold is programmable from 4.0 V down to 2.0 V; configure BOR to 4.0 V for automotive 12 V jump-start protection. Estimate: total quiescent current in Sleep mode is below 100 nA typical, supporting long-battery-life sensor nodes.
The 44-QFN exposed pad (pin 45) must be soldered to a continuous ground plane of at least 25 mm^2 with a minimum of 8 thermal vias (0.3 mm drill, 1 mm pitch) for heat dissipation. Without a proper ground pad, thermal resistance theta_JA increases beyond 60 C/W, causing junction temperature to exceed 125 C at typical 100 mA active current. Bond the EP to the same ground net as VSS and AVSS to reduce ground bounce during ECAN bit transitions.
Keep CAN traces (CANTX pin 41, CANRX pin 42) shorter than 50 mm with a 100 ohm differential characteristic impedance to maintain signal integrity at 1 Mbit/s CAN-HS. Route the crystal traces (OSC1/OSC2 pins 17-18) within 10 mm of the MCU with a ground guard ring, and place the crystal load capacitors within 5 mm. Keep ADC analog traces (AN0-AN8) away from PWM and CAN switching signals by at least 3 mm to avoid ADC crosstalk.
Do not exceed 6.5 V absolute maximum on VDD; use the MCP1790 LDO for 12 V automotive bus protection. ICSP pins PGC/PGD (RB6/RB7) must be free of series resistors greater than 10 kohm or MPLAB ICD 5 cannot drive them for in-circuit debug. The ECAN peripheral must be initialized after the oscillator is stable; use the CANCON.ABAT bit to abort a stuck transmit if bus-off recovery is needed.
Use a 4-layer PCB with a dedicated ground plane for the analog section and split digital/analog ground only at the AVDD/AVSS pin pair. For hand-prototyping or low-volume builds, use the PIC18F4680-I/PT (TQFP-44) instead, which is pin-compatible at silicon level but uses an easier-to-inspect package. When porting between QFN and TQFP, verify the CAN bus signal integrity at 1 Mbit/s because QFN's shorter lead length reduces EMI but may require a small series resistor on CANTX.
Información de cumplimiento
RoHS and REACH compliant per Microchip product page. AEC-Q100 qualification not available for PIC18F4680-I/ML; for AEC-Q100 automotive grade use PIC18F4680-I/MLVAO (automotive qualified ordering code) if available, or AEC-Q100-qualified PIC18F46K80. Halogen-free and lead-free packaging standard.