PIC18F2520T-I/ML - 8-bit MCU, 32KB Flash, 40MHz, 28-QFN | Microchip
Артикул: PIC18F2520T-I/ML ✓ Активен| Кол-во | Цена за ед. | Итого |
|---|---|---|
| 1 | $7.28 | $7,28 |
| 10 | $6.55 | $65,50 |
| 100 | $5.72 | $572,00 |
| 500 | $5.1 | $2.550,00 |
| 1.000 | $4.62 | $4.620,00 |
PIC18F2520T-I/ML Обзор
What is a PIC18 microcontroller? The PIC18 is Microchip's high-end 8-bit RISC architecture family, positioned above PIC16 and below the 16-bit dsPIC33/PIC24 line. PIC18 parts combine a Harvard bus, a 16-bit instruction word with 8-bit data path, hardware multiply, a C-optimized instruction set and self-programmable Flash, making them suited to mid-range embedded control where deterministic timing, peripheral richness and stable firmware updates are required.
Key features of the PIC18F2520 include 1.5 KB SRAM (plus 1.5 KB general-purpose EEPROM), a 10-bit ADC with up to 10 input channels, one Enhanced USART, one MSSP (SPI/I2C), two CCP and one Enhanced CCP module, two 8-bit and three 16-bit timers, nanoWatt power management, an ICD/ICSP debug interface, and 25 mA source/sink capability on each I/O with internal weak pull-ups. The wide operating range and peripheral set target appliance control, sensing, motor pre-driver, lighting, USB-serial bridge co-processors and field-replaceable industrial nodes. According to the manufacturer datasheet, the device is qualified to AEC-Q100 for automotive PIC18F2520-I/ML variants.
Architecture-wise, the PIC18F2520 uses a 16-bit wide instruction pipeline with 31-level hardware stack, hardware multiply (8x8 in one cycle), 10-bit pipelined ADC with internal 4-channel mux and self-calibration, and a low-power "nanoWatt" feature set including run, idle, sleep and a 32 kHz secondary oscillator with Timer1 real-time clock operation. Multiple oscillator modes (HS, XT, LP, RC, EC, INTIO) plus 4x PLL on the standard 40 MHz silicon allow flexible clocking from internal 31 kHz through external 40 MHz sources.
Typical applications span USB HID class devices, industrial control panels, sensor signal conditioning, automotive body and HVAC ECUs (Q-graded), white goods motor control, smart metering, lighting ballasts, and embedded data logging. The 28-QFN variant (PIC18F2520T-I/ML, T = Tape & Reel) is favored where board height is constrained.
A critical design consideration: the PIC18F2520 I/O banks are not 5 V-tolerant when the part is supplied below 4.2 V, so do not drop to 3.3 V operation on this "I/ML" version; either use a 5 V rail or move to the PIC18LF2520. Decoupling requires one 100 nF X7R cap per supply pin and a 10 µF bulk capacitor, with the Vcap pin on PIC18F core regulated devices carrying 8 µF–12 µF for the internal 2.5 V regulator. Trace lengths to MCLR must be short to prevent in-circuit debug noise.
This page synthesizes real distributor pricing, a same-family drop-in matrix, and design considerations that go beyond the manufacturer datasheet — including migration paths between PIC18F2520 and PIC18LF2520 and QFN-28 package decisions versus the SPDIP/SOIC siblings.
Аналоги без доработки для PIC18F2520T-I/ML — тот же корпус, pin-to-pin совместимость. Компоненты в других корпусах, требующие переработки PCB, исключены.
Варианты в этой серии
Модели той же серии, совместимые без доработки с PIC18F2520T-I/ML (тот же форм-фактор и посадочное место) — отличается по Package, ADC, Core Architecture, Timers, Operating Temperature.
Инструмент быстрого сравнения — выберите альтернативные компоненты для сравнения бок о бок:
PIC18LF2520-I/ML
✅ Прямая замена✓ В наличии
$4.32 / шт.
Открыть даташит →PIC18F2520-I/ML
✅ Прямая замена✓ В наличии
$3.13 / шт.
Открыть даташит →PIC18F2520T-I/SO
✅ Прямая замена✓ В наличии
$4.62 / шт.
Открыть даташит →PIC18F25K22-I/ML
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$2.74 / шт.
Открыть даташит →PIC18F25K50-I/ML
✅ Прямая замена ⚠️ Характеристики не проверены✓ В наличии
$2.65 / шт.
Открыть даташит →PIC18F2520T-I/ML Максимальные параметры и электрические характеристики
| Product Family | PIC 18F |
| Core Size | 8-bit |
| Max CPU Frequency | 40 MHz (FOSC), 10 MIPS |
| Program Memory | 32 KB Flash |
| Program Memory Organization | 16K x 16 instructions |
| RAM | 1.5 KB SRAM |
| EEPROM | 1.5 KB data EEPROM |
| I/O Pins | 25 |
| ADC | 10-bit, up to 10 channels |
| Operating Voltage | 4.2 V to 5.5 V |
| Рабочая температура | -40 C to +85 C (Industrial) |
| Корпус | 28-QFN (ML), 6 x 6 mm |
| Тип монтажа | Surface Mount |
| Connectivity | EUSART, MSSP (SPI / I2C) |
| Timers | 2 x 8-bit, 3 x 16-bit |
| Capture/Compare/PWM | 2 CCP, 1 ECCP |
| Oscillator | Internal + External, 4x PLL |
| Уровень MSL | 3 (168 hours) |
| Статус RoHS | Compliant |
Конфигурация выводов PIC18F2520T-I/ML
| Контакт 1 | MCLR/VPP/RE3 — Reset input / programming voltage / digital I/O RE3 |
| Контакт 2 | RA0/AN0 — Digital I/O RA0 / analog input AN0 |
| Контакт 3 | RA1/AN1 — Digital I/O RA1 / analog input AN1 |
| Контакт 4 | RA2/AN2/VREF- — Digital I/O RA2 / analog input AN2 / ADC VREF- |
| Контакт 5 | RA3/AN3/VREF+ — Digital I/O RA3 / analog input AN3 / ADC VREF+ |
| Контакт 6 | RA4/T0CKI/C1OUT — Digital I/O RA4 / Timer0 clock input / comparator 1 output |
| Контакт 7 | RA5/AN4/SS/HLVDIN/C2OUT — Digital I/O RA5 / analog input AN4 / SPI SS / HLVD input / comparator 2 output |
| Контакт 8 | VSS — Ground reference |
| Контакт 9 | OSC1/CLKI/RA7 — Crystal oscillator input / external clock input / digital I/O RA7 |
| Контакт 10 | OSC2/CLKO/RA6 — Crystal oscillator output / clock output / digital I/O RA6 |
| Контакт 11 | RC0/T1OSO/T1CKI — Digital I/O RC0 / Timer1 oscillator output / Timer1 clock input |
| Контакт 12 | RC1/T1OSI/CCP2 — Digital I/O RC1 / Timer1 oscillator input / CCP2 I/O |
| Контакт 13 | RC2/CCP1 — Digital I/O RC2 / ECCP1 PWM output |
| Контакт 14 | RC3/SCK/SCL — Digital I/O RC3 / SPI clock / I2C clock |
| Контакт 15 | RC4/SDI/SDA — Digital I/O RC4 / SPI data in / I2C data |
| Контакт 16 | RC5/SDO — Digital I/O RC5 / SPI data out |
| Контакт 17 | RC6/TX/CK — Digital I/O RC6 / EUSART TX / EUSART synchronous clock |
| Контакт 18 | RC7/RX/DT — Digital I/O RC7 / EUSART RX / EUSART synchronous data |
| Контакт 19 | VSS — Ground reference (second pad) |
| Контакт 20 | VDD — Positive supply (first pad) |
| Контакт 21 | RB0/AN12/INT0 — Digital I/O RB0 / analog input AN12 / external interrupt 0 |
| Контакт 22 | RB1/AN10/INT1 — Digital I/O RB1 / analog input AN10 / external interrupt 1 |
| Контакт 23 | RB2/AN8/INT2 — Digital I/O RB2 / analog input AN8 / external interrupt 2 |
| Контакт 24 | RB3/AN9/CCP2 — Digital I/O RB3 / analog input AN9 / CCP2 |
| Контакт 25 | RB4/AN11/KBI0 — Digital I/O RB4 / analog input AN11 / KBI interrupt 0 |
| Контакт 26 | RB5/KBI1/PGM — Digital I/O RB5 / KBI interrupt 1 / LVP programming |
| Контакт 27 | RB6/KBI2/PGC — Digital I/O RB6 / KBI interrupt 2 / ICD clock |
| Контакт 28 | RB7/KBI3/PGD — Digital I/O RB7 / KBI interrupt 3 / ICD data |
Типичное применение
PIC18F2520T-I/ML подходит для 6 применениеs: Industrial Control Panel MCU, Automotive Body ECU and HVAC (AEC-Q100 variant), USB-Serial Bridge Co-processor, Smart Sensor Hub / Data Logger, White Goods Motor and Lighting Control, Lighting Ballast and DMX512 Controller.
Industrial Control Panel MCU
The PIC18F2520T-I/ML suits industrial control panels thanks to its 40 MHz / 10 MIPS core, 32 KB Flash for protocol stacks, 25 I/O for keypad scanning and LED driving, and EUSART/MSSP for RS-485 or I2C sensor hubs. The 4.2 V-5.5 V range matches 5 V industrial backplanes, and the 10-bit ADC scans up to 10 analog inputs for panel temperature, supply rail monitoring and analog setpoints. Per Microchip datasheet DS39631F, the nanoWatt idle modes drop supply current below 5 µA, allowing IEC 61131-2 / IEC 61010 compliant designs with E-stop brown-out handling. The QFN-28 (6x6) footprint keeps PCB height below 1 mm for slim DIN-rail modules.
Рекомендуется
Automotive Body ECU and HVAC (AEC-Q100 variant)
The PIC18F2520-I/ML AEC-Q100 variant is qualified for automotive body and HVAC ECUs, where the -40 °C to +125 °C temperature range and 32 KB Flash support seat-controller, mirror-fold and HVAC blend-door logic. The PIC18F2520T-I/ML (industrial grade) can be used for non-safety automotive subsystems, but for AEC-Q100 designs order the automotive qualified tape & reel variant. The 25 mA source/sink I/O drive relays and LED drivers directly, the ECCP module generates PWM for HVAC damper motors, and the EUSART interfaces LIN bus stacks. Per Microchip datasheet DS39631F, the 25 I/O and 1.5 KB EEPROM are well-matched to body module and HVAC control algorithms.
Рекомендуется
USB-Serial Bridge Co-processor
The PIC18F2520T-I/ML can act as a USB-to-UART/I2C/SPI bridge co-processor by leveraging its EUSART, MSSP and 32 KB Flash to run a CDC/ACM firmware stack. Although the PIC18F2520 lacks native USB, pairing it with an external MCP2200 or FT232R creates a robust 5 V-tolerant field-upgradable serial bridge. The 25 I/O drive status LEDs and the ECCP generates precise PWM for downstream devices. Per Microchip datasheet DS39631F, the wide VDD range and 40 MHz core are ideal for industrial service-port adapters where USB 2.0 FS data rates are required.
Рекомендуется
Smart Sensor Hub / Data Logger
Use the PIC18F2520T-I/ML as a smart sensor hub aggregating I2C sensors, SPI sensors, and analog signals through its 10-bit ADC (10 channels) and MSSP/EUSART peripherals. The 32 KB Flash runs MQTT-SN or Modbus RTU client stacks, while the 1.5 KB EEPROM stores calibration constants and the 1.5 KB SRAM buffers payload frames. Per Microchip datasheet DS39631F, the 4.2 V-5.5 V industrial supply aligns with 5 V sensor rails, and nanoWatt idle modes keep average current low for solar/battery sensor nodes. The QFN-28 keeps the PCB small enough to fit into a 30x30 mm enclosure.
Рекомендуется
White Goods Motor and Lighting Control
The PIC18F2520T-I/ML drives washing machine, dishwasher and refrigerator subsystems where 32 KB Flash holds motor-control state machines, the ECCP module generates 25 kHz PWM for brushed DC or single-phase induction motors, and the 25 I/O scan capacitive touch keypads. The 1.5 KB EEPROM retains user preferences and fault logs across power cycles. Per Microchip datasheet DS39631F, the -40 °C to +85 °C industrial grade suits appliance rear-panel environments, and the nanoWatt modes drop standby power below IEC 62301 1 W requirements for networked white goods.
Рекомендуется
Lighting Ballast and DMX512 Controller
The PIC18F2520T-I/ML controls commercial lighting ballasts and DMX512 stage lighting networks, where the EUSART handles DMX512 at 250 kbaud with break-detection, the ECCP generates 0-10 V dim or DALI PWM, and the 25 I/O drive SSR outputs for multi-channel fixtures. The 32 KB Flash fits DMX personality editors and 16-bit fade tables. Per Microchip datasheet DS39631F, the wide 4.2 V-5.5 V supply matches 5 V ballast electronics, and the nanoWatt sleep current keeps energy consumption in standby under 0.5 W. The QFN-28 footprint drops onto compact 25 mm diameter downlight PCBs.
Рекомендуется
Сводка рекомендуемых товаров
Справочные инженерные данные для PIC18F2520T-I/ML — сравнение, рекомендации по проектированию и информация о соответствии.
Руководство по выбору
Сравнение с аналогами
| Параметр | Этот товар | PIC18LF2520-I/ML | PIC18F2520-I/ML | PIC18F25K22-I/ML | PIC18F25K50-I/ML |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 28-QFN (ML, 6x6 mm) | 28-QFN (ML, 6x6 mm) - same | 28-QFN (ML, 6x6 mm) - same | 28-QFN (ML, 6x6 mm) - same | 28-QFN (ML, 6x6 mm) - same |
| Flash Program Memory | 32 KB | 32 KB | 32 KB | 32 KB | 32 KB |
| SRAM | 1.5 KB | 1.5 KB | 1.5 KB | 1.5 KB | 2 KB |
| Max CPU Frequency | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 40 MHz / 10 MIPS | 64 MHz / 16 MIPS | 48 MHz / 12 MIPS |
| Operating Voltage | 4.2 V to 5.5 V | 2.0 V to 5.5 V | 4.2 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| USB Support | No (external bridge required) | No | No | No | Yes (USB 2.0 FS device) |
| ADC | 10-bit, 10 channels | 10-bit, 10 channels | 10-bit, 10 channels | 10-bit, 19 channels | 10-bit, 14 channels |
Ключевые отличия
- Wide 4.2 V-5.5 V supply matches 5 V industrial backplanes natively (против PIC18LF2520-I/ML)
- Tape & Reel shipping media optimized for SMT production (против PIC18F2520-I/ML)
- Compact 6x6 mm QFN footprint saves board area vs SOIC-28 (против PIC18F2520T-I/SO)
- No firmware migration cost from PIC18F25K22/K50 to PIC18F2520 (против PIC18F25K22-I/ML)
Заметки по проектированию
The PIC18F2520T-I/ML must be supplied from a 4.2 V-5.5 V rail; do not attempt 3.3 V operation on the standard "I" device. Place one 100 nF X7R decoupling capacitor within 5 mm of each VDD pin (pins 20 and 28 on QFN-28), plus a 10 µF bulk electrolytic/tantalum near the IC. The MCLR pin (pin 1) requires a 10 kΩ pull-up to VDD and a 100 nF capacitor to ground for in-circuit debug noise immunity. The internal 2.5 V regulator for the core does not require an external cap on PIC18F25xx baseline parts, but verify against the silicon errata. Voltage drops below 4.2 V will trigger brown-out reset.
Estimated: At maximum 40 MHz CPU, 5 V supply, and 25 I/O all sourcing 20 mA continuously, internal dissipation reaches ~3.0 W. The 28-QFN (ML, 6x6) package has a theta_JA of ~22 C/W on a 4-layer JEDEC test board, giving a junction temperature rise of ~66 C above ambient. The exposed thermal pad (EP) must be soldered to a grounded copper pour of at least 100 mm² to maintain the rated thermal envelope; without the EP connection, theta_JA exceeds 60 C/W and the device will throttle via the internal die temperature sensor. Use a copper area of at least 25 x 25 mm on top layer.
Route the ICSP/ICD signals (PGC/PGD/MCLR/VPP) as a 4-pins wide bus to a single 0.1" header on the board edge so the MPLAB PICkit 5 or ICD 4 can be attached without rework. Keep traces short (< 50 mm) and place a 4.7 kΩ resistor on PGC/PGD for EMI. The 25 MHz HS crystal layout (when used) must have short, matched-length traces to GND with the load caps placed as close to OSC1/OSC2 as possible. Avoid routing ADC analog inputs across noisy digital lines; add a ground guard ring around analog traces per Microchip datasheet DS39631F layout section.
Three common mistakes with PIC18F2520 designs: (1) using the I-grade part at 3.3 V - the silicon fails to start below 4.2 V; (2) leaving the QFN exposed pad un-soldered, which causes thermal shutdown and poor EMI performance; (3) forgetting to configure the CONFIG words (BOREN, WDT, LVP, oscillator mode) which leaves the device in an undefined boot state. Per Microchip datasheet DS39631F, the CONFIG7H register must explicitly enable or disable the brown-out reset, and the LVP bit must be cleared for 5 V normal operation (default after erase is ON). Always verify the configuration bits with MPLAB X IPE after programming.
Информация о соответствии
RoHS compliant per Microchip product page. PIC18F2520-I/ML family variant (not the -T suffix) is AEC-Q100 qualified for automotive; PIC18F2520T-I/ML is industrial grade -40C to +85C. Halogen-free and lead-free confirmed by Microchip material declaration.