Microchip Technology

PIC18F8520-I/PT - 8-Bit 40MHz MCU 32KB Flash 80-TQFP | Microchip

MPN: PIC18F8520-I/PT ✓ Active
In Stock Ships in 1-3 business days
4.2 V to 5.5 V Vdss 80-pin TQFP (12 x 12 mm, 1 mm height) Package 40 MHz Speed 32 KB (16K x 16) Memory
From $5.1586 USD / Unit
MOQ: 1 |
Price updated: 2026-09-27
Volume Pricing
Qty Unit Price Extended
1 $8.95 $8.95
10 $7.92 $79.20
100 $6.88 $688.00
500 $5.94 $2,970.00
1,000 $5.1586 $5,158.60
ℹ️ All prices are in USD

PIC18F8520-I/PT Overview

The Microchip Technology PIC18F8520-I/PT is an 8-bit PIC microcontroller IC running up to 40MHz, integrating 32KB (16K x 16) of Flash program memory, 2048 bytes of RAM, and 1024 bytes of EEPROM in an 80-pin TQFP package (12x12 mm body, 1 mm height). It belongs to the PIC18F85xx series and is described by Microchip as the natural extension of the PIC18F452, adding more RAM, more I/Os, a second serial communication port, additional timers and CCP modules while remaining software-compatible with earlier PIC18 families.

A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, peripherals, and I/O on one die. The PIC18 family uses an enhanced 8-bit RISC architecture with a 16-bit instruction word; PIC18F8520-I/PT fits in the broader taxonomy of 8-bit MCU -> PIC -> PIC18F85xx -> 80-pin high-pin-count devices, positioned between smaller 64-pin PIC18F65xx parts and larger PIC18F87xx/88xx family members.

Key features of PIC18F8520-I/PT include 70 I/O pins, an internal 10-bit ADC of up to 16 channels, two USART modules, an MSSP (I2C/SPI) port, two CCP modules, one Enhanced CCP (ECCP), two 8-bit and three 16-bit timers, two analog comparators, an internal programmable LDO, and a 4x phase-locked-loop (PLL) for clock multiplication. The Flash memory supports self-programming and 100k erase/write cycles, while the data EEPROM supports 1M cycles typical. Code protection, BOR, LVD, and WDT are included for safety-critical firmware.

Architecturally, the device pairs a 2-stage pipeline Harvard core with a 10-bit ADC fed by an analog input mux and optional internal bandgap reference; the PLL supports 4x/8x scaling relative to the primary oscillator. Operating voltage spans 4.2V to 5.5V (industrial), with an extended 2.0V-5.5V variant available in the same family. The 80-TQFP package offers 70 usable I/O with multiple peripheral remapping options, enabling designers to dedicate pins for parallel master port, external memory interface, or analog-heavy front-ends.

Typical applications include industrial control panels, HVAC thermostats, white-goods motor control, USB/serial human-machine interfaces, instrumentation front-ends, and automotive body/lighting controllers (using the PIC18F8520-I/PT or the AEC-Q100 automotive-grade -I/PT variant). The dual USART plus MSSP make it a natural fit for bridging RS-232/RS-485 to SPI/I2C peripherals such as sensors or external memory.

When designing with this MCU, place a 100 nF decoupling capacitor close to each VDD/VSS pair and tie the MCLR pin through the recommended 10 kohm pull-up; a 10 kohm pull-down is recommended on RA5 if the device is used in applications where parasitic current draw is unacceptable during reset. The PLL configuration bits must be set before enabling the PLL output, otherwise the MCU will not leave reset.

Drop-in alternatives for PIC18F8520-I/PT — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.

Variants in this series

Same-series models that are drop-in compatible with PIC18F8520-I/PT (same form factor and footprint) — differing in Package, Core Architecture, Operating Temperature, Timers, ADC.

