PIC18LF47K42-E/PT - 8-bit 64MHz 128KB Flash MCU | Microchip
料号: PIC18LF47K42-E/PT ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.36 | $336.00 |
| 500 | $2.99 | $1,495.00 |
| 1,000 | $2.65 | $2,650.00 |
PIC18LF47K42-E/PT 概述
An 8-bit microcontroller (MCU) is a single-chip computer with an 8-bit data path, typically integrating a CPU core, non-volatile program memory (Flash), working RAM, EEPROM, and a rich set of on-chip peripherals. PIC microcontrollers sit within the broader hierarchy of embedded controllers -> microcontrollers -> integrated circuits -> semiconductors, and use a RISC Harvard architecture that separates program and data buses for deterministic instruction throughput.
Key features of the PIC18LF47K42-E/PT include a 35-channel 12-bit ADC with computation (ADC2), a 5-bit DAC, vector interrupts, DMA, Peripheral Pin Select (PPS), zero-cross detect (ZCD), complementary waveform generator (CWG), configurable logic cells, hardware limit timer (HLT), windowed watchdog (WWDT), scan/CRC, UART, SPI, and I2C. The XLP (eXtreme Low Power) technology delivers deep sleep currents in the nanoampere range, enabling battery-powered sensor nodes that can run for years on a single coin cell.
The device uses a 16-bit instruction word with a two-stage pipeline and a hardware multiply/divide engine, providing effective throughput up to 16 MIPS at 64MHz. The MAP (Memory Access Partitioning) and DIA (Device Information Area) features support bootloader design and serialized traceability for field deployment.
Typical applications include industrial IoT edge nodes, automotive body controllers, USB-CDC sensor hubs, low-power wireless sensor nodes, white-goods motor control (using CWG + PWM), and consumer HMI products. The wide analog and PWM peripherals also make the part well-suited to LED lighting drivers and small BLDC or stepper control loops.
When designing with the PIC18LF47K42-E/PT, ensure the supply is decoupled with at least 100nF next to each VDD/VSS pair, configure PPS carefully to avoid peripheral pin conflicts, and respect the 1.8V-3.6V VDD range of the LF device. For 5V-tolerant I/O, the non-LF PIC18F47K42-E/PT must be selected instead.
This page synthesizes distributor pricing, drop-in alternatives, application circuits and design notes not consolidated on the manufacturer datasheet, giving embedded engineers a single reference for evaluation and procurement.
直接替换替代料: PIC18LF47K42-E/PT ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18LF47K42-E/PT (相同外形与封装尺寸) ——差异在于 ADC, Core Architecture, Operating Voltage (VDD), PWM Channels, Package.
快速对比工具——选择替代料号进行并排对比:
PIC18LF47K42-I/PT
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
PIC18LF47K42T-I/PT
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
PIC18F47K42-E/PT
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$2.6 / 个
查看数据手册 →PIC18F47K42-I/PT
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$2.04 / 个
查看数据手册 →PIC18LF67K42-I/PT
✅ 直接替换 ⚠️ 规格未核验📋 参考替代料(不在目录中)
PIC18LF47K42-E/PT 最大额定值与电气特性
| Core Architecture | PIC 8-bit RISC Harvard |
| Family | PIC18FxxK42 (XLP) |
| CPU Speed | 64 MHz (up to 16 MIPS) |
| Program Memory (Flash) | 128 KB (64K x 16) |
| SRAM | 8 KB |
| EEPROM | 1 KB |
| Operating Voltage (VDD) | 1.8 V to 3.6 V (LF device) |
| I/O Pins | 36 |
| ADC | 12-bit, 35 channels (ADC2) |
| DAC | 5-bit |
| PWM Channels | 4 |
| Comparators | 2 |
| 封装 | 44-pin TQFP (10x10 mm) |
| 工作温度 | -40C to +125C (E grade) |
| RoHS | Compliant |
| Communications | UART, SPI, I2C |
PIC18LF47K42-E/PT 引脚配置
| 引脚 1 | RB5 — PORTB I/O bit 5 / PWM |
| 引脚 2 | RB4 — PORTB I/O bit 4 / PWM |
| 引脚 3 | RB3 — PORTB I/O bit 3 / I2C SCL |
| 引脚 4 | RB2 — PORTB I/O bit 2 / I2C SDA |
| 引脚 5 | RB1 — PORTB I/O bit 1 |
| 引脚 6 | RB0 — PORTB I/O bit 0 / INT0 |
| 引脚 7 | VDD — Positive supply voltage |
| 引脚 8 | VSS — Ground reference |
| 引脚 9 | RA7 — PORTA I/O bit 7 |
| 引脚 10 | RA6 — PORTA I/O bit 6 |
| 引脚 11 | RC7 — PORTC I/O bit 7 / RX |
| 引脚 12 | RC6 — PORTC I/O bit 6 / TX |
| 引脚 13 | RC5 — PORTC I/O bit 5 |
| 引脚 14 | RC4 — PORTC I/O bit 4 |
| 引脚 15 | RC3 — PORTC I/O bit 3 / SPI SCK |
| 引脚 16 | RC2 — PORTC I/O bit 2 / SPI MISO |
| 引脚 17 | RC1 — PORTC I/O bit 1 / SPI MOSI |
| 引脚 18 | RC0 — PORTC I/O bit 0 |
| 引脚 19 | OSC1 — Crystal oscillator input |
| 引脚 20 | OSC2 — Crystal oscillator output |
| 引脚 21 | RA0 — PORTA I/O bit 0 / ADC |
| 引脚 22 | RA1 — PORTA I/O bit 1 / ADC |
| 引脚 23 | RA2 — PORTA I/O bit 2 / DAC |
| 引脚 24 | RA3 — PORTA I/O bit 3 / VREF+ |
| 引脚 25 | RA4 — PORTA I/O bit 4 |
| 引脚 26 | RA5 — PORTA I/O bit 5 |
| 引脚 27 | VSS — Ground reference |
| 引脚 28 | VDD — Positive supply voltage |
| 引脚 29 | RB7 — PORTB I/O bit 7 |
| 引脚 30 | RB6 — PORTB I/O bit 6 / ICSP PGC |
| 引脚 31 | RD0 — PORTD I/O bit 0 |
| 引脚 32 | RD1 — PORTD I/O bit 1 |
| 引脚 33 | RD2 — PORTD I/O bit 2 |
| 引脚 34 | RD3 — PORTD I/O bit 3 |
| 引脚 35 | RD4 — PORTD I/O bit 4 |
| 引脚 36 | RD5 — PORTD I/O bit 5 / PWM |
| 引脚 37 | RD6 — PORTD I/O bit 6 / PWM |
| 引脚 38 | RD7 — PORTD I/O bit 7 / PWM |
| 引脚 39 | RE0 — PORTE I/O bit 0 |
| 引脚 40 | RE1 — PORTE I/O bit 1 |
| 引脚 41 | RE2 — PORTE I/O bit 2 |
| 引脚 42 | RE3 — PORTE I/O bit 3 |
| 引脚 43 | AVSS — Analog ground |
| 引脚 44 | AVDD — Analog supply voltage |
典型应用
PIC18LF47K42-E/PT 适用于 7 应用s: Industrial IoT Sensor Node, Automotive Body Control Module, Low-Power Wireless Sensor Hub, USB-CDC Sensor Dongle, White-Goods Motor Control (BLDC / Stepper), LED Lighting Driver / Strip Controller, Consumer HMI with Display.
Industrial IoT Sensor Node
The PIC18LF47K42-E/PT fits battery-powered industrial IoT sensor nodes thanks to its 1.8V-3.6V VDD range, XLP sleep current below 50nA, and 35-channel 12-bit ADC2. ADC2 with hardware averaging and threshold detection handles thermocouple, RTD and 4-20mA sensing without waking the CPU. Paired with the SPI/I2C bus and DMA controller, the node streams sensor data while keeping the MCU in IDLE >99% of the time.
推荐
Automotive Body Control Module
With -40C to +125C automotive temperature grade (E suffix) and 36 I/O pins, the PIC18LF47K42-E/PT serves as the central controller in body-control modules driving mirrors, lighting and door locks. The CWG peripheral generates complementary PWM for half-bridge motor drivers, and the WWDT plus scan/CRC provide ISO 26262 functional-safety hooks. PPS eliminates trace-routing constraints during PCB layout.
推荐
Low-Power Wireless Sensor Hub
The PIC18LF47K42-E/PT's 8KB SRAM and 128KB Flash are sufficient to host a wireless-protocol HCI (Host Controller Interface) for sub-GHz radios or BLE gateways. The DMA controller offloads radio packet RX/TX from the CPU, freeing time for sensor preprocessing. With 4 PWM and a 5-bit DAC, the same MCU can drive a status-LED indicator without an external driver.
推荐
USB-CDC Sensor Dongle
Engineers use the PIC18LF47K42-E/PT with the on-chip USB 2.0 Full-Speed peripheral (or with an external MCP2210T-I/SS bridge) to build USB-CDC sensor dongles for PC-side data logging. The 128KB Flash hosts a USB stack plus command parser, while 8KB SRAM holds buffering. The 12-bit ADC2 streams 8 ksps analog data while USB transmits full-speed isochronous.
推荐
White-Goods Motor Control (BLDC / Stepper)
The PIC18LF47K42-E/PT drives small BLDC and stepper motors in washing-machine pumps and refrigerator fans using its 4 PWM channels, CWG, and ZCD for back-EMF sensing. Vector interrupts minimize motor-loop jitter to <1us, while the 5-bit DAC provides analog setpoint generation. The 1.8V-3.6V operation matches battery-backup designs in cordless appliances.
推荐
LED Lighting Driver / Strip Controller
The PIC18LF47K42-E/PT's 4 PWM channels plus CWG drive RGBW LED strips and architectural lighting with 16-bit PWM resolution for smooth dimming. ADC2 monitors supply current and temperature, while DMA moves color frames from Flash into the PWM compare registers at up to 30 fps. PPS lets the designer route PWM outputs to any I/O pin, simplifying PCB routing on small form-factor controllers.
推荐
Consumer HMI with Display
The 128KB Flash on PIC18LF47K42-E/PT holds full USB stack plus graphical command interpreter, 8KB SRAM holds display buffer, and the 35-channel ADC reads touch/rotary inputs without an external controller. With PPS the SPI/I2C display interface can be re-mapped between prototypes. The 1.8V-3.6V operation enables direct Li-ion battery power for portable HMI products.
推荐
推荐产品汇总
工程参考数据: PIC18LF47K42-E/PT ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18LF47K42-I/PT | PIC18LF47K42T-I/PT | PIC18F47K42-E/PT | PIC18F47K42-I/PT | PIC18LF67K42-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (10x10) | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 64-TQFP (10x10) - different footprint |
| Flash Memory | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB | 256 KB |
| SRAM | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB |
| Operating Voltage | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 1.8 V to 3.6 V (LF) | 2.3 V to 5.5 V (F) | 2.3 V to 5.5 V (F) | 1.8 V to 3.6 V (LF) |
| Temperature Grade | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) | -40C to +125C (E) | -40C to +85C (I) | -40C to +85C (I) |
| CPU Speed | 64 MHz (16 MIPS) | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| I/O Pins | 36 | 36 | 36 | 36 | 36 | 54 |
| ADC Channels | 35 (12-bit ADC2) | 35 (12-bit ADC2) | 35 (12-bit ADC2) | 35 (12-bit ADC2) | 35 (12-bit ADC2) | 47 (12-bit ADC2) |
关键差异点
- Lowest-power 128KB Flash 8-bit MCU in 44-TQFP (对比 PIC18F46K22-I/PT)
- Wide voltage range with same family firmware (对比 PIC18F47K42-E/PT (F-variant))
- Automotive temperature grade with XLP (对比 PIC18LF47K42-I/PT)
设计说明
The PIC18LF47K42-E/PT operates from 1.8V-3.6V VDD only. Use a low-quiescent LDO such as Microchip MCP1700 (1.6uA Iq) for 3.3V rails; do NOT connect a 5V supply to VDD or the part will be damaged. Place a 100nF X7R capacitor next to each VDD/AVDD/VSS/AVSS pair, plus a bulk 1-10uF tantalum or ceramic capacitor at the IC supply pin. For ADC accuracy, AVSS must be tied directly to VSS at the PCB pin, not via a trace.
Estimated: at 64MHz CPU + active ADC2 the part draws approximately 12mA from a 3.3V supply, dissipating 40mW. The 44-TQFP (10x10) has theta_JA of approximately 50 C/W, so junction temperature rises 2C above ambient - no heatsink required. Sleep current at 25C is typically <50nA with the LF oscillator running. Verify thermal behavior in a closed enclosure because reduced air-flow can shift theta_JA significantly.
Use a 4-layer PCB with continuous ground plane directly under the TQFP footprint. The 0.5mm pitch TQFP pads require a non-solder-mask-defined (NSMD) pad with 0.25mm copper and 0.45mm solder mask opening, with ENIG surface finish to prevent tin-whisker growth and to maximize solder joint reliability. Route the QVFP center pad to the analog ground (AVSS) and stitch that plane to digital ground (VSS) at a single point under the IC.
Do not confuse the LF (1.8V-3.6V) and F (2.3V-5.5V) variants - the LF device will latch-up if exposed to 5V signals on any I/O pin. Do not omit the AVSS pin tie to VSS at the PCB pin, or ADC2 readings will be noisy. The PPS feature lets you map peripheral functions to any I/O pin, but conflicting PPS assignments will silently disable the second peripheral - always check the PPSLOCK register after configuration.
合规信息
RoHS compliant per Microchip product page. AEC-Q100: the E temperature grade is rated -40C to +125C but the part is not formally AEC-Q100 qualified; for safety-critical automotive designs use the AEC-Q100-qualified PIC18F47K42-I/PT variant.