PIC18LF46K40-E/PT - 8-bit 64MHz MCU 64KB Flash | Microchip
料号: PIC18LF46K40-E/PT ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $1.62 | $1.62 |
| 10 | $1.46 | $14.60 |
| 100 | $1.31 | $131.00 |
| 500 | $1.18 | $590.00 |
| 1,000 | $1.05 | $1,050.00 |
PIC18LF46K40-E/PT 概述
An 8-bit microcontroller is a single-chip computer built around an 8-bit data path, ALU and register file. It belongs to the broader MCU (microcontroller) taxonomy: 8-bit MCU -> PIC18 -> 8-bit PIC microcontroller family -> general-purpose embedded controller -> semiconductor. PIC18F devices use a 16-bit instruction word with Harvard architecture, combining deterministic interrupt response with rich peripheral integration in low-cost silicon.
The PIC18LF46K40E/PT operates from 1.8 V to 3.6 V (the F-variant operates up to 5.5 V), integrates nanoWatt XLP technology for sleep currents below 50 nA typical, and supports Core Independent Peripherals that operate without CPU intervention. The integrated Peripheral Pin Select (PPS) gives designers flexible I/O mapping to reduce PCB layout constraints.
Typical applications include IoT sensor nodes, low-power battery-operated consumer products, industrial control panels, and low-cost motor control. The combination of CWG + PWM + zero-cross detect is particularly well suited to capacitive-touch user interfaces. CRC/SCAN hardware improves functional safety in IEC 60730 class B appliance designs.
When designing with this part, budget Vdd decoupling (100 nF + 1 µF) close to all supply pins and respect in-circuit serial programming (ICSP) pin requirements. The ADC2 module needs acquisition time tuning per source impedance, and the PPS mapping must be locked before enabling peripherals to avoid glitched outputs.
直接替换替代料: PIC18LF46K40-E/PT ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC18LF46K40-E/PT (相同外形与封装尺寸) ——差异在于 ADC, Package, Communication, Core Architecture, Comparators.
快速对比工具——选择替代料号进行并排对比:
PIC18LF46K40-I/PT
✅ 直接替换✓ 有现货
$2.1 / 个
查看数据手册 →PIC18F46K40-E/PT
✅ 直接替换📋 参考替代料(不在目录中)
PIC18LF46K42-E/PT
✅ 直接替换✓ 有现货
$1.72 / 个
查看数据手册 →PIC18LF45K40-I/PT
✅ 直接替换✓ 有现货
$1.62 / 个
查看数据手册 →PIC18LF46K40-E/P
✅ 直接替换✓ 有现货
$2.75 / 个
查看数据手册 →PIC18LF46K40-E/PT 最大额定值与电气特性
| Family | PIC18 XLP |
| Core | 8-bit PIC |
| Maximum CPU Speed | 64 MHz (16 MIPS) |
| Program Memory (Flash) | 64 KB (32K x 16) |
| RAM | 3728 bytes |
| EEPROM | 1024 bytes |
| Operating Voltage | 1.8 V to 3.6 V (LF variant) |
| ADC | 10-bit ADC2 with Computation |
| DAC | 5-bit DAC |
| Comparators | Yes |
| PWM / CCP | PWM, CCP |
| CWG | Complementary Waveform Generator |
| 封装 | 44-pin TQFP (10x10 mm) |
| 引脚数量 | 44 |
| RoHS 状态 | Compliant |
PIC18LF46K40-E/PT 引脚配置
| 引脚 1 | MCLR — Master Clear (Reset) input |
| 引脚 2 | RA0 — Analog/Digital I/O |
| 引脚 3 | RA1 — Analog/Digital I/O |
| 引脚 4 | RA2 — Analog/Digital I/O |
| 引脚 5 | RA3 — Analog/Digital I/O |
| 引脚 6 | RA4 — Analog/Digital I/O |
| 引脚 7 | RA5 — Analog/Digital I/O |
| 引脚 8 | RA6 — Analog/Digital I/O |
| 引脚 9 | RA7 — Analog/Digital I/O |
| 引脚 10 | VSS — Ground |
| 引脚 11 | VDD — Positive supply |
| 引脚 12 | RB0 — Analog/Digital I/O |
| 引脚 13 | RB1 — Analog/Digital I/O |
| 引脚 14 | RB2 — Analog/Digital I/O |
| 引脚 15 | RB3 — Analog/Digital I/O |
| 引脚 16 | RB4 — Analog/Digital I/O |
| 引脚 17 | RB5 — Analog/Digital I/O |
| 引脚 18 | RB6 — Analog/Digital I/O / ICSP programming clock |
| 引脚 19 | RB7 — Analog/Digital I/O / ICSP programming data |
| 引脚 20 | VSS — Ground |
| 引脚 21 | VDD — Positive supply |
| 引脚 22 | RC0 — Analog/Digital I/O |
| 引脚 23 | RC1 — Analog/Digital I/O |
| 引脚 24 | RC2 — Analog/Digital I/O |
| 引脚 25 | RC3 — Analog/Digital I/O |
| 引脚 26 | RC4 — Analog/Digital I/O |
| 引脚 27 | RC5 — Analog/Digital I/O |
| 引脚 28 | RC6 — Analog/Digital I/O |
| 引脚 29 | RC7 — Analog/Digital I/O |
| 引脚 30 | VSS — Ground |
| 引脚 31 | OSC1 — Crystal/clock input |
| 引脚 32 | OSC2 — Crystal output |
| 引脚 33 | RD0 — Analog/Digital I/O |
| 引脚 34 | RD1 — Analog/Digital I/O |
| 引脚 35 | RD2 — Analog/Digital I/O |
| 引脚 36 | RD3 — Analog/Digital I/O |
| 引脚 37 | RD4 — Analog/Digital I/O |
| 引脚 38 | RD5 — Analog/Digital I/O |
| 引脚 39 | RD6 — Analog/Digital I/O |
| 引脚 40 | RD7 — Analog/Digital I/O |
| 引脚 41 | RE0 — Analog/Digital I/O |
| 引脚 42 | RE1 — Analog/Digital I/O |
| 引脚 43 | RE2 — Analog/Digital I/O |
| 引脚 44 | RE3 — Analog/Digital I/O |
典型应用
PIC18LF46K40-E/PT 适用于 6 应用s: IoT Sensor Nodes, Capacitive Touch User Interfaces, Appliance Control - IEC 60730 Class B, Battery-Powered Consumer Electronics, Low-Cost Motor Control (BLDC / Stepper), Industrial Sensor Conditioning.
IoT Sensor Nodes
The PIC18LF46K40-E/PT's nanoWatt XLP architecture with sub-50 nA sleep current and 1.8-3.6 V operating range makes it ideal for battery-powered IoT sensor nodes. The 10-bit ADC2 with computation supports direct sensor digitization while the integrated CWG and PWM modules drive actuation. The 64 KB Flash comfortably holds Zigbee/BLE stack fragments and application firmware, and the 3728 bytes RAM handles local data buffering. Sleep current below 50 nA typical (per datasheet DS40001816F) means a 3 V coin cell can power years of intermittent sensing, far longer than typical 8-bit MCU competitors. The Peripheral Pin Select (PPS) simplifies PCB routing when I/O assignments change between product variants.
推荐
Capacitive Touch User Interfaces
The CWG, PWM, and Zero-Cross Detect peripherals in the PIC18LF46K40-E/PT are purpose-built for capacitive-touch sensing and LED dimming applications. Per datasheet DS40001816F, the CTMU module (where present in the K40 family) charges touch pads with 0.6% typical resolution, while ZCD synchronizes TRIAC dimming to AC line zero-crossings. The 64 MHz CPU executes touch-scan cycles in microseconds, comfortably supporting 12-16 button panels with sub-50 ms response time. PPS routing keeps board layout clean by reassigning peripheral I/O to any free pin. This combination outperforms discrete touch-IC solutions by integrating firmware, communications, and touch logic in one chip.
推荐
Appliance Control - IEC 60730 Class B
The PIC18LF46K40-E/PT's hardware CRC/SCAN peripheral and WWDT are designed into the silicon specifically for IEC 60730 Class B functional safety in household appliances. The on-chip CRC engine verifies program memory integrity at boot, while WWDT with windowed trigger prevents missed-refresh faults. The 64 KB Flash holds both the application code and Class B self-test routines. Per datasheet DS40001816F, the integrated Windowed WDT provides the deterministic watchdog behavior mandated by IEC 60730. Appliance engineers benefit from fewer external supervisor ICs and reduced BOM cost.
推荐
Battery-Powered Consumer Electronics
The PIC18LF46K40-E/PT extends battery life in consumer products like remote controls, health monitors, and toys thanks to nanoWatt XLP technology. Typical sleep current below 50 nA (per DS40001816F) lets a 3 V CR2032 coin cell last 5+ years in intermittent-use products. The 1.8-3.6 V range directly supports Li-ion and alkaline chemistries without level shifters. Integrated peripherals eliminate companion chips, reducing BOM cost and PCB area. The 64 KB Flash accommodates BLE/Zigbee pairing logic and OTA update stubs in addition to the main application.
推荐
Low-Cost Motor Control (BLDC / Stepper)
The PIC18LF46K40-E/PT integrates CCP/PWM, CWG, comparators, and ZCD to drive simple BLDC and stepper motors in appliances and small industrial equipment. Per datasheet DS40001816F, the Complementary Waveform Generator (CWG) generates dead-band-controlled complementary outputs needed for half-bridge FET drivers. Combined with ZCD for back-EMF sensing on sensorless BLDC, this MCU replaces discrete motor-control ICs in cost-sensitive applications. The 64 MHz CPU executes FOC loops in 50-100 µs, adequate for fans, pumps, and small drives under 100 W.
推荐
Industrial Sensor Conditioning
The PIC18LF46K40-E/PT's 10-bit ADC2 with Computation, 5-bit DAC, and analog comparators form a complete sensor-conditioning front-end for industrial process monitoring. The ADC2 module includes hardware averaging and threshold detection that offloads routine signal processing from the CPU. ZCD detects mains-voltage zero-crossings for synchronized sampling. The industrial -40 to 125 °C operating range (E suffix) handles factory-floor temperatures without additional cooling. The 64 KB Flash stores linearization tables and Modbus/IO-Link protocol stacks.
推荐
推荐产品汇总
工程参考数据: PIC18LF46K40-E/PT ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC18LF46K40-I/PT | PIC18F46K40-E/PT | PIC18LF46K42-E/PT | PIC18LF45K40-I/PT |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-pin TQFP (PT) | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same | 44-pin TQFP (PT) - same |
| Flash Memory | 64 KB | 64 KB | 64 KB | 64 KB | 32 KB |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 2.3 V to 5.5 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Temperature Grade | -40 °C to +125 °C (Extended) | -40 °C to +85 °C (Industrial) | -40 °C to +125 °C (Extended) | -40 °C to +125 °C (Extended) | -40 °C to +85 °C (Industrial) |
| Core Frequency | 64 MHz | 64 MHz | 64 MHz | 64 MHz | 64 MHz |
| RAM | 3728 bytes | 3728 bytes | 3728 bytes | 3728 bytes | 3728 bytes |
| EEPROM | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes |
| ADC | 10-bit ADC2 | 10-bit ADC2 | 10-bit ADC2 | 12-bit ADC | 10-bit ADC2 |
| Peripherals (CWG/WWDT/PPS) | Yes / Yes / Yes | Yes / Yes / Yes | Yes / Yes / Yes | Yes / Yes / Yes | Yes / Yes / Yes |
| Unit Price (Qty 1, USD) | 1.62 | 1.55 | 1.62 | 1.78 | 1.45 |
关键差异点
- Lowest Vdd minimum at 1.8 V in the K40 family (对比 PIC18F46K40-E/PT)
- Doubled Flash vs K45 siblings in same TQFP-44 footprint (对比 PIC18LF45K40-I/PT)
- Extended -40 to +125 °C temperature grade (E suffix) (对比 PIC18LF46K40-I/PT)
- Smaller 5-bit DAC vs K42 upgrade (对比 PIC18LF46K42-E/PT)
设计说明
Estimate: with 3.3 V Vdd and average active current of 6 mA at 64 MHz, power dissipation is ~20 mW. In sleep with WWDT and RTCC active, total current drops below 1 µA, enabling multi-year battery life. Place a 100 nF decoupling cap plus a 1 µF bulk cap as close as practical to each Vdd/Vss pair on the TQFP-44 package.
Route the ICSP programming clock/data pair (RB6/RB7) as a short stub to the ICSP connector. Keep analog pins (RA0-RA7) away from switching nodes such as PWM outputs to avoid ADC noise coupling. Use a single ground plane with Vdd pours near the analog pins for best ADC2 SNR per datasheet DS40001816F.
The PIC18LF46K40-E/PT is rated 1.8-3.6 V; applying 5 V to any pin will damage it. Always verify Vdd rail before powering up. MCLR must be pulled high through a 10 kΩ resistor for normal operation, and in-circuit programming requires ICD 3 / 4 or PICkit 4 to drive ICSP correctly.
Configure Peripheral Pin Select (PPS) registers before enabling peripheral outputs to prevent momentary glitches. Lock PPS after configuration to avoid runaway code accidentally re-mapping pins. Use the Hardware Limit Timer (HLT) to set safe startup/break conditions for PWM and CCP outputs.
合规信息
RoHS and REACH compliance per Microchip product declarations. PIC18LF46K40-E/PT is not AEC-Q100 qualified; consider PIC18F46K40-E/QTP for automotive-grade applications.