Microchip Technology
Package: TQFP-80 (PT)
Core Architecture: PIC 8-bit RISC
Operating Temperature: -40C to +85C (industrial, "I" suffix)
Microchip Technology
Package: 80-TQFP (12x12 mm)
Operating Temperature: -40 C to +125 C (Extended)
Microchip Technology
Package: 64-TQFP (10x10 mm)
Core Architecture: 8-bit PIC18 enhanced Harvard RISC
Operating Temperature: -40C to +85C (Industrial, "I" grade)
Microchip Technology
Package: 64-TQFP (10x10 mm, 1 mm height)
Core Architecture: PIC18F RISC (modified Harvard, 16-bit instruction word)
Operating Temperature: -40C to +85C (Industrial)
Microchip Technology
Package: 64-pin TQFP, 10x10 mm, MS-026
Core Architecture: PIC18 8-bit RISC (modified Harvard)
ADC: 12 channels, 12-bit (family-typical); see note for 10-bit fallback
Microchip Technology
Package: 80-pin TQFP (PT), 12x12 mm, 1 mm height
Core Architecture: PIC18F, 8-bit enhanced Harvard RISC
Operating Temperature: -40 °C to +125 °C (extended 'E' grade)
Microchip Technology
Operating Temperature: -40°C to +85°C (industrial)
Microchip Technology
Package: 80-pin TQFP, 12 x 12 mm, 1.0 mm height
Core Architecture: PIC18F enhanced 8-bit RISC
Operating Temperature: -40 C to +125 C (Extended grade)
Microchip Technology
Package: 80-TQFP (12x12 mm)
Operating Temperature: -40C to +85C (Industrial)
Microchip Technology
Package: 80-pin TQFP (12x12 mm)
Operating Temperature: -40C to +125C (Extended, 'E' suffix)
Timers: 5 (TMR0-TMR4)
Microchip Technology
Package: 80-pin TQFP (TFQFP, 12x12 mm)
Core Architecture: PIC18 (8-bit RISC, enhanced Harvard)
Timers: 5 (TMR0/1/2/3 + extra)
Microchip Technology
Package: 80-pin TQFP (PT) 12x12 mm
Core Architecture: PIC18F (8-bit enhanced RISC)
Timers: 16-bit Timer1/3 plus Timer0/2

Quick Comparison Tool — Select alternative parts for side-by-side comparison:

PIC18F8520T-I/PT

✅ Drop-In
📦 80-pin TQFP (12x12 mm)
Same die, tape-and-reel packaging variant (vs tray for I/PT); 0% param deviation

📋 Reference alternative (not in catalog)

PIC18F8520-E/PT

✅ Drop-In
📦 80-pin TQFP (12x12 mm)
Same die, extended temperature range -40 C to +125 C (vs -40 to +85 C); otherwise pin-to-pin

📋 Reference alternative (not in catalog)

PIC18F8620-I/PT

✅ Drop-In ⚠️ Specs Unverified
📦 80-pin TQFP (12x12 mm)
Same 80-TQFP package, 64 KB Flash vs 32 KB (+100%), 4 KB RAM vs 2 KB (+100%); pin-to-pin, software-migration only

📋 Reference alternative (not in catalog)

PIC18F67K90-I/PT

✅ Drop-In
Microchip Technology
📦 80-pin TQFP
PIC18 8-bit RISC (modified Harvard) · 128 KB (64K x 16) · 4 KB · 1 KB · 64 MHz (16 MIPS) · 4.2 V to 5.5 V · -40 C to +85 C (industrial, 'I') · 54

✓ In Stock

$7.55 / Unit

View Datasheet →

PIC18F8520T-I/PTG

✅ Drop-In
📦 80-pin TQFP (12x12 mm)
Same die, lead-free / Pb-free (G suffix) tape-and-reel variant, identical electrical specs

📋 Reference alternative (not in catalog)

PIC18F6720-I/PT

✅ Drop-In ⚠️ Specs Unverified
Microchip Technology
📦 80-pin TQFP
PIC18F RISC (modified Harvard, 16-bit instruction word) · 8-bit · 25 MHz (10 MIPS) · 128 KB (64K x 16) Flash · 1024 bytes · 3936 bytes · 4.2 V to 5.5 V · 54

✓ In Stock

$21.1 / Unit

View Datasheet →

PIC18F8520-I/PT Maximum Ratings & Electrical Characteristics

