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
22days 20hrs 27min 00sec
Learn More →
PIC18F46K42-I/PT

MCHPPIC18F46K42-I/PT

Microchip Technology
PIC PIC® XLP™ 18K Microcontroller IC 8-Bit 64MHz 64KB (32K x 16) FLASH 44-TQFP (10x10)
Active

Overview

The PIC18F46K42-I/PT is a high-performance 8-bit microcontroller from Microchip's K42 family, featuring 64KB of Flash memory and 4KB of RAM. It integrates Core Independent Peripherals (CIPs) and a Vectored Interrupt Controller to handle complex tasks with minimal CPU intervention at clock speeds up to 64MHz. This device is designed for versatile embedded applications requiring robust peripheral sets and efficient memory utilization.

Why Choose This Part

This MCU features two Direct Memory Access (DMA) controllers that enable data transfers between memory and peripherals without CPU involvement, significantly increasing system throughput. It also includes a Vectored Interrupt Controller which reduces interrupt latency and simplifies firmware development for real-time responsiveness.

Applications

Industrial Automation
Utilizing the dual DMA controllers and hardware-based peripherals to manage sensor data and actuator control without stalling the main processor.
Sensor Hubs
Leveraging the 12-bit ADC with Computation (ADC2) for advanced signal filtering and automated data acquisition in multi-sensor environments.
Communication Gateways
Using multiple UART, I2C, and SPI interfaces to bridge data between different industrial communication protocols or legacy hardware.
System Monitoring
Implementing the Windowed Watchdog Timer (WWDT) and Brown-out Reset (BOR) for high-reliability monitoring of system power and execution states.

Key Specifications

Speed 64MHz
RAM Size 4K 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 64KB (32K 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

To begin development, use the MPLAB X IDE and the XC8 C Compiler provided by Microchip. Hardware debugging and programming are best supported by the MPLAB PICkit 4 or MPLAB Snap in-circuit debuggers. For rapid prototyping, the Curiosity High Pin Count (HPC) Development Board is a suitable hardware platform for the 44-pin TQFP package.

PIC18F46 Family

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

Part Number Flash RAM I/O Pins Package Speed ADC/DAC Stock
PIC18F46K42-I/PT (this part) 64KB 4K 36 TQFP-44 64M A/D 35x12b; D/A 1x5b —
PIC18F46K40-I/PT 64KB 3.6K 36 TQFP-44 64M A/D 35x10b; D/A 1x5b 5,618
PIC18F46K80-E/PT 64KB 3.6K 35 TQFP-44 64M A/D 11x12b 6,305
PIC18F46K22-I/MV 64KB 3.8K 35 UFQFN-40 64M A/D 30x10b 2,233
PIC18F46K80-I/ML 64KB 3.6K 35 VQFN-44 64M A/D 11x12b 536
PIC18F46K80-E/ML 64KB 3.6K 35 VQFN-44 64M A/D 11x12b 507
PIC18F46Q84-E/PT 64KB 4K 36 TQFP-44 64M A/D 24x12b; D/A 1x8b 950
PIC18F46K22-E/PT 64KB 3.8K 35 TQFP-44 48M A/D 30x10b 1,746
PIC18F46Q43-I/PT 64KB 4K 36 TQFP-44 64M A/D 35x12b; D/A 1x8b 895
PIC18F46K80-I/PT 64KB 3.6K 35 TQFP-44 64M A/D 11x12b 781
PIC18F46Q84-I/PT 64KB 4K 36 TQFP-44 64M A/D 24x12b; D/A 1x8b 1,003
PIC18F46K80-I/P 64KB 3.6K 35 TQFP-44 64M A/D 11x12b 564
PIC18F46K20-I/P 64KB 3.8K 35 TQFP-44 64M A/D 14x10b 420
PIC18F46K20-I/PT 64KB 3.8K 35 TQFP-44 64M A/D 14x10b 5,754
PIC18F46J50-I/PT 64KB 3.8K 34 TQFP-44 48M A/D 13x10b —
PIC18F46Q84-E/PTVAO 64KB 8K 36 TQFP-44 64M A/D 35x12b SAR; D/.. —
PIC18F46Q83-E/PT 64KB 8K 36 TQFP-44 64M A/D 35x12b SAR; D/.. —

Also Consider

PIC18F47K42-I/PT MCHPMicrochip Technology - Provides double the Flash memory at 128KB for larger codebases while maintaining pin-compatibility.