Microchip Technology

PIC18F4520-E/P - 8-Bit 40MHz 32KB Flash MCU DIP-40 | Microchip

N.º da peça: PIC18F4520-E/P ✓ Ativo
Em estoque Enviado em 1 a 3 dias úteis
4.2 V to 5.5 V Vdss 40-pin PDIP (DIP-40, 0.600 inch) Package 40 MHz (10 MIPS) Speed 32 KB Flash Memory
A partir de $4.78 USD / unidade
MOQ: 1 |
Preço atualizado: 2026-09-27
Preços por volume
Qtd. Preço unitário Total
1 $7.77 $7,77
10 $6.85 $68,50
100 $5.92 $592,00
500 $5.21 $2.605,00
1.000 $4.78 $4.780,00
ℹ️ Todos os preços estão em USD

PIC18F4520-E/P Visão geral

The Microchip Technology PIC18F4520-E/P is an 8-bit RISC microcontroller based on the enhanced PIC18 architecture, delivering up to 10 MIPS performance at 3V in a 40-pin PDIP through-hole package. It integrates 32KB of Flash program memory, 1536 bytes of SRAM, and 256 bytes of EEPROM, with 36 digital I/O pins and a 13-channel 10-bit ADC.

An 8-bit microcontroller (MCU) is a single-chip computer that combines a CPU, memory (Flash, SRAM, EEPROM), peripherals (ADC, timers, UART, SPI, I2C), and I/O on a single silicon die. Within the broader taxonomy, the PIC18F4520 belongs to: microcontroller -> 8-bit MCU -> enhanced Flash MCU -> RISC MCU -> embedded controller -> semiconductor IC. The PIC18F family is widely adopted for cost-sensitive, deterministic embedded designs and sits between the older PIC16 mid-range family and the 16-bit dsPIC/PIC24 families in Microchip's portfolio.

Key features of the PIC18F4520 include a hardware 8x8 single-cycle multiplier, nanoWatt power management with multiple idle/sleep modes, a fail-safe clock monitor, and an internal 31 kHz to 8 MHz oscillator block with 4x PLL (for system clock up to 40 MHz). Four 16-bit timers/counters, two capture/compare/PWM modules, an enhanced USART, MSSP (SPI/I2C), and a parallel slave port round out the peripheral set. EUSART and PWMs are commonly used for motor and sensor interfacing.

The architecture uses a 16-bit instruction word with an 8-bit data path, providing C-compiler-friendly RISC design while retaining the deterministic interrupt latency PIC MCUs are known for. The wide 4.2V to 5.5V operating range simplifies integration with 5V sensors and drivers, while 1.8V to 3.6V operation at reduced clock is supported for low-power designs. nanoWatt technology can drop supply current below 1 uA in sleep mode.

Typical applications include industrial control panels, HVAC thermostats, motor control (BLDC/fan/pump), low-end embedded data acquisition, smart metering, automotive body electronics, and USB-to-UART bridges when paired with an external PHY. The 40-pin PDIP footprint remains popular for through-hole prototype boards, educational platforms, and replacement of legacy 8051 designs.

When designing with this part, choose the industrial temperature grade (-40C to +125C) for outdoor/automotive use; the E suffix here denotes the extended temperature range. Ensure decoupling capacitors are placed within 5 mm of the VDD/VSS pins and verify oscillator start-up time under your load conditions before locking the BOM.

This page synthesizes distributor pricing as of 2026-09-27, drop-in DIP-40 alternatives, and practical design notes that complement the manufacturer datasheet for engineers evaluating legacy PIC18 designs.

Alternativas drop-in para PIC18F4520-E/P — mesmo encapsulamento, compatível pino a pino. Peças de encapsulamento diferente que exigem retrabalho na PCB são excluídas.

Variantes desta série

Modelos da mesma série compatíveis como drop-in com PIC18F4520-E/P (mesmo formato e footprint) — diferindo em Package, Timers, Operating Temperature, Core Architecture, Mounting Type.

