PIC18LF6680-I/L - 64KB Flash, 40MHz 8-bit MCU, 68-PLCC | Microchip
MPN: PIC18LF6680-I/L ✓ פעילPIC18LF6680-I/L סקירה
An 8-bit microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, and a configurable set of digital and analog peripherals. Within Microchip's taxonomy, the PIC18F sits above the baseline PIC16F and below the 16-bit PIC24/dsPIC families, making it the highest-performance 8-bit core. Its Harvard architecture with separate program and data buses, 16-bit instructions, and an 8-level hardware stack delivers deterministic interrupt latency - a key reason the PIC18 platform remains entrenched in industrial, automotive, and CAN-node designs.
Key features of the PIC18LF6680-I/L include an integrated CAN 2.0B controller with hardware acceptance filtering, a 10-bit Analog-to-Digital Converter (ADC) with up to 12 input channels, multiple USART, SPI, and I²C serial engines, up to five 16-bit timers, and 52 digital I/O lines. The instruction set is backward-compatible with earlier PIC16 devices, simplifying migration from legacy code while adding Multiply, hardware divide, and Direct Addressing modes.
Architecturally, the PIC18LF6680 uses an enhanced Harvard core with a 16-bit instruction word and 8-bit data path, plus a 31-level hardware stack for high-level language support (C18 / XC8). Its Enhanced CAN module offloads the entire CAN 2.0B frame handling - including acceptance masks, filters, and prioritization - from the CPU, freeing cycles for application logic. The Flash program memory supports self-programming and In-Circuit Serial Programming (ICSP), enabling field firmware updates without external boot memory.
Typical applications include CAN-enabled industrial sensor nodes, automotive body and chassis controllers, building-automation gateway modules, HVAC control boards, and CAN-to-UART bridges. The wide operating voltage and industrial temperature range (-40 °C to +85 °C for the -I grade) make it well suited to harsh environments where 3.3 V or 5 V rails are present and CAN bus isolation is required.
When designing with this device, place the ICSP/ICD pins (PGC/PGD, MCLR/VPP) on accessible test points so MPLAB ICD programmers can attach without rework. The CAN TX/RX pins must be paired with a transceiver (e.g., MCP2551 or MCP2561) - the PIC18LF6680 cannot drive a CAN bus directly. Decouple VDD/VSS with 100 nF X7R capacitors placed within 5 mm of every supply pin, and bulk-decouple the AVdd rail to keep ADC noise low.
This page synthesizes distributor stock and pricing snapshots, drop-in same-package alternatives, comparison parameters, and practical design notes not consolidated on any single manufacturer or distributor page.
חלופות תחליף ישיר עבור PIC18LF6680-I/L — אותו מארז, תואם פין-לפין. חלקים במארז שונה הדורשים עיבוד מחדש של ה-PCB אינם נכללים.
וריאנטים בסדרה זו
דגמים מאותה סדרה התואמים Drop-in עם PIC18LF6680-I/L (אותו גורם צורה וטביעת רגל) — שונים ב Core Architecture, Mounting Type, Operating Temperature, Package, Timers.
PIC18F6680-I/L
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
PIC18LF6680T-I/L
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18LF6682-I/L
✅ Drop-In📋 חלופה להתייחסות (לא בקטלוג)
PIC18LF6585-I/L
✅ Drop-Inצור קשר לקבלת מחיר
הצג גיליון נתונים ←PIC18LF6680-I/L דירוגים מרביים ומאפיינים חשמליים
| Product Family | PIC® 18F |
| Core Architecture | 8-bit Enhanced Harvard |
| Core Size | 8-bit |
| Program Memory Type | Flash |
| Program Memory Size | 64 KB (32K x 16) |
| RAM Size | 3,328 bytes |
| EEPROM Size | 1,024 bytes |
| Maximum Clock Speed | 40 MHz |
| Supply Voltage Range | 2.0 V to 5.5 V (LF: 4.2 V to 5.5 V per datasheet front page; wider 2.0-5.5 V supported across family) |
| טמפרטורת פעולה | -40 °C to +85 °C (Industrial, "-I" grade) |
| Digital I/O Pins | 52 |
| ADC | 10-bit, up to 12 channels |
| CAN Module | CAN 2.0B with hardware acceptance filtering |
| Serial Interfaces | USART, SPI, I²C |
| Timers | Multiple 16-bit Timer modules (TMR0-TMR5 family) |
| מארז | 68-pin PLCC (J-lead), 24.23 x 24.23 mm |
| סוג הרכבה | Through-Hole / Socket |
| רמת MSL | 1 (per JEDEC J-STD-020) |
| Lead-Free / RoHS | Lead-free, RoHS compliant |
| ICSP / ICD | Yes (In-Circuit Serial Programming) |
תצורת פינים של PIC18LF6680-I/L
| פין 1 | MCLR/VPP — Master Clear / ICSP programming voltage input |
| פין 2 | RA0/AN0 — PORTA bit 0 / ADC input 0 |
| פין 3 | RA1/AN1 — PORTA bit 1 / ADC input 1 |
| פין 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC negative reference |
| פין 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC positive reference |
| פין 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| פין 7 | RA5/AN4 — PORTA bit 5 / ADC input 4 |
| פין 8 | RE0/RD — PORTE bit 0 / read control for PSP |
| פין 9 | RE1/WR — PORTE bit 1 / write control for PSP |
| פין 10 | RE2/CS — PORTE bit 2 / chip select for PSP |
| פין 11 | VDD — Positive supply voltage |
| פין 12 | VSS — Ground reference |
| פין 13 | OSC1/CLKI — Crystal oscillator input / external clock input |
| פין 14 | OSC2/CLKO — Crystal oscillator output / clock output |
| פין 15 | RC0/T1OSO — PORTC bit 0 / Timer1 oscillator output |
| פין 16 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| פין 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| פין 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I²C clock |
| פין 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| פין 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| פין 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| פין 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| פין 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I²C data |
| פין 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| פין 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| פין 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| פין 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| פין 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| פין 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| פין 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| פין 31 | VSS — Ground reference |
| פין 32 | VDD — Positive supply voltage |
| פין 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| פין 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| פין 35 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| פין 36 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| פין 37 | RB4 — PORTB bit 4 |
| פין 38 | RB5 — PORTB bit 5 |
| פין 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| פין 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| פין 41 | NC — Not connected (no internal bond) |
| פין 42 | NC — Not connected (no internal bond) |
| פין 43 | NC — Not connected (no internal bond) |
| פין 44 | NC — Not connected (no internal bond) |
| פין 45 | NC — Not connected (no internal bond) |
| פין 46 | NC — Not connected (no internal bond) |
| פין 47 | NC — Not connected (no internal bond) |
| פין 48 | NC — Not connected (no internal bond) |
| פין 49 | RA6 — PORTA bit 6 |
| פין 50 | RA7 — PORTA bit 7 |
| פין 51 | RF0 — PORTF bit 0 (analog input) |
| פין 52 | RF1 — PORTF bit 1 (analog input) |
| פין 53 | RF2 — PORTF bit 2 (analog input) |
| פין 54 | RF3 — PORTF bit 3 (analog input) |
| פין 55 | RF4 — PORTF bit 4 (analog input) |
| פין 56 | RF5 — PORTF bit 5 (analog input) |
| פין 57 | RF6 — PORTF bit 6 (analog input) |
| פין 58 | RF7 — PORTF bit 7 (analog input) |
| פין 59 | CANTX — ECAN transmit output (to external transceiver) |
| פין 60 | CANRX — ECAN receive input (from external transceiver) |
| פין 61 | RG0 — PORTG bit 0 |
| פין 62 | RG1 — PORTG bit 1 |
| פין 63 | RG2 — PORTG bit 2 |
| פין 64 | RG3 — PORTG bit 3 |
| פין 65 | RG4 — PORTG bit 4 |
| פין 66 | RG5 — PORTG bit 5 |
| פין 67 | AVDD — Analog positive supply voltage |
| פין 68 | AVSS — Analog ground reference |
יישומים טיפוסיים
PIC18LF6680-I/L מתאים עבור 6 יישוםs: CAN-Enabled Industrial Sensor Nodes, Automotive Body and Chassis Controllers, Building Automation Gateway Modules, HVAC Control Boards, CAN-to-UART Protocol Bridges, Industrial CAN-Based Motor Drives.
CAN-Enabled Industrial Sensor Nodes
The PIC18LF6680-I/L is a strong fit for industrial CAN sensor nodes because it integrates a hardware CAN 2.0B controller with acceptance filtering, freeing the 40 MHz CPU from bit-level protocol handling. The wide 2.0 V to 5.5 V supply range supports both 24 V-bus-derived 5 V rails and 3.3 V battery-backed nodes, while the 52 I/O pins let you drive multiple sensors, status LEDs, and a local keypad without external I/O expanders. Pair the on-chip ECAN module with an MCP2551 transceiver and isolate the bus with a digital isolator for robust 1 Mbps CAN-FD-ready nodes. The 10-bit ADC and 12 input channels cover analog sensor digitization directly inside the same chip.
מומלץ
Automotive Body and Chassis Controllers
The PIC18LF6680-I/L suits automotive body controllers - window, mirror, seat, and lighting modules - because its 52 I/O pins handle the high pin count of body-control wiring harnesses, while the integrated ECAN module provides a CAN bus interface to the vehicle network. The industrial -40 °C to +85 °C temperature grade and 2.0 V to 5.5 V operating envelope tolerate cold-crank and load-dump transients when paired with an external voltage regulator. The 64 KB Flash supports self-programming for field firmware updates over CAN, eliminating dealer reflashing trips. Use the CCP/ECCP modules for PWM motor control of seat adjusters and mirror actuators.
מומלץ
Building Automation Gateway Modules
Building-automation gateways aggregate multiple fieldbuses (CAN, RS-485, sensor I/O) into a higher-level network, and the PIC18LF6680-I/L fits that role with its hardware CAN 2.0B controller plus USART for RS-485 links via an external transceiver. The 3,328 bytes of RAM handle Modbus or BACnet message buffers without external memory, and the 10-bit ADC monitors internal voltages and analog sensor inputs. Its 2.0 V to 5.5 V supply range lets the same firmware run on 24 VAC-derived 5 V rails or backup-battery 3.3 V rails. The 16-bit instruction word and 31-level hardware stack simplify porting Modbus stacks written in XC8 C.
מומלץ
HVAC Control Boards
HVAC control boards need a mix of analog inputs (temperature, pressure), digital I/O (relays, triac drivers, fan PWM), and a network interface for thermostats and chiller integration. The PIC18LF6680-I/L provides 12 ADC channels for thermistor and pressure transducer readings, multiple CCP/ECCP modules for PWM fan and triac control, and an ECAN module for talking to a chiller or rooftop unit controller. Its 2.0 V to 5.5 V operating envelope tolerates 24 VAC-derived rails, and the 64 KB Flash stores calibration tables and PID firmware. The 52 I/O pins reduce the need for I/O expanders on multi-zone HVAC boards.
מומלץ
CAN-to-UART Protocol Bridges
The PIC18LF6680-I/L is an efficient CAN-to-UART bridge because its hardware ECAN module handles all 11-bit and 29-bit CAN arbitration autonomously, while the dedicated USART engine independently streams the serial side at up to several hundred kbps. The 64 KB Flash supports a full bridging application plus diagnostic logging, and 3,328 bytes of RAM is sufficient to buffer full CAN frames during UART backpressure. Industrial temperature grading and 2.0 V to 5.5 V operation let the bridge sit inline on either bus side. The PIC18 core's deterministic interrupt response ensures no CAN frame is dropped under heavy UART load.
מומלץ
Industrial CAN-Based Motor Drives
The PIC18LF6680-I/L drives small CAN-controlled motor stages by combining its hardware ECAN module with multiple 16-bit CCP/ECCP channels for PWM generation up to 40 MHz timebase resolution. The 52 I/O pins interface to Hall sensors, encoders, brake relays, and fault lines, while the 12-channel 10-bit ADC monitors motor current and bus voltage. The 64 KB Flash stores sensorless BLDC or FOC commutation tables, and 3,328 bytes of RAM keeps a running torque/velocity estimator. Industrial -40 °C to +85 °C operation lets the same firmware deploy in factory-floor servo nodes without derating.
מומלץ
סיכום מוצרים מומלצים
נתוני עזר הנדסיים עבור PIC18LF6680-I/L — השוואה, הנחיות תכנון ומידע על תאימות.
מדריך בחירה
השוואה עם חלופות
| פרמטר | מוצר זה | PIC18F6680-I/L | PIC18LF6680T-I/L | PIC18LF6682-I/L | PIC18LF6585-I/L |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 68-PLCC | 68-PLCC - same | 68-PLCC - same | 68-PLCC - same | 68-PLCC - same |
| Program Memory | 64 KB Flash | 64 KB Flash | 64 KB Flash | 64 KB Flash | 48 KB Flash |
| RAM | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes | 3,328 bytes |
| Clock Speed | 40 MHz | 40 MHz | 40 MHz | 40 MHz | 40 MHz |
| Supply Voltage | 2.0 V to 5.5 V | 4.2 V to 5.5 V (F variant) | 2.0 V to 5.5 V | 2.0 V to 5.5 V | 2.0 V to 5.5 V |
| CAN Module | CAN 2.0B (ECAN) | CAN 2.0B (ECAN) | CAN 2.0B (ECAN) | CAN 2.0B (ECAN, enhanced buffers) | CAN 2.0B (ECAN) |
| I/O Pins | 52 | 52 | 52 | 52 | 52 |
מבדילים עיקריים
- Wide 2.0 V to 5.5 V operating envelope with full-speed 40 MHz performance (לעומתPIC18F6680-I/L)
- Same 64 KB Flash and 68-PLCC footprint as PIC18F6680 family with low-voltage extension (לעומתPIC18LF6585-I/L)
- Integrated hardware CAN 2.0B with acceptance masking and dedicated buffers (לעומתPIC18LF452-I/L)
הערות תכנון
Estimated: Power dissipation at 40 MHz with all peripherals active is roughly 50-70 mA at 5 V (2.5-3.5 W worst case). Decouple every VDD/AVDD pin with a 100 nF X7R ceramic placed within 5 mm of the pin, and add a 10 µF bulk tantalum or ceramic on the main VDD rail. AVSS must be tied to VSS at a single low-impedance star point near the regulator to keep ADC reference noise below 1 LSB. Brown-out reset (BOR) should be enabled in the configuration bits to prevent Flash corruption during supply droops.
The PIC18LF6680 integrates the CAN 2.0B protocol controller but CANNOT drive a physical CAN bus directly - you must pair it with an external transceiver such as MCP2551 or MCP2561. Connect CANTX to the transceiver TXD and CANRX to the transceiver RXD, and add 120 Ω termination resistors at each end of the bus segment. Leaving the bus unterminated causes reflections that corrupt arbitration. The ICSP pins (RB6/PGC, RB7/PGD, MCLR/VPP) must be brought out to a header or test pad so MPLAB ICD programmers can attach without board rework.
Keep the crystal (or external clock) traces short and symmetric to minimize EMI and jitter on OSC1/OSC2. Route the CANTX/CANRX differential pair as a short, length-matched pair to the transceiver with a ground reference plane underneath. The AVdd rail should be filtered with a ferrite bead and a dedicated 10 µF + 100 nF decoupling network so ADC conversions during CAN packet bursts do not couple switching noise into the analog reference. Place the ICSP header on the board edge for production programming access.
מידע על תאימות
RoHS compliant and lead-free per Microchip product page. Industrial -40 °C to +85 °C grade. Not AEC-Q100 qualified - this is the standard industrial/consumer grade; AEC-Q100 variants are separate -PT/-PTVAO part numbers.