PIC16LF15345-E/GZ - 8-bit MCU, 14KB Flash, 32MHz XLP | Microchip
MPN: PIC16LF15345-E/GZ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.96 | $1.96 |
| 10 | $1.76 | $17.60 |
| 100 | $1.55 | $155.00 |
| 500 | $1.39 | $695.00 |
| 1,000 | $1.24 | $1,240.00 |
PIC16LF15345-E/GZ Overview
What is a Microcontroller (MCU)? A microcontroller is a single-chip computer that integrates a CPU core, program memory (Flash/ROM), data memory (RAM), and a rich set of peripherals such as timers, communication interfaces, and analog blocks. MCUs sit inside the embedded systems hierarchy between discrete digital logic and full microprocessors, and they are the heart of nearly every battery-powered and IoT product. Microchip's PIC16 architecture uses a Harvard RISC core optimized for deterministic interrupt response and code efficiency, while the 16F family adds advanced peripherals and XLP power management for ultra-low standby current.
Key features of the PIC16LF15345 include 14KB self-programmable Flash, 1KB SRAM, 256 bytes of EEPROM, a 10-bit ADC with up to 17 channels, a 5-bit DAC and a 10-bit DAC, four 10-bit PWMs, two EUSART, two MSSP (SPI/I2C), CWG, CLC, and nanoWatt XLP technology delivering sub-uA sleep currents. The 'LF' prefix denotes the 1.8V to 3.6V wide operating voltage range, making the part ideal for single-cell Li-ion or 2x AA battery applications.
Architecturally, the device uses a 16-bit instruction word with an 8-bit data path, hardware stack, and peripheral pin select (PPS) for flexible signal routing. The instruction cache and prefetch buffer accelerate Flash access, and the integrated voltage regulator and brown-out reset (BOR) simplify power supply design. The PPS feature lets designers remap digital peripheral I/O onto a wide range of physical pins, easing PCB layout constraints.
Typical applications include IoT sensor nodes, battery-powered wearables, consumer appliance control, LED lighting controllers, and low-cost motor-control subsystems. The combination of dual EUSART, SPI/I2C, ADC, and PWMs makes it well-suited to industrial sensor conditioning and HMI front-ends.
When designing with this part, ensure the exposed pad on the UQFN-20 package is soldered to a sufficiently large copper pour for both thermal dissipation and ground return. Decouple VDD with a 1uF ceramic capacitor placed within 3 mm of the pin, and use the PPS feature carefully to avoid peripheral-pin conflicts during firmware bring-up.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet, giving engineers a single reference for sourcing and selection.
Drop-in alternatives for PIC16LF15345-E/GZ — same package, pin-to-pin compatible. Different-package parts requiring PCB rework are excluded.
Variants in this series
Same-series models that are drop-in compatible with PIC16LF15345-E/GZ (same form factor and footprint) — differing in Package, DAC, Operating Temperature, SPI / I2C, ADC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F15345-E/GZ
✅ Drop-In✓ In Stock
$1.45 / Unit
View Datasheet →PIC16LF15344T-I/GZ
✅ Drop-In✓ In Stock
$0.78 / Unit
View Datasheet →PIC16LF15344T-I/SS
✅ Drop-In✓ In Stock
$0.86 / Unit
View Datasheet →PIC16LF15325-I/P
✅ Drop-In✓ In Stock
$0.92 / Unit
View Datasheet →PIC16LF15345-E/GZ Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 8-bit RISC (Harvard) |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data Memory (SRAM) | 1 KB |
| EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 17 (varies by package) |
| ADC | 10-bit, up to 17 channels |
| DAC | 5-bit and 10-bit |
| PWM Modules | 4 x 10-bit |
| Comparators | 2 |
| EUSART | 2 |
| MSSP (SPI/I2C) | 2 |
| CWG (Complementary Waveform Generator) | Yes |
| CLC (Configurable Logic Cell) | Yes |
| Peripheral Pin Select (PPS) | Yes |
| Package | 20-pin UQFN (4x4 mm) with exposed pad |
| Operating Temperature | -40C to +125C |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
PIC16LF15345-E/GZ Pin Configuration
| Pin 1 | RA5 — Bidirectional I/O / ICSP data line |
| Pin 2 | RA4 — Bidirectional I/O |
| Pin 3 | RA3 — Bidirectional I/O / MCLR |
| Pin 4 | RA2 — Bidirectional I/O |
| Pin 5 | RA1 — Bidirectional I/O |
| Pin 6 | RA0 — Bidirectional I/O |
| Pin 7 | VDD — Power supply (1.8V to 3.6V) |
| Pin 8 | VSS — Ground |
| Pin 9 | RB7 — Bidirectional I/O |
| Pin 10 | RB6 — Bidirectional I/O / ICSP clock |
| Pin 11 | RB5 — Bidirectional I/O |
| Pin 12 | RB4 — Bidirectional I/O |
| Pin 13 | RC7 — Bidirectional I/O |
| Pin 14 | RC6 — Bidirectional I/O |
| Pin 15 | RC5 — Bidirectional I/O |
| Pin 16 | RC4 — Bidirectional I/O |
| Pin 17 | RC3 — Bidirectional I/O |
| Pin 18 | RC2 — Bidirectional I/O |
| Pin 19 | RC1 — Bidirectional I/O |
| Pin 20 | RC0 — Bidirectional I/O |
Typical Applications
PIC16LF15345-E/GZ is suitable for 6 applications: Battery-Powered IoT Sensor Node, Consumer Appliance Control Panel, LED Lighting Controller, Industrial Sensor Conditioning Front-End, Wearable Health Monitoring Device, Low-Cost Motor Control Subsystem.
Battery-Powered IoT Sensor Node
The PIC16LF15345-E/GZ fits battery-powered IoT sensor nodes through its 1.8V to 3.6V operating range and nanoWatt XLP technology delivering sub-uA sleep current. With 14KB Flash, 1KB RAM, and a 10-bit ADC with up to 17 channels, a single chip can sample multiple sensors, run RTOS-lite scheduling, and transmit via SPI/I2C to a companion radio. The CWG and PPS peripherals enable flexible timer-driven wake cycles, while the 32MHz CPU provides sufficient headroom for cryptographic preprocessing before sleep.
Recommended
Consumer Appliance Control Panel
The PIC16LF15345-E/GZ serves consumer appliance HMI control panels through its rich peripheral mix: 4x 10-bit PWMs for backlight dimming and buzzer tones, 10-bit DAC for audio feedback, two comparators for sensor threshold detection, and dual EUSART/MSSP for communication with main controller boards. The 14KB Flash accommodates state-machine firmware plus lookup tables for menu graphics, while the 1KB RAM supports button-debounce buffers and display frame management in low-cost character LCD designs.
Recommended
LED Lighting Controller
The PIC16LF15345-E/GZ is well-suited to LED lighting controllers via its 4x 10-bit PWMs and Complementary Waveform Generator (CWG) for full-bridge LED driver control. The 5-bit and 10-bit DACs support logarithmic dimming curves, while the CLCs enable hardware-based fault detection that shuts down PWM outputs within microseconds of an overcurrent event. The 1.8V minimum supply allows direct operation from 2x AA or Li-ion battery packs in portable lighting, with standby current in the microamp range extending battery life significantly.
Recommended
Industrial Sensor Conditioning Front-End
The PIC16LF15345-E/GZ is appropriate for industrial 4-20mA loop-powered sensor conditioning front-ends. Its 10-bit ADC with 17 channels handles multiple sensor inputs, while the integrated comparators implement windowed threshold detection for alarm outputs. The CLC blocks can realize hardware glue logic that previously required external gates, reducing BOM cost. Combined with the 1.8V minimum supply and sub-uA sleep modes, the MCU meets IEC 61000-4-2/4-4 EMC requirements when paired with proper TVS protection on field-side pins.
Recommended
Wearable Health Monitoring Device
The PIC16LF15345-E/GZ fits wearable health monitoring devices through its 4x4 mm UQFN footprint, 1.8V operation, and nanoWatt XLP sleep modes that keep quiescent current under 1 uA. The 10-bit ADC captures photoplethysmography (PPG) and bio-impedance signals, while the on-chip DAC drives excitation waveforms for impedance measurements. The 14KB Flash accommodates firmware for heart-rate algorithms, and the dual EUSART/SPI/I2C interfaces connect to BLE radios and display drivers without an external companion MCU.
Recommended
Low-Cost Motor Control Subsystem
The PIC16LF15345-E/GZ handles low-cost BLDC or stepper motor control subsystems through its Complementary Waveform Generator (CWG), 4x 10-bit PWMs, and dual comparators for back-EMF sensing. The 32MHz CPU executes field-oriented control (FOC) loops at adequate update rates for small motors, while the 14KB Flash accommodates custom commutation tables and PID gains. The 1.8V minimum supply allows operation from a single Li-ion cell, and the CLCs implement hardware dead-time insertion between high-side and low-side FET drives.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF15345-E/GZ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F15345-E/GZ | PIC16LF15344T-I/GZ | PIC16LF15344T-I/SS | PIC16LF15325-I/P |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-UQFN (4x4) | 20-UQFN (4x4) - same | 20-UQFN (4x4) - same | 20-SSOP - different | 20-PDIP - different |
| Operating Voltage | 1.8V to 3.6V | 2.3V to 5.5V | 1.8V to 3.6V | 1.8V to 3.6V | 1.8V to 3.6V |
| Flash Memory | 14 KB | 14 KB | 7 KB (-50%) | 7 KB (-50%) | 14 KB |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| EEPROM | 256 B | 256 B | 256 B | 256 B | 256 B |
Key Differentiators
- Lowest operating voltage in 20-UQFN same-family (vs PIC16F15345-E/GZ)
- Higher Flash density vs lower-cost 15344 (vs PIC16LF15344T-I/GZ)
- Compact 4x4 mm UQFN for space-constrained designs (vs PIC16LF15325-I/P)
Design Notes
The 20-pin UQFN (4x4 mm) package on the PIC16LF15345-E/GZ has an exposed thermal pad that MUST be soldered to a ground copper pour of at least 10 mm x 10 mm. Without proper pad soldering, the part's thermal resistance rises dramatically and the internal voltage regulator may misbehave under heavy GPIO load. Place a 1uF X7R ceramic decoupling capacitor within 3 mm of the VDD pin and a second 100 nF within 1 mm for high-frequency noise suppression.
When using Peripheral Pin Select (PPS), remap digital peripherals to pins adjacent to their analog counterparts to keep analog traces short and shielded. The PIC16LF15345-E/GZ allows flexible digital-pin assignment, but the ADC inputs and DAC outputs are fixed - place analog sensors near the dedicated analog pins. Avoid routing high-frequency digital signals (PWM, SPI clock) over the analog ground pour to minimize coupling into ADC readings.
Do not exceed 3.6V on any pin of the PIC16LF15345-E/GZ; the LF variant is NOT 5V tolerant. If interfacing to 5V logic, use a level translator (e.g., TI TXS0108E) or choose the PIC16F15345-E/GZ (5V variant) instead. Also remember that the MCLR pin is shared with RA3 on this package - if MCLR is disabled in configuration bits, RA3 becomes a normal I/O, but if enabled, it requires a pull-up to VDD for normal operation.
For battery-powered designs, leverage the nanoWatt XLP sleep modes and configure unused peripherals as digital outputs tied low to minimize leakage. The PIC16LF15345-E/GZ sleep current is below 1 uA typical when the ADC and comparators are disabled; waking via RTCC or external interrupt re-enables the CPU in under 10 us. Place a 10k pull-up on MCLR if brown-out reset is required, otherwise tie MCLR directly to VDD to save quiescent current.
Compliance Information
RoHS and REACH compliant per Microchip product page. Lead-free matte-tin plating. Industrial temperature grade -40C to +125C. Not AEC-Q100 qualified (choose automotive-grade PIC16F15345-E/GZVAO for vehicle applications).