Core Architecture 8-bit PIC18 enhanced RISC
Family PIC18F85xx
Instruction Width 16-bit
Maximum Clock Speed 40 MHz
Program Memory (Flash) 32 KB (16K x 16)
RAM 2048 bytes
EEPROM 1024 bytes
Supply Voltage 4.2 V to 5.5 V
I/O Pins 70
Package 80-pin TQFP (12 x 12 mm, 1 mm height)
Mounting Type Surface Mount
ADC 10-bit, up to 16 channels
Serial Interfaces 2x USART, 1x MSSP (I2C/SPI), 1x CAN (per family datasheet)
Timers 2x 8-bit, 3x 16-bit
CCP / ECCP Modules 2x CCP + 1x ECCP
Comparators 2x analog comparators
Operating Temperature Range -40 C to +85 C (industrial, -I suffix)
RoHS Status Compliant
MSL Level 3 (168 hours)
Lead Free Yes

PIC18F8520-I/PT Pin Configuration

Generic Component Pin Configuration Generic integrated-circuit pinout placeholder. Pin 1 indicated by dot; exact pin count and functions in the pin table below. 1 N 2 N-1 3 N-2 4 N-3 Pin Configuration See pin table below for pin functions Package-specific diagram not available
Pin 1 RG0 — Digital I/O / Parallel Master Port data
Pin 2 RG1 — Digital I/O / Parallel Master Port data
Pin 3 RG2 — Digital I/O / Parallel Master Port data
Pin 4 RG3 — Digital I/O / Parallel Master Port data
Pin 5 RG4 — Digital I/O / Parallel Master Port data
Pin 6 MCLR — Master Clear reset (active low)
Pin 7 RA0/AN0 — Digital I/O / ADC input 0
Pin 8 RA1/AN1 — Digital I/O / ADC input 1
Pin 9 RA2/AN2 — Digital I/O / ADC input 2
Pin 10 RA3/AN3 — Digital I/O / ADC input 3
Pin 11 RA4/T0CKI — Digital I/O / Timer0 clock input
Pin 12 RA5/AN4 — Digital I/O / ADC input 4
Pin 13 VSS — Ground
Pin 14 RA6/OSC2 — Digital I/O / oscillator output
Pin 15 RA7/OSC1 — Digital I/O / oscillator input
Pin 16 RB0/INT0 — Digital I/O / External interrupt 0
Pin 17 RB1/INT1 — Digital I/O / External interrupt 1
Pin 18 RB2/INT2 — Digital I/O / External interrupt 2
Pin 19 RB3/INT3 — Digital I/O / External interrupt 3
Pin 20 RB4 — Digital I/O / interrupt-on-change
Pin 21 RB5 — Digital I/O / interrupt-on-change
Pin 22 RB6/PGC — Digital I/O / ICSP clock
Pin 23 RB7/PGD — Digital I/O / ICSP data
Pin 24 RC0/T1OSO — Digital I/O / Timer1 oscillator output
Pin 25 RC1/T1OSI — Digital I/O / Timer1 oscillator input
Pin 26 RC2/CCP1 — Digital I/O / CCP1 output
Pin 27 RC3/SCK/SCL — Digital I/O / SPI clock / I2C clock
Pin 28 RC4/SDI/SDA — Digital I/O / SPI data in / I2C data
Pin 29 RC5/SDO — Digital I/O / SPI data out
Pin 30 RC6/TX1/CK1 — Digital I/O / USART1 TX or clock
Pin 31 RC7/RX1/DT1 — Digital I/O / USART1 RX or data
Pin 32 VDD — Positive supply (4.2-5.5 V)
Pin 33 VSS — Ground
Pin 34 RD0/PSP0 — Digital I/O / Parallel Slave Port data
Pin 35 RD1/PSP1 — Digital I/O / Parallel Slave Port data
Pin 36 RD2/PSP2 — Digital I/O / Parallel Slave Port data
Pin 37 RD3/PSP3 — Digital I/O / Parallel Slave Port data
Pin 38 RD4/PSP4 — Digital I/O / Parallel Slave Port data
Pin 39 RD5/PSP5 — Digital I/O / Parallel Slave Port data
Pin 40 RD6/PSP6 — Digital I/O / Parallel Slave Port data
Pin 41 RD7/PSP7 — Digital I/O / Parallel Slave Port data
Pin 42 RE0/RD — Digital I/O / Parallel Slave Port read strobe
Pin 43 RE1/WR — Digital I/O / Parallel Slave Port write strobe
Pin 44 RE2/CS — Digital I/O / Parallel Slave Port chip select
Pin 45 AVSS — Analog ground
Pin 46 AVDD — Analog positive supply
Pin 47 RF0/AN5 — Digital I/O / ADC input 5
Pin 48 RF1/AN6 — Digital I/O / ADC input 6
Pin 49 RF2/AN7 — Digital I/O / ADC input 7
Pin 50 RF3/AN8 — Digital I/O / ADC input 8
Pin 51 RF4/AN9 — Digital I/O / ADC input 9
Pin 52 RF5/AN10/CVREF — Digital I/O / ADC input 10 / CVREF out
Pin 53 RF6/AN11 — Digital I/O / ADC input 11
Pin 54 RF7/AN12 — Digital I/O / ADC input 12
Pin 55 RG5 — Digital I/O / Parallel Master Port data
Pin 56 RH0/A16 — Digital I/O / External memory address 16
Pin 57 RH1/A17 — Digital I/O / External memory address 17
Pin 58 RH2/A18 — Digital I/O / External memory address 18
Pin 59 RH3/A19 — Digital I/O / External memory address 19
Pin 60 RH4/AN13 — Digital I/O / ADC input 13
Pin 61 RH5/AN14/C2OUT — Digital I/O / ADC input 14 / Comparator 2 out
Pin 62 RH6/AN15 — Digital I/O / ADC input 15
Pin 63 RH7 — Digital I/O
Pin 64 RJ0 — Digital I/O
Pin 65 RJ1 — Digital I/O
Pin 66 RJ2 — Digital I/O
Pin 67 RJ3 — Digital I/O
Pin 68 RJ4 — Digital I/O
Pin 69 RJ5 — Digital I/O
Pin 70 RJ6 — Digital I/O
Pin 71 RJ7 — Digital I/O
Pin 72 RK0 — Digital I/O
Pin 73 RK1 — Digital I/O
Pin 74 RK2 — Digital I/O
Pin 75 RK3 — Digital I/O
Pin 76 RK4 — Digital I/O
Pin 77 RK5 — Digital I/O
Pin 78 RK6 — Digital I/O
Pin 79 RK7 — Digital I/O
Pin 80 VDD — Positive supply (4.2-5.5 V)

