PIC18F46K22-I/PT - 64KB Flash 8-bit XLP MCU 44-TQFP | Microchip
MPN: PIC18F46K22-I/PT ✓ Hoạt độngPIC18F46K22-I/PT Tóm tắt
A microcontroller (MCU) is a single-chip computer containing a CPU core, program and data memory, and programmable I/O peripherals. Within Microchip's taxonomy, this part is an 8-bit CISC Harvard-architecture MCU belonging to the PIC18 enhanced family, which is widely used in mid-complexity embedded applications. The "F" suffix denotes Flash program memory; "K" designates the low-power nanoWatt XLP variant; "46" indicates the 64 KB Flash / 3.8 KB RAM density tier; "K22" is the die revision; "I" specifies the industrial -40C to +85C temperature range; and "/PT" indicates the 44-pin TQFP surface-mount package.
Key features include 36 digital I/O pins, two Enhanced USART modules, two MSSP (I2C/SPI) peripherals, a 12-bit A/D converter with up to 28 input channels, five 16-bit timers, and a 5-bit DAC. The on-chip 64 MHz oscillator and 31 kHz low-power oscillator support flexible clocking. The device operates from 1.8 V to 5.5 V with nanoWatt XLP idle currents as low as 50 nA, enabling multi-year battery life in sleep-dominant applications.
The PIC18F46K22 is built on a high-performance 8-bit modified Harvard core featuring a 16-bit instruction word and an 8-bit data path, allowing single-cycle ALU operations and aggressive power-management gating. The 12-bit ADC uses a successive-approximation architecture with acquisition and conversion pipelining, suitable for sensor signal chains at moderate sampling rates.
Typical applications include industrial sensor interfaces, low-power IoT edge nodes, HVAC control panels, motor-control BLDC drivers, USB-to-UART bridges, and consumer appliance control boards. Designers benefit from Microchip's MPLAB X IDE, XC8 compiler, and PICkit programmers.
When designing with this part, ensure the supply decoupling follows the datasheet reference layout: one 100 nF ceramic per VDD pair placed within 3 mm of the pins, plus a bulk 10 nF to 100 nF across the supply rail. Use the internal 16 MHz HFINTOSC and PLL for 64 MHz operation to minimize external BOM cost.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single decision-grade reference for sourcing and substitution.
Bộ thay thế dễ dàng lắp đặt cho PIC18F46K22-I/PT — cùng gói, chân-to-chân tương thích. Các bộ phận yêu cầu hàn PCB bị loại trừ.
Các biến thể trong loạt này
Các mẫu cùng loạt có thể lắp đặt dễ dàng tương thích với PIC18F46K22-I/PT (cùng hình factor và footprint) — khác nhau ở Timers, Operating Temperature, Program Memory (Flash), Package, Core Architecture.
PIC18F45K22-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F46K22-I/P
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F46K22-E/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F46K22T-I/PT
✅ Drop-In ⚠️ Thông số chưa được xác minhLiên hệ để biết giá
Xem tài liệu →PIC18F46K40-I/PT
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F46Q10-I/PT
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F46K22-I/PT Tỷ lệ tối đa & tính chất điện
| Core Architecture | PIC18 Enhanced 8-bit CISC Harvard |
| Program Memory (Flash) | 64 KB (32K x 16) |
| Data RAM | 3.8 KB (3968 bytes) |
| Data EEPROM | 1 KB (1024 bytes) |
| Maximum CPU Frequency | 64 MHz (16 MIPS) |
| Supply Voltage Range | 1.8 V to 5.5 V |
| Digital I/O Pins | 36 |
| A/D Converter | 12-bit, up to 28 channels |
| DAC | 5-bit, 1 channel |
| Timers | Five 16-bit timers/counters |
| Communication Peripherals | 2x Enhanced USART, 2x MSSP (I2C/SPI) |
| Low-Power Technology | nanoWatt XLP (sleep current ~50 nA typical) |
| Nhiệt độ hoạt động | -40C to +85C (Industrial, "I" grade) |
| Hộp | 44-pin TQFP (PT), 10x10 mm |
| Kiểu lắp đặt | Surface Mount |
| Cấp MSL | 3 (168 hours) |
| Trạng thái RoHS | Compliant |
Cấu hình chân PIC18F46K22-I/PT
| Chân 1 | RA0/AN0 — PORTA bit 0 / Analog input channel 0 |
| Chân 2 | RA1/AN1 — PORTA bit 1 / Analog input channel 1 |
| Chân 3 | RA2/AN2 — PORTA bit 2 / Analog input channel 2 |
| Chân 4 | RA3/AN3 — PORTA bit 3 / Analog input channel 3 |
| Chân 5 | RA4/AN4 — PORTA bit 4 / Analog input channel 4 |
| Chân 6 | RA5/AN5 — PORTA bit 5 / Analog input channel 5 |
| Chân 7 | RA6/OSC2 — PORTA bit 6 / Oscillator output |
| Chân 8 | RA7/OSC1 — PORTA bit 7 / Oscillator input |
| Chân 9 | VSS — Ground reference |
| Chân 10 | VDD — Positive supply voltage |
| Chân 11 | MCLR — Master Clear reset input (active low) |
| Chân 12 | RB0/AN12 — PORTB bit 0 / Analog input channel 12 |
| Chân 13 | RB1/AN10 — PORTB bit 1 / Analog input channel 10 |
| Chân 14 | RB2/AN8 — PORTB bit 2 / Analog input channel 8 |
| Chân 15 | RB3/AN9 — PORTB bit 3 / Analog input channel 9 |
| Chân 16 | RB4/AN11 — PORTB bit 4 / Analog input channel 11 |
| Chân 17 | RB5/AN13 — PORTB bit 5 / Analog input channel 13 |
| Chân 18 | RB6/ICSPCLK — PORTB bit 6 / In-Circuit Serial Programming clock |
| Chân 19 | RB7/ICSPDAT — PORTB bit 7 / In-Circuit Serial Programming data |
| Chân 20 | VSS — Ground reference |
| Chân 21 | VDD — Positive supply voltage |
| Chân 22 | RC0/SOSCO — PORTC bit 0 / Secondary oscillator output |
| Chân 23 | RC1/SOSCI — PORTC bit 1 / Secondary oscillator input |
| Chân 24 | RC2/AN14 — PORTC bit 2 / Analog input channel 14 |
| Chân 25 | RC3/AN15 — PORTC bit 3 / Analog input channel 15 |
| Chân 26 | RC4/AN16 — PORTC bit 4 / Analog input channel 16 |
| Chân 27 | RC5/AN17 — PORTC bit 5 / Analog input channel 17 |
| Chân 28 | RC6/AN18 — PORTC bit 6 / Analog input channel 18 |
| Chân 29 | RC7/AN19 — PORTC bit 7 / Analog input channel 19 |
| Chân 30 | VSS — Ground reference |
| Chân 31 | VDD — Positive supply voltage |
| Chân 32 | RD0/AN20 — PORTD bit 0 / Analog input channel 20 |
| Chân 33 | RD1/AN21 — PORTD bit 1 / Analog input channel 21 |
| Chân 34 | RD2/AN22 — PORTD bit 2 / Analog input channel 22 |
| Chân 35 | RD3/AN23 — PORTD bit 3 / Analog input channel 23 |
| Chân 36 | RD4/AN24 — PORTD bit 4 / Analog input channel 24 |
| Chân 37 | RD5/AN25 — PORTD bit 5 / Analog input channel 25 |
| Chân 38 | RD6/AN26 — PORTD bit 6 / Analog input channel 26 |
| Chân 39 | RD7/AN27 — PORTD bit 7 / Analog input channel 27 |
| Chân 40 | VSS — Ground reference |
| Chân 41 | VDD — Positive supply voltage |
| Chân 42 | RE0/AN5 — PORTE bit 0 / Analog input channel 5 (alt) |
| Chân 43 | RE1/AN6 — PORTE bit 1 / Analog input channel 6 |
| Chân 44 | RE2/AN7 — PORTE bit 2 / Analog input channel 7 |
Ứng dụng tiêu biểu
PIC18F46K22-I/PT phù hợp cho 6 Áp dụngs: Industrial Sensor Interface Module, Low-Power IoT Edge Node, HVAC Control Panel, BLDC Motor Driver Controller, USB-to-UART Bridge Dongle, Consumer Appliance Control Board.
Industrial Sensor Interface Module
The PIC18F46K22-I/PT's 12-bit ADC with up to 28 input channels and 64 KB of Flash makes it a strong fit for industrial sensor interface modules. With 64 MHz / 16 MIPS throughput, the MCU can sample multiple analog sensor channels and run calibration algorithms in real time. The 1.8-5.5 V supply range supports both 3.3 V and 5 V sensor rails without level shifting. Designers typically place the part near the sensor connector with 100 nF decoupling on each VDD/VSS pair, leveraging the 5-bit DAC for offset trim loops.
Được đề xuất
Low-Power IoT Edge Node
For battery-powered IoT edge nodes, the PIC18F46K22-I/PT delivers nanoWatt XLP sleep currents as low as 50 nA, enabling multi-year coin-cell operation in sleep-dominant duty cycles. The 64 KB Flash accommodates over-the-air (OTA) bootloader plus application code with room to spare. The two MSSP ports support SPI flash and I2C sensor hubs, while the internal 16 MHz HFINTOSC eliminates the external crystal for further BOM reduction. Place a 32.768 kHz crystal on SOSCO/SOSCI for RTC timing.
Được đề xuất
HVAC Control Panel
HVAC control panels benefit from the PIC18F46K22-I/PT's combination of 36 I/O pins, multiple timers, and robust industrial temperature range. The MCU can drive character LCDs, scan keypads, control triacs via zero-cross detection timers, and run PID fan algorithms. The two Enhanced USART modules support Modbus RTU master and slave stacks simultaneously. Operating voltage flexibility from 1.8-5.5 V allows direct connection to 24 VAC rectified supply rails with linear regulation.
Được đề xuất
BLDC Motor Driver Controller
Brushless DC motor driver controllers leverage the PIC18F46K22-I/PT's five 16-bit timers and enhanced PWM capability. The MCU can generate six-step or field-oriented control (FOC) waveforms, sample back-EMF through the 12-bit ADC, and run current PI loops at high PWM rates. The 64 MIPS throughput supports real-time FOC with adequate margin for CAN or UART telemetry. Use the 5-bit DAC for reference generation and the internal comparator for overcurrent protection.
Được đề xuất
USB-to-UART Bridge Dongle
A USB-to-UART bridge dongle based on the PIC18F46K22-I/PT uses the MSSP for SPI connection to an external USB-UART IC like the MCP2200 or MCP2221. The MCU provides the firmware glue, status LEDs, GPIO hand-shaking, and configurable baud rate handling via the Enhanced USART. With 64 KB Flash, the part can host CDC and vendor-class USB stacks directly without an external converter, while the 3.8 KB RAM is sufficient for small USB endpoint buffers.
Được đề xuất
Consumer Appliance Control Board
Consumer appliance control boards (washers, dryers, dishwashers, ovens) frequently use the PIC18F46K22-I/PT for its balance of I/O count, Flash density, and low cost. The MCU drives segmented LED displays, reads capacitive touch sensors via the CTMU peripheral, and runs safety-critical state machines. Its -40C to +85C industrial temperature range covers appliance operating environments, and the 1.8-5.5 V range supports direct connection to rectified 5 V and 3.3 V rails.
Được đề xuất
Tóm tắt các sản phẩm được đề xuất
Dữ liệu tham khảo kỹ thuật cho PIC18F46K22-I/PT — so sánh, hướng dẫn thiết kế và thông tin tuân thủ.
Hướng dẫn chọn lựa
So sánh với các sản phẩm thay thế
| Tham số | Sản phẩm này | PIC18F45K22-I/PT | PIC18F46K40-I/PT | PIC18F46Q10-I/PT | PIC18F46K22-E/PT |
|---|---|---|---|---|---|
| Package | 44-pin TQFP (PT) 10x10 mm | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 64 KB | 32 KB | 64 KB | 64 KB | 64 KB |
| Data RAM | 3.8 KB | 1.5 KB | 3.8 KB | 3.6 KB | 3.8 KB |
| Maximum Frequency | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) | 64 MHz (16 MIPS) |
| Operating Voltage | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V | 1.8 V to 5.5 V |
| ADC | 12-bit, 28 channels | 12-bit, 28 channels | 12-bit, 28 channels (with CIP) | 12-bit, 28 channels (updated) | 12-bit, 28 channels |
| Temperature Range | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +85C (I grade) | -40C to +125C (E grade) |
Bảo phân biệt quan trọng
- 64 KB Flash / 3.8 KB RAM density tier in TQFP-44 package (vsPIC18F45K22-I/PT)
- Core Independent Peripherals (CIPs) for offloading CPU (vsPIC18F46K40-I/PT)
- Factory-recommended successor with long-term supply (vsPIC18F46Q10-I/PT)
Ghi chú thiết kế
Estimated supply decoupling for PIC18F46K22-I/PT: place one 100 nF ceramic capacitor within 3 mm of each VDD/VSS pair (there are three VDD/VSS pairs on the 44-pin TQFP), plus one bulk 10 uF tantalum or ceramic at the regulator output. Total estimated BOM cost for decoupling is under $0.10 and ensures stable operation across the 1.8-5.5 V range. NanoWatt XLP sleep currents below 50 nA can only be achieved if all I/O pins are configured as analog or output-low before sleep entry per the datasheet.
Estimated thermal resistance for the 44-pin TQFP (PT) package is approximately 50 C/W theta_JA on a JEDEC 2-layer test board. At typical MCU core currents below 15 mA active and sub-microamp sleep, junction temperature rise is negligible even without dedicated copper pours. However, for designs pulling the I/O pins at maximum source/sink (25 mA per pin, 200 mA total), add at least 1 square inch of top-layer copper connected to the VSS thermal pad to keep the part within the -40C to +85C industrial range.
Route the ICSPDAT and ICSPCLK pins (RB6/RB7) to a 6-pin in-circuit programming header with at most 50 mm trace length and no series resistors; Microchip programmers expect direct access. Place the programming header at the PCB edge with a 0.1 inch (2.54 mm) pitch. If using the internal oscillator, leave the OSC1/OSC2 pins unconnected (RA6/RA7 become general-purpose I/O when CONFIG1H<FOSC> selects INTIO). Add a 4.7 kohm pull-up on MCLR to VDD through a diode-resistor network for proper reset behavior per datasheet Figure 2-2.
Common pitfalls: (1) failing to configure all unused I/O pins as outputs rather than inputs - floating inputs can cause shoot-through current and latch-up; (2) forgetting the CONFIG bits for the oscillator mode - incorrect FOSC settings can lock the part without an external crystal; (3) using the ADC without setting TRIS bits - ADC channel input pins must be configured as inputs via TRIS; (4) exceeding the absolute maximum VDD of 7.0 V on VDDT (the test pin) - it shares the VDD bus but has its own protection limits.
Thông tin tuân thủ
RoHS compliant per Microchip product page; not AEC-Q100 qualified (choose PIC18F46K22-E/PT for extended temperature). Halogen-free per Microchip environmental compliance documentation.