EmbeddedRelated.com
Jacob Beningo
Live online course · Jacob Beningo
AI for Embedded Developers
$100 off for EmbeddedRelated readers until Dec 6 · 5 live sessions, Dec 7-11
Discount ends in
28days 23hrs 04min 18sec
Learn More →
PIC18F47K42-I/P

MCHPPIC18F47K42-I/P

Microchip Technology
PIC PIC® XLP™ 18F Microcontroller IC 8-Bit 64MHz 128KB (64K x 16) FLASH 40-PDIP
Active490 in stock

Overview

The PIC18F47K42-I/P is a high-performance 8-bit microcontroller featuring 128KB of Flash memory and a 64MHz internal oscillator. This member of the PIC18 family integrates advanced Core Independent Peripherals (CIPs) such as DMA and Vectored Interrupts to handle data transfers and task scheduling with minimal CPU intervention. It is housed in a 40-pin PDIP package, making it suitable for through-hole prototyping and legacy industrial hardware.

Why Choose This Part

The inclusion of two DMA controllers and a 31-level hardware stack significantly improves execution efficiency compared to standard 8-bit architectures. It offers a large 128KB Flash memory and 1024 bytes of EEPROM, allowing for complex firmware and persistent storage without external memory components.

Applications

Industrial Automation Control
Utilizes 35 ADC channels and DMA for monitoring multiple analog sensors in factory equipment.
User Interface Controllers
Managing buttons, encoders, and small displays via its dual I2C and dual UART interfaces.
Embedded Power Management
Using integrated PWM and Brown-out Reset features to monitor and regulate local power rails.
Legacy System Upgrades
Providing a high-memory, high-speed 8-bit alternative for 40-pin DIP socketed hardware.

Key Specifications

Speed 64MHz
RAM Size 8K x 8
Core Size 8-Bit
EEPROM Size 1K x 8
Peripherals Brown-out Detect/Reset, DMA, HLVD, POR, PWM, WDT
Connectivity I2C, LINbus, SPI, UART/USART
Mounting Type Surface Mount
Number of I/O 36
Core Processor PIC
Package / Case 44-TQFP
Data Converters A/D 35x12b; D/A 1x5b
Oscillator Type Internal
Program Memory Size 128KB (64K x 16)
Program Memory Type FLASH
Operating Temperature -40degC ~ 85degC (TA)
Supplier Device Package 44-TQFP (10x10)
Voltage - Supply (Vcc/Vdd) 2.3V ~ 5.5V

Getting Started

Develop firmware using the MPLAB X IDE and the XC8 compiler. Hardware debugging can be performed via the PICkit 4 or MPLAB Snap programmers connected to the ICSP pins. For rapid prototyping, the Curiosity High Pin Count (HPC) development board supports this device family.

PIC18F47 Family

Comparing specs that differ across variants. The current part is highlighted.

Part Number Flash RAM I/O Pins Package Speed ADC/DAC Stock
PIC18F47K42-I/P (this part) 128KB 8K 36 TQFP-44 64M A/D 35x12b; D/A 1x5b 490
PIC18F47Q10-E/MP 128KB 3.53K 36 VFQFN-40 64M A/D 35x10b; D/A 1x5b 2,159
PIC18F47K40-I/P 128KB 3.6K 36 DIP-40 64M A/D 35x10b; D/A 1x5b 2,536
PIC18F47K42-E/PT 128KB 8K 36 TQFP-44 64M A/D 35x12b; D/A 1x5b 893
PIC18F47J53-I/PT 128KB 3.8K 34 TQFP-44 48M A/D 13x10b/12b 7,210
PIC18F47Q43-I/PT 128KB 8K 36 TQFP-44 64M A/D 35x12b; D/A 1x8b 678
PIC18F47Q84-E/PT 128KB 8K 36 TQFP-44 64M A/D 24x12b; D/A 1x8b 553
Also available as: PIC18F47K42-I/PT

Also Consider

ATmega1284P MCHPMicrochip Technology - An alternative 40-pin DIP 8-bit MCU with 128KB Flash that is compatible with the Arduino IDE.
PIC18F47K42-I/PT MCHPMicrochip Technology - The TQFP surface-mount version of the same IC for high-density production PCB designs.