Microchip Technology
Package: 40-pin PDIP (0.600 in / 15.24 mm)
Timers: 4 (Timer0/1/2/3)
Mounting Type: Through-Hole (DIP)
Microchip Technology
Timers: Timer0, Timer1, Timer2, Timer3
Operating Temperature: -40 C to +125 C (Extended)
Mounting Type: Through Hole
Microchip Technology
Package: 40-pin PDIP (PDIP-40)
Timers: 3 (Timer0/1/2/3 depending on mode)
Operating Temperature: -40C to +125C (Extended, -E)
Microchip Technology
Package: 40-pin PDIP (P)
Timers: 1 x 8-bit, 3 x 16-bit
Operating Temperature: -40C to +85C (Industrial, -I suffix)
Microchip Technology
Package: 40-PDIP (0.600 inch)
Timers: 1 x 8-bit, 3 x 16-bit
Operating Temperature: -40C to +85C
Microchip Technology
Package: 40-pin PDIP
Timers: 4 (Timer0/1/2/3)
Core Architecture: PIC18 RISC, 8-bit
Microchip Technology
Package: PDIP-40 (P)
Timers: Four 16-bit timers, one 8-bit timer
Mounting Type: Through-Hole (DIP)

Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:

PIC18F4520-I/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
8-bit PIC18 enhanced RISC · 40 MHz (10 MIPS) · 32 KB (16K x 16) · 1.5 KB (1536 bytes) · 256 bytes · 4.2 V to 5.5 V · 36 · 10-bit, up to 13 channels

✓ Em estoque

$5.35 / unidade

Ver ficha técnica →

PIC18F4420-E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
PIC18 8-bit RISC · 40 MHz · 16 KB (8K x 16) · 768 bytes · 256 bytes · 4.2 V to 5.5 V · 36 · 10-bit, up to 13 channels

✓ Em estoque

$2.55 / unidade

Ver ficha técnica →

PIC18F45K22-E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
8-bit PIC18 (Harvard RISC) · 32 KB · 1536 bytes · 256 bytes · 40 MHz (64 MHz instruction) · 4.2 V to 5.5 V · 36 · 12-bit

✓ Em estoque

$2.78 / unidade

Ver ficha técnica →

PIC18F442-E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
8-bit RISC Flash Microcontroller · PIC18F · 16 KB (8K x 16) · 768 bytes · 256 bytes · 40 MHz (10 MIPS) · 100 ns · 4.2 V to 5.5 V

✓ Em estoque

$4.95 / unidade

Ver ficha técnica →

PIC18F4580-E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
PIC18 RISC, 8-bit · 16-bit instructions, 8-bit data · 40 MHz / 25 MIPS (25 MHz instruction rate per DigiKey listing) · 32 KB (16K x 16) · 1536 bytes · 256 bytes · 4.2 V to 5.5 V · -40C to +125C (extended)

✓ Em estoque

$4.41 / unidade

Ver ficha técnica →

PIC18F4480-E/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
PIC18 8-bit RISC Harvard · 16 KB (8K x 16) · 768 bytes · 256 bytes · 40 MHz · 25 MIPS at 25 MHz / 10 MIPS at 40 MHz · 4.2 V to 5.5 V · 36

✓ Em estoque

$3.79 / unidade

Ver ficha técnica →

PIC16F877A-I/P

✅ Drop-In
Microchip Technology
📦 40-pin PDIP
8-bit CMOS Flash PIC microcontroller · 20 MHz · 200 ns · 14 KB Flash · 368 bytes RAM · 33 pins · 40-pin plastic DIP (PDIP) · PIC 8-bit architecture

✓ Em estoque

Consulte o preço

Ver ficha técnica →

PIC18F4520-E/P Classificações máximas e características elétricas

Family PIC18F
Core 8-bit RISC (PIC18 enhanced)
Program Memory 32 KB Flash
RAM 1536 bytes
EEPROM 256 bytes
Maximum CPU Speed 40 MHz (10 MIPS)
Tensão de alimentação 4.2 V to 5.5 V
Temperatura de operação -40C to +125C (E = extended)
I/O Pins 36
ADC 10-bit, 13 channels
Timers 4 x 16-bit
CCP/PWM Modules 2 (Enhanced CCP)
Communication EUSART, MSSP (SPI/I2C), Parallel Slave Port
Encapsulamento 40-pin PDIP (DIP-40, 0.600 inch)
Tipo de montagem Through-Hole
Program Memory Type Flash
Data Memory Type SRAM + EEPROM
Status RoHS Compliant
Lead-Free Yes
Multiplier 8x8 hardware single-cycle

