PIC16LF15313-I/RF - 8-bit 32MHz XLP MCU, 3.5KB Flash | Microchip
MPN: PIC16LF15313-I/RF ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $1.32 | $1.32 |
| 10 | $1.19 | $11.90 |
| 100 | $1.05 | $105.00 |
| 500 | $0.92 | $460.00 |
| 1,000 | $0.82 | $820.00 |
| 3,000 | $0.74 | $2,220.00 |
PIC16LF15313-I/RF Overview
What is a PIC16 microcontroller? The PIC16 is a family of 8-bit RISC microcontrollers built around an enhanced mid-range core with a 14-bit instruction word. Within the broader taxonomy, PIC16F/LF parts sit between the PIC10/12/16 baseline families and PIC18/dsPIC33 16-bit devices; LF variants add the XLP ultra-low-power feature set for coin-cell and energy-harvesting applications. The 15313 specifically targets high-integration, low-pin-count nodes (sensor nodes, LED lighting, and capacitive-touch front-ends).
Key features include 32 MHz CPU speed, 3.5 KB self-programmable Flash, 256 B SRAM, 10-bit ADC with automated math accelerator, 5-bit DAC, two comparators with selectable references, four CLC blocks (state-machine logic that replaces discrete gates), four 10-bit PWMs, one EUSART (asynchronous/synchronous), one SPI, one I2C, and a CWG that generates complementary dead-band waveforms for half-bridge motor or FET driver control. The I/O count is six, with PPS remapping across most digital functions. Active current is roughly in the microamp range at low CPU speeds, and sleep current is well below 1 µA typical in XLP mode.
Architecturally, the device uses the PIC16 enhanced mid-range core with a 14-bit-wide instruction set, hardware multiplier, and interrupt controller supporting both core and peripheral interrupt sources. The PPS fabric re-routes digital peripheral inputs/outputs to general-purpose I/O pins, which is essential at 8 pins where peripheral count exceeds pin count. The XLP design provides nanoWatt sleep modes, ultra-low-power watchdog, and Sleep mode current measured in nanoamps.
Typical applications include IoT sensor nodes with battery or energy-harvesting power, LED lighting controllers and dimmers using the CWG and PWMs, consumer remote controls, capacitive-touch front-ends driven by CLC and comparators, and small motor or solenoid drivers driven by the CWG/PWM combination. The combination of low pin count and high peripheral density makes it well suited to space-constrained boards that need analog and digital glue logic.
When designing with this part, ensure the exposed pad is soldered to a sufficient ground copper pour for thermal and electrical performance, and route PPS-mapped signals before locking the PCB, since changing pin assignments later does not require a footprint change. For low-power sleep design, leverage the XLP sleep modes and disable unused peripherals via PMD bits to minimize quiescent current.
This page synthesizes distributor pricing, drop-in same-package alternatives, and practical design notes not consolidated on any single manufacturer or distributor product page.
Drop-in alternatives for PIC16LF15313-I/RF — 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 PIC16LF15313-I/RF (same form factor and footprint) — differing in Comparators, ADC, PWM Channels, Package, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16F15313-I/RF
✅ Drop-In✓ In Stock
$0.74 / Unit
View Datasheet →PIC16LF15313-I/SN
✅ Drop-In✓ In Stock
$0.78 / Unit
View Datasheet →PIC16LF15313-E/RF
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC16LF15313T-I/RF
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F18313-I/RF
✅ Drop-In✓ In Stock
$0.66 / Unit
View Datasheet →PIC16LF15323-I/RF
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC16LF15313-I/RF Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 enhanced mid-range 8-bit RISC |
| Instruction Set Width | 14-bit |
| Program Memory (Flash) | 3.5 KB (2K x 14) |
| Data SRAM | 256 B |
| Maximum CPU Speed | 32 MHz |
| Operating Voltage Range | 1.8 V to 3.6 V |
| I/O Pins | 6 (8-pin DFN package) |
| ADC | 10-bit, with Computation (ADC2) |
| DAC | 5-bit |
| Comparators | 2 with selectable references |
| PWM Channels | 4 x 10-bit |
| CLC (Configurable Logic Cells) | 4 |
| CWG (Complementary Waveform Generator) | 1 |
| Communication Interfaces | EUSART (1), SPI (1), I2C (1) |
| Peripheral Pin Select (PPS) | Yes |
| Low-Power Feature | eXtreme Low Power (XLP) with nanoWatt sleep |
| Package | 8-pin DFN (3x3 mm) with exposed pad |
| Mounting Type | Surface Mount |
| Operating Temperature Range | -40C to +85C (Industrial, I-temp) |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC16LF15313-I/RF Pin Configuration
| Pin 1 | VDD — Positive supply voltage (1.8V to 3.6V) |
| Pin 2 | RA5 — Bidirectional I/O with PPS; analog-capable |
| Pin 3 | RA4 — Bidirectional I/O with PPS; analog-capable |
| Pin 4 | RA3/MCLR — I/O or Master Clear (reset) input with weak internal pull-up |
| Pin 5 | RA2 — Bidirectional I/O with PPS; analog-capable |
| Pin 6 | RA1 — Bidirectional I/O with PPS; analog-capable |
| Pin 7 | RA0 — Bidirectional I/O with PPS; analog-capable |
| Pin 8 | VSS/EP — Ground and exposed thermal pad (must be soldered to PCB ground) |
Typical Applications
PIC16LF15313-I/RF is suitable for 6 applications: Battery-Powered IoT Sensor Node, LED Lighting Controller / Dimmer, Capacitive Touch Front End, Consumer Remote Control, Small Motor / Solenoid Driver Controller, Industrial Sensor Transmitter (4-20 mA Loop).
Battery-Powered IoT Sensor Node
The PIC16LF15313-I/RF fits battery-powered IoT sensor nodes because of its 1.8V-3.6V operating range and XLP nanoWatt sleep modes, which together enable multi-year battery life on a single coin cell. Its 10-bit ADC2 with computation handles analog sensor readout (temperature, light, gas), while the on-chip CLC blocks replace discrete glue logic to debounce and pre-process sensor signals before wakeup. Six PPS-remappable I/O and 256 B SRAM are sufficient for BLE/Wi-Fi co-processor command framing. Compared with discrete low-power analog front ends, this part integrates the wakeup timer, ADC, and digital filter fabric in a 3x3 mm DFN.
Recommended
LED Lighting Controller / Dimmer
In LED lighting controllers, the PIC16LF15313-I/RF drives LED currents via its four 10-bit PWMs and the Complementary Waveform Generator (CWG), which produces dead-band-corrected complementary outputs for half-bridge FET drivers in buck/boost LED topologies. The 5-bit DAC and two comparators implement analog dimming feedback loops or zero-cross detection for TRIAC replacement. The 32 MHz CPU handles DMX, DALI, or 0-10V dimming protocols through EUSART or PWM, while 3.5 KB Flash is sufficient for protocol stacks. XLP sleep reduces standby power below 1 µA in off-state smart bulbs.
Recommended
Capacitive Touch Front End
The PIC16LF15313-I/RF's mTouch firmware library, combined with its four CLC blocks and two comparators, implements up to four capacitive-touch buttons without an external touch IC. The CLC state machines debounce and time-multiplex the touch scans, freeing CPU cycles for host communication. The 10-bit ADC2 provides proximity and signal-strength readouts. With PPS, touch electrodes can be routed to any of the six I/O pins, simplifying PCB layout versus dedicated touch ICs. Operating from 1.8V allows direct connection to battery-powered touch remotes and appliances.
Recommended
Consumer Remote Control
In a consumer remote control, the PIC16LF15313-I/RF provides 32 MHz CPU to scan a 4x4 or smaller keypad matrix through GPIO, run capacitive-touch buttons via CLC, and drive an IR or sub-GHz transmitter through PWM or EUSART. Its 1.8V-3.6V range and nanoWatt sleep current extend battery life to multi-year spans on a single coin cell, while 256 B SRAM and 3.5 KB Flash fit RC5/RC6, NEC, or proprietary IR protocols with room for custom command sets. PPS reassigns EUSART, SPI, or I2C peripherals across any I/O to fit the keypad scanning.
Recommended
Small Motor / Solenoid Driver Controller
The PIC16LF15313-I/RF controls small brushed DC motors or solenoids through its CWG (Complementary Waveform Generator) and four PWMs, providing dead-band control for half-bridge MOSFET drivers without requiring an external timer IC. The 32 MHz core runs PID loops at 10-20 kHz with the 10-bit ADC reading back current or position. XLP sleep reduces standby current between motion events to nanoamps. The DFN-8 footprint (3x3 mm) and PPS-remappable fault I/O are well suited to compact BLDC or stepper front-end boards.
Recommended
Industrial Sensor Transmitter (4-20 mA Loop)
The PIC16LF15313-I/RF powers a 4-20 mA or 0-10V industrial sensor transmitter by reading a bridge or RTD sensor via its 10-bit ADC2 and outputting a current or voltage through the 5-bit DAC plus PWM filtered to DC. Its 1.8V-3.6V range supports loop-powered 3.3V designs with low quiescent draw (XLP modes). The CLC blocks implement HART or similar protocol modulation digitally without external modems. PPS reassigns EUSART to interface with calibration tools or HART modems. The -40C to +85C industrial temperature rating suits most factory environments.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF15313-I/RF — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16F15313-I/RF | PIC16LF15313-I/SN | PIC16LF15313-E/RF | PIC16LF15313T-I/RF | PIC16F18313-I/RF |
|---|---|---|---|---|---|---|
| Package | 8-pin DFN (3x3 mm) | 8-pin DFN (3x3 mm) - same | SOIC-8 (different footprint) | 8-pin DFN (3x3 mm) - same | 8-pin DFN (3x3 mm) - same | 8-pin DFN (3x3 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Operating Voltage | 1.8V to 3.6V (LF/XLP) | 2.3V to 5.5V (F) | 1.8V to 3.6V (LF/XLP) | 1.8V to 3.6V (LF/XLP, ext temp) | 2.3V to 5.5V (F) | |
| Flash Memory | 3.5 KB (2K x 14) | 3.5 KB | 3.5 KB | 3.5 KB | 7 KB | |
| SRAM | 256 B | 256 B | 256 B | 512 B | ||
| Maximum CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | ||
| PWM Channels | 4 x 10-bit | 4 x 10-bit | 4 x 10-bit | 4 x 10-bit (with enhanced features) | ||
| CLC Logic Cells | 4 | 4 | 4 | 4 | ||
| CWG | 1 | 1 | 1 | 1 | ||
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +125C (Extended) | -40C to +85C |
Key Differentiators
- Lowest-voltage 8-pin PIC16 with XLP nanoWatt sleep (vs PIC16F15313-I/RF)
- Highest peripheral density in 8-pin DFN with CLC + CWG + ADC2 + DAC (vs PIC16F18313-I/RF)
- Footprint-compatible 8-pin DFN with industrial temp grade (vs PIC16LF15313-I/SN)
- Extended-temperature variant on identical footprint (vs PIC16LF15313-E/RF)
Design Notes
Estimated: at the 32 MHz max clock and 3.6V supply, the PIC16LF15313-I/RF core consumption is in the low single-digit milliamp range. The DFN-8 exposed pad (EP) is the primary thermal path; do not skip soldering it to a ground copper pour of at least ~25 mm² (4-6 via to inner/ground plane). Without EP soldering the die dissipates primarily through bond wires, increasing junction temperature. For typical MCU loads (~5 mA active, <1 µA XLP sleep) thermal rise is negligible once EP is correctly soldered.
Keep the VDD bypass capacitor (typically 100 nF X7R plus an optional 1 µF bulk) within 3 mm of pin 1, and ground the EP on pin 8 directly to a ground plane stitched with multiple vias. Because DFN-8 has only 6 user I/Os, route PPS-mapped signals (EUSART, SPI, I2C, PWM, CLC, CWG) on top layers and avoid vias where possible. Place a decoupling cap on any nearby analog reference if used. Avoid placing the MCU near switching inductors; the exposed pad also serves as a partial EMI shield when stitched to a low-impedance ground plane.
Three common pitfalls when bringing up a PIC16LF15313-I/RF design: (1) Forgetting that RA3/MCLR is shared - leaving it as MCLR prevents its use as a GPIO and disables internal pull-up alternatives; configure MCLRE = OFF in configuration words if RA3 is needed as I/O. (2) Driving VDD above 3.6V permanently latches the part into LF-only spec and may damage it; the F variant PIC16F15313-I/RF is required for 5V systems. (3) Not using PPS thoughtfully: many digital peripherals default to non-existent pins; without PPS remap the peripheral simply does not appear on the package.
Use XLP sleep modes aggressively for battery life. Configure the PER peripheral disable (PMD) bits to power down unused peripherals (ADC, DAC, comparators, CLC, PWM, CWG, EUSART, SPI/I2C) before entering sleep. Wakeup sources include INT pin change, watchdog timer, comparators, ADC ready, and CLC outputs - these all run in XLP sleep without the CPU clock. Estimated: with all peripherals disabled and Sleep mode active, XLP sleep current is typically under 50 nA on LF silicon at 3V.
Route analog-capable pins (RA0-RA2, RA4, RA5) away from PWM/CWG switching signals to prevent digital switching noise from coupling into ADC2 measurements. Use a separate analog ground island if noise-sensitive measurements are required, then join it to the main ground at a single point near the EP. Place the ADC reference decoupling (if used externally) within 2 mm of the reference pin. Keep the SPI/I2C pull-ups close to the MCU for signal integrity at higher speeds.
Compliance Information
RoHS and lead-free per Microchip product page; AEC-Q100 not specifically qualified for the standard I-temp grade; verify automotive grade (different part number suffix) if required. Halogen-free per Microchip packaging specification.