PIC18F8628-E/PT - 96KB Flash 8-bit MCU | Microchip 80-TQFP
MPN: PIC18F8628-E/PT ✓ نشطPIC18F8628-E/PT نظرة عامة
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, a Harvard architecture with separate program and data buses, and on-chip memory plus peripherals. MCUs sit at the base of the embedded computing hierarchy: MCU -> microcontroller -> embedded processor -> semiconductor. The PIC18F family is positioned for high-pin-count, mixed-signal embedded control and competes with the STMicroelectronics STM8 and the larger-pin Atmel AVR families.
Key features include 96 KB self-programmable Flash, 1 KB EEPROM emulation through Flash, 10-bit ADC up to 12 channels, two capture/compare/PWM modules, two comparators, and a 32 kHz secondary oscillator for real-time-clock operation. The extended (-E) temperature grade spans -40C to +125C.
The device is built on Microchip's enhanced Harvard architecture with a 16-bit instruction word, 8-bit data path, hardware multiply, and a priority interrupt controller supporting vectored interrupts, providing deterministic real-time response while keeping C-language compilation efficient. The wide I/O count and dual serial ports suit complex user interfaces and connectivity bridges.
Typical applications include industrial control panels, building automation gateways, automotive body and HVAC controllers, point-of-sale terminals, and graphical LCD human-machine interfaces (HMI). The large RAM buffer is well suited to USB stacks and protocol bridging when paired with a USB transceiver.
When designing with this part, validate that your PCB thermal envelope stays within the extended temperature grade if the application sits near heat sources, and place a 0.1 uF decoupling capacitor within 5 mm of every VDD/VSS pair. For new designs consider the newer PIC18F67K22 family for lower power.
This page synthesizes distributor pricing, drop-in PIC18F alternatives in the same 80-TQFP footprint, and practical design notes not found in the manufacturer datasheet.
بدائل مباشرة لـ PIC18F8628-E/PT — نفس الحزمة، متوافق دبوس بدبوس. تُستثنى القطع ذات الحزم المختلفة التي تتطلب تعديل PCB.
الطرازات في هذه السلسلة
طرازات من نفس السلسلة متوافقة تمامًا مع PIC18F8628-E/PT (نفس عامل الشكل والبصمة) — يختلف في Package, Operating Temperature, ADC, Core, Timers.
PIC18F8627-I/PT
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F8622-I/PT
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F8722-I/PT
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F8620-E/PT
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F8585-E/PT
✅ بديل مباشر ⚠️ مواصفات غير مُتحقق منهاتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F67K22-I/PT
✅ بديل مباشرتواصل لمعرفة السعر
عرض ورقة البيانات ←PIC18F8628-E/PT الحدود القصوى والخصائص الكهربائية
| Core | PIC18F (8-bit Harvard) |
| Instruction Set | 16-bit instructions, 8-bit data |
| Program Memory (Flash) | 96 KB (48K x 16) |
| RAM | 4 KB |
| Data EEPROM | 1 KB |
| Maximum CPU Speed | 40 MHz (10 MIPS) |
| Operating Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 70 |
| ADC | 10-bit, 12 channels |
| Comparators | 2 |
| CCP/PWM Modules | 2 |
| EUSART | 2 (LIN-capable) |
| MSSP (I2C/SPI) | 2 |
| العلبة | 80-TQFP (12 x 12 mm, 1 mm height) |
| نوع التركيب | Surface Mount |
| درجة حرارة التشغيل | -40C to +125C (Extended) |
| Temperature Grade | Extended (-E) |
| مستوى MSL | 3 |
| حالة RoHS | Compliant |
| Lead-Free | Yes |
تكوين أطراف PIC18F8628-E/PT
| دبوس 1 | RC0/T1OSO/T1CKI — I/O port C0 / Timer1 oscillator output / Timer1 clock input |
| دبوس 2 | RC1/T1OSI/CCP2 — I/O port C1 / Timer1 oscillator input / Capture-Compare-PWM 2 |
| دبوس 3 | RC2/CCP1 — I/O port C2 / Capture-Compare-PWM 1 |
| دبوس 4 | RC3/SCK1/SCL1 — I/O port C3 / SPI1 clock / I2C1 clock |
| دبوس 5 | RC4/SDI1/SDA1 — I/O port C4 / SPI1 data in / I2C1 data |
| دبوس 6 | RC5/SDO1 — I/O port C5 / SPI1 data out |
| دبوس 7 | RC6/TX1/CK1 — I/O port C6 / EUSART1 transmit / clock |
| دبوس 8 | RC7/RX1/DT1 — I/O port C7 / EUSART1 receive / data |
| دبوس 9 | RC8/SDO2 — I/O port C8 / SPI2 data out |
| دبوس 10 | RC9/SDI2/SDA2 — I/O port C9 / SPI2 data in / I2C2 data |
| دبوس 11 | VSS — Ground reference |
| دبوس 12 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 13 | RA0/AN0 — I/O port A0 / analog input 0 |
| دبوس 14 | RA1/AN1 — I/O port A1 / analog input 1 |
| دبوس 15 | RA2/AN2/VREF- — I/O port A2 / analog input 2 / ADC VREF- |
| دبوس 16 | RA3/AN3/VREF+ — I/O port A3 / analog input 3 / ADC VREF+ |
| دبوس 17 | RA4/T0CKI — I/O port A4 / Timer0 clock input |
| دبوس 18 | RA5/AN4/SS1 — I/O port A5 / analog input 4 / SPI1 slave select |
| دبوس 19 | RA6/OSC2/CLKO — I/O port A6 / crystal oscillator output / clock out |
| دبوس 20 | RA7/OSC1/CLKI — I/O port A7 / crystal oscillator input / clock in |
| دبوس 21 | VSS — Ground reference |
| دبوس 22 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 23 | RB0/INT0 — I/O port B0 / external interrupt 0 |
| دبوس 24 | RB1/INT1 — I/O port B1 / external interrupt 1 |
| دبوس 25 | RB2/INT2 — I/O port B2 / external interrupt 2 |
| دبوس 26 | RB3/INT3/CCP2 — I/O port B3 / external interrupt 3 / CCP2 |
| دبوس 27 | RB4/KBI0 — I/O port B4 / keyboard interrupt 0 |
| دبوس 28 | RB5/KBI1 — I/O port B5 / keyboard interrupt 1 |
| دبوس 29 | RB6/KBI2/PGC — I/O port B6 / keyboard interrupt 2 / ICSP clock |
| دبوس 30 | RB7/KBI3/PGD — I/O port B7 / keyboard interrupt 3 / ICSP data |
| دبوس 31 | VSS — Ground reference |
| دبوس 32 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 33 | RD0/PSP0 — I/O port D0 / parallel slave port data 0 |
| دبوس 34 | RD1/PSP1 — I/O port D1 / parallel slave port data 1 |
| دبوس 35 | RD2/PSP2 — I/O port D2 / parallel slave port data 2 |
| دبوس 36 | RD3/PSP3 — I/O port D3 / parallel slave port data 3 |
| دبوس 37 | RD4/PSP4 — I/O port D4 / parallel slave port data 4 |
| دبوس 38 | RD5/PSP5 — I/O port D5 / parallel slave port data 5 |
| دبوس 39 | RD6/PSP6 — I/O port D6 / parallel slave port data 6 |
| دبوس 40 | RD7/PSP7 — I/O port D7 / parallel slave port data 7 |
| دبوس 41 | VSS — Ground reference |
| دبوس 42 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 43 | RE0/RD/AN5 — I/O port E0 / parallel port read / analog input 5 |
| دبوس 44 | RE1/WR/AN6 — I/O port E1 / parallel port write / analog input 6 |
| دبوس 45 | RE2/CS/AN7 — I/O port E2 / parallel port chip select / analog input 7 |
| دبوس 46 | RE3 — I/O port E3 (input only on PORTE) |
| دبوس 47 | RF0/AN8 — I/O port F0 / analog input 8 |
| دبوس 48 | RF1/AN9/C2OUT — I/O port F1 / analog input 9 / comparator 2 output |
| دبوس 49 | RF2/AN10/C1OUT — I/O port F2 / analog input 10 / comparator 1 output |
| دبوس 50 | RF3/AN11 — I/O port F3 / analog input 11 |
| دبوس 51 | RF4 — I/O port F4 |
| دبوس 52 | RF5 — I/O port F5 |
| دبوس 53 | RF6 — I/O port F6 |
| دبوس 54 | RF7 — I/O port F7 |
| دبوس 55 | VSS — Ground reference |
| دبوس 56 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 57 | RG0/ECCP3 — I/O port G0 / Enhanced CCP3 |
| دبوس 58 | RG1/TX2/CK2 — I/O port G1 / EUSART2 transmit / clock |
| دبوس 59 | RG2/RX2/DT2 — I/O port G2 / EUSART2 receive / data |
| دبوس 60 | RG3/CCP4 — I/O port G3 / CCP4 |
| دبوس 61 | RG4 — I/O port G4 |
| دبوس 62 | RG5 — I/O port G5 |
| دبوس 63 | RG6 — I/O port G6 |
| دبوس 64 | RG7 — I/O port G7 |
| دبوس 65 | VSS — Ground reference |
| دبوس 66 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 67 | RH0 — I/O port H0 |
| دبوس 68 | RH1 — I/O port H1 |
| دبوس 69 | RH2 — I/O port H2 |
| دبوس 70 | RH3 — I/O port H3 |
| دبوس 71 | RH4 — I/O port H4 |
| دبوس 72 | RH5 — I/O port H5 |
| دبوس 73 | RH6 — I/O port H6 |
| دبوس 74 | RH7 — I/O port H7 |
| دبوس 75 | VSS — Ground reference |
| دبوس 76 | VDD — Positive supply voltage (4.2-5.5 V) |
| دبوس 77 | RJ0 — I/O port J0 |
| دبوس 78 | RJ1 — I/O port J1 |
| دبوس 79 | RJ2 — I/O port J2 |
| دبوس 80 | RJ3/MCLR — I/O port J3 / master clear (reset) input |
التطبيقات النموذجية
PIC18F8628-E/PT مناسب لـ 7 التطبيقs: Industrial Control Panels, Building Automation Gateways, Automotive Body and HVAC Controllers, Point-of-Sale Terminals, Graphical LCD HMI Displays, Energy Metering and Monitoring, Medical Monitoring Peripherals.
Industrial Control Panels
The PIC18F8628-E/PT suits industrial control panels that need a large number of discrete I/O, multiple serial buses, and an extended temperature grade. With 70 GPIO pins the device can directly drive 7-segment displays, keypad matrices, indicator LEDs, and relay drivers without external logic. The two EUSARTs handle RS-232/RS-485 to a host PLC, while the two MSSP peripherals run I2C sensors and SPI ADC chips concurrently. The 96 KB Flash accommodates large state-machine firmware and Modbus RTU stacks, while the 4 KB RAM buffers incoming telegrams without overflow at 115200 baud. Operating up to +125C, the part tolerates cabinet temperatures adjacent to motor drives and switching power stages.
موصى به
Building Automation Gateways
For building automation gateways that bridge BACnet, KNX, Modbus, and proprietary sensor networks, the PIC18F8628-E/PT provides four serial ports plus abundant I/O. Two MSSP peripherals run I2C sensor backbones (temperature, humidity, CO2) while two LIN-capable EUSARTs link to HVAC actuator nodes. The 96 KB Flash hosts the gateway firmware and a small TLS or DTLS helper, while the 1 KB EEPROM stores configuration parameters that survive power cycles and field updates. The 4 KB RAM accommodates inbound Modbus frames plus concurrent sensor polling buffers. Extended -40 to +125C operation allows rooftop or boiler-room deployment without additional thermal protection.
موصى به
Automotive Body and HVAC Controllers
The PIC18F8628-E/PT fits automotive body and HVAC modules where the -E temperature grade covers under-hood and cabin head-load profiles, and 70 I/O pins support multi-zone climate and lighting control. The two LIN-capable EUSARTs link to seat controllers and mirror modules using the LIN bus, while MSSP peripherals drive I2C temperature probes and SPI DAC chips for damper actuation. The 96 KB Flash supports AUTOSAR-compatible or proprietary HVAC control firmware plus diagnostics, and the 1 KB EEPROM stores user-set temperatures and fault counters. Note: for AEC-Q100 qualification, migrate to the PIC18F66K22-Q1 or PIC18F67K22-Q1 family in production.
موصى به
Point-of-Sale Terminals
Point-of-sale (POS) terminals benefit from the PIC18F8628-E/PT's large Flash and RAM to run graphical LCD drivers, secure keypad scan, and protocol stacks. The 70 GPIO pins can directly scan 8x8 key matrices, drive a 320x240 graphical LCD, and control receipt-printer stepper motors via PWM CCP modules. Two EUSARTs link to magnetic-stripe readers and external contactless card bridges, while MSSP peripherals run SPI displays and I2C real-time clocks. The 4 KB RAM stores encrypted PIN-entry buffers and transaction state, and the 96 KB Flash holds the application plus a secure bootloader. -40 to +125C operation tolerates enclosed retail kiosk environments.
موصى به
Graphical LCD HMI Displays
For graphical LCD human-machine interfaces (HMI), the PIC18F8628-E/PT drives monochrome or color TFT panels via SPI/parallel interfaces and provides the computational headroom for menu rendering and touch input processing. The 96 KB Flash holds font tables, multilingual strings, and screen assets, while the 4 KB RAM serves as the framebuffer for small 128x64 OLEDs or character LCDs. The two MSSP peripherals run SPI LCDs and I2C touch controllers in parallel, and the CCP modules generate backlight PWM and buzzer tones. The 12-channel ADC reads rotary encoders and analog buttons without external multiplexer ICs.
موصى به
Energy Metering and Monitoring
Single-phase and three-phase energy meters leverage the PIC18F8628-E/PT's 12-channel 10-bit ADC, four serial ports, and 96 KB Flash for metrology firmware and communication stacks. The ADC samples voltage and current channels simultaneously for true-RMS and reactive-power calculations; the two EUSARTs handle DLMS/COSEM or Modbus to data concentrators, while MSSP peripherals drive I2C EEPROM calibration storage and SPI displays. The 1 KB EEPROM stores calibration coefficients and tamper logs that must persist through power outages. Extended -40 to +125C operation suits outdoor meter enclosures.
موصى به
Medical Monitoring Peripherals
Non-patient-contact medical peripherals (lab analyzers, sample handlers, monitoring hubs) can leverage the PIC18F8628-E/PT's large Flash and RAM to run communication stacks and user-interface firmware. The 70 GPIO pins drive barcode readers, stepper motors, and indicator arrays, while the four serial ports link to analyzers, host PCs, and LIS gateways. The 96 KB Flash supports proprietary assay protocols plus USB-CDC firmware, and the 4 KB RAM buffers sample data before forwarding. Note: This part is NOT a Medical Device (IEC 60601) component and is for peripheral use only - select approved modules for patient-contact applications.
موصى به
ملخص المنتجات الموصى بها
بيانات مرجعية هندسية لـ PIC18F8628-E/PT — المقارنة وإرشادات التصميم ومعلومات الامتثال.
دليل الاختيار
المقارنة مع البدائل
| المعامل | هذا المنتج | PIC18F8627-I/PT | PIC18F8622-I/PT | PIC18F8722-I/PT | PIC18F8620-E/PT | PIC18F67K22-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 80-TQFP (12x12 mm) | 80-TQFP - same | 80-TQFP - same | 80-TQFP - same | 80-TQFP - same | 80-TQFP - same |
| Flash Memory | 96 KB | 96 KB - same | 64 KB (-33%) | 128 KB (+33%) | 64 KB (-33%) | 128 KB (+33%) |
| RAM | 4 KB | 4 KB - same | 4 KB - same | 4 KB - same | 4 KB - same | 4 KB - same |
| Data EEPROM | 1 KB | 1 KB - same | 1 KB - same | 1 KB - same | 1 KB - same | 1 KB - same |
| Maximum CPU Speed | 40 MHz / 10 MIPS | 40 MHz - same | 40 MHz - same | 40 MHz - same | 40 MHz - same | 64 MHz (16 MIPS) +60% |
| Operating Voltage | 4.2 V to 5.5 V | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 4.2 V to 5.5 V - same | 1.8 V to 5.5 V (wider) |
| Temperature Grade | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) |
| I/O Pins | 70 | 70 - same | 70 - same | 70 - same | 70 - same | 70 - same |
أبرز الفروقات
- Extended temperature grade to +125C (مقابلPIC18F8627-I/PT)
- Larger program memory for full-featured firmware (مقابلPIC18F8620-E/PT)
- Faster ADC and lower power than legacy 862x family (مقابلPIC18F67K22-I/PT)
- Two LIN-capable EUSARTs and dual MSSP (مقابلPIC18F8722-I/PT)
ملاحظات التصميم
PIC18F8628-E/PT operates from 4.2 V to 5.5 V. Place a 0.1 uF ceramic decoupling capacitor within 5 mm of every VDD/VSS pin pair (the 80-TQFP has 7 VDD/VSS pairs). Add a bulk 10 uF tantalum or aluminum-polymer capacitor at the supply entry to handle switching transients from connected loads. For sleep-mode designs, use the nanoWatt features (Timer1 32 kHz crystal, internal low-power RC) to drop current below 1 uA typical; verify with the datasheet DC characteristics table.
At maximum 40 MHz operation the device dissipates under 200 mW; no heatsink is required. However, the -E temperature grade reaches +125C junction, so for enclosed industrial cabinets near heat sources calculate theta_JA from the 80-TQFP land pattern and ensure the PCB copper pour keeps the junction below the rating. Provide at least 1 square inch of ground plane copper under the IC to spread heat.
Route the crystal traces (OSC1/OSC2 pins 19-20) short and guarded by a ground ring to avoid crosstalk from switching signals. Keep ADC traces (PORTA analog inputs) away from switching nodes and digital outputs to preserve 10-bit ADC accuracy. Place the MCLR pull-up (typically 10 kOhm) close to pin 80 to avoid spurious resets during in-circuit programming.
Do not assume a 3.3 V supply works - the 8628 family is 4.2-5.5 V only. For 3.3 V designs, migrate to the PIC18F66J series. Do not exceed 70 GPIO simultaneously; PORTE pins 4-7 are input-only. Do not skip the CONFIG bits configuration - leaving the watchdog disabled at startup can mask hardware faults in motor-control applications.
The MSSP peripheral shares pins with PORTC, so when using SPI or I2C, disable the unused EUSART on those pins. For EUSART1 TX/RX at high baud rates above 115200, add series termination if the trace length exceeds 50 mm to prevent ringing. The two comparators can be configured to trigger a CCP interrupt; if used, set the comparator output to a pin (C1OUT/C2OUT) only if no other interrupt latency budget is needed.
معلومات الامتثال
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - migrate to PIC18F66K22-Q1 or PIC18F67K22-Q1 family for automotive designs. Halogen-free status not explicitly listed in the verified distributor data.