Configuração de pinos do PIC18F4520-E/P

DIP-40 Package Pinout Diagram DIP-40 40-pin dual inline, 7.62mm pitch, JEDEC MS-001. 1 40 2 39 3 38 4 37 5 36 6 35 7 34 8 33 9 32 10 31 11 30 12 29 13 28 14 27 15 26 16 25 17 24 18 23 19 22 20 21 DIP-40
Pino 1 MCLR/VPP — Master Clear (reset) input / programming voltage
Pino 2 RA0/AN0 — PORTA bit 0 / analog input 0
Pino 3 RA1/AN1 — PORTA bit 1 / analog input 1
Pino 4 RA2/AN2/VREF- — PORTA bit 2 / analog input 2 / ADC VREF-
Pino 5 RA3/AN3/VREF+ — PORTA bit 3 / analog input 3 / ADC VREF+
Pino 6 RA4/T0CKI — PORTA bit 4 / Timer0 clock input
Pino 7 RA5/AN4/SS — PORTA bit 5 / analog input 4 / SPI slave select
Pino 8 RE0/RD — PORTE bit 0 / PSP read control
Pino 9 RE1/WR — PORTE bit 1 / PSP write control
Pino 10 RE2/CS — PORTE bit 2 / PSP chip select
Pino 11 VDD — Positive power supply (4.2V-5.5V)
Pino 12 VSS — Ground reference
Pino 13 OSC1/CLKI/RA7 — Oscillator input / external clock input / PORTA bit 7
Pino 14 OSC2/CLKO/RA6 — Oscillator output / clock output / PORTA bit 6
Pino 15 RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock input
Pino 16 RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 output
Pino 17 RC2/CCP1 — PORTC bit 2 / CCP1 PWM output
Pino 18 RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock
Pino 19 RD0/PSP0 — PORTD bit 0 / parallel slave port bit 0
Pino 20 RD1/PSP1 — PORTD bit 1 / parallel slave port bit 1
Pino 21 RD2/PSP2 — PORTD bit 2 / parallel slave port bit 2
Pino 22 RD3/PSP3 — PORTD bit 3 / parallel slave port bit 3
Pino 23 RC4/SDI/SDA — PORTC bit 4 / SPI data in / I2C data
Pino 24 RC5/SDO — PORTC bit 5 / SPI data out
Pino 25 RC6/TX/CK — PORTC bit 6 / USART TX / USART clock
Pino 26 RC7/RX/DT — PORTC bit 7 / USART RX / USART data
Pino 27 RD4/PSP4 — PORTD bit 4 / parallel slave port bit 4
Pino 28 RD5/PSP5 — PORTD bit 5 / parallel slave port bit 5
Pino 29 RD6/PSP6 — PORTD bit 6 / parallel slave port bit 6
Pino 30 RD7/PSP7 — PORTD bit 7 / parallel slave port bit 7
Pino 31 VSS — Ground reference
Pino 32 VDD — Positive power supply (4.2V-5.5V)
Pino 33 RB0/INT0 — PORTB bit 0 / external interrupt 0
Pino 34 RB1/INT1 — PORTB bit 1 / external interrupt 1
Pino 35 RB2/INT2 — PORTB bit 2 / external interrupt 2
Pino 36 RB3/CCP2 — PORTB bit 3 / CCP2 output
Pino 37 RB4 — PORTB bit 4 (interrupt-on-change)
Pino 38 RB5 — PORTB bit 5 (interrupt-on-change)
Pino 39 RB6/PGC — PORTB bit 6 / ICSP clock
Pino 40 RB7/PGD — PORTB bit 7 / ICSP data

Aplicações típicas

PIC18F4520-E/P é adequado para 6 aplicaçãos: Industrial Control Panels, HVAC Thermostats and Climate Control, BLDC Motor and Fan Control, Low-End Data Acquisition Modules, Smart Metering and Energy Monitoring, Automotive Body Electronics.

🏭

Industrial Control Panels

