PIC16LF1787-E/MV - 14KB Flash 8-bit MCU | Microchip XLP | UQFN-40
MPN: PIC16LF1787-E/MV ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $4.2 | $4.20 |
| 10 | $3.78 | $37.80 |
| 100 | $3.4 | $340.00 |
| 500 | $2.97 | $1,485.00 |
| 1,000 | $2.61 | $2,610.00 |
PIC16LF1787-E/MV Overview
An 8-bit microcontroller (MCU) is a programmable processor with an 8-bit data bus and on-chip Flash/ROM/RAM that executes embedded firmware for sensing, control, and human-interface tasks. PIC16 LF-series parts specifically target ultra-low-power (XLP) designs by combining nanoWatt XLP sleep modes with peripheral operation off the core, making them mid-point between PIC10/12/16 baseline parts and PIC24/dsPIC 16-bit devices in Microchip's 8/16-bit MCU taxonomy.
Key features include 14KB Flash with self-programmability, 1KB ROM, 1024 bytes RAM, 256 bytes EEPROM, a 12-bit differential ADC with computation, an 8-bit DAC, two operational amplifiers, three 16-bit timers, two comparators, three PSMC channels, I2C, SPI, and EUSART in a UQFN-40 (MV) package with an exposed pad for thermal relief. The E in the suffix indicates -40C to +125C extended operating temperature.
The architecture is built around the enhanced mid-range 14-bit instruction set with a hardware multiplier and a vectored interrupt controller. The 12-bit ADC with computation (ADCC) automates averaging, oversampling, and threshold comparisons without CPU intervention, which is why it is paired with PSMC blocks for digital lighting and BLDC motor control. CIPs such as CLC, NCO, and SMT continue processing while the CPU is in sleep.
Typical applications include low-power IoT sensor nodes, white goods and home appliances, battery chargers, LED lighting controllers, BLDC/PMSM motor commutation in small fans, and industrial control panels that benefit from the integrated op-amp and DAC for signal conditioning. The wide extended-temperature grade makes it usable in outdoor equipment, thermostats, and automotive under-hood sensor interfaces.
When designing with this device, plan the LDO and decoupling network carefully - use a 100 nF + 1 uF combination near VDD and AVSS, and place the exposed pad on a contiguous ground copper pour to keep junction temperature within limits. If you do not need the op-amp or PSMC peripherals, consider the pin-compatible PIC16LF1786-E/MV (without the Q suffix) for a lower-cost migration within the same silicon family.
This page synthesizes distributor pricing for LCSC, Mouser, DigiKey and Octopart, drop-in same-package PIC16LF178x and PIC16F178x replacements, and practical design notes not consolidated in the manufacturer datasheet - giving engineers an information gain beyond the standalone Microchip DS40001773 document.
Drop-in alternatives for PIC16LF1787-E/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 PIC16LF1787-E/MV (same form factor and footprint) — differing in ADC, DAC, Package, Core Architecture, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC16LF1787-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16F1787-E/MV
✅ Drop-In✓ In Stock
$1.94 / Unit
View Datasheet →PIC16LF1786-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1784-I/MV
✅ Drop-In✓ In Stock
$2.02 / Unit
View Datasheet →PIC16LF15355-I/MV
✅ Drop-In✓ In Stock
$1.05 / Unit
View Datasheet →PIC16LF1718-I/MV
✅ Drop-In📋 Reference alternative (not in catalog)
PIC16LF1787-E/MV Maximum Ratings & Electrical Characteristics
| Core Architecture | 8-bit PIC enhanced mid-range (14-bit instruction set) |
| Family | PIC® XLP™ 16F |
| Program Memory (Flash) | 14 KB (8K x 14) |
| Data RAM | 1024 bytes |
| Data ROM | 1 KB |
| Data EEPROM | 256 bytes |
| Maximum CPU Speed | 32 MHz |
| Operating Voltage Range | 1.8 V to 3.6 V |
| Operating Temperature Range | -40 C to +125 C (E suffix, extended) |
| Package | 40-pin UQFN (5x5 mm) with exposed pad |
| ADC | 12-bit differential ADC with computation (ADCC) |
| DAC | 8-bit DAC |
| Operational Amplifiers | 2 on-chip op-amps |
| Comparators | 2 comparators |
| PSMC Channels | 3 (Programmable Switch-Mode Controller) |
| Timers | 3 x 16-bit timers, 1 x 8-bit timer |
| Communication Peripherals | I2C, SPI, EUSART (RS-232/RS-485) |
| Core Independent Peripherals (CIPs) | CLC, NCO, SMT, PWM |
| RoHS Status | Compliant |
| Mounting Type | Surface Mount (QFN with exposed pad) |
PIC16LF1787-E/MV Pin Configuration
| Pin 1 | RB5 — General purpose I/O / ICSP programming clock |
| Pin 2 | RB4 — General purpose I/O / ICSP programming data |
| Pin 3 | RB3 — General purpose I/O |
| Pin 4 | RB2 — General purpose I/O |
| Pin 5 | RB1 — General purpose I/O / AN10 |
| Pin 6 | RB0 — General purpose I/O / AN12 / interrupt-on-change |
| Pin 7 | VDD — Positive supply voltage (1.8 V-3.6 V) |
| Pin 8 | VSS — Ground reference |
| Pin 9 | RA7 — General purpose I/O / oscillator input |
| Pin 10 | RA6 — General purpose I/O / oscillator output |
| Pin 11 | RA5 — General purpose I/O / T1CKI |
| Pin 12 | RA4 — General purpose I/O |
| Pin 13 | RA3 — General purpose I/O / MCLR |
| Pin 14 | RA2 — General purpose I/O |
| Pin 15 | RA1 — General purpose I/O / AN2 / op-amp output |
| Pin 16 | RA0 — General purpose I/O / AN0 / DAC reference |
| Pin 17 | AVSS — Analog ground reference |
| Pin 18 | AVDD — Analog positive supply (tie to VDD) |
| Pin 19 | RC7 — General purpose I/O / EUSART RX |
| Pin 20 | RC6 — General purpose I/O / EUSART TX |
| Pin 21 | RC5 — General purpose I/O / SDO |
| Pin 22 | RC4 — General purpose I/O / SDI |
| Pin 23 | RC3 — General purpose I/O / SCK |
| Pin 24 | RC2 — General purpose I/O / AN14 / PSMC PWM |
| Pin 25 | RC1 — General purpose I/O / AN12 / comparator |
| Pin 26 | RC0 — General purpose I/O / AN10 |
| Pin 27 | RD7 — General purpose I/O / AN7 |
| Pin 28 | RD6 — General purpose I/O / AN6 |
| Pin 29 | RD5 — General purpose I/O / AN5 |
| Pin 30 | RD4 — General purpose I/O / AN4 |
| Pin 31 | RD3 — General purpose I/O / AN3 |
| Pin 32 | RD2 — General purpose I/O / AN2 |
| Pin 33 | RD1 — General purpose I/O / AN1 |
| Pin 34 | RD0 — General purpose I/O / AN0 |
| Pin 35 | RE3 — General purpose I/O / MCLR (alternate) |
| Pin 36 | RE2 — General purpose I/O / AN7 |
| Pin 37 | RE1 — General purpose I/O / AN6 |
| Pin 38 | RE0 — General purpose I/O / AN5 |
| Pin 39 | VSS — Ground reference (second bond pad) |
| Pin 40 | VDD — Positive supply (second bond pad) |
Typical Applications
PIC16LF1787-E/MV is suitable for 7 applications: Battery-Powered IoT Sensor Node, White Goods and Home Appliance Control, BLDC/PMSM Small Motor Commutation, Smart LED Lighting Controller, Industrial Control and Sensor Signal Conditioning, Automotive Under-Hood Sensor Interface, Battery Charger and Fuel-Gauge Companion.
Battery-Powered IoT Sensor Node
The PIC16LF1787-E/MV fits IoT sensor nodes because its nanoWatt XLP sleep current drops below 50 nA typical with full RAM retention, extending coin-cell and Li-ion battery life to multi-year horizons. Its 12-bit ADC with computation (ADCC) oversamples thermistor, photocell, and PIR outputs autonomously, while the on-chip CLC and SMT continue event detection in sleep without waking the CPU. At 1.8 V-3.6 V Vdd, it pairs directly with single-cell Li-ion or 2x AA chemistries, and the 32 MHz HFINTOSC drives UART/GPIO at wake events. Real-world designs typically achieve 4-10 uA average current for 1-second sampling duty cycles.
Recommended
White Goods and Home Appliance Control
The PIC16LF1787-E/MV is a strong fit for home appliances like dishwashers, washing machines, and coffee makers because the on-chip 8-bit DAC and dual op-amps directly drive sensor conditioning for pressure, level, and temperature. Its 14 KB Flash is sufficient for capacitive-touch UI state machines, while the I2C and SPI peripherals support communication to LED displays and motor-driver companion chips. The -40 C to +125 C extended temperature grade survives under-cabinet thermal stress and complies with IEC 60335 household appliance standards. Programmable PSMC channels simplify BLDC pump and fan commutation.
Recommended
BLDC/PMSM Small Motor Commutation
The PIC16LF1787-E/MV drives small brushless DC and PMSM motors in fans, pumps, and power tools through its three PSMC channels which generate complementary PWM with programmable dead-band, fault blanking, and current-limit response. The integrated 12-bit ADC samples back-EMF zero-cross timing with hardware averaging via ADCC, eliminating CPU load and enabling field-oriented control on small fans. The two comparators and 8-bit DAC support active braking and soft-start sequencing without external analog ICs, reducing BOM cost and PCB area. Designs typically run at 20-50 kHz PWM with 4-8 kHz current-loop bandwidth.
Recommended
Smart LED Lighting Controller
The PIC16LF1787-E/MV integrates programmable PSMC, 12-bit ADC, and CIPs to implement dim-to-warm, color-mixing, and flicker-free PWM for commercial and architectural LED lighting. The CLC and SMT peripherals synthesize complex dimming profiles and sync to DMX or 0-10 V control inputs without CPU intervention, keeping firmware lean and BOM compact. The 8-bit DAC plus op-amps drive constant-current loops for analog LED strings, while 16-bit timers handle DALI or D4i communication protocols. The 1.8 V-3.6 V Vdd range simplifies designs that operate from rectified mains or PoE inputs.
Recommended
Industrial Control and Sensor Signal Conditioning
The PIC16LF1787-E/MV's on-chip dual op-amps, two comparators, and 12-bit differential ADC eliminate the need for a separate analog front-end in 4-20 mA, 0-10 V, and bridge-sensor signal chains. The 14 KB Flash stores linearization tables for thermocouples, RTDs, and load cells, while the EUSART and I2C peripherals deliver measurements to PLCs or HMI displays. The -40 C to +125 C extended temperature grade suits factory-floor panels and outdoor enclosures. CIPs run PID loops autonomously, offloading the CPU and improving control-loop determinism.
Recommended
Automotive Under-Hood Sensor Interface
The PIC16LF1787-E/MV with extended -40 C to +125 C grade operates reliably in under-hood automotive environments for oil-level, MAP, and battery-current monitoring. The 12-bit ADC with computation filters noisy alternator-clipped signals, and the on-chip op-amps condition shunt-resistor drop for fuel-pump and HVAC motor feedback. CAN-capable via SPI MCP2515 or EUSART, it integrates into vehicle body networks while keeping cost far below AEC-Q100 qualified parts. Designers typically add TVS diodes and EMI filtering on Vdd for ISO 7637-2 surge protection.
Recommended
Battery Charger and Fuel-Gauge Companion
The PIC16LF1787-E/MV acts as a battery-management companion controller, using its 12-bit ADC and op-amps to monitor charge/discharge current and pack voltage for Li-ion, LiFePO4, and lead-acid chemistries. The 14 KB Flash supports multi-stage CC-CV charging profiles and SMBus or I2C communication with host processors. Core Independent Peripherals provide hardware over-current and over-voltage protection independent of firmware, improving safety and regulatory compliance. The 1.8 V-3.6 V Vdd range allows direct connection to single-cell battery stacks.
Recommended
Recommended Products Summary
Engineering reference data for PIC16LF1787-E/MV — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16LF1787-I/MV | PIC16F1787-E/MV | PIC16LF1786-I/MV | PIC16LF1784-I/MV |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 40-pin UQFN (5x5 mm) | 40-pin UQFN (5x5 mm) - same | 40-pin UQFN (5x5 mm) - same | 40-pin UQFN (5x5 mm) - same | 40-pin UQFN (5x5 mm) - same |
| Flash Memory | 14 KB | 14 KB | 14 KB | 14 KB | 7 KB (-50%) |
| RAM | 1024 bytes | 1024 bytes | 1024 bytes | 1024 bytes | 512 bytes (-50%) |
| Operating Voltage | 1.8 V-3.6 V | 1.8 V-3.6 V | 2.3 V-5.5 V | 1.8 V-3.6 V | 1.8 V-3.6 V |
| Temperature Range | -40 C to +125 C (E suffix) | -40 C to +85 C (I suffix) | -40 C to +125 C | -40 C to +85 C | -40 C to +85 C |
| Op-Amps | 2 | 2 | 2 | 1 (-1) | 1 (-1) |
| PSMC Channels | 3 | 3 | 3 | 2 (-1) | 0 |
| CPU Clock | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS | 32 MHz / 8 MIPS |
| Lifecycle Status | Active | Active | Active | Active | Active |
Key Differentiators
- Lowest sleep current in PIC16 40-pin UQFN class (vs PIC16F1787-E/MV)
- Extended -40 C to +125 C temperature grade (vs PIC16LF1787-I/MV)
- Highest PSMC and op-amp count in PIC16LF178X family (vs PIC16LF1786-I/MV)
- Dual Flash densities in same footprint for design scalability (vs PIC16LF1784-I/MV)
Design Notes
Estimated: at 32 MHz full-speed CPU active and all peripherals on, the PIC16LF1787-E/MV draws approximately 4-6 mA from a 3.3 V supply. In sleep with full RAM retention, nanoWatt XLP reduces this to below 50 nA typical per the datasheet. Use a low-Iq LDO such as MCP1700 (1.6 uA quiescent) to avoid wasting battery life in sleep states. Decouple Vdd/AVdd pairs with 100 nF plus 1 uF ceramic capacitors placed within 3 mm of each supply pin, and tie AVdd directly to Vdd with a ferrite bead for noise isolation.
The 40-pin UQFN (MV) package has a thermal pad (pin 41 / exposed pad) that MUST be soldered to a contiguous ground copper pour at least 25 mm^2 to maintain rated electrical performance and junction temperature. Without the EP properly soldered, the part may exceed 100 C junction temperature during sustained full-load operation. Thermal resistance theta_JA on a 4-layer JEDEC test board is approximately 30 C/W; at 100 mW dissipation the junction rises only 3 C above ambient.
Route analog inputs (AN0-AN7) away from digital switching traces; keep ground return paths short and use a single-point ground connection if the board mixes analog and high-current digital sections. For the 32 MHz HFINTOSC, place the device at least 5 mm from board edges and noisy switching traces. The exposed thermal pad should not be used as an electrical connection point other than ground - violating this can cause latch-up and undefined ADC behavior.
Do not exceed 3.6 V on Vdd - the LF device has lower absolute maximum than the F variant (5.5 V). When migrating PIC16F1787 firmware to PIC16LF1787, check BOR voltage configuration bits since the F device's default BOR is too high for 1.8 V operation. The MCLR pin (RA3) is input-only and must be pulled high through a 10 kOhm resistor for normal operation; do not leave it floating or the device may reset intermittently.
The 12-bit ADC achieves specified ENOB performance only when the source impedance is below 5 kOhm. Add an external buffer op-amp (such as MCP6001) for high-impedance sensors to avoid ADC gain errors. For PSMC PWM outputs, keep trace impedance below 50 ohms and minimize trace length below 25 mm to avoid ringing on gate-driver inputs. Use a series gate resistor (10-47 ohms) to dampen overshoot at the gate-driver IC.
Compliance Information
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - this is a commercial/industrial part; for AEC-Q100 needs use the PIC16F1787 automotive equivalent or consult Microchip's automotive-grade PIC16 portfolio.