PIC18F26K40-E/ML - 8-Bit 64MHz 64KB Flash MCU | Microchip
N.º de pieza: PIC18F26K40-E/ML ✓ Activo| Cant. | Precio unitario | Total |
|---|---|---|
| 1 | $1.975 | $1,98 |
| 10 | $1.78 | $17,80 |
| 100 | $1.52 | $152,00 |
| 500 | $1.31 | $655,00 |
| 1.000 | $1.15 | $1.150,00 |
| 3.000 | $1.02 | $3.060,00 |
PIC18F26K40-E/ML Descripción general
A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and programmable I/O. PIC18 microcontrollers use an enhanced 8-bit RISC architecture that sits between simple 8-bit MCUs and 32-bit ARM Cortex-M cores in performance/complexity. They are widely used in cost-sensitive embedded designs where deterministic behavior, low power, and rich analog integration matter more than raw MIPS.
Key features include 64MHz core speed, 10-bit ADC with computation (ADC2), 5-bit DAC, comparators, PWM, CCP, CWG, HLT, WWDT, and communication peripherals such as EUSART, SPI, and I2C. The device also provides Peripheral Pin Select (PPS) for flexible pin assignment and operates across 2.3V-5.5V with low-power sleep modes.
The architecture combines a Harvard-style CPU with self-programmable Flash and Hardware Limiter Timer, ideal for functional-safety and motor-control loops. The CWG (Complementary Waveform Generator) and Zero-Cross Detect (ZCD) peripherals enable advanced power-conversion topologies without burdening the core.
Typical applications include consumer appliance control, LED lighting, low-power sensor nodes, motor control, USB-CDC bridges, and industrial IoT endpoints where low sleep current and 5V I/O tolerance simplify design.
When designing with this device, leverage CIPs to keep the CPU asleep longer for lower average current, and reserve PPS routing for SPI/I2C remapping when PCB layout forces pin reassignment.
Alternativas directas para PIC18F26K40-E/ML — mismo encapsulado, compatible pin a pin. Se excluyen las piezas de otro encapsulado que requieren retrabajo de la PCB.
Variantes de esta serie
Modelos de la misma serie compatibles directamente con PIC18F26K40-E/ML (mismo factor de forma y huella) — difiere en Operating Temperature, Package, ADC, DAC, Program Memory (Flash).
Herramienta de comparación rápida — seleccione piezas alternativas para compararlas lado a lado:
PIC18F26K40-I/ML
✅ Sustitución directa✓ En stock
$1.78 / unidad
Ver hoja de datos →PIC18F26K40-E/MLVAO
✅ Sustitución directa✓ En stock
$1.74 / unidad
Ver hoja de datos →PIC18LF26K40-I/ML
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F26K40-E/SP
✅ Sustitución directa📋 Alternativa de referencia (no en el catálogo)
PIC18F26K40-E/SO
✅ Sustitución directa✓ En stock
$1.52 / unidad
Ver hoja de datos →PIC18F26K40-E/SS
✅ Sustitución directa✓ En stock
$1.65 / unidad
Ver hoja de datos →PIC18F26K40-E/ML Valores máximos y características eléctricas
| Core Architecture | PIC18 8-bit RISC |
| Program Memory (Flash) | 64 KB (32K x 16) |
| RAM | 4 KB |
| EEPROM | 256 B |
| Maximum CPU Speed | 64 MHz |
| Operating Voltage | 2.3 V to 5.5 V |
| Encapsulado | 28-QFN (6x6 mm) |
| I/O Pins | 25 |
| ADC | 10-bit ADC2 |
| DAC | 5-bit DAC |
| Comparators | Yes |
| PWM Channels | PWM, CCP, CWG |
| Communication | EUSART, SPI, I2C |
| Special Features | XLP, WWDT, CRC/SCAN, ZCD, PPS, HLT |
| Temperatura de funcionamiento | -40C to +125C |
| Tipo de montaje | Surface Mount |
| Estado RoHS | Compliant |
| Nivel MSL | 3 (168 hours) |
Configuración de pines de PIC18F26K40-E/ML
| Pin 1 | RA2 — Port A digital I/O / analog input |
| Pin 2 | RA3 — Port A digital I/O / analog input |
| Pin 3 | RA4 — Port A digital I/O / analog input |
| Pin 4 | RA5 — Port A digital I/O / analog input |
| Pin 5 | VSS — Ground reference |
| Pin 6 | RA7 — Port A digital I/O / analog input |
| Pin 7 | RA6 — Port A digital I/O / analog input |
| Pin 8 | RC0 — Port C digital I/O / analog input |
| Pin 9 | RC1 — Port C digital I/O / analog input |
| Pin 10 | RC2 — Port C digital I/O / analog input |
| Pin 11 | RC3 — Port C digital I/O / analog input |
| Pin 12 | RC4 — Port C digital I/O / analog input |
| Pin 13 | RC5 — Port C digital I/O / analog input |
| Pin 14 | RC6 — Port C digital I/O / analog input |
| Pin 15 | RC7 — Port C digital I/O / analog input |
| Pin 16 | VSS — Ground reference |
| Pin 17 | RB7 — Port B digital I/O / analog input |
| Pin 18 | RB6 — Port B digital I/O / analog input |
| Pin 19 | RB5 — Port B digital I/O / analog input |
| Pin 20 | RB4 — Port B digital I/O / analog input |
| Pin 21 | RB3 — Port B digital I/O / analog input |
| Pin 22 | RB2 — Port B digital I/O / analog input |
| Pin 23 | RB1 — Port B digital I/O / analog input |
| Pin 24 | RB0 — Port B digital I/O / analog input |
| Pin 25 | VDD — Positive supply voltage |
| Pin 26 | RA1 — Port A digital I/O / analog input |
| Pin 27 | RA0 — Port A digital I/O / analog input |
| Pin 28 | VDD — Positive supply voltage |
Aplicaciones típicas
PIC18F26K40-E/ML es adecuado para 6 aplicacións: Consumer Appliance Control, LED Lighting Drivers, Low-Power IoT Sensor Nodes, Small Motor Control (BLDC/Fan), Industrial Control Modules, Automotive Body Electronics.
Consumer Appliance Control
The PIC18F26K40-E/ML is ideal for consumer appliance control boards such as washing machines, dishwashers, and microwave ovens. Its 64KB Flash accommodates state-machine firmware plus user-interface code, while the CWG and PWM peripherals drive triac-controlled AC loads and brushless DC motors. The 5V I/O tolerance interfaces directly to legacy triac drivers and zero-cross detectors without level shifters, reducing BOM cost. XLP sleep modes below 100 nA enable Energy Star standby compliance, and the 10-bit ADC2 reads NTC temperature sensors for safety cutoffs. Compared to 32-bit MCUs, the PIC18 core offers deterministic interrupt latency critical for appliance safety standards.
Recomendado
LED Lighting Drivers
The PIC18F26K40-E/ML excels in LED lighting applications including architectural dimmers, RGBW controllers, and horticultural fixtures. Its CWG peripheral generates complementary PWM outputs for synchronous buck converter FET drivers, while ZCD synchronizes dimming to AC line frequency for flicker-free TRIAC dimmer compatibility. The 5-bit DAC provides analog dimming reference for constant-current LED drivers, and 25 I/O pins handle multiple LED channels plus DMX-512 or DALI communication via EUSART. EEPOM stores calibration data, and PPS allows SPI/I2C remapping when routing high-current traces forces pin reassignment.
Recomendado
Low-Power IoT Sensor Nodes
The PIC18F26K40-E/ML is well-suited for battery-powered wireless sensor endpoints monitoring temperature, humidity, or vibration. XLP technology with sleep currents below 100 nA extends coin-cell life to multiple years, and Core Independent Peripherals (CIPs) like CRC/SCAN verify sensor data without waking the CPU. The EUSART interfaces directly to sub-GHz transceivers or BLE modules, while 64KB Flash stores application code plus OTA bootloader for field upgrades. ADC2 with computation averages multiple samples for noise-immune readings, and PPS lets designers optimize PCB antenna keep-out zones by remapping SPI lines.
Recomendado
Small Motor Control (BLDC/Fan)
The PIC18F26K40-E/ML drives small brushless DC motors in fans, pumps, and PC case cooling. The CWG generates six-step or FOC commutation signals with hardware dead-band insertion, and the QEI peripheral module reads Hall sensors or back-EMF for closed-loop speed control. 64MHz CPU speed executes field-oriented control loops at 16 kHz PWM, while the comparator protects against shoot-through faults. Compared to dedicated motor controllers, the PIC18F26K40-E/ML integrates communications (UART/SPI/I2C) for Modbus or CAN bridging without external ASICs, reducing system cost.
Recomendado
Industrial Control Modules
The PIC18F26K40-E/ML serves in industrial PLC expansion modules, signal conditioners, and process-control transmitters. Its 5V tolerance connects directly to 4-20 mA current loops and 24V sensor bridges via external resistors, while 10-bit ADC2 with computation handles ratiometric measurements with auto-zero calibration. The EUSART supports RS-485 Modbus RTU with hardware address detection, and 256B EEPROM stores calibration constants and Modbus registers. PPS routes SPI/I2C to optimal PCB locations when optocouplers or isolators constrain pin choices.
Recomendado
Automotive Body Electronics
The PIC18F26K40-E/ML powers body-control modules for window lifters, seat controllers, and interior lighting. Its extended -40C to +125C temperature range plus 5V tolerance suits 12V automotive bus environments, while CWG drives H-bridge MOSFETs with hardware dead-band preventing shoot-through. LIN-compatible EUSART interfaces to body network, and ZCD synchronizes PWM to electrical noise for EMC compliance. For AEC-Q100 qualified variants, designers select the PIC18F26K40-E/MLVAO suffix which shares identical firmware and pinout.
Recomendado
Resumen de productos recomendados
Datos de referencia de ingeniería para PIC18F26K40-E/ML — comparación, orientación de diseño e información de cumplimiento.
Guía de selección
Comparación con alternativas
| Parámetro | Este producto | PIC18F26K40-I/ML | PIC18F26K40-E/MLVAO | PIC18LF26K40-I/ML | PIC18F26K40-E/SP |
|---|---|---|---|---|---|
| Package | 28-QFN (6x6) | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-QFN (6x6) - same | 28-SPDIP - same pinout |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | |
| Operating Temperature | -40C to +125C | -40C to +85C | -40C to +125C (AEC-Q100) | -40C to +85C | |
| Operating Voltage | 2.3V to 5.5V | 2.3V to 5.5V | 2.3V to 5.5V | 1.8V to 3.6V | |
| Flash Memory | 64 KB | 64 KB | 64 KB | 64 KB | |
| RAM | 4 KB | 4 KB | 4 KB | 4 KB | |
| EEPROM | 256 B | 256 B | 256 B | 256 B | |
| Automotive Qualified | No (extended temp) | No (industrial) | Yes (AEC-Q100) | No (industrial) |
Diferenciadores clave
- Core Independent Peripherals reduce CPU wake-ups (frente a PIC18F26K22-I/ML)
- 5V tolerance simplifies industrial interfaces (frente a PIC18LF26K40-I/ML)
- Extended temperature range supports harsh environments (frente a PIC18F26K40-I/ML)
Notas de diseño
The PIC18F26K40-E/ML supports XLP sleep modes with currents below 100 nA when properly configured. Disable unused peripherals via PMD (Peripheral Module Disable) registers to achieve lowest sleep current. Use the RTC with external 32.768 kHz crystal for periodic wake-up; avoid WDT-only wake-up when timing precision matters. Estimated: with all peripherals disabled and Sleep mode entered, typical IDD is ~50 nA at 3V.
The 28-QFN package has an exposed thermal pad (EP) that MUST be soldered to the PCB ground plane for proper heat dissipation and electrical performance. Place at least 4 thermal vias in the EP land pattern connecting to internal ground planes. Place decoupling capacitors (100 nF ceramic) on both VDD pins (25 and 28) within 3 mm of the package, plus a bulk 10 uF tantalum or ceramic near the supply entry.
Do not confuse the PIC18F26K40 (5V) with PIC18LF26K40 (3.3V max). Operating the LF variant above 3.6V causes permanent damage. Configure PPS carefully: some peripherals lock pin selections at startup; remapping mid-runtime requires unlocking the PPS registers via the IOLOCK bit sequence. When migrating from PIC18F26K22, verify ADC2 register map differs - existing code requires recompilation.
Información de cumplimiento
RoHS and REACH compliant per Microchip product page. Standard variant is not AEC-Q100 qualified; choose PIC18F26K40-E/MLVAO for automotive applications.