The PIC18F4520-E/P fits industrial control panels because its 32 KB Flash, 13-channel 10-bit ADC, and 36 I/O pins support multi-sensor data acquisition plus relay/driver outputs in a single chip. Its 4.2V to 5.5V supply range interfaces directly to 5V logic and 24V industrial rails via simple level shifters. The 40-pin PDIP package remains the most popular through-hole form for control cabinets and field-replaceable modules, allowing fast swap-out without surface-mount rework. The 10 MIPS core handles PID loops and HMI key-scan routines deterministically. Engineers pairing it with a PIC18F4520-E/ML companion in SMD form get a unified firmware codebase across PDIP and SOIC assembly variants.

💡

HVAC Thermostats and Climate Control

For HVAC thermostats, the PIC18F4520-E/P provides 13 ADC channels for NTC temperature sensing, capacitive touch or keypad input via the I/O ports, and PWM outputs to drive triac-controlled fan/blower stages. The enhanced CCP module delivers 10-bit PWM resolution sufficient for proportional damper and valve control. nanoWatt sleep modes reduce standby current to under 1 uA, satisfying Energy Star idle budgets for battery-backed thermostats. The extended -40C to +125C temperature rating is critical for rooftop or attic installations where ambient can exceed 70C in summer. The 40-pin PDIP simplifies UL-listed enclosure assembly lines that prefer through-hole for vibration tolerance.

🏭

BLDC Motor and Fan Control

The PIC18F4520-E/P drives small BLDC motors and fans via its two Enhanced CCP modules generating complementary PWMs with programmable dead-band, suitable for 3-phase trapezoidal commutation. Its 40 MHz core and 10 MIPS throughput execute sensorless back-EMF zero-cross detection within tight control loops. The 36 I/O pins handle Hall-sensor inputs, fault inputs, brake outputs, and tachometer feedback simultaneously. Wide 4.2V to 5.5V operation tolerates rectified 24V industrial supply rails after a buck regulator. The 256-byte EEPROM stores calibration coefficients and fault history, useful for predictive maintenance in fan assemblies.

📺

Low-End Data Acquisition Modules

For low-channel-count data loggers and SCADA RTUs, the PIC18F4520-E/P combines a 13-channel 10-bit ADC, 1536-byte SRAM buffer, and 32 KB Flash for local protocol stacks. The EUSART handles RS-485 Modbus RTU at 115200 baud while the MSSP serves SPI sensors over a shared bus. The 256-byte EEPROM retains calibration constants across power cycles without external NVRAM. Industrial -40C to +125C temperature rating lets the module mount directly on a DIN rail next to power electronics. The DIP-40 footprint supports hand-solderable prototypes for proof-of-concept data acquisition before committing to a surface-mount production layout.

⚡

Smart Metering and Energy Monitoring

In single-phase smart meters and energy monitors, the PIC18F4520-E/P samples voltage and current waveforms via the 10-bit ADC at sufficient rate for true-RMS calculation up to 16 harmonics. The hardware 8x8 multiplier accelerates energy integration math without firmware overhead. EUSART drives an isolated optical UART link to the utility concentrator, while the parallel slave port can connect to an external metrology coprocessor if accuracy requirements escalate. The 40-pin PDIP is favored by meter manufacturers with legacy through-hole assembly lines. Extended temperature grade supports outdoor meter cabinet deployments in tropical or desert climates.

🚗

Automotive Body Electronics

The PIC18F4520-E/P serves automotive body controllers for window lifters, mirror adjusters, and interior lighting where the -40C to +125C extended temperature range meets AEC-Q100-style thermal expectations (verify AEC-Q100 qualification separately for production). Its EUSART supports LIN bus slave communication when paired with a LIN transceiver like the MCP2025. The 36 I/O pins drive multiple H-bridges and LED strings directly via discrete FET drivers. The 32 KB Flash fits typical body controller firmware including state machines, diagnostic routines, and bootloader. The DIP-40 package aids quick prototyping on bench setups before committing to a QFN production PCB.

Resumo dos produtos recomendados

