PIC18F45K22-E/MV - 8-bit 48MHz MCU 32KB Flash | Microchip
MPN: PIC18F45K22-E/MV ✓ Hoạt độngPIC18F45K22-E/MV Tóm tắt
A microcontroller (MCU) is a single-chip computer that integrates a CPU, non-volatile program memory, working RAM, and a set of digital and analog peripherals. PIC microcontrollers from Microchip sit in the broader hierarchy: MCU -> 8-bit microcontroller -> embedded controller -> semiconductor. The PIC18F45K22 family uses a 16-bit-wide modified Harvard Flash architecture that allows most instructions to execute in a single cycle, balancing deterministic real-time behavior with the C-friendly PIC18 instruction set.
Key specifications include an internal oscillator block with ±1% typical accuracy (factory calibrated), a wide 2.3 V to 5.5 V operating range that simplifies battery and USB-powered designs, and rich connectivity through EUSART, MSSP (SPI / I2C), and an enhanced capture/compare/PWM module. The 28-channel 10-bit ADC enables direct interface with sensors, while two analog comparators support power-conversion and signal-conditioning loops without external components.
Typical applications include low-power battery-powered sensor nodes, USB human-interface devices, small home appliances with capacitive touch via the mTouch sensing unit, industrial control panels, and automotive body modules. The combination of XLP nanoWatt sleep, Peripheral Pin Select, and on-chip EEPROM makes the PIC18F45K22 family especially attractive for designs migrating from legacy 28-pin PIC16/18 parts to higher pin counts with the same toolchain. The newer PIC18F45Q10 from Microchip is the recommended migration path for new designs.
When designing with this device, ensure decoupling of VDD/VSS pairs (0.1 uF plus bulk), respect the ICSP programming pin assignments (PGC/PGD/RESET), and reserve the MCLR pin with the standard 10 kohm pull-up. Use the Peripheral Pin Select feature to remap digital peripherals, but always verify the PPS lock register state before production.
Bộ thay thế dễ dàng lắp đặt cho PIC18F45K22-E/MV — 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 PIC18F45K22-E/MV (cùng hình factor và footprint) — khác nhau ở Package, Timers, ADC, I/O Pins, Comparators.
PIC18F46K22-E/MV
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F44K22-E/MV
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F45K22-I/MV
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F45K22T-I/MV
✅ Drop-In📋 Tham chiếu thay thế (không có trong danh mục)
PIC18F46K22-I/MV
✅ Drop-InLiên hệ để biết giá
Xem tài liệu →PIC18F45K22-E/MV Tỷ lệ tối đa & tính chất điện
| CPU Core | PIC18 (8-bit RISC, modified Harvard) |
| Maximum CPU Frequency | 48 MHz (64 MHz instruction rate via 4-cycle PLL) |
| Program Memory (Flash) | 32 KB (16K x 16 words) |
| RAM | 1536 bytes |
| Data EEPROM | 256 bytes |
| Operating Voltage | 2.3 V to 5.5 V |
| I/O Pins | 36 |
| ADC | 10-bit, up to 28 channels |
| Timers | 7 (Timer0/1/2/3/4/5/6) |
| PWM Channels | 4 (Enhanced CCP + CCP) |
| Analog Comparators | 2 |
| Communication | 1x EUSART, 2x MSSP (SPI/I2C) |
| Hộp | 40-pin UQFN (MV) 5x5 mm |
| Operating Temperature (Extended) | -40C to +125C |
| Low-Power Technology | nanoWatt XLP |
Cấu hình chân PIC18F45K22-E/MV
| Chân 1 | RA2 — PORTA I/O bit 2 / analog input |
| Chân 2 | RA3 — PORTA I/O bit 3 / analog input |
| Chân 3 | RA4 — PORTA I/O bit 4 / analog input |
| Chân 4 | RA5 — PORTA I/O bit 5 / analog input |
| Chân 5 | RA6 — PORTA I/O bit 6 / analog input |
| Chân 6 | RA7 — PORTA I/O bit 7 / analog input |
| Chân 7 | VSS — Ground reference |
| Chân 8 | VDD — Positive supply |
| Chân 9 | RB0 — PORTB I/O bit 0 / INT0 |
| Chân 10 | RB1 — PORTB I/O bit 1 / INT1 |
| Chân 11 | RB2 — PORTB I/O bit 2 |
| Chân 12 | RB3 — PORTB I/O bit 3 |
| Chân 13 | RB4 — PORTB I/O bit 4 |
| Chân 14 | RB5 — PORTB I/O bit 5 |
| Chân 15 | RB6 — PORTB I/O bit 6 / ICD PGC |
| Chân 16 | RB7 — PORTB I/O bit 7 / ICD PGD |
| Chân 17 | VSS — Ground reference |
| Chân 18 | VDD — Positive supply |
| Chân 19 | RC0 — PORTC I/O bit 0 |
| Chân 20 | RC1 — PORTC I/O bit 1 |
| Chân 21 | RC2 — PORTC I/O bit 2 |
| Chân 22 | RC3 — PORTC I/O bit 3 |
| Chân 23 | RC4 — PORTC I/O bit 4 |
| Chân 24 | RC5 — PORTC I/O bit 5 |
| Chân 25 | RC6 — PORTC I/O bit 6 / TX |
| Chân 26 | RC7 — PORTC I/O bit 7 / RX |
| Chân 27 | VSS — Ground reference |
| Chân 28 | VDD — Positive supply |
| Chân 29 | RD0 — PORTD I/O bit 0 |
| Chân 30 | RD1 — PORTD I/O bit 1 |
| Chân 31 | RD2 — PORTD I/O bit 2 |
| Chân 32 | RD3 — PORTD I/O bit 3 |
| Chân 33 | RD4 — PORTD I/O bit 4 |
| Chân 34 | RD5 — PORTD I/O bit 5 |
| Chân 35 | RD6 — PORTD I/O bit 6 |
| Chân 36 | RD7 — PORTD I/O bit 7 |
| Chân 37 | VSS — Ground reference |
| Chân 38 | VDD — Positive supply |
| Chân 39 | RE0 — PORTE I/O bit 0 / analog input |
| Chân 40 | RE3 — PORTE I/O bit 3 / MCLR |
Ứng dụng tiêu biểu
PIC18F45K22-E/MV phù hợp cho 6 Áp dụngs: Low-Power Battery Sensor Node, USB HID Consumer Device Bridge, Industrial Control Panel Controller, Small Home Appliance with Capacitive Touch, Automotive Body Electronics Module, mTouch Capacitive Touch Sensing Front-End.
Low-Power Battery Sensor Node
The PIC18F45K22-E/MV fits battery-powered sensor nodes because its nanoWatt XLP technology delivers sub-uA sleep currents while still offering 48 MHz of CPU headroom for active measurement. With 32 KB of Flash and 1536 bytes of RAM, the MCU can run a small RTOS-free event loop, capture 10-bit ADC samples from a temperature or humidity sensor on any of its 28 ADC channels, and wake on an interrupt. The wide 2.3-5.5 V supply allows direct connection to a single CR2032 or 2xAA battery without a boost converter.
Được đề xuất
USB HID Consumer Device Bridge
The PIC18F45K22-E/MV can host a USB-to-UART or USB-to-I2C bridge when paired with an external bridge IC, since the part itself lacks an on-chip USB SIE. Its EUSART and dual MSSP modules expose 1x UART plus 2x SPI/I2C, enough to drive a typical FT230XS-R USB-UART bridge or MCP2221 USB-I2C/SPI bridge. With 32 KB of Flash, the device can implement custom HID descriptors or vendor commands for gaming peripherals, programmable keypads, or industrial USB-to-serial adapters.
Được đề xuất
Industrial Control Panel Controller
The PIC18F45K22-E/MV's 28-channel 10-bit ADC and 4 PWM channels make it suitable for industrial control panels driving solenoid valves, motor drivers, and indicator LEDs. Its -40C to +125C extended temperature grade (E suffix) handles factory-floor environments and under-hood automotive sub-assemblies. The 36 I/O pins provide ample headroom for key-matrix scanning, seven-segment displays, and isolated digital I/O expanders, while the 32 KB Flash holds IEC 61131-3-style ladder logic or C firmware.
Được đề xuất
Small Home Appliance with Capacitive Touch
The PIC18F45K22-E/MV integrates Microchip's mTouch capacitive touch sensing module with the on-chip ADC, enabling touch buttons and sliders without external touch ICs. Combined with its 4 PWM channels, the MCU can drive TRIAC-controlled AC loads for dimming or motor speed control in appliances like blenders, washing machines, or coffee makers. The 32 KB Flash provides space for capacitive-touch firmware plus user-interface state machines and BLE/Bluetooth hooks via an external module.
Được đề xuất
Automotive Body Electronics Module
The PIC18F45K22-E/MV (extended -40C to +125C) handles non-safety automotive body modules such as interior lighting controllers, seat heaters, mirror adjusters, or HVAC blend door drivers. The 7 timers and 4 PWM channels support brushed DC motor control via external FET drivers, and the EUSART allows LIN bus communication when paired with a TJA1027 LIN transceiver. The 256-byte EEPROM is ideal for storing calibration and vehicle configuration data that survives battery disconnect events.
Được đề xuất
mTouch Capacitive Touch Sensing Front-End
The PIC18F45K22-E/MV uses its on-chip 10-bit ADC and the charge-time measurement unit (CTMU) to implement robust mTouch capacitive touch buttons, sliders, and proximity sensors. With 28 ADC channels available, the device can support a 16-button keypad plus a 5-element slider with no external touch IC. nanoWatt XLP sleep modes drop below 1 uA when the user is not interacting, making this part ideal for battery-powered remote controls or wall-mounted touch panels that must wake on touch.
Đượ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 PIC18F45K22-E/MV — 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 | PIC18F46K22-E/MV | PIC18F44K22-E/MV | PIC18F45K22-I/MV | PIC18F45K22T-I/MV | PIC18F46K22-I/MV |
|---|---|---|---|---|---|---|
| Package | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm | UQFN-40 (MV) 5x5 mm |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 32 KB | 64 KB | 32 KB | 32 KB | 32 KB | 64 KB |
| RAM | 1536 B | 3896 B | 1536 B | 1536 B | 1536 B | 3896 B |
| I/O Pins | 36 | 36 | 28 | 36 | 36 | 36 |
| Maximum CPU Frequency | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz | 48 MHz |
| Operating Voltage | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V | 2.3 V to 5.5 V |
| Temperature Grade | Extended -40C to +125C | Extended -40C to +125C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C |
| Low-Power Technology | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP | nanoWatt XLP |
Bảo phân biệt quan trọng
- Larger Flash for same-package upgrade path (vsPIC18F44K22-E/MV)
- Extended temperature grade for harsh environments (vsPIC18F45K22-I/MV)
- Balanced memory footprint vs. 64 KB siblings (vsPIC18F46K22-E/MV)
Ghi chú thiết kế
Estimated: at 48 MHz CPU clock and 3.3 V supply, the PIC18F45K22-E/MV core current is approximately 6 mA active and <1 uA in XLP sleep mode. Place 0.1 uF ceramic decoupling capacitors as close as possible to each VDD/VSS pair (pins 8/7, 18/17, 28/27, 38/37). Add a 10 uF bulk capacitor at the supply entry point to handle inrush when waking from sleep to active mode.
Route ICSP pins PGC (RB6), PGD (RB7), and MCLR (RE3) with the standard Microchip ICSP layout: keep traces short, leave 0.1 inch spacing, and ensure no series resistors on these pins in production. The UQFN-40 (MV) package has an exposed pad (EP) on the underside that must be soldered to the PCB thermal pad connected to VSS for mechanical and thermal reliability.
Do not confuse the -E/MV (UQFN-40) variant with -E/ML (QFN-44) or -E/P (DIP-40) - the pinouts differ. The MCLR pin (RE3) requires a 10 kohm pull-up to VDD; without it the device cannot start. When using Peripheral Pin Select (PPS), remember to unlock PPS (PPSLOCK = 0x55, 0xAA sequence) before changing remappings, or the writes will be silently ignored in production.
For EUSART (RC6/RC7) and MSSP SPI signals, add 33 ohm series damping resistors close to the driver pins if trace lengths exceed 50 mm or switching frequency exceeds 10 MHz. Use a single ground reference for the crystal oscillator area; avoid routing noisy digital signals under the OSC1/OSC2 pins to prevent injection of jitter into the system clock.
Thông tin tuân thủ
RoHS and REACH compliance per Microchip product page (microchip.com/en-us/product/PIC18F45K22). Not AEC-Q100 qualified individually; the -E temperature grade supports automotive operating conditions but does not replace full AEC-Q100 qualification for safety-critical systems.