PIC18F8628-E/PT - 96KB Flash 8-bit MCU | Microchip 80-TQFP
MPN: PIC18F8628-E/PT ✓ Hoạt độngPIC18F8628-E/PT Tóm tắt
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.
Bộ thay thế dễ dàng lắp đặt cho PIC18F8628-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 PIC18F8628-E/PT (cùng hình factor và footprint) — khác nhau ở Package, Operating Temperature, ADC, Core, Timers.
PIC18F8627-I/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F8622-I/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F8722-I/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F8620-E/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F8585-E/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F67K22-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F8628-E/PT Tỷ lệ tối đa & tính chất điện
| 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 |
| Hộp | 80-TQFP (12 x 12 mm, 1 mm height) |
| Kiểu lắp đặt | Surface Mount |
| Nhiệt độ hoạt động | -40C to +125C (Extended) |
| Temperature Grade | Extended (-E) |
| Cấp MSL | 3 |
| Trạng thái RoHS | Compliant |
| Lead-Free | Yes |
Cấu hình chân PIC18F8628-E/PT
| Chân 1 | RC0/T1OSO/T1CKI — I/O port C0 / Timer1 oscillator output / Timer1 clock input |
| Chân 2 | RC1/T1OSI/CCP2 — I/O port C1 / Timer1 oscillator input / Capture-Compare-PWM 2 |
| Chân 3 | RC2/CCP1 — I/O port C2 / Capture-Compare-PWM 1 |
| Chân 4 | RC3/SCK1/SCL1 — I/O port C3 / SPI1 clock / I2C1 clock |
| Chân 5 | RC4/SDI1/SDA1 — I/O port C4 / SPI1 data in / I2C1 data |
| Chân 6 | RC5/SDO1 — I/O port C5 / SPI1 data out |
| Chân 7 | RC6/TX1/CK1 — I/O port C6 / EUSART1 transmit / clock |
| Chân 8 | RC7/RX1/DT1 — I/O port C7 / EUSART1 receive / data |
| Chân 9 | RC8/SDO2 — I/O port C8 / SPI2 data out |
| Chân 10 | RC9/SDI2/SDA2 — I/O port C9 / SPI2 data in / I2C2 data |
| Chân 11 | VSS — Ground reference |
| Chân 12 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 13 | RA0/AN0 — I/O port A0 / analog input 0 |
| Chân 14 | RA1/AN1 — I/O port A1 / analog input 1 |
| Chân 15 | RA2/AN2/VREF- — I/O port A2 / analog input 2 / ADC VREF- |
| Chân 16 | RA3/AN3/VREF+ — I/O port A3 / analog input 3 / ADC VREF+ |
| Chân 17 | RA4/T0CKI — I/O port A4 / Timer0 clock input |
| Chân 18 | RA5/AN4/SS1 — I/O port A5 / analog input 4 / SPI1 slave select |
| Chân 19 | RA6/OSC2/CLKO — I/O port A6 / crystal oscillator output / clock out |
| Chân 20 | RA7/OSC1/CLKI — I/O port A7 / crystal oscillator input / clock in |
| Chân 21 | VSS — Ground reference |
| Chân 22 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 23 | RB0/INT0 — I/O port B0 / external interrupt 0 |
| Chân 24 | RB1/INT1 — I/O port B1 / external interrupt 1 |
| Chân 25 | RB2/INT2 — I/O port B2 / external interrupt 2 |
| Chân 26 | RB3/INT3/CCP2 — I/O port B3 / external interrupt 3 / CCP2 |
| Chân 27 | RB4/KBI0 — I/O port B4 / keyboard interrupt 0 |
| Chân 28 | RB5/KBI1 — I/O port B5 / keyboard interrupt 1 |
| Chân 29 | RB6/KBI2/PGC — I/O port B6 / keyboard interrupt 2 / ICSP clock |
| Chân 30 | RB7/KBI3/PGD — I/O port B7 / keyboard interrupt 3 / ICSP data |
| Chân 31 | VSS — Ground reference |
| Chân 32 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 33 | RD0/PSP0 — I/O port D0 / parallel slave port data 0 |
| Chân 34 | RD1/PSP1 — I/O port D1 / parallel slave port data 1 |
| Chân 35 | RD2/PSP2 — I/O port D2 / parallel slave port data 2 |
| Chân 36 | RD3/PSP3 — I/O port D3 / parallel slave port data 3 |
| Chân 37 | RD4/PSP4 — I/O port D4 / parallel slave port data 4 |
| Chân 38 | RD5/PSP5 — I/O port D5 / parallel slave port data 5 |
| Chân 39 | RD6/PSP6 — I/O port D6 / parallel slave port data 6 |
| Chân 40 | RD7/PSP7 — I/O port D7 / parallel slave port data 7 |
| Chân 41 | VSS — Ground reference |
| Chân 42 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 43 | RE0/RD/AN5 — I/O port E0 / parallel port read / analog input 5 |
| Chân 44 | RE1/WR/AN6 — I/O port E1 / parallel port write / analog input 6 |
| Chân 45 | RE2/CS/AN7 — I/O port E2 / parallel port chip select / analog input 7 |
| Chân 46 | RE3 — I/O port E3 (input only on PORTE) |
| Chân 47 | RF0/AN8 — I/O port F0 / analog input 8 |
| Chân 48 | RF1/AN9/C2OUT — I/O port F1 / analog input 9 / comparator 2 output |
| Chân 49 | RF2/AN10/C1OUT — I/O port F2 / analog input 10 / comparator 1 output |
| Chân 50 | RF3/AN11 — I/O port F3 / analog input 11 |
| Chân 51 | RF4 — I/O port F4 |
| Chân 52 | RF5 — I/O port F5 |
| Chân 53 | RF6 — I/O port F6 |
| Chân 54 | RF7 — I/O port F7 |
| Chân 55 | VSS — Ground reference |
| Chân 56 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 57 | RG0/ECCP3 — I/O port G0 / Enhanced CCP3 |
| Chân 58 | RG1/TX2/CK2 — I/O port G1 / EUSART2 transmit / clock |
| Chân 59 | RG2/RX2/DT2 — I/O port G2 / EUSART2 receive / data |
| Chân 60 | RG3/CCP4 — I/O port G3 / CCP4 |
| Chân 61 | RG4 — I/O port G4 |
| Chân 62 | RG5 — I/O port G5 |
| Chân 63 | RG6 — I/O port G6 |
| Chân 64 | RG7 — I/O port G7 |
| Chân 65 | VSS — Ground reference |
| Chân 66 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 67 | RH0 — I/O port H0 |
| Chân 68 | RH1 — I/O port H1 |
| Chân 69 | RH2 — I/O port H2 |
| Chân 70 | RH3 — I/O port H3 |
| Chân 71 | RH4 — I/O port H4 |
| Chân 72 | RH5 — I/O port H5 |
| Chân 73 | RH6 — I/O port H6 |
| Chân 74 | RH7 — I/O port H7 |
| Chân 75 | VSS — Ground reference |
| Chân 76 | VDD — Positive supply voltage (4.2-5.5 V) |
| Chân 77 | RJ0 — I/O port J0 |
| Chân 78 | RJ1 — I/O port J1 |
| Chân 79 | RJ2 — I/O port J2 |
| Chân 80 | RJ3/MCLR — I/O port J3 / master clear (reset) input |
Ứng dụng tiêu biểu
PIC18F8628-E/PT phù hợp cho 7 Áp dụngs: 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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Được đề xuất
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.
Đượ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 PIC18F8628-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 | 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 |
Bảo phân biệt quan trọng
- Extended temperature grade to +125C (vsPIC18F8627-I/PT)
- Larger program memory for full-featured firmware (vsPIC18F8620-E/PT)
- Faster ADC and lower power than legacy 862x family (vsPIC18F67K22-I/PT)
- Two LIN-capable EUSARTs and dual MSSP (vsPIC18F8722-I/PT)
Ghi chú thiết kế
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.
Thông tin tuân thủ
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.