PIC18F4520-E/ML Microchip Technology Usado em: Industrial Control Panels MCP23017 I2C I/O expander for additional panel buttons/LEDs Usado em: Industrial Control Panels MCP4725 12-bit DAC for analog control outputs Usado em: Industrial Control Panels MCP9808 High-accuracy digital temperature sensor via I2C Usado em: HVAC Thermostats and Climate Control MCP16311 Buck regulator for 24VAC-powered thermostat rails Usado em: HVAC Thermostats and Climate Control PIC18F4431-E/P Microchip Technology Usado em: BLDC Motor and Fan Control MCP8024 3-phase BLDC gate driver companion Usado em: BLDC Motor and Fan Control MCP2515 Standalone CAN controller for industrial fieldbus Usado em: Low-End Data Acquisition Modules MAX485 RS-485 transceiver for Modbus RTU Usado em: Low-End Data Acquisition Modules MCP3901 Dual-channel 16/24-bit ADC for precision metrology Usado em: Smart Metering and Energy Monitoring MCP1700 Low-Iq LDO for battery-backed RTC domain Usado em: Smart Metering and Energy Monitoring MCP2025 LIN transceiver for body network connectivity Usado em: Automotive Body Electronics PIC18F4580-E/P Microchip Technology Usado em: Automotive Body Electronics
What is the program memory size of the PIC18F4520-E/P?
The PIC18F4520-E/P integrates 32 KB of on-chip Flash program memory (16K x 16 words), plus 1536 bytes of SRAM and 256 bytes of EEPROM. According to Microchip datasheet 39631E, the Flash supports self-programming and is rated for typical 100K erase/write cycles, which is sufficient for most embedded firmware update scenarios.
What is the maximum clock speed of the PIC18F4520-E/P?
The PIC18F4520-E/P runs up to 40 MHz system clock, delivering up to 10 MIPS throughput, over a 4.2V to 5.5V supply. The internal oscillator block supports 31 kHz to 8 MHz with a 4x PLL for system clock up to 40 MHz, enabling designs without an external crystal while still hitting full performance targets.
What does the -E suffix mean in PIC18F4520-E/P?
The -E suffix denotes the Extended operating temperature grade of -40C to +125C for the PIC18F4520-E/P, per Microchip's PIC18 part numbering convention. The -I suffix would instead indicate Industrial grade (-40C to +85C). For outdoor, automotive, or industrial cabinet environments, the E grade is the appropriate choice.
Where can I buy the PIC18F4520-E/P online?
The PIC18F4520-E/P is available from authorized distributors including DigiKey, Mouser, Newark/Element14, and LCSC. As of 2026-09-27, distributor prices start around $7.77 at qty 1, with bulk pricing falling below $5 at 1000 pieces. LCSC lists the part from $3.28 for low-cost prototype sourcing.
What is the lead time for the PIC18F4520-E/P?
Lead time for the PIC18F4520-E/P from major distributors is generally stock to 8 weeks as of 2026-09-27, depending on order size. Heisener quotes an estimated delivery window of Dec 6 to Dec 11, 2026 for current orders. For production volumes above 1000 pieces, contact the distributor directly for a confirmed factory lead time.
Is the PIC18F4520-E/P in stock right now?
Yes, the PIC18F4520-E/P is listed as in stock at multiple distributors as of 2026-09-27. Heisener reports approximately 2,320 pieces in inventory, DigiKey typically ships same day for small quantities, and LCSC has stock available. Always verify real-time stock on the distributor's product page before placing an order.
What is the difference between PIC18F4520-I/P and PIC18F4520-E/P?
The PIC18F4520-I/P (Industrial grade) operates from -40C to +85C, while the PIC18F4520-E/P (Extended grade) operates from -40C to +125C. Both share identical 40-pin PDIP packaging and 32 KB Flash memory; only the temperature specification differs. Choose -E for automotive and outdoor deployments, -I for indoor industrial use.
PIC18F4520-E/P vs PIC16F877A-E/P - which is better for new designs?
For new designs, the PIC18F4520-E/P is generally a better choice than the older PIC16F877A-E/P because it offers a C-optimized enhanced RISC architecture, 10 MIPS performance, hardware 8x8 multiply, more RAM (1536 B vs 368 B), and nanoWatt power management. Both share the same 40-pin PDIP footprint, making them pin-compatible drop-in alternatives. Choose PIC16F877A-E/P only for legacy firmware compatibility.
When should I choose PIC18F4520-E/P over PIC18F45K22-E/P?
Choose the PIC18F4520-E/P when you need the classic enhanced Flash PIC18 architecture with a wide 4.2V-5.5V supply range and 32 KB Flash for legacy firmware reuse. Choose the newer PIC18F45K22-E/P when you want lower power (nanoWatt XLP), more RAM (1536+ bytes), richer peripherals, and a more modern toolchain - but verify your firmware does not depend on PIC18F4520-specific peripheral mappings before switching.
What is the best drop-in replacement for PIC18F4520-E/P?
The best drop-in replacement for PIC18F4520-E/P on the same 40-pin PDIP footprint is the PIC18F4520-I/P (industrial temperature grade) when -40C to +85C is acceptable. For a pin-compatible upgrade, the PIC18F4420-E/P is electrically identical but with 16 KB Flash instead of 32 KB. Both keep the same DIP-40 land pattern and pinout per Microchip datasheet 39631E.
Can PIC18F4520-I/P replace PIC18F4520-E/P directly?
Yes, the PIC18F4520-I/P can replace the PIC18F4520-E/P as long as your application's maximum ambient temperature stays below +85C. Both share identical 40-pin PDIP footprints, pinouts, and electrical specifications per Microchip datasheet 39631E. The I grade is typically lower cost and more readily available, making it the preferred substitute when thermal margins permit.
Where to download the PIC18F4520-E/P datasheet PDF?
The official PIC18F4520-E/P datasheet (document 39631E, covering the PIC18F2420/2520/4420/4520 family) is available on Microchip's website at ww1.microchip.com/downloads/en/DeviceDoc/39631E.pdf. The same datasheet covers the entire family, including pinouts, electrical characteristics, and peripheral configuration for the -E/P industrial grade.
Where can I find the PIC18F4520-E/P pinout?
The PIC18F4520-E/P pinout is documented in section 1.0 of Microchip datasheet 39631E. The 40-pin PDIP package puts VDD on pins 11 and 32, VSS on pins 12 and 31, MCLR on pin 1, OSC1/OSC2 on pins 13/14, and the 36 I/O lines distributed across PORTA-PORTE. The pinout is identical for the PIC18F4420, PIC18F4520, and the I/E temperature variants.
What are the key specifications of PIC18F4520-E/P that engineers should know?
Key specs are: 8-bit PIC18 core at 10 MIPS, 32 KB Flash, 1536 B SRAM, 256 B EEPROM, 36 I/O pins, 13-channel 10-bit ADC, 4 timers, 2 ECCP, EUSART + MSSP, and 4.2V-5.5V supply at -40C to +125C. This blend is the canonical reference point for legacy 8-bit PIC designs and the baseline against which newer PIC18 K-series parts are compared.

