PIC16LF18345T-I/GZ - 8-Bit MCU, 14KB Flash, 32MHz XLP | Microchip
MPN: PIC16LF18345T-I/GZ ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.42 | $1.42 |
| 10 | $1.28 | $12.80 |
| 100 | $1.13 | $113.00 |
| 500 | $0.99 | $495.00 |
| 1,000 | $0.88 | $880.00 |
PIC16LF18345T-I/GZ Overview
An 8-bit microcontroller (MCU) is a single-chip computer built around an 8-bit data path, optimized for low-cost, deterministic control tasks. The PIC architecture sits within the broader category of microcontrollers -> embedded microcontrollers -> RISC microcontrollers -> semiconductor ICs. The 'LF' family extends the standard 'F' family with Microchip's eXtreme Low Power (XLP) technology, providing sleep currents below 50 nA for battery-powered edge nodes.
Key features include 14KB (8K x 14 words) self-programmable Flash, 1KB SRAM, 256 bytes of EEPROM, 10-bit ADC with computation, 5-bit DAC, two comparators, two CCP modules, two 10-bit PWM, CWG, CLC, NCO, two USART, two SPI/I2C, and Peripheral Pin Select (PPS) for flexible pin mapping. The 20-pin UQFN (4x4mm) package exposes 18 I/O pins with interrupt-on-change and weak pull-up on every port pin.
The PIC16LF18345 uses Microchip's enhanced mid-range 8-bit RISC core with hardware multiply support and a 2-level deep hardware stack, providing predictable interrupt latency while executing CIPs autonomously without CPU intervention. The 10-bit ADC with computation performs oversampling, averaging, and threshold comparison in hardware, reducing firmware burden in sensor-interface designs.
Typical applications include low-power IoT sensor nodes, battery-powered remote controls, LED lighting controllers, consumer handheld devices, and industrial sensor transmitters. The combination of XLP sleep modes, PPS, and CIPs makes the part well suited to designs that need deterministic peripheral behavior with minimal firmware overhead.
When designing with this part, allocate sufficient decoupling (100 nF + 1 uF) adjacent to VDD/VSS, route the ICSP/PGD/PGC lines away from PWM outputs, and verify the ICSP header spacing against the chosen footprint. PPS must be configured in firmware before using remapped peripherals; otherwise digital peripherals will not drive their assigned pins.
This page consolidates distributor pricing, drop-in same-package alternatives, and practical design notes not found in the standalone manufacturer datasheet, giving procurement and design teams a single decision point for the PIC16LF18345T-I/GZ.
Drop-in alternatives for PIC16LF18345T-I/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 PIC16LF18345T-I/GZ (same form factor and footprint) — differing in ADC, Package, Program Memory (Flash), Operating Temperature, DAC.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F18345T-I/GZ
✅ Drop-In✓ In Stock
$2.04 / Unit
View Datasheet →PIC16LF18344T-I/GZ
✅ Drop-In✓ In Stock
$0.78 / Unit
View Datasheet →PIC16LF18326T-I/GZ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF18325T-I/GZ
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1829T-I/GZ
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC16LF18345T-I/GZ Maximum Ratings & Electrical Characteristics
| Core | PIC 8-bit RISC (enhanced mid-range) |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 1 KB |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz (8 MIPS) |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| ADC | 10-bit, with Computation (ADC2) |
| DAC | 5-bit, 1 channel |
| Comparators | 2 |
| CCP / PWM | 2 CCP, 10-bit PWM |
| Communication | 2x USART, 2x SPI, 2x I2C |
| I/O Pins | 18 |
| Package | 20-pin UQFN (GZ) 4x4 mm |
| Operating Temperature | -40 C to +85 C (Industrial, 'I') |
| Mounting Type | Surface Mount |
| MSL Level | 3 (168 hours) |
| RoHS Status | Compliant |
| Peripheral Pin Select (PPS) | Yes |
PIC16LF18345T-I/GZ Pin Configuration
| Pin 1 | RA5 — GPIO / ICSPCLK / ADC input |
| Pin 2 | RA4 — GPIO / ICSPDAT / ADC input |
| Pin 3 | RA3 — GPIO / MCLR#/VPP |
| Pin 4 | RA2 — GPIO / DAC1OUT / ADC input |
| Pin 5 | RA1 — GPIO / ICSPCLK / ADC input |
| Pin 6 | RA0 — GPIO / ICSPDAT / ADC input |
| Pin 7 | VSS — Ground |
| Pin 8 | RA7 — GPIO / DAC1REF+/ADC input |
| Pin 9 | RA6 — GPIO / OSC2 / CLKR |
| Pin 10 | RC0 — GPIO / SOSCIN / ADC input |
| Pin 11 | RC1 — GPIO / SOSCOUT / ADC input |
| Pin 12 | RC2 — GPIO / ADC input |
| Pin 13 | RC3 — GPIO / ADC input |
| Pin 14 | RC4 — GPIO / ADC input |
| Pin 15 | RC5 — GPIO / ADC input |
| Pin 16 | RC6 — GPIO |
| Pin 17 | RC7 — GPIO |
| Pin 18 | RB7 — GPIO / ICSPDAT |
| Pin 19 | VDD — Positive supply (1.8 V to 3.6 V) |
| Pin 20 | RB5 — GPIO / ICSPCLK / ADC input |
Typical Applications
PIC16LF18345T-I/GZ is suitable for 6 applications: Battery-Powered IoT Sensor Node, Remote Control / Consumer Handheld, LED Lighting Controller / DMX Driver, Industrial Sensor Transmitter (4-20 mA / WirelessHART), Wearable Health Monitor, Automotive Body Electronics (Non-Safety).
Battery-Powered IoT Sensor Node
The PIC16LF18345T-I/GZ is well-suited for battery-powered IoT sensor nodes because its eXtreme Low Power (XLP) sleep mode draws sub-microamp standby current while the 10-bit ADC with computation (ADC2) performs oversampling and threshold checks in hardware. The 32 MHz CPU wakes only to transmit a sensor reading, and Peripheral Pin Select (PPS) lets the designer route UART and SPI to the most efficient package pins. Two comparators support low-battery detection, while 1 KB SRAM buffers up to 256 samples between transmit events, reducing radio-on time and extending coin-cell life by up to 4x.
Recommended
Remote Control / Consumer Handheld
In consumer handheld devices such as TV remotes, the PIC16LF18345T-I/GZ operates directly from 2x AA cells (1.8-3.6 V) and uses CWG/CLC core-independent peripherals to generate IR carrier signals without CPU involvement, eliminating latency in button response. The 14 KB Flash holds protocol stacks for RC5/RC6/SIRC, while interrupt-on-change on every I/O pin supports matrix keypads up to 8x8. The 20-UQFN (GZ) 4x4mm package fits inside the slim battery compartment typical of handheld remotes.
Recommended
LED Lighting Controller / DMX Driver
The PIC16LF18345T-I/GZ drives multi-channel LED strings using its 10-bit PWM and Complementary Waveform Generator (CWG) for dead-band control, supporting high-resolution dimming without CPU jitter. Two USART peripherals handle DMX-512 / RDM receive and transmit simultaneously, while PPS routes the digital peripherals to any of the 18 I/O pins. The 32 MHz CPU executes DMX frame assembly in 25 microseconds, leaving headroom for color-mixing and temperature-compensation algorithms.
Recommended
Industrial Sensor Transmitter (4-20 mA / WirelessHART)
For 4-20 mA loop-powered industrial transmitters, the PIC16LF18345T-I/GZ operates from the loop voltage (typically 12-24 V regulated to 3.3 V) and uses its 10-bit ADC with computation to compensate for sensor non-linearity in hardware. The 256-byte EEPROM stores calibration coefficients, while the 32 MHz core computes ISA100.11a or WirelessHART MAC timing precisely. The industrial -40 C to +85 C operating range and Core Independent Peripherals guarantee deterministic response in safety-critical loops.
Recommended
Wearable Health Monitor
The PIC16LF18345T-I/GZ fits wearable health monitors because the XLP sleep current below 1 uA extends coin-cell life, and the 10-bit ADC with computation samples heart-rate or SpO2 photodiode signals with averaging in hardware. The compact 20-UQFN (4x4mm) package fits wristbands and patches, while 18 I/O pins support multi-sensor fusion (PPG + temperature + 9-axis IMU I2C/SPI). PPS routes the SPI/I2C peripherals to minimize PCB trace crossings in space-constrained wearables.
Recommended
Automotive Body Electronics (Non-Safety)
The PIC16LF18345T-I/GZ is a fit for non-safety automotive body modules such as LED interior lighting, mirror controllers, or seat-position memories, where LIN communication and 32 MHz processing are required but AEC-Q100 is not mandated. The 1.8-3.6 V range is compatible with 12 V battery-derived 3.3 V rails after pre-regulation, and the PPS remap capability simplifies PCB layout under the tight space constraints of body modules. For safety-critical functions, select a PIC18 or dsPIC33 variant with explicit AEC-Q100 qualification instead.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF18345T-I/GZ — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F18345T-I/GZ | PIC16LF18344T-I/GZ | PIC16LF18326T-I/GZ | PIC16LF18325T-I/GZ | PIC16F1829T-I/GZ |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-UQFN (GZ) 4x4 mm | 20-UQFN (GZ) 4x4 mm - same | 20-UQFN (GZ) 4x4 mm - same | 20-UQFN (GZ) 4x4 mm - same | 20-UQFN (GZ) 4x4 mm - same | 20-UQFN (GZ) 4x4 mm - same |
| Flash Memory | 14 KB | 14 KB | 7 KB | 8 KB | 7 KB | 14 KB |
| SRAM | 1 KB | 1 KB | 512 B | 1 KB | 512 B | 1 KB |
| Maximum VDD | 3.6 V | 5.5 V | 3.6 V | 3.6 V | 3.6 V | 5.5 V |
| CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| ADC | 10-bit with Computation | 10-bit with Computation | 10-bit with Computation | 10-bit with Computation | 10-bit with Computation | 10-bit |
| Peripheral Pin Select | Yes | Yes | Yes | Yes | Yes | No |
| XLP Support | Yes (LF variant) | Limited | Yes | Yes | Yes | Limited |
Key Differentiators
- Identical 14 KB Flash and same 20-UQFN (GZ) footprint for direct system-voltage migration (vs PIC16F18345T-I/GZ)
- Larger Flash (14 KB vs 7 KB) with same UQFN-20 footprint (vs PIC16LF18325T-I/GZ)
- ADC2 with Computation for hardware-accelerated sensor processing (vs PIC16F1829T-I/GZ)
Design Notes
Place a 100 nF 0402 ceramic decoupling capacitor within 3 mm of the VDD pin and a bulk 1 uF X5R capacitor on the same node. For XLP designs, ground the unused pins via CONFIG settings rather than firmware loops to achieve the lowest sleep current (~50 nA typical). Estimated: the typical current shown is from Microchip family datasheet 40001795H, not a derived calculation.
The 20-UQFN (GZ) 4x4mm package exposes a center thermal pad that must be soldered to a VSS copper pour of at least 0.5 cm^2 for production reliability. Route the ICSPDAT/ICSPCLK signals away from PWM output traces to avoid crosstalk during programming. Keep the trace from VDD to the bulk capacitor under 5 mm to maintain a low-impedance power path during MCU wake events.
PPS must be configured in firmware before any remapped peripheral operates; otherwise UART/SPI outputs will not appear on the assigned pin. The MCLR pin (RA3) requires a 10 kohm pull-up if programming/debug is needed - do not leave it floating. Do not exceed 3.6 V on VDD for the 'LF' variant; use the 'F' (PIC16F18345) variant for 5 V systems.
For long-distance I2C runs (>5 cm), add a 4.7 kohm pull-up to VDD instead of relying on internal weak pull-ups, which are typically 20-50 kohm and cannot meet the I2C rise-time spec. The 32 MHz internal oscillator provides 1% accuracy after OSCTUNE calibration, which is sufficient for UART communication up to 115200 baud but may not meet CAN bit-time requirements without an external crystal.
Compliance Information
RoHS and lead-free status from Microchip product page. AEC-Q100 not qualified; for automotive designs choose AEC-Q100 parts from the PIC16/dsPIC families.