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 — 동일 패키지, 핀 호환. 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 (vs PIC18F8520-I/PT)
- Flash-upgrade path to 128 KB on identical 80-TQFP footprint (vs PIC18F8722-E/PT)
- Pin-to-pin compatibility with the entire PIC18F85xx 80-TQFP family (vs PIC18F6627-I/PT)
- Dual USART vs single USART on smaller 18F452 siblings (vs 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.