PIC18F6628-E/PT - 8-Bit 25MHz 96KB Flash MCU | Microchip
N.º da peça: PIC18F6628-E/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 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 Visão geral
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.
Alternativas drop-in para PIC18F6628-E/PT — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.
Variantes desta série
Modelos da mesma série compatíveis como drop-in com PIC18F6628-E/PT (mesmo formato e footprint) — diferindo em Package, Timers, Operating Temperature, Core Architecture, Program Memory (Flash).
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F6627-I/PT
✅ Drop-In✓ Em estoque
$5.42 / unidade
Ver ficha técnica →PIC18F6628-I/PT
✅ Drop-In✓ Em estoque
$5.2 / unidade
Ver ficha técnica →PIC18F6622-E/PT
✅ Drop-In✓ Em estoque
$6.71 / unidade
Ver ficha técnica →PIC18F6621-I/PT
✅ Drop-In✓ Em estoque
$8.15 / unidade
Ver ficha técnica →PIC18F6620T-I/PT
✅ Drop-In✓ Em estoque
$4.18 / unidade
Ver ficha técnica →PIC18F67K22-E/PT
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$5.1 / unidade
Ver ficha técnica →PIC18F6628-E/PT Classificações máximas e características elétricas
| 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 |
| Tensão de alimentação | 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) |
| Temperatura de operação | -40°C to +125°C (Extended grade) |
| Encapsulamento | 64-pin TQFP (10x10 mm) |
| Tipo de montagem | Surface Mount |
| Status RoHS | Compliant |
| ICSP Programming | Yes (In-Circuit Serial Programming) |
Configuração de pinos do PIC18F6628-E/PT
| Pino 1 | RG0 — I/O port G bit 0 |
| Pino 2 | RG1 — I/O port G bit 1 |
| Pino 3 | RG2 — I/O port G bit 2 |
| Pino 4 | RG3 — I/O port G bit 3 |
| Pino 5 | MCLR — Master Clear / Reset input (active low) |
| Pino 6 | RG4 — I/O port G bit 4 |
| Pino 7 | RA0/AN0 — I/O port A bit 0 / Analog input 0 |
| Pino 8 | RA1/AN1 — I/O port A bit 1 / Analog input 1 |
| Pino 9 | RA2/AN2 — I/O port A bit 2 / Analog input 2 |
| Pino 10 | RA3/AN3 — I/O port A bit 3 / Analog input 3 |
| Pino 11 | RA4/AN4 — I/O port A bit 4 / Analog input 4 |
| Pino 12 | RA5/AN5 — I/O port A bit 5 / Analog input 5 |
| Pino 13 | RA6 — I/O port A bit 6 |
| Pino 14 | RA7 — I/O port A bit 7 |
| Pino 15 | VSS — Ground reference |
| Pino 16 | OSC1 — Crystal oscillator input |
| Pino 17 | OSC2 — Crystal oscillator output |
| Pino 18 | VDD — Positive supply voltage |
| Pino 19 | VSS — Ground reference |
| Pino 20 | RB0/AN12/INT0 — I/O port B bit 0 / Analog 12 / External interrupt 0 |
| Pino 21 | RB1/AN10/INT1 — I/O port B bit 1 / Analog 10 / External interrupt 1 |
| Pino 22 | RB2/AN8/INT2 — I/O port B bit 2 / Analog 8 / External interrupt 2 |
| Pino 23 | RB3/AN9/INT3 — I/O port B bit 3 / Analog 9 / External interrupt 3 |
| Pino 24 | RB4/AN11 — I/O port B bit 4 / Analog 11 |
| Pino 25 | RB5/PGM — I/O port B bit 5 / LVP programming |
| Pino 26 | RB6/PGC — I/O port B bit 6 / ICSP clock |
| Pino 27 | RB7/PGD — I/O port B bit 7 / ICSP data |
| Pino 28 | VDD — Positive supply voltage |
| Pino 29 | VSS — Ground reference |
| Pino 30 | RD0/PSP0 — I/O port D bit 0 / Parallel Slave Port bit 0 |
| Pino 31 | RD1/PSP1 — I/O port D bit 1 / Parallel Slave Port bit 1 |
| Pino 32 | RD2/PSP2 — I/O port D bit 2 / Parallel Slave Port bit 2 |
| Pino 33 | RD3/PSP3 — I/O port D bit 3 / Parallel Slave Port bit 3 |
| Pino 34 | RD4/PSP4 — I/O port D bit 4 / Parallel Slave Port bit 4 |
| Pino 35 | RD5/PSP5 — I/O port D bit 5 / Parallel Slave Port bit 5 |
| Pino 36 | RD6/PSP6 — I/O port D bit 6 / Parallel Slave Port bit 6 |
| Pino 37 | RD7/PSP7 — I/O port D bit 7 / Parallel Slave Port bit 7 |
| Pino 38 | VSS — Ground reference |
| Pino 39 | VDD — Positive supply voltage |
| Pino 40 | RC0/T1OSO — I/O port C bit 0 / Timer1 oscillator output |
| Pino 41 | RC1/T1OSI — I/O port C bit 1 / Timer1 oscillator input |
| Pino 42 | RC2/CCP1 — I/O port C bit 2 / Capture/Compare/PWM 1 |
| Pino 43 | RC3/SCL1 — I/O port C bit 3 / I²C clock (MSSP1) |
| Pino 44 | RC4/SDA1 — I/O port C bit 4 / I²C data (MSSP1) |
| Pino 45 | RC5/SDO1 — I/O port C bit 5 / SPI data out (MSSP1) |
| Pino 46 | RC6/TX1/CK1 — I/O port C bit 6 / EUSART1 TX / clock |
| Pino 47 | RC7/RX1/DT1 — I/O port C bit 7 / EUSART1 RX / data |
| Pino 48 | VSS — Ground reference |
| Pino 49 | VDD — Positive supply voltage |
| Pino 50 | RE0/RD — I/O port E bit 0 / Parallel port read |
| Pino 51 | RE1/WR — I/O port E bit 1 / Parallel port write |
| Pino 52 | RE2/CS — I/O port E bit 2 / Parallel port chip select |
| Pino 53 | RE3 — I/O port E bit 3 |
| Pino 54 | RE4 — I/O port E bit 4 |
| Pino 55 | RE5 — I/O port E bit 5 |
| Pino 56 | RE6 — I/O port E bit 6 |
| Pino 57 | RE7 — I/O port E bit 7 |
| Pino 58 | RF0/AN6 — I/O port F bit 0 / Analog input 6 |
| Pino 59 | RF1/AN7 — I/O port F bit 1 / Analog input 7 |
| Pino 60 | RF2 — I/O port F bit 2 |
| Pino 61 | RF3 — I/O port F bit 3 |
| Pino 62 | RF4 — I/O port F bit 4 |
| Pino 63 | RF5 — I/O port F bit 5 |
| Pino 64 | RF6 — I/O port F bit 6 |
Aplicações típicas
PIC18F6628-E/PT é adequado para 7 aplicaçãos: 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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
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.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F6628-E/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | 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) |
Principais diferenciais
- Largest Flash in the F66x2 family at 96 KB (vs PIC18F6622-E/PT)
- Extended -40C to +125C temperature grade vs Industrial on F6628-I/PT (vs PIC18F6628-I/PT)
- Wider ADC channel availability on analog-capable pins (vs PIC18F6627-I/PT)
- nanoWatt technology rather than newer XLP (vs PIC18F67K22-E/PT)
Notas de projeto
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.
Informações de conformidade
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.