PIC16LF18346-E/P - 8-Bit XLP MCU, 28KB Flash, 32MHz | Microchip
料号: PIC16LF18346-E/P ✓ 量产中| 数量 | 单价 | 小计 |
|---|---|---|
| 1 | $2.39 | $2.39 |
| 10 | $2.15 | $21.50 |
| 100 | $1.92 | $192.00 |
| 500 | $1.71 | $855.00 |
| 1,000 | $1.52 | $1,520.00 |
PIC16LF18346-E/P 概述
A microcontroller (MCU) is a single-chip computer containing a CPU core, non-volatile program memory (typically Flash), volatile data memory (RAM), and a configurable set of analog and digital peripherals. The PIC16LF18346 sits within Microchip's PIC16 mid-range MCU family, which occupies the entry-level to mid-tier segment of the 8-bit microcontroller market. The 'LF' prefix denotes the XLP (eXtreme Low Power) sub-family optimized for battery applications, while the 'PIC16' prefix indicates the 14-bit instruction word architecture shared across this family. Within the broader electronics taxonomy, this device belongs to: microcontroller -> 8-bit MCU -> embedded controller -> semiconductor IC.
Key features include nanoWatt XLP technology with sleep currents as low as 60 nA (typical), 2x SPI/I2C, 2x UART, 2x CCP/PWM, 1x 10-bit ADC with automatic threshold scanning, 1x 5-bit DAC, 1x comparator, and up to 18 I/O pins via PPS mapping. The 20-pin PDIP package provides easy through-hole prototyping for hobbyists, educators, and low-volume production.
Architecturally, the device uses a Harvard RISC core with a 14-bit instruction set and a hardware stack, executing most instructions in one cycle at 32 MHz (8 MIPS). PPS allows remapping of digital functions (CLC, CWG, CCP, PWM, communications) to nearly any I/O pin, simplifying PCB layout and reducing firmware redesign when port assignments change.
Typical applications include battery-powered IoT sensor nodes, low-power wireless remotes, LED lighting controllers, environmental data loggers, consumer appliance controls, and small motor-driver front ends. The combination of PPS flexibility and CIPs enables designers to implement state machines, waveform synthesis, and sensor sampling without burdening the CPU.
When designing with the PIC16LF18346-E/P, plan the power budget carefully: deep sleep draws nanoamps but active current is single-digit mA depending on peripherals enabled. Always include a 0.1µF decoupling capacitor within a few millimeters of VDD/VSS, and consider a 10µF bulk capacitor on the rail for ADC accuracy.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a faster path from selection to qualified design.
直接替换替代料: PIC16LF18346-E/P ——相同封装,引脚兼容。需要 PCB 改动的不同封装料号已排除。
本系列中的变体
可与以下型号直接替换的同系列型号: PIC16LF18346-E/P (相同外形与封装尺寸) ——差异在于 ADC, Package, DAC, Core, Operating Temperature.
快速对比工具——选择替代料号进行并排对比:
PIC16LF18345-E/P
✅ 直接替换✓ 有现货
$0.74 / 个
查看数据手册 →PIC16LF18344-E/P
✅ 直接替换✓ 有现货
$0.81 / 个
查看数据手册 →PIC16LF18346-I/P
✅ 直接替换 ⚠️ 规格未核验✓ 有现货
$1.05 / 个
查看数据手册 →PIC16F18346-E/P
✅ 直接替换📋 参考替代料(不在目录中)
PIC16LF18326-E/P
✅ 直接替换✓ 有现货
$1.02 / 个
查看数据手册 →PIC16LF18346-E/P 最大额定值与电气特性
| Core | PIC16 8-bit RISC, 14-bit instruction word |
| Program Memory | 28 KB Flash (16K x 14 words) |
| Data RAM | 2 KB |
| EEPROM | 256 B |
| Maximum CPU Frequency | 32 MHz (8 MIPS) |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| 工作温度 | -40C to +125C (E suffix = Extended) |
| I/O Pins | Up to 18 (via Peripheral Pin Select) |
| ADC | 1x 10-bit ADC with Computation (ADC2) |
| DAC | 1x 5-bit DAC |
| Comparators | 1x with selectable references |
| Timers | 4x 8-bit, 4x 16-bit (selectable) |
| PWM / CCP | 2x CCP, 2x PWM |
| Waveform Generator | 1x CWG (Complementary Waveform Generator) |
| Configurable Logic Cells | 4x CLC |
| Communication | 2x SPI/I2C, 2x UART |
| 封装 | 20-pin PDIP (0.300", 7.62 mm) |
| 安装类型 | Through-Hole |
| Sleep Current (XLP) | 60 nA typical (Watchdog Timer off) |
| RoHS 状态 | Compliant |
PIC16LF18346-E/P 引脚配置
| 引脚 1 | RA5/MCLR#/VPP — PORTA bit 5 / Master Clear (reset) input / programming voltage |
| 引脚 2 | RA0/AN0/C1IN0+/DAC1OUT1 — PORTA bit 0 / Analog input 0 / Comparator input / DAC output |
| 引脚 3 | RA1/AN1/C1IN1- — PORTA bit 1 / Analog input 1 / Comparator input |
| 引脚 4 | RA2/AN2/VREF- — PORTA bit 2 / Analog input 2 / Voltage reference negative |
| 引脚 5 | RA3/AN3/VREF+ — PORTA bit 3 / Analog input 3 / Voltage reference positive |
| 引脚 6 | RA4/AN4 — PORTA bit 4 / Analog input 4 |
| 引脚 7 | RA5/MCLR#/VPP — PORTA bit 5 / Master Clear (reset) input / programming voltage (alternate) |
| 引脚 8 | VSS — Ground reference |
| 引脚 9 | RA7/OSC1/CLKIN — PORTA bit 7 / Oscillator input / external clock input |
| 引脚 10 | RA6/OSC2/CLKOUT — PORTA bit 6 / Oscillator output / clock output |
| 引脚 11 | RC0/SOSCO — PORTC bit 0 / Secondary oscillator output (32.768 kHz) |
| 引脚 12 | RC1/SOSCI — PORTC bit 1 / Secondary oscillator input (32.768 kHz) |
| 引脚 13 | RC2/AN6 — PORTC bit 2 / Analog input 6 |
| 引脚 14 | RC3/AN7 — PORTC bit 3 / Analog input 7 |
| 引脚 15 | RC4 — PORTC bit 4 |
| 引脚 16 | RC5 — PORTC bit 5 |
| 引脚 17 | RC6 — PORTC bit 6 |
| 引脚 18 | RC7 — PORTC bit 7 |
| 引脚 19 | VDD — Positive supply voltage (1.8V to 3.6V) |
| 引脚 20 | VSS — Ground reference |
典型应用
PIC16LF18346-E/P 适用于 7 应用s: Battery-Powered IoT Sensor Node, Low-Power Wireless Remote Control, LED Lighting Controller, Environmental Data Logger, Consumer Appliance Control, Small Motor / Solenoid Front End, Hobby / Educational Prototyping.
Battery-Powered IoT Sensor Node
The PIC16LF18346-E/P is well-suited for battery-powered IoT sensor nodes due to its nanoWatt XLP technology, with deep-sleep current as low as 60 nA typical enabling multi-year battery life from a single coin cell. The 1.8V to 3.6V VDD range supports direct Li-ion or 2x alkaline cell operation without a boost converter. Its 10-bit ADC2 with computation offloads windowed threshold comparisons to hardware, allowing the CPU to remain in sleep until sensor thresholds trigger a wake event via interrupt-on-change. The Peripheral Pin Select (PPS) flexibility and 2x UART/SPI/I2C allow direct interfacing with sensors, BLE modules, or LoRa transceivers. A 0.1µF decoupling capacitor within 5 mm of VDD is recommended for ADC accuracy.
推荐
Low-Power Wireless Remote Control
For handheld wireless remotes, the PIC16LF18346-E/P offers the optimal balance of low power, fast wake, and integrated peripherals. Its 32 MHz core achieves 8 MIPS, sufficient for IR protocol encoding (RC5, NEC) or simple RF control (EV1527, PT2262 emulation). The CWG (Complementary Waveform Generator) can produce IR-modulated 38 kHz carriers directly, while the CLC implements glue logic without external gates. Sleep current of 60 nA means a CR2032 coin cell can power the remote for years between button presses, and the interrupt-on-change I/O provides instant wake from any button press without CPU polling. Recommend a 0.1µF VDD bypass cap and proper ESD protection on tactile switch lines.
推荐
LED Lighting Controller
The PIC16LF18346-E/P drives LED lighting applications using its 2x CCP/PWM modules plus the CWG for complementary outputs, supporting full-bridge or half-bridge LED drivers directly. The 10-bit ADC2 with computation can sample ambient light sensors (e.g., photodiodes via transimpedance amplifier) and execute automatic dimming curves in hardware, freeing the CPU for higher-level tasks. The 32 MHz core and 8 MIPS performance support WS2812B / APA102 addressable-LED bit-banging protocols, or DMX512 reception for stage lighting. The 1.8V to 3.6V supply works well for 3.3V LED systems, while the 5V PIC16F18346 variant handles higher-voltage LED rails. Use a 10µF bulk cap plus 0.1µF ceramic bypass.
推荐
Environmental Data Logger
For battery-operated environmental data loggers (temperature, humidity, pressure), the PIC16LF18346-E/P's 28KB Flash supports multi-month sensor-data buffering, while the 256B EEPROM provides non-volatile configuration. The 10-bit ADC2 with computation can directly digitize analog sensors, and the I2C/SPI peripherals interface with SHT30, BME280, or BMP280 digital sensors. Sleep current of 60 nA and the RTCC (Real-Time Clock Calendar) with alarm wake-up allow sampling at 1-minute intervals for years from a single CR2477 cell. The PPS module allows sensor I/O to coexist with debug pins without remapping firmware. A 32.768 kHz crystal on SOSCO/SOSCI pins enables accurate timekeeping.
推荐
Consumer Appliance Control
In small consumer appliances (coffee makers, kitchen timers, fan controllers, dehumidifiers), the PIC16LF18346-E/P handles user input, sensor sampling, and actuator drive. Its CWG module generates complementary PWM for brushed DC motor control, while the comparator enables over-current protection by sensing shunt voltage. The 10-bit ADC2 with hardware computation executes zero-crossing detection and closed-loop control without CPU intervention. The 1.8V to 3.6V range supports 2xAA/2xAAA battery operation or 3.3V from a small mains-powered supply. The Extended -40C to +125C temperature grade (E suffix) handles appliance thermal environments. Always include TVS protection on mains-coupled pins and reinforced isolation.
推荐
Small Motor / Solenoid Front End
The PIC16LF18346-E/P drives small DC motors, solenoids, and stepper motors in low-power motion-control applications. Its CWG produces complementary PWM with programmable dead-time, ideal for half-bridge or full-bridge MOSFET drivers such as the MCP14E4 or MCP14E8. The 10-bit ADC2 with hardware computation reads back EMF or current-sense signals for closed-loop speed or position control, while the CLC implements window comparators for end-of-travel or stall detection without CPU load. The 32 MHz core supports real-time commutation algorithms for sensorless BLDC using back-EMF zero-crossing detection. Pair with an MCP1755 LDO for noise-free analog supply; recommend a 10µF bulk cap on motor supply rails.
推荐
Hobby / Educational Prototyping
The 20-pin PDIP through-hole package of the PIC16LF18346-E/P makes it ideal for breadboarding, educational kits, and hobby projects where students learn embedded programming. The 32 MHz performance, 28KB Flash, and rich peripheral set (CLC, CWG, ADC2, PPS) provide extensive learning opportunities without requiring surface-mount soldering. The PICkit 4 / Snap programmer projects available from Microchip support the part natively, and MPLAB X IDE plus XC8 compiler offer free development environments. The nanoWatt XLP features demonstrate battery-powered design principles. For educators, the 20-pin PDIP footprint allows easy replacement of failed parts and clear signal probing on an oscilloscope or logic analyzer.
推荐
推荐产品汇总
工程参考数据: PIC16LF18346-E/P ——对比、设计指导和合规信息。
选型指南
与替代料对比
| 参数 | 本产品 | PIC16LF18345-E/P | PIC16LF18344-E/P | PIC16LF18346-I/P | PIC16F18346-E/P | PIC16LF18326-E/P |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-pin PDIP | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same | 20-pin PDIP - same |
| Flash Memory | 28 KB | 14 KB | 7 KB | 28 KB (same) | 28 KB (same) | 16 KB |
| Data RAM | 2 KB | 1 KB | 1 KB | 2 KB (same) | 2 KB (same) | 1 KB |
| Maximum Frequency | 32 MHz | 32 MHz (same) | 32 MHz (same) | 32 MHz (same) | 32 MHz (same) | 32 MHz (same) |
| Supply Voltage (VDD) | 1.8 V to 3.6 V | 1.8 V to 3.6 V (same) | 1.8 V to 3.6 V (same) | 1.8 V to 3.6 V (same) | 2.3 V to 5.5 V | 1.8 V to 3.6 V (same) |
| Operating Temperature | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +125C (Extended) |
| EEPROM | 256 B | 256 B (same) | 256 B (same) | 256 B (same) | 256 B (same) | 256 B (same) |
关键差异点
- nanoWatt XLP technology with 60 nA typical sleep current (对比 PIC16LF18326-E/P)
- Core Independent Peripherals (CLC, CWG, ADC2 with computation) (对比 PIC16LF18345-E/P)
- 1.8V to 3.6V VDD with nanoWatt XLP (对比 PIC16F18346-E/P)
设计说明
Estimated: At VDD=3.3V, 32 MHz, all peripherals active, the PIC16LF18346-E/P active current is ~3-5 mA typical (per Microchip datasheet 40001839E DC characteristics). For battery-powered designs, switch to the 32 kHz SOSC oscillator and use Sleep mode between sensor reads - the nanoWatt XLP technology achieves 60 nA typical deep-sleep current (Watchdog Timer off). Always include a 0.1µF ceramic decoupling capacitor within 5 mm of VDD pin, plus a 10µF bulk capacitor for transient load support during ADC sampling.
For the 20-pin PDIP package, place VDD/VSS decoupling as close to the IC as possible - 0.1µF ceramic within 5 mm and 10µF tantalum or ceramic bulk within 20 mm. If using ADC, separate analog VDD/VSS from digital VDD/VSS with a ferrite bead or small resistor plus capacitor filter to avoid digital noise coupling into ADC readings. Keep high-current traces (motor drivers, LED drivers) away from analog inputs; the on-chip ADC2 with computation can produce misleading results if PCB layout is poor.
Critical pitfalls when using the PIC16LF18346-E/P: (1) Do NOT exceed 3.6V on VDD - this is the LF (low-voltage) part; for 5V systems use the PIC16F18346 instead. (2) MCLR#/RA5 pin must have a pull-up resistor (typically 10k ohm) for normal operation; floating MCLR causes intermittent resets. (3) When using PPS, the PPS-lock register bit must be unlocked before changes - failing to do so yields silent peripheral mapping failures. (4) The ADC2 with computation has a fixed acquisition time; consult datasheet tables for proper TAD setup, otherwise ADC readings become noisy or stuck at full-scale.
For 32.768 kHz crystal connections on SOSCO/SOSCI (pins 11/12), keep traces short and symmetric, surround with a ground plane, and place load capacitors (typically 12-22 pF) close to the crystal pins. For the 20-pin PDIP socket footprint, reserve enough clearance around the IC for a programming clip (e.g., PICkit 4) or consider an ICSP header (ICSP header pinout: 1=VPP/MCLR, 2=VDD, 3=VSS, 4=ICSPCLK, 5=ICSPDAT) for in-circuit debugging. Reserve pads for a 0.1µF decoupling cap on each VDD pin.
合规信息
RoHS compliant per Microchip product page. Lead-free PDIP package. AEC-Q100 not qualified - for automotive-grade PIC16 MCUs, see the PIC16F18346-E/P variant family with automotive extensions. Halogen-free status not explicitly listed in datasheet; assume unknown.