PIC18F6628-E/PT - 8-Bit 25MHz 96KB Flash MCU | Microchip
MPN: PIC18F6628-E/PT ✓ Hoạt độngPIC18F6628-E/PT Tóm tắt
A microcontroller (MCU) is a single-chip computer that integrates a CPU, program and data memory, peripherals, and I/O onto one silicon die. The PIC18F family sits in Microchip's 8-bit hierarchy above baseline PIC10/12/16 families and below the 16-bit dsPIC and 32-bit SAM ARM Cortex-M lines, balancing low power consumption, deterministic interrupt latency, and rich peripheral integration for cost-sensitive embedded control.
Key specifications include a wide 4.2V to 5.5V supply range, 10-bit ADC up to 12 channels, 5 CCP/ECCP modules for PWM and motor control, parallel slave port for external bus expansion, hardware 8x8 multiplier, and nanoWatt power-saving modes. The 'E' suffix indicates the Extended (-40°C to +125°C) operating temperature grade suitable for harsh industrial environments. The -PT suffix denotes the TQFP-64 (10x10 mm) surface-mount package.
Architecturally, the PIC18F6628 uses a RISC Harvard architecture with separate program and data buses, a 16-bit instruction word, and a hardware multiply/divide unit delivering 25 MIPS at 25 MHz (40 MHz external oscillator with 4x PLL disabled). It supports ICD/ICSP in-circuit debugging and Flash self-programming via bootloader.
Typical applications include industrial automation controllers, automotive body and HVAC modules, building automation panels, LIN/J1939 networked sensors, graphical LCD user interfaces with touch, USB-to-UART bridges using external PHYs, and uninterruptible power supply monitors. The dual USART/LIN interface enables low-cost automotive body networks.
When designing with this part, leave ample ground copper and follow Microchip's TQFP-64 thermal pad recommendations even when the thermal pad is electrically floating, since reduced die-to-PCB thermal resistance aids power dissipation. Always configure unused I/O as outputs with logic-low to minimize current draw in standby, and reserve the ICSPDAT/ICSPCLK pins for in-circuit serial programming.
Bộ thay thế dễ dàng lắp đặt cho PIC18F6628-E/PT — 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 PIC18F6628-E/PT (cùng hình factor và footprint) — khác nhau ở Package, Timers, Operating Temperature, Core Architecture, Program Memory (Flash).
PIC18F6627-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F6628-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F6622-E/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F6621-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F6620T-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F67K22-E/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F6628-E/PT Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC18F (8-bit RISC) |
| CPU Speed | 25 MIPS at 25 MHz (max 40 MHz oscillator) |
| Program Memory | 96 KB Flash (48K x 16) |
| RAM | 4 KB |
| EEPROM | 1 KB |
| I/O Pins | 54 |
| Điện áp cung cấp | 4.2 V to 5.5 V |
| ADC | 10-bit, up to 12 channels |
| CCP/ECCP Modules | 5 (Capture/Compare/PWM) |
| Serial Interfaces | 2x MSSP (I²C/SPI) + 2x EUSART (LIN-capable) |
| Timers | 1x 8-bit + 3x 16-bit |
| Parallel Slave Port | Yes (PSP) |
| Nhiệt độ hoạt động | -40°C to +125°C (Extended grade) |
| Hộp | 64-pin TQFP (10x10 mm) |
| Kiểu lắp đặt | Surface Mount |
| Trạng thái RoHS | Compliant |
| ICSP Programming | Yes (In-Circuit Serial Programming) |
Cấu hình chân PIC18F6628-E/PT
| Chân 1 | RG0 — I/O port G bit 0 |
| Chân 2 | RG1 — I/O port G bit 1 |
| Chân 3 | RG2 — I/O port G bit 2 |
| Chân 4 | RG3 — I/O port G bit 3 |
| Chân 5 | MCLR — Master Clear / Reset input (active low) |
| Chân 6 | RG4 — I/O port G bit 4 |
| Chân 7 | RA0/AN0 — I/O port A bit 0 / Analog input 0 |
| Chân 8 | RA1/AN1 — I/O port A bit 1 / Analog input 1 |
| Chân 9 | RA2/AN2 — I/O port A bit 2 / Analog input 2 |
| Chân 10 | RA3/AN3 — I/O port A bit 3 / Analog input 3 |
| Chân 11 | RA4/AN4 — I/O port A bit 4 / Analog input 4 |
| Chân 12 | RA5/AN5 — I/O port A bit 5 / Analog input 5 |
| Chân 13 | RA6 — I/O port A bit 6 |
| Chân 14 | RA7 — I/O port A bit 7 |
| Chân 15 | VSS — Ground reference |
| Chân 16 | OSC1 — Crystal oscillator input |
| Chân 17 | OSC2 — Crystal oscillator output |
| Chân 18 | VDD — Positive supply voltage |
| Chân 19 | VSS — Ground reference |
| Chân 20 | RB0/AN12/INT0 — I/O port B bit 0 / Analog 12 / External interrupt 0 |
| Chân 21 | RB1/AN10/INT1 — I/O port B bit 1 / Analog 10 / External interrupt 1 |
| Chân 22 | RB2/AN8/INT2 — I/O port B bit 2 / Analog 8 / External interrupt 2 |
| Chân 23 | RB3/AN9/INT3 — I/O port B bit 3 / Analog 9 / External interrupt 3 |
| Chân 24 | RB4/AN11 — I/O port B bit 4 / Analog 11 |
| Chân 25 | RB5/PGM — I/O port B bit 5 / LVP programming |
| Chân 26 | RB6/PGC — I/O port B bit 6 / ICSP clock |
| Chân 27 | RB7/PGD — I/O port B bit 7 / ICSP data |
| Chân 28 | VDD — Positive supply voltage |
| Chân 29 | VSS — Ground reference |
| Chân 30 | RD0/PSP0 — I/O port D bit 0 / Parallel Slave Port bit 0 |
| Chân 31 | RD1/PSP1 — I/O port D bit 1 / Parallel Slave Port bit 1 |
| Chân 32 | RD2/PSP2 — I/O port D bit 2 / Parallel Slave Port bit 2 |
| Chân 33 | RD3/PSP3 — I/O port D bit 3 / Parallel Slave Port bit 3 |
| Chân 34 | RD4/PSP4 — I/O port D bit 4 / Parallel Slave Port bit 4 |
| Chân 35 | RD5/PSP5 — I/O port D bit 5 / Parallel Slave Port bit 5 |
| Chân 36 | RD6/PSP6 — I/O port D bit 6 / Parallel Slave Port bit 6 |
| Chân 37 | RD7/PSP7 — I/O port D bit 7 / Parallel Slave Port bit 7 |
| Chân 38 | VSS — Ground reference |
| Chân 39 | VDD — Positive supply voltage |
| Chân 40 | RC0/T1OSO — I/O port C bit 0 / Timer1 oscillator output |
| Chân 41 | RC1/T1OSI — I/O port C bit 1 / Timer1 oscillator input |
| Chân 42 | RC2/CCP1 — I/O port C bit 2 / Capture/Compare/PWM 1 |
| Chân 43 | RC3/SCL1 — I/O port C bit 3 / I²C clock (MSSP1) |
| Chân 44 | RC4/SDA1 — I/O port C bit 4 / I²C data (MSSP1) |
| Chân 45 | RC5/SDO1 — I/O port C bit 5 / SPI data out (MSSP1) |
| Chân 46 | RC6/TX1/CK1 — I/O port C bit 6 / EUSART1 TX / clock |
| Chân 47 | RC7/RX1/DT1 — I/O port C bit 7 / EUSART1 RX / data |
| Chân 48 | VSS — Ground reference |
| Chân 49 | VDD — Positive supply voltage |
| Chân 50 | RE0/RD — I/O port E bit 0 / Parallel port read |
| Chân 51 | RE1/WR — I/O port E bit 1 / Parallel port write |
| Chân 52 | RE2/CS — I/O port E bit 2 / Parallel port chip select |
| Chân 53 | RE3 — I/O port E bit 3 |
| Chân 54 | RE4 — I/O port E bit 4 |
| Chân 55 | RE5 — I/O port E bit 5 |
| Chân 56 | RE6 — I/O port E bit 6 |
| Chân 57 | RE7 — I/O port E bit 7 |
| Chân 58 | RF0/AN6 — I/O port F bit 0 / Analog input 6 |
| Chân 59 | RF1/AN7 — I/O port F bit 1 / Analog input 7 |
| Chân 60 | RF2 — I/O port F bit 2 |
| Chân 61 | RF3 — I/O port F bit 3 |
| Chân 62 | RF4 — I/O port F bit 4 |
| Chân 63 | RF5 — I/O port F bit 5 |
| Chân 64 | RF6 — I/O port F bit 6 |
Ứng dụng tiêu biểu
PIC18F6628-E/PT phù hợp cho 7 Áp dụngs: Industrial Automation Controllers, Automotive Body and HVAC Modules, Graphical LCD User Interfaces, Uninterruptible Power Supply (UPS) Monitors, Building Automation Panels, Medical Monitoring Devices, USB-to-UART Bridge Modules.
Industrial Automation Controllers
The PIC18F6628-E/PT is well-suited for industrial PLCs, conveyor controllers, and sensor hubs where its 96KB Flash and 54 I/O pins handle multiple motor drivers and digital inputs. The Extended -40C to +125C temperature grade tolerates factory-floor thermal swings near motor enclosures. Its 25 MIPS performance executes PID loops and Modbus ASCII/RTU frames without an external DSP. NanoWatt sleep modes drop quiescent current below 100 nA in standby for energy-conscious field installations.
Được đề xuất
Automotive Body and HVAC Modules
The PIC18F6628-E/PT's dual EUSART with LIN 1.2/2.0/2.1 compliance enables body control modules that aggregate switch, sensor, and HVAC data over LIN buses. The 96KB Flash stores communication stacks, calibration tables, and HVAC control firmware. Extended temperature grade ensures reliable cold-crank and under-hood operation. Four serial ports (MSSP+I2C/SPI + 2x EUSART) bridge LIN body networks to a central gateway without an external UART expander.
Được đề xuất
Graphical LCD User Interfaces
The PIC18F6628-E/PT drives 128x64 to 320x240 monochrome graphical LCDs through its parallel slave port and MSSP peripherals in SPI mode. Its 4KB SRAM doubles as a display frame buffer for partial-screen updates without flicker. Five CCP/ECCP modules deliver PWM backlight dimming, key-click feedback, and indicator LED control. The 25 MIPS CPU executes custom GUI rendering, touch scanning, and menu navigation fluidly with room for USB-serial bootloader updates.
Được đề xuất
Uninterruptible Power Supply (UPS) Monitors
Battery-backed UPS systems use the PIC18F6628-E/PT to monitor mains voltage, battery state-of-charge, load current, and temperature with its 10-bit ADC across 12 channels. The Extended temperature rating supports operation near battery cabinets. 96KB Flash stores voltage/frequency transfer tables, alarm logs, and inverter control algorithms. nanoWatt sleep modes cut standby draw to a few microamps when mains is healthy, prolonging battery life.
Được đề xuất
Building Automation Panels
Building automation hubs for HVAC, lighting, and access control rely on the PIC18F6628-E/PT to bridge BACnet MS-TP, Modbus, and proprietary protocols through its dual EUSARTs. Its 54 I/O pins scan multiple keypad switches and drive triac outputs directly. The 4KB SRAM handles message buffering for incoming telemetry. Extended temperature grade supports unheated electrical closets, and the 96KB Flash accommodates protocol stacks and configuration UI.
Được đề xuất
Medical Monitoring Devices
Patient-side medical peripherals such as blood-pressure monitors, infusion pumps, and pulse oximeters benefit from the PIC18F6628-E/PT's combination of deterministic 8-bit performance and 96KB Flash for signal-processing firmware. Its 10-bit ADC digitizes analog sensor outputs while MSSP peripherals drive OLED displays and store patient data to external EEPROM. The Extended temperature grade supports portable equipment used across diverse clinical environments. The PIC18 heritage offers long-term firmware stability for regulatory submissions.
Được đề xuất
USB-to-UART Bridge Modules
USB-to-serial debug and field-service bridges leverage the PIC18F6628-E/PT's two EUSART peripherals to fan out to multiple RS-232/RS-485 channels simultaneously. With 96KB Flash, a CDC ACM stack plus vendor command firmware fit comfortably. The 25 MIPS throughput sustains full-rate UART traffic at 921600 baud without data loss. ICSP allows in-field firmware upgrades for adapting to new device protocols in service tools.
Đượ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 PIC18F6628-E/PT — 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 | PIC18F6627-I/PT | PIC18F6628-I/PT | PIC18F6622-E/PT | PIC18F6621-I/PT | PIC18F6620T-I/PT | PIC18F67K22-E/PT |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin TQFP (10x10 mm) | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same | 64-pin TQFP (10x10 mm) - same |
| Program Memory (Flash) | 96 KB | 96 KB | 96 KB | 64 KB | 64 KB | 64 KB | 128 KB |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB | 4 KB | 8 KB |
| CPU Speed (MIPS) | 25 MIPS @ 25 MHz | 25 MIPS @ 25 MHz | 25 MIPS @ 25 MHz | 25 MIPS @ 25 MHz | 25 MIPS @ 25 MHz | 25 MIPS @ 25 MHz | 16 MIPS @ 64 MHz |
| ADC | 10-bit, up to 12 channels | 10-bit, ~10 channels | 10-bit, up to 12 channels | 10-bit | 10-bit | 10-bit | 12-bit |
| Temperature Grade | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Extended (-40C to +125C) | Industrial (-40C to +85C) | Industrial (-40C to +85C) | Extended (-40C to +125C) |
| Power-Saving Mode | nanoWatt Technology | nanoWatt Technology | nanoWatt Technology | nanoWatt Technology | nanoWatt Technology | nanoWatt Technology | eXtreme Low Power (XLP) |
Bảo phân biệt quan trọng
- Largest Flash in the F66x2 family at 96 KB (vsPIC18F6622-E/PT)
- Extended -40C to +125C temperature grade vs Industrial on F6628-I/PT (vsPIC18F6628-I/PT)
- Wider ADC channel availability on analog-capable pins (vsPIC18F6627-I/PT)
- nanoWatt technology rather than newer XLP (vsPIC18F67K22-E/PT)
Ghi chú thiết kế
The PIC18F6628-E/PT operates from 4.2V to 5.5V. Provide at least 100 nF decoupling on each VDD/VSS pair (pins 18/19, 28/29, 39/48) placed within 5 mm of the pin, plus a bulk 10 uF tantalum near the supply entry. Add a 10 kohm pull-up to VDD on the MCLR pin (pin 5) with a series diode to VDD for protection against ESD-induced reset. Estimated: total decoupling ESR budget should remain below 50 milliohm at the switching frequencies used by the on-chip PLL.
The 64-pin TQFP (10x10 mm) has a 0.5 mm pitch and 0.6 mm pad width. Use NSMD land pads 0.4 mm wide with 0.2 mm solder mask expansion. Route signals on inner layers first to escape the dense perimeter; keep traces 0.15 mm or wider to maintain 50-ohm impedance if controlled-impedance routing is needed. The exposed die attach pad (if present in this package variant) should be soldered to a 7 mm x 7 mm copper island for thermal dissipation even though it is electrically floating per the datasheet.
Do not enable low-voltage ICSP (LVP) via the LVP_CONFIG fuse unless pin RB5 is dedicated to programming; otherwise the device may fail to start in noisy environments. Configure all unused I/O as outputs driving low to minimize current draw in sleep mode. Always read the configuration bits with the right ID mask - PIC18F6628 and PIC18F6627 have similar device IDs but different peripheral disable masks. When migrating firmware between F6628 and F6627, re-verify ADC channel mappings for AN6-AN12.
Thông tin tuân thủ
RoHS and REACH compliant per Microchip product page. Lead-free (Pb-free) TQFP-64 package. Not AEC-Q100 qualified - automotive applications should use the AEC-Q100 qualified PIC18F6628-E/PT automotive equivalent or a K22 variant.