PIC18F6525-E/PT - 48KB Flash 8-bit MCU 64-TQFP | Microchip
N.º da peça: PIC18F6525-E/PT ✓ Ativo| Qtd. | Preço unitário | Total |
|---|---|---|
| 1 | $11.52 | $11,52 |
| 10 | $10.37 | $103,70 |
| 100 | $9.21 | $921,00 |
| 500 | $8.06 | $4.030,00 |
| 1.000 | $6.91 | $6.910,00 |
PIC18F6525-E/PT Visão geral
A PIC18F microcontroller is a member of Microchip's PIC18 family of 8-bit RISC microcontrollers - the architectural evolution of the PIC16 line that adds a 16-bit instruction word, hardware multiply, and C-optimized architecture while retaining the classic PIC register model. PIC18 devices sit above PIC16/12 in the 8-bit MCU hierarchy (PIC10/12/16/18 -> 8-bit MCU -> microcontroller -> embedded IC) and are widely used where deterministic interrupt response and small code size matter more than raw MHz.
Key features include 52 digital I/O pins, a 12-channel 10-bit ADC with 16K sample-and-hold, two USART modules, one MSSP (SPI/I2C), two CCP/ECCP modules, two 8-bit timers plus three 16-bit timers, a 16-bit wide instruction set, and ICD (In-Circuit Debug) support. The 64-TQFP (10x10 mm) package exposes more I/O than 40/44-pin siblings while keeping a familiar PIC18 peripheral set.
Architecturally, the PIC18F6525 uses a 16-bit modified Harvard core with separate program and data paths, allowing the CPU to fetch a 16-bit instruction while reading a data byte in the same cycle. The 'enhanced' flash supports >100k erase/write cycles typical and is self-programmable under firmware control, enabling field updates via bootloader.
Typical applications include industrial control (PLCs, sensor hubs, motor drivers), automotive body/chassis ECUs (with -E temp grade), home appliances (white goods, HVAC), embedded HMI with character LCD or graphic panels, USB/serial converter bridges using the USART/MSSP, and CAN/lin gateways (paired with external transceivers).
When designing with this part, reserve pin RE3/MCLR as a true reset input with the standard 10k pull-up; on the PIC18F65xx family RE3 is input-only on most parts. Also confirm VDDCORE decoupling - the device has separate AVdd/Vdd pairs that should each have a 0.1uF + bulk cap.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet alone, helping engineers shorten the BOM-selection cycle from days to minutes.
Alternativas drop-in para PIC18F6525-E/PT — 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 PIC18F6525-E/PT (mesmo formato e footprint) — diferindo em Core Architecture, Operating Temperature, Package, Timers, ADC.
Ferramenta de comparação rápida — selecione peças alternativas para comparação lado a lado:
PIC18F6621-I/PT
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$8.15 / unidade
Ver ficha técnica →PIC18F6520-I/PT
✅ Drop-In ⚠️ Especificações não verificadas✓ Em estoque
$6.1 / unidade
Ver ficha técnica →PIC18F6525-E/PT Classificações máximas e características elétricas
| Core Architecture | PIC18 8-bit RISC (16-bit instruction word) |
| Program Memory (Flash) | 48 KB (24K x 16) |
| Data RAM | 3840 bytes |
| Max CPU Speed | 40 MHz (10 MIPS) |
| Operating Voltage (Vdd) | 4.2 V to 5.5 V |
| I/O Pins | 52 |
| ADC | 10-bit, 12 channels (approximately - confirm datasheet) |
| Timers | 2x 8-bit + 3x 16-bit |
| Capture/Compare/PWM | 2 CCP + 1 ECCP |
| Serial Interfaces | 2x USART (EUSART), 1x MSSP (SPI/I2C) |
| Encapsulamento | 64-pin TQFP (PT) 10x10 mm |
| Temperatura de operação | -40C to +125C (extended, -E suffix) |
| Tipo de montagem | Surface Mount |
| In-Circuit Debug | ICSP / ICD 2/3 |
| Status RoHS | Compliant |
Configuração de pinos do PIC18F6525-E/PT
| Pino 1 | MCLR/RE3 — Master Clear (reset) input / PORTE bit 3 (input only on most variants) |
| 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/AN5 — PORTE bit 0 / parallel port read / AN5 |
| Pino 9 | RE1/WR/AN6 — PORTE bit 1 / parallel port write / AN6 |
| Pino 10 | RE2/CS/AN7 — PORTE bit 2 / parallel port chip select / AN7 |
| Pino 11 | VDD — Digital supply (4.2V to 5.5V) |
| Pino 12 | VSS — Digital ground |
| Pino 13 | OSC1/CLKI/RA7 — Crystal input / external clock / PORTA bit 7 |
| Pino 14 | OSC2/CLKO/RA6 — Crystal output / clock output / PORTA bit 6 |
| Pino 15 | RC0/T1OSO/T1CKI — PORTC bit 0 / Timer1 oscillator output / Timer1 clock |
| Pino 16 | RC1/T1OSI/CCP2 — PORTC bit 1 / Timer1 oscillator input / CCP2 |
| Pino 17 | RC2/CCP1 — PORTC bit 2 / CCP1 |
| Pino 18 | RC3/SCK/SCL — PORTC bit 3 / SPI clock / I2C clock |
| Pino 19 | RD0/PSP0/C1IN+ — PORTD bit 0 / parallel slave port / comparator 1 input |
| Pino 20 | RD1/PSP1/C1IN- — PORTD bit 1 / parallel slave port / comparator 1 input |
| Pino 21 | RD2/PSP2/C2IN+ — PORTD bit 2 / parallel slave port / comparator 2 input |
| Pino 22 | RD3/PSP3/C2IN- — PORTD bit 3 / parallel slave port / comparator 2 input |
| 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/ECCP1/P1A — PORTD bit 4 / parallel slave port / ECCP1 / PWM output A |
| Pino 28 | RD5/PSP5/P1B — PORTD bit 5 / parallel slave port / ECCP1 PWM output B |
| Pino 29 | RD6/PSP6/P1C — PORTD bit 6 / parallel slave port / ECCP1 PWM output C |
| Pino 30 | RD7/PSP7/P1D — PORTD bit 7 / parallel slave port / ECCP1 PWM output D |
| Pino 31 | VSS — Digital ground |
| Pino 32 | VDD — Digital supply (4.2V to 5.5V) |
| Pino 33 | RB0/INT0/FLT0 — PORTB bit 0 / external interrupt 0 / ECCP fault input |
| Pino 34 | RB1/INT1 — PORTB bit 1 / external interrupt 1 |
| Pino 35 | RB2/INT2 — PORTB bit 2 / external interrupt 2 |
| Pino 36 | RB3/INT3/CCP2A — PORTB bit 3 / external interrupt 3 / CCP2 alternate |
| Pino 37 | RB4/KBI0 — PORTB bit 4 / interrupt-on-change bit 0 |
| Pino 38 | RB5/KBI1 — PORTB bit 5 / interrupt-on-change bit 1 |
| Pino 39 | RB6/KBI2/PGC — PORTB bit 6 / interrupt-on-change bit 2 / ICD clock |
| Pino 40 | RB7/KBI3/PGD — PORTB bit 7 / interrupt-on-change bit 3 / ICD data |
| Pino 41 | AVDD — Analog supply (tie to VDD via ferrite) |
| Pino 42 | AVSS — Analog ground |
| Pino 43 | RF0/AN8 — PORTF bit 0 / analog input 8 |
| Pino 44 | RF1/AN9/C2OUT — PORTF bit 1 / analog input 9 / comparator 2 output |
| Pino 45 | RF2/AN10/C1OUT — PORTF bit 2 / analog input 10 / comparator 1 output |
| Pino 46 | RF3/AN11 — PORTF bit 3 / analog input 11 |
| Pino 47 | RF4/AN12 — PORTF bit 4 / analog input 12 |
| Pino 48 | RF5/AN13 — PORTF bit 5 / analog input 13 |
| Pino 49 | RF6/AN14 — PORTF bit 6 / analog input 14 |
| Pino 50 | RF7/AN15 — PORTF bit 7 / analog input 15 |
| Pino 51 | RG0 — PORTG bit 0 |
| Pino 52 | RG1 — PORTG bit 1 |
| Pino 53 | RG2 — PORTG bit 2 |
| Pino 54 | RG3 — PORTG bit 3 |
| Pino 55 | RG4 — PORTG bit 4 |
| Pino 56 | RG5 — PORTG bit 5 (no connect on 64-pin variant) |
| Pino 57 | RH0 — PORTH bit 0 (no connect on 64-pin variant) |
| Pino 58 | RH1 — PORTH bit 1 (no connect on 64-pin variant) |
| Pino 59 | RH2 — PORTH bit 2 (no connect on 64-pin variant) |
| Pino 60 | RH3 — PORTH bit 3 (no connect on 64-pin variant) |
| Pino 61 | RH4 — PORTH bit 4 (no connect on 64-pin variant) |
| Pino 62 | RH5 — PORTH bit 5 (no connect on 64-pin variant) |
| Pino 63 | RH6 — PORTH bit 6 (no connect on 64-pin variant) |
| Pino 64 | RH7 — PORTH bit 7 (no connect on 64-pin variant) |
Aplicações típicas
PIC18F6525-E/PT é adequado para 7 aplicaçãos: Industrial Control / PLC Module, Automotive Body Electronics ECU, Home Appliance / White Goods Control, Embedded HMI / LCD Terminal, Sensor Hub / Data Logger, USB/Serial Bridge and Protocol Converter, Motor Control / Stepper Driver.
Industrial Control / PLC Module
The PIC18F6525-E/PT fits industrial PLC and sensor-hub modules because of its 52 I/O on a 64-TQFP footprint, 10 MIPS throughput at 40 MHz, and extended -40C to +125C temperature rating. Its 3840 bytes RAM is enough to host a Modbus RTU slave buffer (256-byte PDU plus framing) alongside a 4x20 character LCD driver and a 1 kHz PID loop tick without DMA contention. The 12-channel 10-bit ADC reads thermocouple amplifiers or 4-20 mA loops through external shunt resistors with simultaneous sampling via CCP-triggered conversions, while the two EUSARTs bridge RS-485 to a HMI panel and RS-232 to a configuration port. Use the MSSP in SPI mode to drive isolated digital outputs (e.g., CPC5001 solid-state relays) for actuator switching. Recommended: pair with MAX485 for RS-485 and MCP1700 for 3V3 sensor rail.
Recomendado
Automotive Body Electronics ECU
The PIC18F6525-E/PT is widely deployed in automotive body and chassis ECUs (window lifters, seat controllers, HVAC flaps, lighting modules) thanks to its 5V-native I/O tolerant of 12V battery transients via external TVS clamps and the extended -40C to +125C temperature grade matching cabin and underhood thermal envelopes. Its 2 EUSARTs implement LIN bus via a LIN SBC such as TJA1027 or MCP2021, while the 1 MSSP drives an SPI-controlled stepper driver for HVAC damper motors. PWM via the ECCP module generates brushed DC motor speed control with hardware dead-band insertion. Note: -E grade is NOT AEC-Q100 - for safety-critical designs (airbag, ABS, EPS) use the AEC-Q100-qualified PIC18F K-series or dsPIC33 variants. Recommended companion parts: MCP2021 LIN SBC, TLE4271 5V LDO.
Recomendado
Home Appliance / White Goods Control
The PIC18F6525-E/PT is a strong fit for white-goods controllers (washing machines, dishwashers, refrigerators, induction cooktops) where 5V-tolerant I/O drives triac optocouplers directly and the 64-TQFP exposes enough I/O for keypad scanning, LCD/LED display multiplexing, and motor encoder feedback. Its 3840 RAM buffers wash-cycle state machines, while 48 KB flash holds state-flow firmware plus a bootloader for OTA field updates. Hardware CCP modules generate zero-crossing synchronized triac pulses for heater banks and motor phase control. The PIC18F6525-E/PT's nanoWatt technology provides sleep currents under 1 uA for battery-backed appliance clocks. Pair with MOC3021 triac drivers and a character LCD module for user interface. Recommended companion parts: MOC3021, ULN2003, character LCD.
Recomendado
Embedded HMI / LCD Terminal
The PIC18F6525-E/PT drives character LCDs (16x2 to 40x4) and small graphic panels (128x64 KS0108) directly via its 52 I/O and 3840 RAM, providing 8-bit data bus plus 6 control lines plus 4-8 keypad matrix rows. Its 40 MHz throughput keeps redraw latencies under 16 ms for 128x64 panels at 50% screen refresh, sufficient for menu navigation. The 2 CCP/ECCP modules can generate audio tones or backlight PWM dimming simultaneously with LCD refresh, sharing CPU time without contention thanks to the PIC18's deterministic 2-cycle interrupt latency. Use the MSSP in SPI mode to drive an external SD card for font/log storage; 48 KB flash is enough for menu tree plus custom font tables. Pair with HD44780 LCD or KS0108 graphic controller.
Recomendado
Sensor Hub / Data Logger
The PIC18F6525-E/PT is well-suited as a sensor-hub or data-logger controller in environmental monitoring, building automation, and industrial telemetry. Its 12-channel 10-bit ADC reads thermocouples, RTDs, and 4-20 mA loops via external signal conditioning, while the MSSP in I2C mode scans a digital sensor bus (SHT31 humidity, BMP280 pressure, MAX31855 thermocouple) at 400 kHz. The 3840 RAM buffers sample frames (typically 64 bytes per sample x 30 samples per burst) before flushing to SPI flash or SD card. The 2 EUSARTs publish data over RS-485 Modbus and a debug console simultaneously. Use ECCP to generate a 1-second RTC tick from a 32.768 kHz crystal, eliminating an external RTC chip. Pair with MAX31855 thermocouple ADC and SHT31 humidity sensor.
Recomendado
USB/Serial Bridge and Protocol Converter
The PIC18F6525-E/PT serves as a USB-to-UART, USB-to-I2C, or USB-to-SPI bridge when paired with a USB3300 ULPI PHY or - more commonly - the MCP2200 USB-to-UART chip. Its 48 KB flash easily hosts CDC ACM USB stacks, vendor-class firmware, or custom protocols (Modbus, NMEA 0183, DMX-512) at 12 Mbps full-speed USB. The 2 EUSARTs enable dual-bus protocol conversion (e.g., RS-485 to SPI gateway), and the MSSP handles I2C/SPI master duties for downstream peripherals. The -E temperature grade supports industrial cabinets. Note: the PIC18F6525 does NOT have native USB - for true single-chip USB consider PIC18F4455/4550 with integrated USB 2.0 FS. Recommended companion parts: MCP2200 (USB-UART bridge), FT230X (USB-UART alternative).
Recomendado
Motor Control / Stepper Driver
The PIC18F6525-E/PT controls stepper motors (via external DRV8825 or A4988 drivers), brushed DC motors (via H-bridge drivers like L298N or DRV8871), and BLDC motors (with external 3-phase gate drivers). Its 3x 16-bit timers and 2 CCP + 1 ECCP generate precise step pulses up to 200 kHz with hardware acceleration/deceleration ramps stored in RAM. The 52 I/O accommodate encoder inputs (A/B/index), enable signals, fault feedback, and current sensing via the 10-bit ADC. The extended -40C to +125C temperature range suits industrial motor enclosures. Pair with DRV8825 stepper driver, A4988 alternative, or DRV8871 brushed DC driver for closed-loop current control with the ADC.
Recomendado
Resumo dos produtos recomendados
Dados de referência de engenharia para PIC18F6525-E/PT — comparação, orientação de projeto e informações de conformidade.
Guia de seleção
Comparação com alternativas
| Parâmetro | Este produto | PIC18F6621-I/PT | PIC18F6520-I/PT |
|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-TQFP (PT) 10x10 mm | 64-TQFP (PT) 10x10 mm | 64-TQFP (PT) 10x10 mm |
| Program Flash | 48 KB | 64 KB | 32 KB |
| Data RAM | 3840 bytes | 4096 bytes | 2048 bytes |
| Max CPU Speed | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) | 40 MHz (10 MIPS) |
| Operating Voltage | 4.2V to 5.5V | 4.2V to 5.5V | 4.2V to 5.5V |
| Operating Temperature | -40C to +125C (E grade) | -40C to +85C (I grade) | -40C to +85C (I grade) |
| I/O Pins | 52 | 52 | 52 |
Principais diferenciais
- More code space than the 6520 sibling without footprint change (vs PIC18F6520-I/PT)
- Extended -40C to +125C temperature grade vs -85C (vs PIC18F6621-I/PT)
- Mature 5V PIC18 architecture vs newer 3.3V K-series (vs PIC18F46K22-E/PT)
Notas de projeto
PIC18F6525-E/PT requires 4.2V-5.5V on VDD and a separate AVDD pin (typically tied to VDD through a ferrite bead). Decouple each VDD pin with a 100 nF ceramic plus a bulk 10 uF tantalum or ceramic on the board-level supply. For designs migrating to 3.3V-only peripherals, add an external 3.3V LDO (MCP1700) rather than running the PIC18 at 3.3V - the flash write VDD spec is 4.5V minimum, so dropping below 4.5V may cause flash programming failures. Estimated: at 40 MHz, core current is around 25 mA, plus 10 mA I/O drive budget - so size VDD trace to handle 50 mA peak with <50 mV drop.
Place the 20 MHz or 40 MHz crystal within 5 mm of OSC1/OSC2 with short symmetrical traces and a grounded guard ring; the PIC18 oscillator stage is sensitive to stray capacitance beyond ~20 pF. Add 18-22 pF load capacitors (value depends on crystal CL spec). Route ICSP pins (RB6/PGC, RB7/PGD) to a 6-pin header with no series resistors on the data/clock lines (resistors are fine on MCLR but optional). Keep analog traces (PORTA, PORTF analog inputs) away from switching digital lines - cross only at right angles - and guard the AVSS pin with a clean ground pour stitched with vias.
Do not leave MCLR floating - even with the internal pull-up disabled on some PIC18 variants, noise on MCLR causes spurious resets. Always use a 10 kohm pull-up to VDD and a 100 nF cap to ground for slow-rising supply rejection. Another common mistake is configuring RE3 as output on PIC18F65xx parts - RE3 is INPUT-ONLY and serves as MCLR alternate; configuring it as output writes are silently ignored. Finally, remember that on the PIC18F6525 the EUSART TX/CK pins default to PORTC, but some remappable variants (not the -E/PT) require peripheral pin select (PPS) configuration - always check the silicon errata for the specific mask revision in your lot.
Informações de conformidade
RoHS and REACH compliant per Microchip product page. -E grade is extended industrial -40C to +125C, NOT AEC-Q100 automotive qualified; for AEC-Q100 use the -V suffix or K-series automotive parts.