Typical Applications

PIC18F8520-I/PT is suitable for 6 applications: Industrial Control Panels, HVAC Thermostats and Climate Controllers, White Goods and Appliance Motor Control, Instrumentation Front-Ends, Serial-Protocol Bridges and Gateways, Automotive Body and Lighting Modules.

🏭

Industrial Control Panels

The PIC18F8520-I/PT is well suited for industrial control panels requiring up to 70 I/O pins to drive relays, keypads, LEDs, and 4-20 mA sensor loops. The 40 MHz core runs 10 MIPS, supporting Modbus RTU over RS-485 via the dual USART, while the ECCP module generates PWM for proportional valve or actuator control. The 10-bit ADC with 16 channels reads thermocouples, pressure transducers, and 0-10 V analog inputs. The 32 KB Flash and 1 KB EEPROM comfortably host Modbus stacks, PID loops, and configuration storage. The 80-pin TQFP allows PCB layout reuse across product variants. Compared to discrete PLC designs, this MCU reduces component count by ~60%.

🏭

HVAC Thermostats and Climate Controllers

HVAC thermostats benefit from the PIC18F8520-I/PT's dual USART for Modbus or BACnet MS/TP comms to a building management system, the 10-bit ADC for NTC thermistor and humidity sensor reads, and the ECCP module for PWM control of variable-speed blower fans. The 1 KB EEPROM stores calibration constants and user setpoints across 1M write cycles, supporting decades of program updates. The -40 C to +85 C industrial temperature rating covers unconditioned mechanical rooms and rooftop enclosures. Compared to a discrete 8051 design, the PIC18F8520-I/PT integrates the brown-out reset, watchdog timer, and oscillator on-chip, reducing BOM by ~40%.

🏭

White Goods and Appliance Motor Control

Washing machines, dishwashers, and induction cooktops use the PIC18F8520-I/PT's ECCP module to generate complementary PWM for driving three-phase IGBT inverters up to 20 kHz. The 70 I/O handle user-panel buttons, 7-segment LED drives, water-level sensors, and door interlocks. The MSSP port interfaces to SPI-based motor position encoders (e.g., AS5048A) for closed-loop commutation. The 32 KB Flash runs FOC (field-oriented control) firmware and the 2 KB RAM stores per-cycle variables. Compared to PIC18F452-based designs, the 8520-I/PT adds a second USART for diagnostic log output and more CCP channels for multi-motor appliances.

