PIC18F8520-E/PT - 8-bit 25MHz 32KB Flash MCU 80-TQFP | Microchip
Артикул: PIC18F8520-E/PT ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $12.14 | $12,14 |
| 10 | $11.42 | $114,20 |
| 100 | $10.18 | $1.018,00 |
| 500 | $8.97 | $4.485,00 |
| 1.000 | $7.84 | $7.840,00 |
PIC18F8520-E/PT Обзор
What is a PIC18F microcontroller? The PIC18F family is a family of 8-bit Harvard-architecture microcontrollers from Microchip Technology that sit between the baseline PIC10/12/16 families and the 16-bit dsPIC/PIC24 families in the company's product hierarchy. PIC18F parts add a 16-bit instruction word, linear memory addressing, C-friendly architecture, hardware multiply, and richer peripherals (USB, CAN, Ethernet, ADC) compared to baseline PICs. As a microcontroller (MCU), the PIC18F8520 integrates CPU, Flash, SRAM, EEPROM, timers, ADC, communication peripherals, and I/O on a single die, eliminating the need for external memory in many embedded designs.
Key features of the PIC18F8520 include 68 digital I/O lines, two USART modules, one MSSP (SPI/I2C) module, two CCP modules plus one enhanced ECCP, five 8/16-bit timers, a 10-bit ADC with up to 16 channels, two analog comparators, and a 10-bit DAC reference module. The PIC18 instruction set provides 77 instructions with hardware multiply, allowing efficient C compilation and deterministic real-time response for control loops. Code protection, low-voltage programming, and ICSP (In-Circuit Serial Programming) support simplify prototyping and field updates.
The PIC18F8520 architecture exposes the same peripheral set as the smaller PIC18F452 but adds more RAM, more I/O, and a second USART, making it suitable for high-pin-count designs that still fit within an 8-bit instruction budget. Its 80-pin TQFP exposes 68 I/O with flexible peripheral remapping via PPS-like alternate pin functions on most lines, plus separate analog and digital power pins for noise isolation.
Typical applications for the PIC18F8520-E/PT include industrial control panels, HVAC controllers, automotive body and comfort modules, multi-sensor data loggers, and human-machine interface (HMI) boards where a low-cost 8-bit MCU with abundant I/O and two serial ports is preferred. Its 32 KB Flash supports GUI stacks or motor-control libraries, while the 10-bit ADC serves transducer monitoring.
Designers should pay attention to the 80-TQFP's thermal pad (EP) connection to ground for EMI suppression, and route AVSS/AVDD separately from digital supply when using ADC channels. Programming uses Microchip's MPLAB X IDE with the free MPLAB XC8 compiler, and ICSP requires dedicated PGC/PGD pins that must not be reassigned by the application.
This page synthesizes distributor pricing, drop-in alternatives from the PIC18F85xx family, and practical design notes not found in the standalone datasheet.
Аналоги без доработки для PIC18F8520-E/PT — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F8520-E/PT (тот же форм-фактор и посадочное место) — отличается по Package, Timers, ADC, Core Architecture, Operating Temperature.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18F8520-I/PT
✅ Прямая замена✓ В наличии
$5.1586 / шт.
Открыть даташит →PIC18F8520T-E/PT
✅ Прямая замена✓ В наличии
$5.52 / шт.
Открыть даташит →PIC18F8520T-I/PT
✅ Прямая замена📋 Справочный аналог (нет в каталоге)
PIC18F8621-E/PT
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
PIC18F8722-E/PT
✅ Прямая замена ⚠️ Характеристики не проверены📋 Справочный аналог (нет в каталоге)
PIC18F8520-E/PT Максимальные параметры и электрические характеристики
| Core Architecture | 8-bit PIC18 enhanced RISC |
| Program Memory (Flash) | 32 KB (16K x 16) |
| Data SRAM | 2 KB (2048 bytes) |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 25 MIPS (25 MHz oscillator) |
| Operating Voltage (VDD) | 4.2 V to 5.5 V |
| I/O Pins | 68 |
| Timers | 5 (8-bit and 16-bit) |
| ADC | 10-bit, up to 16 channels |
| Analog Comparators | 2 |
| USART | 2 |
| MSSP (SPI / I2C) | 1 |
| CCP / ECCP Modules | 2 CCP + 1 ECCP |
| Рабочая температура | -40 C to +125 C (Extended, -E suffix) |
| Корпус | 80-pin TQFP (12 x 12 mm), -PT suffix |
| Тип монтажа | Surface Mount |
| Instruction Set | 77 instructions, hardware multiply |
| ICSP / ICD Support | Yes (PGC/PGD) |
| Статус RoHS | Compliant |
Конфигурация выводов PIC18F8520-E/PT
| Контакт 1 | MCLR — Master Clear (reset, active low); tie to VDD through 10 kohm resistor for normal operation |
| Контакт 2 | RA0/AN0 — PORTA bit 0 / Analog input 0 |
| Контакт 3 | RA1/AN1 — PORTA bit 1 / Analog input 1 |
| Контакт 4 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / ADC negative reference |
| Контакт 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / ADC positive reference |
| Контакт 6 | RA4/T0CKI — PORTA bit 4 / Timer0 clock input |
| Контакт 7 | RA5/AN4/SS — PORTA bit 5 / Analog input 4 / SPI slave select |
| Контакт 8 | RE0/RD/AN5 — PORTE bit 0 / Parallel-port read / Analog input 5 |
| Контакт 9 | RE1/WR/AN6 — PORTE bit 1 / Parallel-port write / Analog input 6 |
| Контакт 10 | RE2/CS/AN7 — PORTE bit 2 / Parallel-port chip select / Analog input 7 |
| Контакт 11 | VDD — Digital supply voltage 4.2 V to 5.5 V |
| Контакт 12 | VSS — Digital ground |
| Контакт 13 | OSC1/CLKIN — Oscillator crystal input / external clock input |
| Контакт 14 | OSC2/CLKOUT — Oscillator crystal output / clock output (Fosc/4) |
| Контакт 15 | RC0/T1OSO/T13CKI — PORTC bit 0 / Timer1 oscillator output / Timer1/3 clock |
| Контакт 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output |
| Контакт 17 | RC2/CCP1 — PORTC bit 2 / CCP1 output |
| Контакт 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Контакт 19 | RD0/PSP0 — PORTD bit 0 / Parallel Slave Port bit 0 |
| Контакт 20 | RD1/PSP1 — PORTD bit 1 / Parallel Slave Port bit 1 |
| Контакт 21 | RD2/PSP2 — PORTD bit 2 / Parallel Slave Port bit 2 |
| Контакт 22 | RD3/PSP3 — PORTD bit 3 / Parallel Slave Port bit 3 |
| Контакт 23 | RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data |
| Контакт 24 | RC5/SDO — PORTC bit 5 / SPI data out |
| Контакт 25 | RC6/TX1/CK1 — PORTC bit 6 / USART1 TX / USART1 clock |
| Контакт 26 | RC7/RX1/DT1 — PORTC bit 7 / USART1 RX / USART1 data |
| Контакт 27 | RD4/PSP4 — PORTD bit 4 / Parallel Slave Port bit 4 |
| Контакт 28 | RD5/PSP5 — PORTD bit 5 / Parallel Slave Port bit 5 |
| Контакт 29 | RD6/PSP6/TX2/CK2 — PORTD bit 6 / PSP6 / USART2 TX / USART2 clock |
| Контакт 30 | RD7/PSP7/RX2/DT2 — PORTD bit 7 / PSP7 / USART2 RX / USART2 data |
| Контакт 31 | VSS — Digital ground |
| Контакт 32 | VDD — Digital supply voltage 4.2 V to 5.5 V |
| Контакт 33 | RB0/INT0/FLT0 — PORTB bit 0 / External interrupt 0 / ECCP fault input |
| Контакт 34 | RB1/INT1 — PORTB bit 1 / External interrupt 1 |
| Контакт 35 | RB2/INT2 — PORTB bit 2 / External interrupt 2 |
| Контакт 36 | RB3/INT3/CCP2 — PORTB bit 3 / External interrupt 3 / CCP2 alt |
| Контакт 37 | RB4/KBI0 — PORTB bit 4 / Interrupt-on-change bit 0 |
| Контакт 38 | RB5/KBI1/PGM — PORTB bit 5 / IOC bit 1 / LVP programming |
| Контакт 39 | RB6/KBI2/PGC — PORTB bit 6 / IOC bit 2 / ICSP clock |
| Контакт 40 | RB7/KBI3/PGD — PORTB bit 7 / IOC bit 3 / ICSP data |
| Контакт 41 | AVSS — Analog ground |
| Контакт 42 | AVDD — Analog supply voltage 4.2 V to 5.5 V |
| Контакт 43 | RF0 — PORTF bit 0 (analog input on some variants) |
| Контакт 44 | RF1 — PORTF bit 1 |
| Контакт 45 | RF2 — PORTF bit 2 |
| Контакт 46 | RF3 — PORTF bit 3 |
| Контакт 47 | RF4 — PORTF bit 4 |
| Контакт 48 | RF5 — PORTF bit 5 |
| Контакт 49 | RF6 — PORTF bit 6 |
| Контакт 50 | RF7 — PORTF bit 7 |
| Контакт 51 | VSS — Digital ground |
| Контакт 52 | VDD — Digital supply voltage 4.2 V to 5.5 V |
| Контакт 53 | RG0 — PORTG bit 0 |
| Контакт 54 | RG1 — PORTG bit 1 |
| Контакт 55 | RG2 — PORTG bit 2 |
| Контакт 56 | RG3 — PORTG bit 3 |
| Контакт 57 | RG4 — PORTG bit 4 |
| Контакт 58 | RG5 — PORTG bit 5 |
| Контакт 59 | AVSS — Analog ground |
| Контакт 60 | AVDD — Analog supply voltage 4.2 V to 5.5 V |
| Контакт 61 | RH0 — PORTH bit 0 |
| Контакт 62 | RH1 — PORTH bit 1 |
| Контакт 63 | RH2 — PORTH bit 2 |
| Контакт 64 | RH3 — PORTH bit 3 |
| Контакт 65 | RH4 — PORTH bit 4 |
| Контакт 66 | RH5 — PORTH bit 5 |
| Контакт 67 | RH6 — PORTH bit 6 |
| Контакт 68 | RH7 — PORTH bit 7 |
| Контакт 69 | RJ0 — PORTJ bit 0 |
| Контакт 70 | RJ1 — PORTJ bit 1 |
| Контакт 71 | RJ2 — PORTJ bit 2 |
| Контакт 72 | RJ3 — PORTJ bit 3 |
| Контакт 73 | RJ4 — PORTJ bit 4 |
| Контакт 74 | RJ5 — PORTJ bit 5 |
| Контакт 75 | RJ6 — PORTJ bit 6 |
| Контакт 76 | RJ7 — PORTJ bit 7 |
| Контакт 77 | VSS — Digital ground |
| Контакт 78 | VDD — Digital supply voltage 4.2 V to 5.5 V |
| Контакт 79 | RK0 — PORTK bit 0 |
| Контакт 80 | RK1 — PORTK bit 1 |
Типичное применение
PIC18F8520-E/PT подходит для 7 применениеs: Industrial Control Panels, HVAC Climate Controllers, Automotive Body and Comfort Modules, Multi-Channel Data Loggers, Human-Machine Interface Boards, White-Goods Motor-Control Boards, Point-of-Sale Terminal Peripherals.
Industrial Control Panels
The PIC18F8520-E/PT fits industrial control panels with its 68 I/O and dual USART. The Extended -40 C to +125 C grade survives cabinet temperatures near motors and contactors. Place PGC/PGD on dedicated PORTB pins so ICSP works in-circuit. Two USARTs let one drive an RS-485 fieldbus while the other talks to a local HMI display. The 32 KB Flash supports ladder-logic or PID control libraries compiled in MPLAB XC8, and 2 KB SRAM buffers control-loop scratch variables.
Рекомендуется
HVAC Climate Controllers
The PIC18F8520-E/PT suits HVAC controllers where the 10-bit ADC reads multiple temperature and pressure sensors while the ECCP module drives TRIAC phase-control outputs. The Extended temperature grade keeps the MCU alive inside rooftop units that hit 70 C ambient. Two USARTs allow simultaneous Modbus to a building-management system and a local service-port UART. The 256-byte EEPROM stores commissioning setpoints that survive power cycles without wear-leveling concerns.
Рекомендуется
Automotive Body and Comfort Modules
The PIC18F8520-E/PT drives body-control modules where 68 I/O handle mirror, seat, lighting, and wiper switching. The Extended -40 C to +125 C grade covers cabin and under-hood thermal zones, though AEC-Q100 is not qualified on this part. The 10-bit ADC reads battery voltage and current shunts, while two USARTs talk to CAN gateways via external MCP2515 controllers. Designers reuse legacy PIC18 code while gaining 2x the Flash of a PIC18F452.
Рекомендуется
Multi-Channel Data Loggers
The PIC18F8520-E/PT fits multi-channel data loggers where the 16-channel 10-bit ADC samples slowly-varying analog signals and stores them to an external SPI Flash via the MSSP module. The 2 KB SRAM buffers bursts before flushing to storage, and the EEPROM records log headers and timestamps. The Extended temperature grade lets the logger operate in outdoor enclosures. Two USARTs provide debug console and external GPS receiver connection simultaneously.
Рекомендуется
Human-Machine Interface Boards
The PIC18F8520-E/PT powers HMI boards that scan a matrix keypad and drive an alphanumeric LCD or character OLED. Its 68 I/O drive LCD data/control lines plus LED backlight PWM via ECCP, while the MSSP runs I2C to a capacitive-touch controller. The 32 KB Flash holds menu-state machines and multilingual strings in XC8. Two USARTs allow field updates via RS-232 service port and a parallel Modbus link to a controller.
Рекомендуется
White-Goods Motor-Control Boards
The PIC18F8520-E/PT runs washing-machine and dishwasher control boards where the ECCP module generates complementary PWM for an inverter-fed three-phase motor. Its 68 I/O drive valves, door locks, water-level sensors, and the user panel. The Extended temperature grade tolerates the 85 C-plus ambient inside the appliance cabinet. The MSSP communicates with a digital hall-effect sensor over SPI while a USART carries the diagnostic bus.
Рекомендуется
Point-of-Sale Terminal Peripherals
The PIC18F8520-E/PT serves as a peripheral controller in POS terminals where the dual USART bridges the main CPU to a thermal printer and a magnetic-stripe reader. The 10-bit ADC monitors supply voltage and battery health, while the MSSP drives a 4x4 keypad via SPI I/O expanders. The 32 KB Flash holds USB HID stacks via software bit-banging, eliminating the need for an external USB controller in low-cost terminals.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F8520-E/PT — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18F8520-I/PT | PIC18F8520T-E/PT | PIC18F8520T-I/PT | PIC18F8621-E/PT | PIC18F8722-E/PT |
|---|---|---|---|---|---|---|
| Package | 80-pin TQFP (12x12 mm) | 80-pin TQFP (12x12 mm) - same | 80-pin TQFP (12x12 mm) - same | 80-pin TQFP (12x12 mm) - same | 80-pin TQFP (12x12 mm) - same | 80-pin TQFP (12x12 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 32 KB | 32 KB - same | 32 KB - same | 32 KB - same | 64 KB | 128 KB |
| SRAM | 2 KB | 2 KB - same | 2 KB - same | 2 KB - same | 4 KB | 4 KB |
| Maximum CPU Speed | 25 MIPS (25 MHz) | 25 MIPS - same | 25 MIPS - same | 25 MIPS - same | 25 MIPS - same | 25 MIPS - same |
| Operating Temperature | -40 C to +125 C (E grade) | -40 C to +85 C (I grade) | -40 C to +125 C (E grade) - same | -40 C to +85 C (I grade) | -40 C to +125 C (E grade) - same | -40 C to +125 C (E grade) - same |
| I/O Pins | 68 | 68 - same | 68 - same | 68 - same | 68 - same | 68 - same |
| ADC Channels | 16 x 10-bit | 16 - same | 16 - same | 16 - same | 16 - same | 16 - same |
| USART Modules | 2 | 2 - same | 2 - same | 2 - same | 2 - same | 2 - same |
Ключевые отличия
- Highest temperature grade in the 32 KB 80-TQFP 18F85xx tier (против PIC18F8520-I/PT)
- Flash-upgrade path to 128 KB on identical 80-TQFP footprint (против PIC18F8722-E/PT)
- Pin-to-pin compatibility with the entire PIC18F85xx 80-TQFP family (против PIC18F6627-I/PT)
- Dual USART vs single USART on smaller 18F452 siblings (против PIC18F452-I/PT)
Заметки по проектированию
PIC18F8520-E/PT operates from 4.2 V to 5.5 V on VDD. Provide one 100 nF ceramic decoupling capacitor on each VDD/VSS pair (pins 11/12, 31/32, 51/52, 77/78) placed within 5 mm of the package pin. Place a bulk 10 uF tantalum or ceramic capacitor at the board power input. AVSS/AVDD pairs (pins 41/42 and 59/60) require their own 100 nF decoupling capacitors placed close to the pins; route AVSS directly to the analog ground plane via a via, not through a shared digital ground.
Estimated: at 25 MHz / 5 V with all I/O toggling, the PIC18F8520-E/PT draws approximately 50 mA, dissipating about 250 mW. The 80-pin TQFP has a theta_JA of approximately 45 C/W (typical, 4-layer JEDEC board), giving a 11 C junction rise above ambient - well within the 125 C limit. For Extended-grade designs in sealed enclosures without airflow, derate by adding 30 percent margin and consider placing the IC near a board edge or thermal via array.
Place the 80-TQFP on a 0.5 mm pitch land pattern with 0.25 mm via-in-pad recommended for the center thermal pad; connect the thermal pad to digital ground through at least four vias for mechanical and thermal integrity. Keep the ICSP signals PGC (pin 39) and PGD (pin 40) on PORTB free of any external pull-up stronger than 10 kohm to avoid contention with the ICD programmer; both lines should be reachable from a 2x3 0.1 inch header at the board edge for production programming.
Do not confuse the E (Extended) and I (Industrial) temperature grades when ordering - both share the same /PT package suffix. The OSC1/OSC2 pins require a configuration word selection of HS, XT, or EC oscillator mode matching the chosen crystal; default configuration after a blank-chip bulk erase is RC mode with PORTB pull-ups disabled. Always read the configuration bits after programming to confirm correct oscillator, watchdog, brownout, and code-protect settings.
The PIC18F8520-E/PT ADC achieves rated 10-bit performance only when AVSS/AVDD are isolated from digital VDD/VSS and the analog input source impedance stays below 2.5 kohm. Add a 100 nF ceramic capacitor on each analog input pin near the MCU; route analog traces away from switching signals and cross only at right angles. The MSSP SCK/SDA pins (RC3/RC4) require 4.7 kohm pull-ups for I2C at 100 kHz and 2.2 kohm at 400 kHz; the SPI SS pin (RA5) is unique to this family and must be driven by the master.
Информация о соответствии
RoHS compliant per Microchip product page; lead-free TQFP package. Not AEC-Q100 qualified - automotive designs requiring formal certification should evaluate PIC18FxxKxx or PIC18FxxJxx AEC-Q100 grades. Halogen-free status not explicitly stated in provided data.