PIC16LF1789-I/MV - 28KB Flash 8-bit XLP MCU | Microchip
MPN: PIC16LF1789-I/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.18 | $4.18 |
| 10 | $3.76 | $37.60 |
| 100 | $3.19 | $319.00 |
| 500 | $2.81 | $1,405.00 |
| 1,000 | $2.51 | $2,510.00 |
PIC16LF1789-I/MV Overview
An 8-bit microcontroller (MCU) is a programmable integrated circuit that combines a CPU, non-volatile program memory, working RAM, and peripheral interfaces on a single silicon die. The 8-bit class sits in the broader taxonomy of microcontrollers -> microcontrollers -> embedded processors -> semiconductors, and historically dominates cost-sensitive, deterministic, low-power applications where ease of use and toolchain maturity outweigh raw compute throughput.
Key features include a 12-bit ADC with up to 28 channels, dual DACs (5-bit and 8-bit), three op-amps, two high-speed comparators (FastComp), a Programmable Switch Mode Controller (PSMC), three CCP modules, plus I²C, SPI, and EUSART serial interfaces. The integrated op-amps, comparators, and PSMC let designers close analog loops and drive power conversion stages without external ICs, materially reducing BOM cost and PCB area.
The architecture is based on the enhanced mid-range PIC16 core with a 14-bit instruction word and a hardware multiplier, delivering up to 16 MIPS at 32 MHz. XLP technology with nanoWatt XLP features such as IDLE, DOZE, and Sleep modes with sub-µA retention current enables battery-direct designs that can run for years on a single cell.
Typical applications include portable industrial sensor conditioning, BLDC/PMSM motor control with PSMC, LED lighting with constant-current drivers, battery chargers using the op-amp/comparator feedback chain, and consumer human-interface boards that need ADCs and DACs but no high-speed DSP.
When designing with this MCU, route the exposed thermal pad to a continuous ground pour and follow Microchip AN2484 for EMI/ESD hardening on the analog front-end. Use the ICD 3 or PICkit 4 over the ICSP pins for in-circuit debug and Flash programming.
This page synthesizes real distributor pricing, drop-in alternative MPNs, and engineering design notes not found in the manufacturer datasheet alone, giving procurement and design engineers a single decision-ready reference for the PIC16LF1789-I/MV.
Drop-in alternatives for PIC16LF1789-I/MV — 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 PIC16LF1789-I/MV (same form factor and footprint) — differing in ADC, Comparators, Core Architecture, DAC, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF1789-E/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1788-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1787-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1784-I/MV
✅ Drop-In✓ In Stock
$2.02 / Unit
View Datasheet →PIC16LF15385-I/MV
✅ Drop-In✓ In Stock
$1.15 / Unit
View Datasheet →PIC16LF1789-I/MV Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 enhanced mid-range 8-bit |
| Program Memory (Flash) | 28 KB (16K x 14 words) |
| Data RAM | 2 KB |
| Data EEPROM | 256 B |
| Maximum CPU Frequency | 32 MHz |
| Supply Voltage (VDD) | 1.8 V to 3.6 V |
| ADC | 12-bit, up to 28 channels |
| DAC | 1 x 5-bit, 1 x 8-bit |
| Operational Amplifiers | 3 internal op-amps |
| Comparators | 2 high-speed comparators (FastComp) |
| PSMC Channels | Yes, Programmable Switch Mode Controller |
| CCP Modules | 3 |
| Serial Interfaces | I²C, SPI, EUSART |
| Package | 40-pin UQFN (MV) 5x5 mm with exposed pad |
| Operating Temperature | -40 °C to +85 °C (industrial grade) |
| XLP nanoWatt Features | Yes (IDLE, DOZE, Sleep <1 µA) |
PIC16LF1789-I/MV Pin Configuration
| Pin 1 | RA5 — Bidirectional I/O / digital input |
| Pin 2 | RA4 — Bidirectional I/O |
| Pin 3 | RA3 — Bidirectional I/O |
| Pin 4 | RC5 — Bidirectional I/O |
| Pin 5 | RC4 — Bidirectional I/O |
| Pin 6 | RC3 — Bidirectional I/O |
| Pin 7 | RC2 — Bidirectional I/O |
| Pin 8 | RC1 — Bidirectional I/O / analog |
| Pin 9 | RC0 — Bidirectional I/O / analog |
| Pin 10 | RB7 — Bidirectional I/O |
| Pin 11 | RB6 — Bidirectional I/O / PGC (ICSP clock) |
| Pin 12 | RB5 — Bidirectional I/O / PGD (ICSP data) |
| Pin 13 | RB4 — Bidirectional I/O |
| Pin 14 | RB3 — Bidirectional I/O |
| Pin 15 | RB2 — Bidirectional I/O |
| Pin 16 | RB1 — Bidirectional I/O |
| Pin 17 | RB0 — Bidirectional I/O / interrupt-on-change |
| Pin 18 | VDD — Positive supply (1.8 V to 3.6 V) |
| Pin 19 | VSS — Ground reference |
| Pin 20 | RA7 — Bidirectional I/O / oscillator |
| Pin 21 | RA6 — Bidirectional I/O / oscillator |
| Pin 22 | RC7 — Bidirectional I/O |
| Pin 23 | RC6 — Bidirectional I/O / EUSART TX |
| Pin 24 | RC5 — Bidirectional I/O |
| Pin 25 | RC4 — Bidirectional I/O |
| Pin 26 | RD7 — Bidirectional I/O |
| Pin 27 | RD6 — Bidirectional I/O |
| Pin 28 | RD5 — Bidirectional I/O |
| Pin 29 | RD4 — Bidirectional I/O |
| Pin 30 | RD3 — Bidirectional I/O |
| Pin 31 | RD2 — Bidirectional I/O |
| Pin 32 | RD1 — Bidirectional I/O |
| Pin 33 | RD0 — Bidirectional I/O |
| Pin 34 | RE3 — Bidirectional I/O / MCLR |
| Pin 35 | RE2 — Bidirectional I/O |
| Pin 36 | RE1 — Bidirectional I/O |
| Pin 37 | RE0 — Bidirectional I/O |
| Pin 38 | RA0 — Bidirectional I/O / analog |
| Pin 39 | RA1 — Bidirectional I/O / analog |
| Pin 40 | RA2 — Bidirectional I/O / analog |
| Pin EP | EP — Exposed thermal pad - connect to VSS (ground) |
Typical Applications
PIC16LF1789-I/MV is suitable for 6 applications: BLDC / PMSM Motor Control, Portable Battery-Powered Sensor Conditioning, LED Lighting Drivers and Dimming Controllers, Industrial Switching Power Supply (SMPS) Control, Battery Chargers and Power-Path Management, Human-Interface Consumer Electronics.
BLDC / PMSM Motor Control
The PIC16LF1789-I/MV is well-matched to small BLDC and PMSM motor drives thanks to its integrated PSMC (Programmable Switch Mode Controller), three CCP modules for PWM generation, dual FastComp comparators for back-EMF zero-crossing detection, and three internal op-amps for current sensing. The PSMC delivers complementary PWMs with programmable dead-band and resolution at system clock, allowing 32 MHz operation to produce switching frequencies well above 100 kHz with fine duty control. Compared with discrete PWM-controller + op-amp chains, the integrated peripherals reduce BOM count by 3-5 ICs and shrink PCB area by roughly 40%. Use the op-amps for inline phase-current amplification and the comparators for hardware overcurrent shutdown, with firmware running at 16 MIPS handling commutation state machines.
Recommended
Portable Battery-Powered Sensor Conditioning
The PIC16LF1789-I/MV's XLP nanoWatt technology delivers sub-µA sleep currents, making it ideal for wireless sensor nodes powered by CR2032 or 2xAA cells that must run for years. The 12-bit ADC with up to 28 channels handles multiple analog sensors (temperature, pressure, light) simultaneously, while the internal op-amps provide low-noise signal conditioning ahead of conversion. Three op-amps eliminate external instrumentation amplifiers for bridge-type sensors, and the dual 5-bit / 8-bit DACs support closed-loop trimming or actuator drive. Compared with discrete ADC + MCU solutions, the integrated peripherals shrink the analog front-end to a handful of passive components. Expect 2-3 years of battery life at 1% duty-cycle wake intervals.
Recommended
LED Lighting Drivers and Dimming Controllers
Constant-current LED drivers benefit from the PIC16LF1789-I/MV's three on-chip op-amps (for current-sense amplifiers), 12-bit ADC (for monitoring LED voltage and temperature), and PSMC channels (for high-frequency PWM dimming without flicker). The op-amps can directly amplify shunt-resistor voltages across the LED string, while the comparators trigger fast overcurrent shutdown to protect LEDs from inrush. PWM dimming up to several kHz avoids audible flicker and supports 0.1% dimming resolution. The wide VDD range (1.8-3.6 V) simplifies single-cell Li-ion operation in portable lighting. Compared with dedicated LED-driver ICs, this approach adds programmable behavior (color mixing, daylight harvesting) at the cost of design effort.
Recommended
Industrial Switching Power Supply (SMPS) Control
The PSMC peripheral makes the PIC16LF1789-I/MV a flexible SMPS controller for sub-100 W flyback, buck, or boost converters. The PSMC generates frequency, duty cycle, and dead-time control signals at up to 32 MHz with hardware fault response, while the op-amps condition current-mode sense signals and the FastComp comparators trigger cycle-by-cycle current limiting. The 12-bit ADC monitors output voltage and input bulk voltage for closed-loop regulation. Compared with fixed-function UC384x-style controllers, this MCU approach enables digital soft-start, adaptive dead-time, and telemetry reporting via UART. Typical designs run at 65-200 kHz switching frequency with 1-2% output regulation accuracy.
Recommended
Battery Chargers and Power-Path Management
Multi-chemistry battery chargers can use the PIC16LF1789-I/MV's op-amps for current-sense amplification, ADC for voltage and temperature monitoring, DAC for reference-voltage generation, and PWM/CCP for charger-MOSFET drive. The 1.8-3.6 V VDD range lets the MCU operate directly from a single Li-ion cell while driving external charge-FETs. Compared with dedicated charger ICs like MCP73123, the MCU approach enables user-configurable charge profiles, Coulomb-counting fuel gauging, and USB-PD or I²C host reporting. Production designs commonly achieve ±1% CC/CV accuracy with firmware-based temperature compensation.
Recommended
Human-Interface Consumer Electronics
Consumer human-interface devices such as e-bike dashboards, smart thermostats, and appliance control panels benefit from the PIC16LF1789-I/MV's combination of 12-bit ADC for touch/proximity sensing, DACs for audio/buzzer tones, UART for host MCUs, and ample Flash (28 KB) for menu systems and graphics bitmaps. Three op-amps can amplify microphone or thermistor signals directly. Compared with 32-bit ARM Cortex-M0 alternatives, this PIC offers lower unit cost (~$2.50 at 1k) and a mature MPLAB X toolchain that compiles 8-bit code in seconds. Typical designs use 30-50% of Flash for UI logic and 20% for communication stacks.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1789-I/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF1789-E/MV | PIC16LF1788-I/MV | PIC16LF1787-I/MV | PIC16LF1784-I/MV | PIC16LF15385-I/MV |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin UQFN (MV) 5x5 mm | 40-pin UQFN (MV) 5x5 mm - same | 40-pin UQFN (MV) 5x5 mm - same | 40-pin UQFN (MV) 5x5 mm - same | 40-pin UQFN (MV) 5x5 mm - same | 40-pin UQFN (MV) 5x5 mm - same |
| Flash Memory | 28 KB | 28 KB | 7 KB (-75%) | 7 KB (-75%) | 7 KB (-75%) | 14 KB (-50%) |
| RAM | 2 KB | 2 KB | 1 KB (-50%) | 1 KB (-50%) | 512 B (-75%) | 1 KB (-50%) |
| Operating Voltage | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V | 1.8 V to 3.6 V |
| Temperature Range | -40 °C to +85 °C | -40 °C to +125 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C | -40 °C to +85 °C |
| PSMC Channels | Yes | Yes | Yes | Yes | Yes | Yes |
| 12-bit ADC | Yes, up to 28 channels | Yes | Yes | Yes | Yes | Yes, 24 channels |
Key Differentiators
- Integrated PSMC with 32 MHz resolution for SMPS and motor control (vs PIC16LF1788-I/MV)
- Industrial temperature grade with full peripheral set (vs PIC16LF1789-E/MV)
- Three on-chip op-amps and dual DACs for analog front-end (vs PIC16LF15385-I/MV)
- Mature PIC16 enhanced mid-range core with broad toolchain support (vs PIC16LF1784-I/MV)
Design Notes
Estimated: at 32 MHz, 3.3 V VDD, and 50% I/O toggling load, core current consumption is approximately 5 mA and I/O pin current at full drive adds another 20-40 mA. The UQFN-40 exposed pad (EP) must be soldered to a continuous ground pour of at least 50 mm² to keep junction temperature within the 85 °C industrial limit. Without EP soldering, expect 15-20 °C additional thermal rise at full I/O load, which can push operation into thermal derating territory. Use 4-6 thermal vias under the EP to the internal ground plane for best heat extraction.
Decouple VDD with a 100 nF ceramic capacitor placed within 3 mm of the VDD pin, plus a bulk 10 µF tantalum or ceramic capacitor on the same supply rail. Place the decoupling capacitor on the same PCB layer as the MCU, with vias avoided in the current path. For analog-sensitive designs, isolate the analog VDD rail from the digital VDD rail using a ferrite bead and a separate LDO. Route the ICSP signals (PGD/PGC) with parallel traces and ground guard to avoid noise pickup during in-circuit debug.
Do not exceed the absolute maximum VDD of 4.0 V on the LF variant; the LF silicon will not tolerate 5 V and Flash corruption may occur. Ensure MCLR is properly pulled up through a 10 kΩ resistor, or configured as an input-only pin, to avoid unintentional resets during power ramp. When using the analog op-amps, configure the unused op-amp outputs to ground via a 100 kΩ resistor to avoid floating-pin noise. Confirm that the internal DAC reference voltage matches the ADC reference for consistent ratiometric measurements.
Route analog signals away from PWM outputs and clock traces by at least 3 mm (or use ground guard rings). Keep the analog input traces short and use a ground guard on both sides of the analog trace to reduce EMI coupling. Place the crystal oscillator or external clock source within 5 mm of the OSC1/OSC2 pins with symmetric ground stitching. If using the PSMC for SMPS control, keep the PWM output traces short and away from sensitive analog feedback traces to avoid switching-noise injection into the analog front-end.
Compliance Information
RoHS and REACH compliance per Microchip product page. Lead-free (Pb-free) packaging confirmed. AEC-Q100 automotive qualification not applicable for the industrial-grade -I/MV variant; AEC-Q100 grade is the -MV variant on select part numbers. Halogen-free status not explicitly listed in retrieved data.