PIC18LF6680-I/L - 64KB Flash, 40MHz 8-bit MCU, 68-PLCC | Microchip
MPN: PIC18LF6680-I/L ✓ Hoạt độngPIC18LF6680-I/L Tóm tắt
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.
Bộ thay thế dễ dàng lắp đặt cho PIC18LF6680-I/L — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18LF6680-I/L (cùng hình factor và footprint) — khác nhau ở Core Architecture, Mounting Type, Operating Temperature, Package, Timers.
PIC18F6680-I/L
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18LF6680T-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF6682-I/L
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18LF6585-I/L
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18LF6680-I/L Tỷ lệ tối đa & tính chất điện
| 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) |
| Nhiệt độ hoạt động | -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) |
| Hộp | 68-pin PLCC (J-lead), 24.23 x 24.23 mm |
| Kiểu lắp đặt | Through-Hole / Socket |
| Cấp MSL | 1 (per JEDEC J-STD-020) |
| Lead-Free / RoHS | Lead-free, RoHS compliant |
| ICSP / ICD | Yes (In-Circuit Serial Programming) |
Cấu hình chân PIC18LF6680-I/L
| Chân 1 | MCLR/VPP — Master Clear / ICSP programming voltage input |
| Chân 2 | RA0/AN0 — PORTA bit 0 / ADC input 0 |
| Chân 3 | RA1/AN1 — PORTA bit 1 / ADC input 1 |
| Chân 4 | RA2/AN2/VREF- — PORTA bit 2 / ADC input 2 / ADC negative reference |
| Chân 5 | RA3/AN3/VREF+ — PORTA bit 3 / ADC input 3 / ADC positive reference |
| Chân 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Chân 7 | RA5/AN4 — PORTA bit 5 / ADC input 4 |
| Chân 8 | RE0/RD — PORTE bit 0 / read control for PSP |
| Chân 9 | RE1/WR — PORTE bit 1 / write control for PSP |
| Chân 10 | RE2/CS — PORTE bit 2 / chip select for PSP |
| Chân 11 | VDD — Positive supply voltage |
| Chân 12 | VSS — Ground reference |
| Chân 13 | OSC1/CLKI — Crystal oscillator input / external clock input |
| Chân 14 | OSC2/CLKO — Crystal oscillator output / clock output |
| Chân 15 | RC0/T1OSO — PORTC bit 0 / Timer1 oscillator output |
| Chân 16 | RC1/T1OSI — PORTC bit 1 / Timer1 oscillator input |
| Chân 17 | RC2/CCP1 — PORTC bit 2 / Capture/Compare/PWM 1 |
| Chân 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I²C clock |
| Chân 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Chân 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Chân 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Chân 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Chân 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I²C data |
| Chân 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Chân 25 | RC6/TX/CK — PORTC bit 6 / USART TX / USART clock |
| Chân 26 | RC7/RX/DT — PORTC bit 7 / USART RX / USART data |
| Chân 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Chân 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Chân 29 | RD6/PSP6 — PORTD bit 6 / Parallel Slave Port bit 6 |
| Chân 30 | RD7/PSP7 — PORTD bit 7 / Parallel Slave Port bit 7 |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage |
| Chân 33 | RB0/INT0 — PORTB bit 0 / External interrupt 0 |
| Chân 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Chân 35 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Chân 36 | RB3/INT3 — PORTB bit 3 / External interrupt 3 |
| Chân 37 | RB4 — PORTB bit 4 |
| Chân 38 | RB5 — PORTB bit 5 |
| Chân 39 | RB6/PGC — PORTB bit 6 / ICSP clock |
| Chân 40 | RB7/PGD — PORTB bit 7 / ICSP data |
| Chân 41 | NC — Not connected (no internal bond) |
| Chân 42 | NC — Not connected (no internal bond) |
| Chân 43 | NC — Not connected (no internal bond) |
| Chân 44 | NC — Not connected (no internal bond) |
| Chân 45 | NC — Not connected (no internal bond) |
| Chân 46 | NC — Not connected (no internal bond) |
| Chân 47 | NC — Not connected (no internal bond) |
| Chân 48 | NC — Not connected (no internal bond) |
| Chân 49 | RA6 — PORTA bit 6 |
| Chân 50 | RA7 — PORTA bit 7 |
| Chân 51 | RF0 — PORTF bit 0 (analog input) |
| Chân 52 | RF1 — PORTF bit 1 (analog input) |
| Chân 53 | RF2 — PORTF bit 2 (analog input) |
| Chân 54 | RF3 — PORTF bit 3 (analog input) |
| Chân 55 | RF4 — PORTF bit 4 (analog input) |
| Chân 56 | RF5 — PORTF bit 5 (analog input) |
| Chân 57 | RF6 — PORTF bit 6 (analog input) |
| Chân 58 | RF7 — PORTF bit 7 (analog input) |
| Chân 59 | CANTX — ECAN transmit output (to external transceiver) |
| Chân 60 | CANRX — ECAN receive input (from external transceiver) |
| Chân 61 | RG0 — PORTG bit 0 |
| Chân 62 | RG1 — PORTG bit 1 |
| Chân 63 | RG2 — PORTG bit 2 |
| Chân 64 | RG3 — PORTG bit 3 |
| Chân 65 | RG4 — PORTG bit 4 |
| Chân 66 | RG5 — PORTG bit 5 |
| Chân 67 | AVDD — Analog positive supply voltage |
| Chân 68 | AVSS — Analog ground reference |
Ứng dụng tiêu biểu
PIC18LF6680-I/L phù hợp cho 6 Áp dụngs: 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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18LF6680-I/L — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | 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 |
Bảo phân biệt quan trọng
- Wide 2.0 V to 5.5 V operating envelope with full-speed 40 MHz performance (vsPIC18F6680-I/L)
- Same 64 KB Flash and 68-PLCC footprint as PIC18F6680 family with low-voltage extension (vsPIC18LF6585-I/L)
- Integrated hardware CAN 2.0B with acceptance masking and dedicated buffers (vsPIC18LF452-I/L)
Ghi chú thiết kế
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.
Thông tin tuân thủ
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.