PIC18F6628-E/PT - 8-Bit 25MHz 96KB Flash MCU | Microchip
MPN: PIC18F6628-E/PT ✓ فعال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.
جایگزینهای drop-in برای PIC18F6628-E/PT — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC18F6628-E/PT (همان فرمفاکتور و فوتپرینت) — متفاوت در Package, Timers, Operating Temperature, Core Architecture, Program Memory (Flash).
PIC18F6627-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F6628-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F6622-E/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F6621-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F6620T-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F67K22-E/PT
✅ جایگزین مستقیم ⚠️ مشخصات تأییدنشدهبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←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.