Dados de referência de engenharia para PIC18F4520-E/P — comparação, orientação de projeto e informações de conformidade.

Guia de seleção

Choose the PIC18F4520-E/P when you need a mature, field-proven 8-bit PIC18 microcontroller in a 40-pin PDIP package with 32 KB Flash and the extended -40C to +125C temperature range. It is the canonical choice for legacy firmware reuse, industrial panel controllers, and educational platforms where through-hole assembly simplifies rework. Switch to PIC18F4520-I/P if your maximum ambient is +85C and you want the lowest cost industrial-grade substitute. Pick PIC18F45K22-E/P when starting fresh and needing XLP nanoWatt power and faster 16 MIPS throughput. Select PIC18F4420-E/P when 16 KB Flash suffices and you want cost savings. All four share the same DIP-40 footprint, enabling PCB reuse across the family.

Comparação com alternativas

Parâmetro Este produto PIC18F4520-I/P PIC18F4420-E/P PIC18F45K22-E/P PIC18F442-E/P
Brand Microchip Technology Microchip Technology Microchip Technology Microchip Technology Microchip Technology
Package 40-pin PDIP (DIP-40) 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same 40-pin PDIP - same
Program Memory (Flash) 32 KB 32 KB 16 KB 32 KB 16 KB
RAM 1536 bytes 1536 bytes 1536 bytes 1536 bytes 768 bytes
Maximum Clock Speed 40 MHz (10 MIPS) 40 MHz (10 MIPS) 40 MHz (10 MIPS) 64 MHz (16 MIPS) 40 MHz (10 MIPS)
Operating Temperature -40C to +125C -40C to +85C -40C to +125C -40C to +125C -40C to +125C
ADC Channels / Resolution 13 x 10-bit 13 x 10-bit 13 x 10-bit 28 x 10-bit 8 x 10-bit
I/O Pins 36 36 36 36 34
Supply Voltage 4.2 V to 5.5 V 4.2 V to 5.5 V 4.2 V to 5.5 V 2.3 V to 5.5 V 2.0 V to 5.5 V

