PIC18F47K40T-I/ML - 8-Bit 64MHz 128KB Flash XLP MCU | Microchip
MPN: PIC18F47K40T-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.2 | $3.20 |
| 10 | $2.88 | $28.80 |
| 100 | $2.55 | $255.00 |
| 500 | $2.3 | $1,150.00 |
| 1,000 | $2.1 | $2,100.00 |
PIC18F47K40T-I/ML Overview
An 8-bit microcontroller (MCU) is a single-chip computer that combines an 8-bit CPU core, program and data memory, and a heterogeneous set of digital and analog peripherals on one die. Within the broader semiconductor hierarchy, an MCU is a sub-class of microcomputer -> processor -> semiconductor. 8-bit PIC microcontrollers sit at the cost-optimized end of the MCU family tree, with the PIC18 sub-family adding enhanced peripherals, linear memory and 16-bit instruction support while preserving architectural simplicity.
Key features include 10-bit ADC with Computation (ADC2), 5-bit DAC, comparators, multiple PWM/CCP channels, EUSART, SPI/I2C, and three power-managed operating modes (IDLE, DOZE, PMD). The TSSOP/QFN variants provide up to 36 I/O pins. The "T" suffix denotes Tape and Reel packaging while "I" specifies the industrial -40C to +85C operating range.
Architecturally, the PIC18F47K40 uses a C-compiler-optimized RISC core with hardware multiplier, 32-level stack, and vectored interrupts. XLP nanoWatt technology delivers sub-uA sleep currents, allowing battery-powered designs to extend operating life. PPS provides flexible signal routing between digital peripherals and pins, allowing re-mapping of functions on the same PCB layout.
Typical applications include low-power IoT sensor nodes, home appliance control, industrial HMI/keypad controllers, USB-to-UART bridges, LED lighting controllers, and general-purpose embedded control. The wide 5 V tolerance and rich analog make it equally suitable for 3.3 V and 5 V rails.
When designing with this device, allocate the ICSP/PGD/PGC pins on dedicated test points so the part can be re-programmed in-circuit, and verify that PPS remapping does not collide with peripheral features. The 44-QFN requires thermal pad soldering to the PCB ground pour for proper electrical and thermal performance.
This page synthesizes distributor pricing, verified drop-in alternatives drawn from the same PIC18F47K40 family, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC18F47K40T-I/ML — 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 PIC18F47K40T-I/ML (same form factor and footprint) — differing in ADC, DAC, Package, Communication, Comparators.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC18F47K40-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F47K40T-E/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC18F46K40T-I/ML
✅ Drop-In✓ In Stock
$1.62 / Unit
View Datasheet →PIC18F46K42T-I/ML
✅ Drop-In✓ In Stock
$2.04 / Unit
View Datasheet →PIC18F47K42T-I/ML
✅ Drop-In✓ In Stock
$2.5 / Unit
View Datasheet →PIC18F47K40T-I/ML Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC18 8-bit RISC |
| Family | PIC XLP 18K |
| CPU Core | PIC18 (8-bit) |
| Maximum Clock Frequency | 64 MHz |
| Program Memory (Flash) | 128 KB (64K x 16) |
| SRAM | 4 KB |
| EEPROM | 256 B |
| Operating Voltage Range | 2.3 V to 5.5 V |
| Operating Temperature Range | -40C to +85C (Industrial) |
| I/O Pins | 36 |
| ADC | 10-bit ADC with Computation (ADC2) |
| DAC | 5-bit DAC |
| Communication | EUSART, SPI, I2C |
| Core Independent Peripherals | CWG, WWDT, CRC/Memory Scan, Hardware CVD, ZCD, PPS |
| PWM / CCP | Multiple PWM and CCP channels |
| Comparators | Yes |
| Package | 44-QFN (8x8 mm) with exposed pad |
| Packaging Suffix | T = Tape and Reel; I = Industrial temp grade; ML = 44-QFN |
| RoHS Status | Compliant |
PIC18F47K40T-I/ML Pin Configuration
| Pin 1 | RA0 — Bidirectional I/O with analog and interrupt functions |
| Pin 2 | RA1 — Bidirectional I/O with analog and interrupt functions |
| Pin 3 | RA2 — Bidirectional I/O with analog and interrupt functions |
| Pin 4 | RA3 — Bidirectional I/O with analog and interrupt functions |
| Pin 5 | RA4 — Bidirectional I/O with analog and interrupt functions |
| Pin 6 | RA5 — Bidirectional I/O with analog and interrupt functions |
| Pin 7 | RA6 — Bidirectional I/O with analog and interrupt functions |
| Pin 8 | RA7 — Bidirectional I/O with analog and interrupt functions |
| Pin 9 | VSS — Ground reference |
| Pin 10 | RA7/OSC2 — Bidirectional I/O / oscillator output |
| Pin 11 | RC0 — Bidirectional I/O |
| Pin 12 | RC1 — Bidirectional I/O |
| Pin 13 | RC2 — Bidirectional I/O |
| Pin 14 | RC3 — Bidirectional I/O |
| Pin 15 | RC4 — Bidirectional I/O |
| Pin 16 | RC5 — Bidirectional I/O |
| Pin 17 | RC6 — Bidirectional I/O |
| Pin 18 | RC7 — Bidirectional I/O |
| Pin 19 | VSS — Ground reference |
| Pin 20 | VDD — Positive supply voltage |
| Pin 21 | RB0 — Bidirectional I/O with interrupt-on-change |
| Pin 22 | RB1 — Bidirectional I/O with interrupt-on-change |
| Pin 23 | RB2 — Bidirectional I/O with interrupt-on-change |
| Pin 24 | RB3 — Bidirectional I/O with interrupt-on-change |
| Pin 25 | RB4 — Bidirectional I/O with interrupt-on-change |
| Pin 26 | RB5 — Bidirectional I/O with interrupt-on-change |
| Pin 27 | RB6 — Bidirectional I/O / ICSP PGC |
| Pin 28 | RB7 — Bidirectional I/O / ICSP PGD |
| Pin 29 | VPP/MCLR/RE3 — Programming voltage / Master Clear / I/O |
| Pin 30 | VDD — Positive supply voltage |
| Pin 31 | VSS — Ground reference |
| Pin 32 | RD0 — Bidirectional I/O |
| Pin 33 | RD1 — Bidirectional I/O |
| Pin 34 | RD2 — Bidirectional I/O |
| Pin 35 | RD3 — Bidirectional I/O |
| Pin 36 | RD4 — Bidirectional I/O |
| Pin 37 | RD5 — Bidirectional I/O |
| Pin 38 | RD6 — Bidirectional I/O |
| Pin 39 | RD7 — Bidirectional I/O |
| Pin 40 | VSS — Ground reference |
| Pin 41 | RE0 — Bidirectional I/O |
| Pin 42 | RE1 — Bidirectional I/O |
| Pin 43 | RE2 — Bidirectional I/O |
| Pin 44 | EP — Exposed thermal pad (connect to ground) |
Typical Applications
PIC18F47K40T-I/ML is suitable for 6 applications: Low-Power IoT Sensor Node, Home Appliance Control (Washing Machine / Dishwasher), Industrial HMI / Keypad Controller, USB-to-UART Bridge / Serial Gateway, LED Lighting Controller (Dimmable / Tunable White), General-Purpose Embedded Control (Motor / Fan / Pump).
Low-Power IoT Sensor Node
The PIC18F47K40T-I/ML's 64 MHz PIC18 core combined with XLP nanoWatt technology and sub-microamp sleep currents is well suited for battery-powered IoT sensor nodes that wake briefly to sample, transmit and return to deep sleep. With 128 KB of flash and 4 KB of SRAM, the MCU can host a Zigbee, LoRa or proprietary RF stack alongside sensor processing, while PPS allows flexible signal routing between the EUSART/SPI/I2C peripherals and the RF transceiver. Operating from 2.3-5.5 V lets the node share a single lithium or 2xAA battery stack without a boost converter. Compared with smaller PIC16 parts, the extra flash headroom avoids external SPI memory and reduces BOM cost.
Recommended
Home Appliance Control (Washing Machine / Dishwasher)
The PIC18F47K40T-I/ML drives front-panel keypads, LED indicators, motor-control PWM and sensor feedback in white-goods appliances. Its 10-bit ADC with Computation (ADC2) handles multiple temperature and water-level sensors with hardware averaging, freeing the core for state-machine logic. The 5-bit DAC plus comparator pair simplifies zero-cross detection for TRIAC-driven AC loads, eliminating a dedicated AC zero-cross IC. The 36 I/O pins cover keypad matrix, LED drivers, buzzer and serial diagnostics. Wide 5 V tolerance aligns with the legacy 5 V rails in appliance designs, and the -40C to +85C industrial range survives the under-cabinet thermal environment.
Recommended
Industrial HMI / Keypad Controller
Industrial HMI panels require deterministic response, multiple communication ports and robust ESD tolerance, all of which the PIC18F47K40T-I/ML delivers via its 64 MHz core, EUSART, SPI and I2C ports. With 128 KB flash, designers can integrate Modbus RTU, CANopen or proprietary protocols without external memory. The CWG (Complementary Waveform Generator) and PWM channels drive LED backlight dimming with zero CPU overhead. PPS lets the same PCB layout accommodate different keypad/display variants by remapping peripheral pins in firmware, reducing SKUs. The 44-QFN exposed pad offers low thermal resistance for the higher I/O count needed to scan 4x4 or larger key matrices.
Recommended
USB-to-UART Bridge / Serial Gateway
Although the PIC18F47K40T-I/ML does not include native USB, its 64 MHz core, ample flash and EUSART make it an excellent firmware-platform for bit-banged or external-bridge USB-to-UART converters where the PIC handles protocol translation, buffering and command parsing. 128 KB of flash comfortably fits multi-protocol stacks (RS-232, RS-485, Modbus), while 4 KB of SRAM holds full-duplex UART FIFOs. PPS lets the firmware re-route UART lines to alternative pins to resolve layout conflicts. Industrial -40C to +85C support means the gateway can live inside an electrical cabinet. Compared with PIC16 alternatives, the 47K40 reduces or eliminates external memory.
Recommended
LED Lighting Controller (Dimmable / Tunable White)
The PIC18F47K40T-I/ML integrates multiple PWM channels, a 5-bit DAC, and zero-cross detect (ZCD) that together implement leading-edge or trailing-edge TRIAC dimming, tunable-white mixing and constant-current LED driver control without external glue logic. The CWG peripheral generates complementary PWM pairs for half-bridge LED drivers, while the ADC2 channel reads back LED current for closed-loop regulation. With 128 KB flash, designers can store multi-scene lighting profiles and DMX-512 or DALI command sets. The 2.3-5.5 V supply range is friendly to both 3.3 V logic-level drivers and 5 V analog front-ends.
Recommended
General-Purpose Embedded Control (Motor / Fan / Pump)
The PIC18F47K40T-I/ML acts as the supervisory controller for low-voltage BLDC fans, small DC pumps and solenoid drivers, using its PWM channels to set speed/torque and its comparators for over-current detection. The CRC/Memory Scan peripheral verifies flash integrity at startup, an important safety check for unattended equipment. With 128 KB flash, the same MCU hosts application code plus a small bootloader for field updates. The PIC18F47K40T-I/ML's industrial -40C to +85C range and wide 5 V tolerance fit the noisy 12-24 V motor rails when paired with a simple LDO. PPS simplifies PCB routing between the MCU and the motor-driver stage.
Recommended
Recommended Products Summary
Engineering reference data for PIC18F47K40T-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC18F47K40-I/ML | PIC18F47K40T-E/ML | PIC18F46K40T-I/ML | PIC18F46K42T-I/ML | PIC18F47K42T-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-QFN (8x8 mm) | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same | 44-QFN (8x8 mm) - same |
| Flash Memory | 128 KB | 128 KB | 128 KB | 64 KB | 64 KB | 128 KB |
| SRAM | 4 KB | 4 KB | 4 KB | 3.7 KB | 3.5 KB | 4 KB |
| Maximum Clock Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| I/O Pins | 36 | 36 | 36 | 36 | 36 | 36 |
| Packaging Form | Tape and Reel | Tray | Tape and Reel | Tape and Reel | Tape and Reel | Tape and Reel |
Key Differentiators
- Industrial temperature grade with Tape and Reel delivery (vs PIC18F47K40-I/ML)
- Larger Flash and SRAM than the 46K40 sibling (vs PIC18F46K40T-I/ML)
- Extended temperature option available in same package (vs PIC18F47K40T-E/ML)
Design Notes
The 44-QFN exposed thermal pad (pin 44) MUST be soldered to a PCB ground pour of at least 1 square inch of copper to meet the datasheet thermal resistance and to provide a low-impedance ground return for the analog peripherals. Per Microchip's QFN package guidelines, the pad should have at least six thermal vias (0.3 mm drill) stitching it to inner ground planes. Failure to solder the EP typically causes electrical and thermal derating and may make ICSP programming unreliable.
Place decoupling capacitors (100 nF ceramic + 10 uF bulk) as close as possible to every VDD/VSS pair of the PIC18F47K40T-I/ML, ideally within 2 mm trace length. According to Microchip's PIC18F4xK40 hardware design checklist, separate analog and digital VDD planes if the design uses the ADC2 at high source impedance, and route the analog reference (VREF+) away from switching nodes. Keep the ICSP PGC/PGD traces short and protected with a series resistor if the production environment has ESD exposure.
PPS remapping of the EUSART, SPI or I2C pins is done at runtime but the chosen pins must NOT be configured as analog inputs, otherwise the digital peripheral will not function. According to the PIC18F47K40 family datasheet, peripherals mapped via PPS still need their TRIS bits set correctly. Also note that VPP/MCLR (pin 29) cannot be used as a general-purpose output without disabling the MCLR function via CONFIG, which forfeits the external reset capability.
Estimated: at 64 MHz and 5 V VDD, the PIC18F47K40T-I/ML core current is approximately 10-12 mA per Microchip's typical curves, so a 100 mA LDO provides ample headroom. For battery designs, switching the core to 1 MHz in IDLE mode drops active current to under 1 mA and sleep with peripherals off falls below 1 uA thanks to XLP technology. Decouple VDD with a 100 nF + 10 uF combination and place a 10 uF bulk cap near the regulator output.
Compliance Information
RoHS and REACH compliant per Microchip product page. Not AEC-Q100 qualified; PIC18F47K40T-E/ML offers extended temperature but is still consumer/industrial grade, not automotive.