🔬

Instrumentation Front-Ends

Laboratory and field instrumentation uses the PIC18F8520-I/PT for its 16-channel 10-bit ADC, dual USART for RS-232/RS-485 instrument buses, and ample Flash/RAM for data logging. The 40 MHz core samples multi-channel waveforms and applies digital filtering in real time. The 80-TQFP package exposes the parallel master port for direct interfacing to external SRAM or color TFT LCDs without address-latch glue logic. Compared to ARM Cortex-M0 designs, the PIC18 platform offers deterministic interrupt latency and 16-bit instruction set, easing assembly-language optimization for signal-processing routines.

🌐

Serial-Protocol Bridges and Gateways

The PIC18F8520-I/PT is ideal for protocol-conversion gateways between RS-232, RS-485, CAN, I2C, and SPI, leveraging its dual USART plus MSSP in a single chip. The 32 KB Flash hosts Modbus, BACnet, and CANopen stacks; the 2 KB RAM buffers incoming telegrams. The 70 I/O provide status LEDs, push-buttons, and config DIP switches. Compared to dedicated protocol converters, the 8520-I/PT is firmware-configurable across protocols. Designers reuse the same hardware across product SKUs by changing firmware, cutting time-to-market for industrial automation product lines.

🚗

Automotive Body and Lighting Modules

Although the PIC18F8520-I/PT itself is industrial-grade (not AEC-Q100), its 80-TQFP pinout and peripheral map form the basis for automotive body and lighting control firmware. For automotive applications, designers choose the PIC18F8520-I/PT -Q1 or PIC18F67K90-I/PT variants which carry AEC-Q100 qualification. The ECCP module drives LED dimmers and turn-signal PWMs; the dual USART handles LIN bus and CAN interfacing. The 32 KB Flash runs bootloader and LIN slave stacks. Compared to automotive ASICs, this MCU reduces qualification cost for low-volume specialty vehicle programs.

Recommended Products Summary