Principais diferenciais

  • Largest Flash in classic 40-pin PIC18F4x20 family (vs PIC18F4420-E/P)
  • Lower power consumption with newer core (vs PIC18F45K22-E/P)
  • Extended temperature grade over industrial variant (vs PIC18F4520-I/P)

Notas de projeto

Estimated: PIC18F4520-E/P supply current at 40 MHz / 5V with all peripherals active is approximately 22 mA; in Sleep mode this drops to under 1 uA per Microchip datasheet 39631E. Use a 100 nF decoupling capacitor within 5 mm of each VDD/VSS pair (pins 11/12 and 31/32), plus a bulk 10 uF tantalum on the supply rail. For battery-backed designs, gate the MCU VDD via a load switch and route the MCLR pin through a dedicated supervisor like MCP130 for deterministic brown-out reset at 4.0V typical.

Do not leave the MCLR pin floating - either tie it to VDD through a 10 kohm resistor with a 100 nF decoupling cap, or drive it with a supervisor. For ICSP programming, RB6/PGC and RB7/PGD must not be pulled low at reset or the part will enter a programming mode inadvertently. The internal 31 kHz-8 MHz oscillator with 4x PLL must be configured via the OSCCON register before the HFINTOSC is enabled, otherwise the part may fail to start cleanly on power-up at cold temperature.

When using the EUSART at 115200 baud over long cables, place a 100 ohm series resistor and TVS diode near the MCU TX/RX pins for ESD and surge protection. For SPI buses running above 4 MHz, keep traces under 50 mm and place a 33 ohm series resistor close to the master SCK pin to dampen ringing. The MSSP module's I2C lines need 4.7 kohm pull-ups to VDD (or 2.2 kohm for Fast Mode 400 kHz); do not exceed the 400 pF bus capacitance budget.

Informações de conformidade

RoHS
Compliant
REACH
Compliant
AEC-Q100
Not Qualified
Sem chumbo
Yes
Sem halogênios
Unknown
Minerais de conflito
Compliant

RoHS and lead-free per Microchip product page; PIC18F4520-E/P is not AEC-Q100 qualified - for automotive safety-critical use, contact Microchip about the automotive grade (typically -I/SP Q1 variants). REACH compliance is standard Microchip policy but specific statement not located in verified web data.

Dados verificados em: 2026-09-27 — dados verificados e curados pela equipe de engenharia de componentes da XAIPART

Buscas relacionadas

PIC18F4520-E/P PIC18F4520-E/P datasheet Microchip PIC18F4520 PIC18F4520-E/P price PIC18F4520-E/P pinout 8-bit 40MHz DIP-40 microcontroller PIC18F4520 vs PIC18F4420 PIC18F4520-E/P drop-in replacement PIC18F4520-E/P industrial application what is nanoWatt PIC18 PIC18F4520 buy online DIP-40 PIC18F4520-E/P extended temperature grade

Componentes & termos relacionados

Microchip Technology PIC18F4520 PIC18F4520-E/P PIC18F4520-I/P PIC18F4420 PIC18F45K22 PIC18F442 PIC18F4580 PIC18F4480 PIC16F877A 8-bit microcontroller PIC18 family RISC architecture nanoWatt technology MPLAB ICD / ICSP Flash memory EEPROM 10-bit ADC EUSART MSSP / SPI / I2C CCP / PWM DIP-40 / PDIP RoHS AEC-Q100 REACH RS-485 Modbus LIN bus
RFQ de cotação rápida
Preencha todos os detalhes — nossa equipe de vendas responderá em até 24 horas
Part number Fabricante Encapsulamento QTY Preço-alvo Total
Total: $0.00 USD
✓
Cotação enviada!

Responderemos seu e-mail em até 24 horas

1
RFQ enviada
2
Cotação recebida
3
Pedido realizado
4
Pagamento
5
Enviado
6
Entregue
Ver detalhes da RFQ