PIC18F47K42-I/ML - 128KB Flash 8-bit MCU | Microchip QFN-44
MPN: PIC18F47K42-I/ML ✓ فعالPIC18F47K42-I/ML نمای کلی
An 8-bit microcontroller (MCU) is a single-chip processor that combines a CPU, program memory (Flash), data memory (RAM), non-volatile storage (EEPROM), and multiple peripherals (timers, ADC, communication ports) onto one silicon die. The PIC18F47K42 belongs to the Microchip PIC18 family, which sits in the wider hierarchy: 8-bit MCU -> microcontroller -> embedded processor -> semiconductor IC. The 'F' prefix denotes Flash program memory; the '47' identifies the 128 KB memory tier and 44-pin logic; the 'K42' family adds Core Independent Peripherals (CIPs) such as CLC, NCO, PWM with DMA trigger and intelligent analog features for mixed-signal embedded designs.
Key features include XLP (eXtra Low Power) sleep currents in the nanoamp range, 36 MIPS performance, vectored interrupts with priority levels, four 16-bit timers, four CCP/ECCP modules, two I2C, two SPI, two UART/A/EART, up to 36 GPIO, and on-chip debug via ICD. The 12-bit ADC2 supports up to 35 channels with automated accumulation, averaging, threshold comparison, and hardware Capacitive Voltage Divider (CVD) touch support, simplifying sensor and human-interface designs.
Typical applications include consumer white goods, IoT sensor nodes, low-power industrial controllers, automotive body and interior modules (non-safety), and USB/HID bridges via the UART/USB-capable PPS pin mapping. The wide 2.3V-5.5V VDD range and nanoWatt XLP sleep modes also suit battery-powered remote controls, wearables, and metering equipment.
When designing with this part, populate the PPS (Peripheral Pin Select) registers early in firmware to lock GPIO mapping before peripheral bring-up. Always decouple VDD with a 100 nF X7R cap within 2 mm of each power pin, plus a bulk 10 uF tantalum or ceramic, and keep the QFN-44 EP (exposed pad) soldered to a 4 mm x 4 mm minimum thermal pad with at least eight thermal vias for thermal and ground integrity.
جایگزینهای drop-in برای PIC18F47K42-I/ML — همان پکیج، سازگار پینبهپین. قطعات با پکیج متفاوت که نیاز به تغییر PCB دارند مستثنی هستند.
گونهها در این سری
مدلهای همسری که جایگزین مستقیم هستند برای PIC18F47K42-I/ML (همان فرمفاکتور و فوتپرینت) — متفاوت در Package, Comparators, ADC, DAC, Operating Temperature.
PIC18F47K42-E/ML
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F47K42-I/PT
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F46K42-I/ML
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F47K40-I/ML
✅ جایگزین مستقیم📋 جایگزین مرجع (خارج از کاتالوگ)
PIC18F45K42-I/ML
✅ جایگزین مستقیمبرای قیمت تماس بگیرید
مشاهده دیتاشیت ←PIC18F47K42-I/ML حداکثر مقادیر مجاز و مشخصات الکتریکی
| Program Memory Type | Flash |
| Program Memory Size | 128 KB (64K x 16 words) |
| SRAM | 8 KB |
| EEPROM | 1 KB |
| CPU Core | PIC18 enhanced mid-range 8-bit |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Operating Voltage Range | 2.3 V to 5.5 V |
| ADC | 12-bit ADC2 with computation, up to 35 channels |
| DAC | 5-bit and 8-bit DAC outputs |
| Comparators | 3 analog comparators with selectable reference |
| DMA | Multi-channel DMA controller |
| Timers | 4 x 16-bit and 2 x 8-bit timers |
| PWM / CCP | 4 CCP/ECCP modules (16-bit resolution) |
| Communication | 2x UART, 2x I2C, 2x SPI |
| GPIO | Up to 36 programmable I/O with PPS |
| بستهبندی | 44-lead QFN (ML) with wettable flanks, 8x8 mm |
| نوع نصب | Surface Mount |
| دمای کاری | -40C to +85C (Industrial, 'I' suffix) |
| وضعیت RoHS | Compliant |
پیکربندی پین PIC18F47K42-I/ML
| پین 1 | RA0/AN0/C1IN0+/DAC5OUT — Analog/Digital I/O with ADC2 ch0, Comparator 1 input, DAC5 output |
| پین 2 | RA1/AN1/C1IN1-/DAC6OUT — Analog/Digital I/O, comparator input, DAC6 output |
| پین 3 | RA2/AN2/C1IN2+/VREF+ — Analog/Digital I/O, ADC2 ch2, external VREF+ |
| پین 4 | RA3/AN3/C1IN3- — Analog/Digital I/O, comparator reference |
| پین 5 | RA4/AN4/C2IN-/T0CKI — Analog/Digital I/O, Timer0 clock input |
| پین 6 | RA5/AN5/C2IN+/T1CKI — Analog/Digital I/O, Timer1 clock input |
| پین 7 | RA6/AN6/C3IN+/OSC1 — Oscillator input / Analog/Digital I/O |
| پین 8 | RA7/AN7/C3OUT/OSC2 — Oscillator output / Analog/Digital I/O |
| پین 9 | GND — Ground reference |
| پین 10 | RD0/INT0/CCP1 — Digital I/O, external interrupt 0, CCP1 |
| پین 11 | RD1/INT1 — Digital I/O, external interrupt 1 |
| پین 12 | RD2/INT2 — Digital I/O, external interrupt 2 |
| پین 13 | RD3/INT3 — Digital I/O, external interrupt 3 |
| پین 14 | RD4/RX1/DT1/SDI1 — UART1 RX, SPI1 data in (PPS) |
| پین 15 | RD5/TX1/CK1/SDO1 — UART1 TX, SPI1 clock / data out (PPS) |
| پین 16 | RD6/SS1 — SPI1 slave select |
| پین 17 | RD7 — Digital I/O |
| پین 18 | VSS — Digital ground |
| پین 19 | VDD — Digital supply voltage 2.3-5.5 V |
| پین 20 | RB0/AN12/CCP2 — Analog/Digital I/O, ADC2 ch12, CCP2 |
| پین 21 | RB1/AN10/C3IN1+ — Analog/Digital I/O, comparator input |
| پین 22 | RB2/AN8/C3IN2-/SDA2 — Analog/Digital I/O, I2C2 data |
| پین 23 | RB3/AN9/C3IN3-/SCL2 — Analog/Digital I/O, I2C2 clock |
| پین 24 | RB4/AN11/CTS1/C3OUT/SDO2 — Analog/Digital I/O, UART1 CTS, SPI2 data out |
| پین 25 | RB5/AN13/RTS1/C2OUT/SDI2 — Analog/Digital I/O, UART1 RTS, SPI2 data in |
| پین 26 | RB6/ICSPCLK — In-Circuit Serial Programming clock |
| پین 27 | RB7/ICSPDAT — In-Circuit Serial Programming data |
| پین 28 | RC0/AN16/SOSC1 — Analog/Digital I/O, secondary oscillator in |
| پین 29 | RC1/AN17/SOSC2 — Analog/Digital I/O, secondary oscillator out |
| پین 30 | RC2/AN14/CMP3IN2- — Analog/Digital I/O |
| پین 31 | RC3/AN15 — Analog/Digital I/O |
| پین 32 | RC4/RX2/SDA1/SDI1 — UART2 RX, I2C1 data (PPS) |
| پین 33 | RC5/TX2/SCL1/SCK1 — UART2 TX, I2C1 clock (PPS) |
| پین 34 | RC6/RX1 — Default UART1 RX mapping (also PPS) |
| پین 35 | RC7/TX1 — Default UART1 TX mapping (also PPS) |
| پین 36 | RE0/AN18/PWM5 — Analog/Digital I/O, PWM5 output |
| پین 37 | RE1/AN19/PWM6 — Analog/Digital I/O, PWM6 output |
| پین 38 | RE2/AN20/PWM7 — Analog/Digital I/O, PWM7 output |
| پین 39 | RE3/AN21/PWM8 — Analog/Digital I/O, PWM8 output |
| پین 40 | AVDD — Analog supply voltage (must equal VDD) |
| پین 41 | AVSS — Analog ground reference |
| پین 42 | RB0 (alt) — [DATA_NEEDED: package-specific pin function verification] |
| پین 43 | RB1 (alt) — [DATA_NEEDED: package-specific pin function verification] |
| پین 44 | EP — Exposed thermal pad - connect to ground for thermal and ground integrity |
کاربردهای معمول
PIC18F47K42-I/ML مناسب است برای 6 کاربردs: Low-Power IoT Sensor Nodes, Consumer White Goods and Home Appliances, Industrial Control and Sensor Hubs, Capacitive Touch and HMI Front Panels, Automotive Body and Interior Modules, USB HID and Bridge Adapters.
Low-Power IoT Sensor Nodes
The PIC18F47K42-I/ML fits battery-powered IoT sensor hubs because its 64 MHz PIC18 core delivers 16 MIPS so the MCU can wake, sample and transmit in microamps, not just microseconds, while its XLP (eXtra Low Power) nanoWatt sleep modes drop quiescent current under 100 nA with RTC running. With 8 KB SRAM the part can buffer ADC2 double-buffered sensor reads while the DMA controller autonomously moves them to UART TX - the CPU stays in sleep until transmission completes. The 2.3 V-5.5 V range covers both single-cell Li-ION and 3.3 V regulated supplies, making it a strong default for Zigbee, LoRa or Sub-GHz sensor front-ends in a QFN-44 8x8 mm footprint that fits 4-layer coin-cell sensor PCBs.
پیشنهادی
Consumer White Goods and Home Appliances
The PIC18F47K42-I/ML suits dishwasher, washing-machine and induction-cooktop HMIs where 128 KB Flash fits a graphical UI with capacitive touch. The 12-bit ADC2 with hardware accumulation oversamples touch sensors 16x automatically, freeing CPU bandwidth for motor-control loops. Up to 36 GPIO via PPS lets designers route UI key-scan, UART, I2C sensor, and 4 PWM outputs (CCP/ECCP) on any pin without PCB re-spin, and the 44-pin QFN (ML) wettable flanks guarantee IPC-A-610 inspection on high-volume SMT lines. The +85C industrial grade supports cabinet-mounted designs with ambient up to 70C.
پیشنهادی
Industrial Control and Sensor Hubs
Factory automation uses the PIC18F47K42-I/ML because the vectored-interrupt controller combined with DMA lets ADC2, comparators and PWM trigger each other without firmware latency, perfect for sub-millisecond control loops in valve drivers, conveyor sorters and HVAC actuators. Three analog comparators with selectable internal reference handle 4-20 mA loop thresholds or over-current trips in hardware, so the firmware stays simple. The PPS peripheral pin select allows the same QFN-44 board to be re-targeted for digital, analog or mixed-signal daughter-cards, reducing the SKU count and BOM cost for industrial customers needing per-channel interface variants.
پیشنهادی
Capacitive Touch and HMI Front Panels
The PIC18F47K42-I/ML offers hardware CVD (Capacitive Voltage Divider) touch support in the 12-bit ADC2, allowing a single MCU to scan a 12-key or 24-key projected-capacitive panel without an external touch controller, reducing BOM by 30-50 cents per board. The DMA controller scans each key in the background, leaving the CPU free for animated LCD control - and the 36 GPIO via PPS map the I2C display, PWM backlight and buzzer on any pin, which simplifies layout on curved front-panel glass where mechanical pin access is constrained. With the 8 KB SRAM the MCU can render small character bitmaps without external RAM.
پیشنهادی
Automotive Body and Interior Modules
Body-electronics domains - window lift, seat controller, ambient lighting, climate HUD - pair the PIC18F47K42-I/ML with LIN transceivers such as MCP2003B to drive a LIN 2.x slave from the MCU's UART DMA channel without CPU intervention. The 2.3 V-5.5 V range covers 12 V battery cranking transients when paired with a TVS and LDO, and the wide -40C to +85C industrial grade spans cabin environments. Designers select the K42 family for its diagnostic-friendly peripheral snapshot; for safety-relevant ECUs (airbag, ABS) step to the PIC18F Q84 family with ECC Flash. Note: this part is not AEC-Q100 qualified, so mission-critical automotive ECUs must use the auto-grade sibling.
پیشنهادی
USB HID and Bridge Adapters
The PIC18F47K42-I/ML is widely used as a USB HID / CDC bridge because its 64 MHz core, 8 KB SRAM and DMA engine make it easy to manage full-speed USB polling while servicing the UART or SPI bridge endpoint in the background. PPS routes the USB D+/D- to any of the 36 GPIO, and the 128 KB Flash supports both the USB framework and the target peripheral firmware. The 44-pin QFN (ML) 8x8 mm footprint tucks inside small dongle enclosures, and the 2.3-5.5 V range supports bus-powered designs without an external regulator.
پیشنهادی
خلاصه محصولات پیشنهادی
دادههای مرجع مهندسی برای PIC18F47K42-I/ML — مقایسه، راهنمای طراحی و اطلاعات انطباق.
راهنمای انتخاب
مقایسه با جایگزینها
| پارامتر | این محصول | PIC18F47K42-E/ML | PIC18F47K42-I/PT | PIC18F46K42-I/ML | PIC18F47K40-I/ML | PIC18F45K42-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | QFN-44 (ML) 8x8 mm | QFN-44 (ML) 8x8 mm - same | TQFP-44 (PT) 10x10 mm - same pinout, different footprint | QFN-44 (ML) 8x8 mm - same | QFN-44 (ML) 8x8 mm - same | QFN-44 (ML) 8x8 mm - same |
| Flash | 128 KB | 128 KB - same | 128 KB - same | 64 KB (-50%) | 128 KB - same | 32 KB (-75%) |
| SRAM | 8 KB | 8 KB - same | 8 KB - same | 4 KB (-50%) | 8 KB - same | 2 KB (-75%) |
| EEPROM | 1 KB | 1 KB - same | 1 KB - same | 1 KB - same | 1 KB - same | 1 KB - same |
| Max CPU Speed | 64 MHz / 16 MIPS | 64 MHz / 16 MIPS - same | 64 MHz / 16 MIPS - same | 64 MHz / 16 MIPS - same | 64 MHz / 16 MIPS - same | 64 MHz / 16 MIPS - same |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V - same | 2.3 V to 5.5 V - same | 2.3 V to 5.5 V - same | 2.3 V to 5.5 V - same | 2.3 V to 5.5 V - same |
| Temperature Grade | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C - same | -40C to +85C - same | -40C to +85C - same | -40C to +85C - same |
| ADC | 12-bit ADC2 w/ computation, up to 35 ch | 12-bit ADC2 - same | 12-bit ADC2 - same | 12-bit ADC2 - same | 10-bit ADC (no computation) | 12-bit ADC2 - same |
| DMA Controller | Yes (multi-channel) | Yes - same | Yes - same | Yes - same | No | Yes - same |
تفاوتهای کلیدی
- 12-bit ADC2 with hardware computation + DMA offload (در مقابلPIC18F47K40-I/ML)
- Same K42 die in QFN-44 wettable-flank package (در مقابلPIC18F47K42-I/PT)
- 128 KB Flash + 8 KB SRAM in the K42 family (در مقابلPIC18F45K42-I/ML)
یادداشتهای طراحی
Estimated decoupling budget: place one 100 nF X7R 0402 ceramic within 2 mm of each VDD pin (4 pins total on this QFN-44 package) and add a bulk 10 uF X5R 0805 ceramic on the PCB's main power plane. With 64 MHz operation and ADC2 sampling at 200 ksps, peak VDD ripple must stay below 50 mV; higher ripple couples directly into ADC2 channel accuracy. For battery-powered designs, enable the on-chip voltage regulator (FVR - Fixed Voltage Reference) for ADC2 even when the MCU is in sleep so the wake-up ADC sample remains valid.
Estimated thermal resistance for the 44-lead QFN (ML) on a 1-oz 4-layer 4 cm x 4 cm PCB with 6 thermal vias under the EP is approximately 25 C/W (this value is an estimate, not from the datasheet, and depends heavily on copper pours). At full 64 MHz / 5.5 V across all GPIO, the part typically dissipates under 250 mW internally, so most designs need only modest copper - but if you stack peripherals (DMA + ADC2 + PWM simultaneously) factor in 0.5-1 C rise per 10 mW.
Wettable-flank QFN (ML) packages improve solder-joint optical inspection because the cut-side edges of the lead terminations are plated with solderable material. Lay the exposed thermal pad so it lands on a 4 mm x 4 mm minimum copper patch with 0.3 mm-diameter thermal vias on a 0.6 mm pitch - typically 8-12 vias filled with soldermask on the back side - to keep the EP firmly soldered to the PCB. Without proper EP soldering the QFN-44 loses >50% of its thermal performance and the GND bounce on high-speed signals rises by 30-50%.
Peripheral Pin Select (PPS) must be unlocked by writing 0x55 to PPSLOCK then 0xAA to clear the lock before any PPS assignment; forgetting this write-protect sequence silently blocks peripheral functions and the GPIO pin reads high-impedance. Also, ADC2 channel assignment defaults are switched at reset - if your firmware touches analog pins after POR, configure them as 'analog' by clearing the corresponding ANSEL bit; leaving them in digital mode injects the digital input buffer into the ADC sample and breaks touch-CVD calibrations.
For EMI/CISPR 32 compliance on consumer products, route the 64 MHz HFINTOSC on a short trace directly under the MCU footprint and shield the VDD loop with adjacent ground pour. Keep USB-like digital traces (UART, SPI) on the PCB side opposite to the analog ADC2 pins, separated by a GND moat. The PPS feature is forgiving on layout - you can move UART onto any spare GPIO - which often lets you avoid a 4-layer PCB where a 2-layer layout would otherwise fail CISPR radiated emissions.
اطلاعات انطباق
RoHS and REACH compliant per Microchip product page datasheet header. The 'I' suffix denotes the industrial -40C to +85C temperature grade, NOT AEC-Q100 automotive qualified - body and interior automotive ECUs can use this part only when they are not safety-critical. For AEC-Q100 applications step to the auto-grade K42 device (different orderable part number) or to the PIC18F Q84 family with ECC Flash.