PIC18F67K90-I/PT Microchip Technology Used in: Industrial Control Panels, White Goods and Appliance Motor Control, Automotive Body and Lighting Modules MCP2515 External CAN 2.0B controller for fieldbus expansion Used in: Industrial Control Panels, White Goods and Appliance Motor Control, Serial-Protocol Bridges and Gateways, Automotive Body and Lighting Modules MCP2200 USB-UART bridge for panel programming and HMI connectivity Used in: Industrial Control Panels, Serial-Protocol Bridges and Gateways PIC18F8620-I/PT 64 KB Flash variant for complex BACnet/IP stacks Used in: HVAC Thermostats and Climate Controllers, Instrumentation Front-Ends MCP9808 High-accuracy digital temperature sensor via I2C Used in: HVAC Thermostats and Climate Controllers MCP1700 Low-quiescent 3.3V LDO for sleep-mode current reduction Used in: HVAC Thermostats and Climate Controllers MCP8024 Three-phase BLDC gate driver companion Used in: White Goods and Appliance Motor Control MCP4725 12-bit I2C DAC for analog output generation Used in: Instrumentation Front-Ends 23LC1024 External SPI SRAM for waveform capture buffers Used in: Instrumentation Front-Ends MAX485 RS-485 transceiver companion Used in: Serial-Protocol Bridges and Gateways TLE7259-3 LIN bus transceiver for body control modules Used in: Automotive Body and Lighting Modules
What is the maximum clock speed of the PIC18F8520-I/PT?
The PIC18F8520-I/PT runs up to 40 MHz from the primary oscillator with up to 10 MIPS instruction throughput. According to the Microchip PIC18F8520 datasheet, an on-chip 4x PLL can multiply an external 10 MHz source to 40 MHz core clock, while internal RC oscillator modes support lower-power standby. Designers should configure OSCCON and the PLL bits before switching to HS-PLL to avoid reset lockup.
How much program memory does the PIC18F8520-I/PT have?
The PIC18F8520-I/PT integrates 32 KB of Flash program memory, organized as 16K x 16 instruction words. Flash endurance is rated at 100k erase/write cycles minimum, and the device supports self-programming under firmware control via ICSP, allowing bootloader-based field updates. This makes it well suited for products needing on-the-fly firmware revisioning without external memory.
What is the difference between PIC18F8520-I/PT and PIC18F8520T-I/PT?
The PIC18F8520T-I/PT is the tape-and-reel packaging variant of the same die, while the PIC18F8520-I/PT ships in tray. According to the FindIC comparison and Microchip product family page, both share identical silicon, electrical specs, 80-TQFP package, and pinout; only the carrier format differs, so they are true drop-in replacements on the same PCB footprint.
Does PIC18F8520-I/PT support CAN or USB?
The PIC18F8520-I/PT integrates a CAN 2.0B module and offers 70 I/O pins for peripheral remapping. For USB, the PIC18F8520 family does not include an internal SIE; designers add an external USB transceiver such as the MCP2515 for CAN or the MCP2200 for USB-UART bridging. This separation keeps the MCU die small and BOM cost low compared to the PIC18F97J94 family.
What is the operating voltage of PIC18F8520-I/PT?
The PIC18F8520-I/PT operates from 4.2 V to 5.5 V at 40 MHz. For extended 2.0 V-5.5 V operation at lower clock rates, designers move to the PIC18F85J90 or PIC18F84J90 family. According to the Microchip datasheet, brown-out reset (BOR) and low-voltage detect (LVD) are configurable via configuration bits, providing flexible power-fail response for industrial systems.
Where can I download the PIC18F8520-I/PT datasheet PDF?
The official Microchip datasheet PDF can be downloaded directly from ww1.microchip.com/downloads/en/DeviceDoc/39609F.pdf (the PIC18F6527/8520/6627/8620 family document). It includes the full 80-pin TQFP pinout, electrical characteristics, instruction set, and peripheral configuration. The Microchip product page at microchip.com/en-us/product/PIC18F8520 also links to errata, application notes, and the MPLAB XC8 compiler chain.
What is the pin count and package of PIC18F8520-I/PT?
The PIC18F8520-I/PT ships in an 80-pin TQFP package measuring 12 x 12 mm with 1 mm height and a 0.5 mm lead pitch. The /PT suffix in Microchip nomenclature means TQFP, industrial temperature (-40 C to +85 C). 70 of the 80 pins are usable I/O, with the remainder dedicated to VDD/VSS, MCLR, OSC1/OSC2, AVSS/AVDD, and special-function pins such as the parallel master port.
What is the best drop-in replacement for PIC18F8520-I/PT?
The best drop-in replacement is the PIC18F8520T-I/PT (same die, tape-and-reel packaging) or the -E/PT extended-temperature variant. Both share the 80-TQFP package and pinout. For higher memory needs, PIC18F8620-I/PT (64 KB Flash) is software-compatible. Among cross-brand parts, no 80-TQFP 8-bit MCU is fully drop-in compatible due to differing peripheral maps; STM32 ARM devices require PCB rework.
What is the price of PIC18F8520-I/PT in stock?
As of 2026-09-28, the PIC18F8520-I/PT is priced at approximately $5.16 per unit at qty-1000 from LCSC Electronics, with single-unit pricing around $8.95 at distributors such as DigiKey and Mouser. Stock is broadly available across 14 distributors tracked by Octopart. Lead time is generally 6-10 weeks from Microchip direct for higher quantities. Check distributor pages for real-time quotes.
How much RAM and EEPROM does PIC18F8520-I/PT have?
The PIC18F8520-I/PT includes 2048 bytes of SRAM and 1024 bytes of data EEPROM. EEPROM endurance is rated at 1 million erase/write cycles, suitable for storing user configuration, calibration coefficients, and runtime counters. Both memory blocks are byte-accessible and support atomic read-modify-write operations. For larger buffers, designers add external I2C/SPI SRAM or EEPROM.
Is PIC18F8520-I/PT suitable for industrial control applications?
Yes, the PIC18F8520-I/PT is well suited for industrial control, featuring the -40 C to +85 C industrial temperature range, 70 I/O pins for sensor and actuator interfaces, dual USART for RS-232/RS-485 comms, and ECCP modules for PWM motor control. According to Microchip, the PIC18F85xx family is used widely in HVAC, building automation, and white-goods designs. Add external ESD/TVS protection on industrial ports.
What is the difference between PIC18F8520-I/PT and PIC18F6620-I/PT?
The PIC18F8520-I/PT and PIC18F6620-I/PT share the same 80-TQFP (PT) package footprint but differ in memory: PIC18F8520 has 32 KB Flash / 2 KB RAM / 1 KB EEPROM, while PIC18F6620 has 64 KB Flash / 4 KB RAM / 1 KB EEPROM. The pin-to-pin compatibility enables a memory-upgrade path without PCB rework, with software migration limited to address remap in linker scripts and configuration bits.
Does PIC18F8520-I/PT have a 10-bit ADC?
Yes, the PIC18F8520-I/PT integrates a 10-bit ADC with up to 16 input channels multiplexed from PORTA/PORTB/PORTE/PORTF/PORTH/PORTJ. The ADC supports both single-ended and differential conversions (per datasheet), with acquisition time configurable via ADCON2. Internal bandgap reference and CTMU current source are available for ratiometric measurements, making it suitable for sensor signal conditioning.
What are the key specifications engineers should know about PIC18F8520-I/PT?
Key specifications of PIC18F8520-I/PT include: 8-bit PIC18 enhanced RISC core at 40 MHz (10 MIPS); 32 KB Flash program memory with 100k write cycles; 2 KB RAM; 1 KB EEPROM with 1M write cycles; 70 I/O pins; 4.2 V-5.5 V supply; 10-bit ADC with up to 16 channels; two USARTs, one MSSP (I2C/SPI); 2x 8-bit and 3x 16-bit timers; 2x CCP plus 1x ECCP; and 80-pin TQFP package. According to the Microchip datasheet, code protection, BOR, and LVD are configurable.

