PIC18F6628-E/PT - 8-Bit 25MHz 96KB Flash MCU | Microchip
料号: PIC18F6628-E/PT ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $8.42 | $8.42 |
| 10 | $7.71 | $77.10 |
| 100 | $6.85 | $685.00 |
| 500 | $6.12 | $3,060.00 |
| 1,000 | $5.54 | $5,540.00 |
PIC18F6628-E/PT 概述
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.
直接替换替代料: PIC18F6628-E/PT ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18F6628-E/PT (相同外形与封装尺寸) ——差异在于 Package, Timers, Operating Temperature, Core Architecture, Program Memory (Flash).
快速对比工具——选择替代料号进行并排对比:
PIC18F6627-I/PT
✅ 直接替换✓ 有现货
$5.42 / 个
查看数据手册 →PIC18F6628-I/PT
✅ 直接替换✓ 有现货
$5.2 / 个
查看数据手册 →PIC18F6622-E/PT
✅ 直接替换✓ 有现货
$6.71 / 个
查看数据手册 →PIC18F6621-I/PT
✅ 直接替换✓ 有现货
$8.15 / 个
查看数据手册 →PIC18F6620T-I/PT
✅ 直接替换✓ 有现货
$4.18 / 个
查看数据手册 →PIC18F67K22-E/PT
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$5.1 / 个
查看数据手册 →PIC18F6628-E/PT 最大额定值与电气特性
| 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 |
| 电源电压 | 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) |
| 工作温度 | -40°C to +125°C (Extended grade) |
| 封装 | 64-pin TQFP (10x10 mm) |
| 安装类型 | Surface Mount |
| RoHS 状态 | Compliant |
| ICSP Programming | Yes (In-Circuit Serial Programming) |
PIC18F6628-E/PT 引脚配置
| 引脚 1 | RG0 — I/O port G bit 0 |
| 引脚 2 | RG1 — I/O port G bit 1 |
| 引脚 3 | RG2 — I/O port G bit 2 |
| 引脚 4 | RG3 — I/O port G bit 3 |
| 引脚 5 | MCLR — Master Clear / Reset input (active low) |
| 引脚 6 | RG4 — I/O port G bit 4 |
| 引脚 7 | RA0/AN0 — I/O port A bit 0 / Analog input 0 |
| 引脚 8 | RA1/AN1 — I/O port A bit 1 / Analog input 1 |
| 引脚 9 | RA2/AN2 — I/O port A bit 2 / Analog input 2 |
| 引脚 10 | RA3/AN3 — I/O port A bit 3 / Analog input 3 |
| 引脚 11 | RA4/AN4 — I/O port A bit 4 / Analog input 4 |
| 引脚 12 | RA5/AN5 — I/O port A bit 5 / Analog input 5 |
| 引脚 13 | RA6 — I/O port A bit 6 |
| 引脚 14 | RA7 — I/O port A bit 7 |
| 引脚 15 | VSS — Ground reference |
| 引脚 16 | OSC1 — Crystal oscillator input |
| 引脚 17 | OSC2 — Crystal oscillator output |
| 引脚 18 | VDD — Positive supply voltage |
| 引脚 19 | VSS — Ground reference |
| 引脚 20 | RB0/AN12/INT0 — I/O port B bit 0 / Analog 12 / External interrupt 0 |
| 引脚 21 | RB1/AN10/INT1 — I/O port B bit 1 / Analog 10 / External interrupt 1 |
| 引脚 22 | RB2/AN8/INT2 — I/O port B bit 2 / Analog 8 / External interrupt 2 |
| 引脚 23 | RB3/AN9/INT3 — I/O port B bit 3 / Analog 9 / External interrupt 3 |
| 引脚 24 | RB4/AN11 — I/O port B bit 4 / Analog 11 |
| 引脚 25 | RB5/PGM — I/O port B bit 5 / LVP programming |
| 引脚 26 | RB6/PGC — I/O port B bit 6 / ICSP clock |
| 引脚 27 | RB7/PGD — I/O port B bit 7 / ICSP data |
| 引脚 28 | VDD — Positive supply voltage |
| 引脚 29 | VSS — Ground reference |
| 引脚 30 | RD0/PSP0 — I/O port D bit 0 / Parallel Slave Port bit 0 |
| 引脚 31 | RD1/PSP1 — I/O port D bit 1 / Parallel Slave Port bit 1 |
| 引脚 32 | RD2/PSP2 — I/O port D bit 2 / Parallel Slave Port bit 2 |
| 引脚 33 | RD3/PSP3 — I/O port D bit 3 / Parallel Slave Port bit 3 |
| 引脚 34 | RD4/PSP4 — I/O port D bit 4 / Parallel Slave Port bit 4 |
| 引脚 35 | RD5/PSP5 — I/O port D bit 5 / Parallel Slave Port bit 5 |
| 引脚 36 | RD6/PSP6 — I/O port D bit 6 / Parallel Slave Port bit 6 |
| 引脚 37 | RD7/PSP7 — I/O port D bit 7 / Parallel Slave Port bit 7 |
| 引脚 38 | VSS — Ground reference |
| 引脚 39 | VDD — Positive supply voltage |
| 引脚 40 | RC0/T1OSO — I/O port C bit 0 / Timer1 oscillator output |
| 引脚 41 | RC1/T1OSI — I/O port C bit 1 / Timer1 oscillator input |
| 引脚 42 | RC2/CCP1 — I/O port C bit 2 / Capture/Compare/PWM 1 |
| 引脚 43 | RC3/SCL1 — I/O port C bit 3 / I²C clock (MSSP1) |
| 引脚 44 | RC4/SDA1 — I/O port C bit 4 / I²C data (MSSP1) |
| 引脚 45 | RC5/SDO1 — I/O port C bit 5 / SPI data out (MSSP1) |
| 引脚 46 | RC6/TX1/CK1 — I/O port C bit 6 / EUSART1 TX / clock |
| 引脚 47 | RC7/RX1/DT1 — I/O port C bit 7 / EUSART1 RX / data |
| 引脚 48 | VSS — Ground reference |
| 引脚 49 | VDD — Positive supply voltage |
| 引脚 50 | RE0/RD — I/O port E bit 0 / Parallel port read |
| 引脚 51 | RE1/WR — I/O port E bit 1 / Parallel port write |
| 引脚 52 | RE2/CS — I/O port E bit 2 / Parallel port chip select |
| 引脚 53 | RE3 — I/O port E bit 3 |
| 引脚 54 | RE4 — I/O port E bit 4 |
| 引脚 55 | RE5 — I/O port E bit 5 |
| 引脚 56 | RE6 — I/O port E bit 6 |
| 引脚 57 | RE7 — I/O port E bit 7 |
| 引脚 58 | RF0/AN6 — I/O port F bit 0 / Analog input 6 |
| 引脚 59 | RF1/AN7 — I/O port F bit 1 / Analog input 7 |
| 引脚 60 | RF2 — I/O port F bit 2 |
| 引脚 61 | RF3 — I/O port F bit 3 |
| 引脚 62 | RF4 — I/O port F bit 4 |
| 引脚 63 | RF5 — I/O port F bit 5 |
| 引脚 64 | RF6 — I/O port F bit 6 |
典型应用
PIC18F6628-E/PT 适用于 7 应用s: 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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
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.
推荐
推荐产品汇总
工程参考数据: PIC18F6628-E/PT ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | 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) |
关键差异点
- Largest Flash in the F66x2 family at 96 KB (对比 PIC18F6622-E/PT)
- Extended -40C to +125C temperature grade vs Industrial on F6628-I/PT (对比 PIC18F6628-I/PT)
- Wider ADC channel availability on analog-capable pins (对比 PIC18F6627-I/PT)
- nanoWatt technology rather than newer XLP (对比 PIC18F67K22-E/PT)
设计说明
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.
合规信息
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.