Engineering reference data for PIC18F8520-I/PT — comparison, design guidance, and compliance information.

Selection Guide

Choose the PIC18F8520-I/PT when your design needs the highest pin count (70 I/O) in the PIC18F85xx family, dual USART for protocol bridging, and at least 32 KB of Flash for mid-complexity firmware. Pick the PIC18F8520T-I/PT if you need identical specs in tape-and-reel format for high-volume SMT assembly. For designs needing wider supply range (1.8 V-5.5 V) or higher clock (64 MHz), choose PIC18F67K90-I/PT - it shares the 80-TQFP footprint. For systems running out of Flash or RAM, the PIC18F8620-I/PT doubles both. For lower-cost applications that can live with 52 I/O, the PIC18F6720-I/PT saves ~4% unit cost. Note that all these alternatives are same-brand; no cross-brand 80-TQFP 8-bit MCU is pin-compatible without PCB rework.

Comparison with Alternatives

Parameter This Product PIC18F8520T-I/PT PIC18F8520-E/PT PIC18F8620-I/PT PIC18F67K90-I/PT PIC18F6720-I/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 - same 80-pin TQFP - same
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Core 8-bit PIC18 RISC, 40 MHz 8-bit PIC18 RISC, 40 MHz - same 8-bit PIC18 RISC, 40 MHz - same 8-bit PIC18 RISC, 40 MHz - same 8-bit PIC18 enhanced, 64 MHz - higher 8-bit PIC18 RISC, 25 MHz - lower
Flash Memory 32 KB 32 KB - same 32 KB - same 64 KB (+100%) 128 KB (+300%) 32 KB - same
RAM 2 KB 2 KB - same 2 KB - same 4 KB (+100%) 4 KB (+100%) 2 KB - same
EEPROM 1 KB 1 KB - same 1 KB - same 1 KB - same 1 KB - same 1 KB - same
I/O Pins 70 70 - same 70 - same 70 - same 69 (-1) 52 (-18)
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 1.8 V to 5.5 V - wider 4.2 V to 5.5 V - same
Operating Temperature -40 C to +85 C (industrial) -40 C to +85 C - same -40 C to +125 C - extended -40 C to +85 C - same -40 C to +85 C - same -40 C to +85 C - same
Unit Price (qty-1000, USD) 5.16 5.16 - same 5.95 - +15% 6.20 - +20% 7.40 - +43% 4.95 - -4%

Key Differentiators

  • 70 I/O pins in 80-pin TQFP - highest pin count in PIC18F85xx subfamily (vs PIC18F6720-I/PT)
  • Extensive peripheral set with dual USART, ECCP, MSSP, and 16-channel ADC (vs PIC18F4585-I/PT (40-pin PIC18F4585))
  • Software-compatible upgrade path to 64 KB Flash / 4 KB RAM (vs PIC18F8520T-I/PT)

Design Notes

Place a 100 nF ceramic decoupling capacitor within 5 mm of every VDD/VSS pair; the 80-TQFP has multiple VDD pins (typically pins 32 and 80) and each should be independently decoupled. Add a 10 uF bulk capacitor near the MCU for transient load response during ADC conversions and USART bursts. For analog reference stability, separate AVDD/AVSS from digital VDD/VSS using a ferrite bead, as recommended in Microchip application note AN230.

Estimated: at 40 MHz core clock, 5.0 V supply, all 70 I/O toggling at 1 MHz, the PIC18F8520-I/PT dissipates roughly 250 mW. The 80-TQFP thermal resistance (theta_JA) is approximately 45 C/W on a 4-layer JEDEC test board, giving a 11 C rise above ambient. For industrial -40 C to +85 C operation, no heatsink is required; for automotive under-hood designs choose the PIC18F8520-E/PT (125 C) variant.

Route the crystal oscillator traces (OSC1/OSC2 or RA6/RA7) as short as possible with grounded guard traces; keep them away from high-speed switching signals such as PWM or USART lines. Place the MCLR pull-up resistor (typically 10 kohm) within 5 mm of the pin, and add a 100 nF cap if MCLR noise immunity is needed. Maintain a continuous ground plane under the MCU for thermal spreading and EMI suppression. For 80-pin TQFP land pattern, follow IPC-7351 nominal land dimensions (0.5 mm pitch).

Do not enable the 4x PLL before configuring the primary oscillator mode bits (OSCCON and CONFIG1H); the device will reset indefinitely if PLL is enabled with an unsupported clock source. Avoid using RA4 as an output without the internal weak pull-up enabled, since RA4 is open-drain. When using ICSP, do not load capacitor values above 1 nF on PGC/PGD, as this prevents reliable programming. Always set the configuration bits (CONFIG1L through CONFIG5H) before code development to match the application.

For SPI clock speeds above 5 MHz, add a 33 ohm series resistor at SCK to dampen ringing on long PCB traces (>50 mm). For I2C buses above 400 kHz, use 4.7 kohm pull-ups instead of 10 kohm, and verify rise-time against the bus capacitance budget. When using the ADC in 16-channel scan mode, add a 100 nF cap on each analog input if the source impedance exceeds 2.5 kohm, as recommended in the PIC18F8520 datasheet ADC section.

Compliance Information

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Lead Free
Yes
Halogen Free
Yes
Conflict Minerals
Compliant

Per Microchip product page, the PIC18F8520-I/PT is RoHS-compliant and lead-free. Not AEC-Q100 qualified - choose automotive-grade variants (with -Q1 suffix) for vehicle applications. Halogen-free per Microchip material declaration.

Data verified on: 2026-09-28 — data verified and curated by XAIPART's component engineering team

Related Searches

PIC18F8520-I/PT PIC18F8520-I/PT datasheet PDF Microchip PIC18F8520 PIC18F8520 vs PIC18F8620 80-pin TQFP 8-bit microcontroller PIC18F8520 industrial control application PIC18F8520 drop-in replacement buy PIC18F8520-I/PT in stock PIC18F8520 CAN bus 70 I/O what is the flash memory of PIC18F8520 PIC18F8520 HVAC thermostat MCU PIC18F8520 TQFP pinout 80 pin

Related Components & Terms

Microchip Technology PIC18F8520 PIC18F8520-I/PT PIC18F8520T-I/PT PIC18F8520-E/PT PIC18F8620-I/PT PIC18F67K90-I/PT PIC18F6720-I/PT PIC18F4585 8-bit microcontroller PIC18F PIC18 enhanced RISC core TQFP-80 TQFP package family surface mount device SMD MSSP USART ECCP CAN 2.0B AEC-Q100 RoHS REACH Flash memory EEPROM brown-out reset watchdog timer PLL MPLAB XC8
Quick Quote RFQ
Fill in complete details — our sales team will respond within 24 hours
Part Number Manufacturer Package QTY Target Price Extended
Total: $0.00 USD
✓
Quote submitted!

We will respond to your email within 24 hours

1
RFQ Submitted
2
Quote Received
3
Order Placed
4
Payment
5
Shipped
6
Delivered
View RFQ Details