PIC16F1787-E/MV - 8-Bit MCU 14KB Flash 32MHz UQFN-40 | Microchip
MPN: PIC16F1787-E/MV ✓ 啟用中PIC16F1787-E/MV 概覽
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program and data memory, and peripheral interfaces such as ADC, timers, communication controllers (I2C/SPI/UART), and GPIOs. PIC16F1787 is part of Microchip's mid-range 8-bit PIC family (PIC16 -> 8-bit MCU -> microcontroller -> embedded IC -> semiconductor) and targets applications that demand rich analog integration, flexible PWM, and low-power operation under the eXtreme Low Power (XLP) banner. Compared with earlier PIC16F1xxx generations, the PIC16(L)F1784/6/7 family adds PSMC and a wider operating voltage range.
Key features include 14 KB self-read/write Flash, 1 KB SRAM, 256 bytes EEPROM, three PSMC channels (16-bit), an internal 32 MHz oscillator, four 8-bit timers plus one 16-bit timer, two comparators, two op amps, a 12-bit ADC with up to 14 inputs, an 8-bit DAC, and communication peripherals supporting I2C, SPI, EUSART, and LIN. The 40-pin UQFN package supports industrial-grade operating temperatures and offers a small 5x5 mm footprint for space-constrained designs.
The device uses Microchip's enhanced mid-range 8-bit core with 49 instructions and 16 stack levels, providing deterministic interrupt response and predictable execution timing for real-time control. The integrated PSMC peripherals, combined with the 12-bit ADC and op amps, allow direct digital control of power topologies such as buck, boost, and LLC converters without external analog controllers. Internal voltage reference and zero-cross detect further reduce bill of materials.
Typical applications include LED lighting drivers, digital power conversion (SMPS), battery chargers, sensor conditioning interfaces, motor control BLDC/PMSM auxiliary loops, and industrial automation. The on-chip PSMC is particularly suited to digitally controlled SMPS and LED drivers that require fine dead-band control and high-resolution PWM.
Designers should allocate sufficient PCB copper under the UQFN-40 thermal pad and follow Microchip's power and decoupling guidelines (typically 100 nF + 10 uF near VDD) to ensure ADC accuracy. Programming is supported through ICSP and the standard MPLAB X IDE / MPLAB XC8 toolchain; the device is in active production per the Microchip product page.
This page combines distributor availability, parametric data, and pin-compatible Microchip alternatives not aggregated on any single distributor page.
直接替換替代品,適用於 PIC16F1787-E/MV — 相同封裝,腳位對腳位相容。需重新設計 PCB 的不同封裝零件不列入。
此系列的變體
與下列產品可直接替換的同系列型號: PIC16F1787-E/MV (相同外形與佔位) — 差異在於 ADC, Comparators, DAC, Package, Operating Temperature.
PIC16F1786-E/MV
✅ 直接替換📋 參考替代品(不在目錄中)
PIC16F1786-I/MV
✅ 直接替換📋 參考替代品(不在目錄中)
PIC16F1787-I/MV
✅ 直接替換聯絡詢價
查看資料表 →PIC16F1787T-I/MV
✅ 直接替換聯絡詢價
查看資料表 →PIC16F1719-E/MV
✅ 直接替換聯絡詢價
查看資料表 →PIC16F15385-E/MV
✅ 直接替換聯絡詢價
查看資料表 →PIC16F1787-E/MV 最大額定值與電氣特性
| Core Architecture | PIC16 enhanced mid-range 8-bit |
| Instruction Set | 49 instructions, 16-level stack |
| Maximum CPU Speed | 32 MHz |
| Program Memory (Flash) | 14 KB (8K x 14 words) |
| Data SRAM | 1 KB |
| Data EEPROM | 256 bytes |
| ADC | 12-bit, up to 14 channels |
| DAC | 8-bit |
| PSMC Channels | 3 x 16-bit (Programmable Switch Mode Controller) |
| Comparators | 2 |
| Operational Amplifiers | 2 on-chip op amps |
| Timers | 4 x 8-bit / 1 x 16-bit (typical PIC16F178x configuration) |
| Communication Peripherals | I2C, SPI, EUSART (LIN-capable) |
| Operating Voltage | 2.3 V to 5.5 V (typical for PIC16F178x) |
| 工作溫度 | -40C to +125C (E = extended industrial) |
| 封裝 | 40-pin UQFN (5x5 mm) with exposed pad |
| 安裝類型 | Surface Mount |
| RoHS 狀態 | Compliant |
| Lead-Free | Yes (per Microchip product page) |
PIC16F1787-E/MV 腳位配置
| 腳位 1 | RA5 — GPIO / alternate function |
| 腳位 2 | RA0 — GPIO / analog input |
| 腳位 3 | RA1 — GPIO / analog input |
| 腳位 4 | RA2 — GPIO / analog input |
| 腳位 5 | RA3 — GPIO / analog input |
| 腳位 6 | RA4 — GPIO / analog input |
| 腳位 7 | VDD — Positive supply voltage |
| 腳位 8 | VSS — Ground reference |
| 腳位 9 | OSC1/RA7 — Crystal oscillator input or GPIO |
| 腳位 10 | OSC2/RA6 — Crystal oscillator output or GPIO |
| 腳位 11 | RC0 — GPIO / analog input |
| 腳位 12 | RC1 — GPIO / analog input |
| 腳位 13 | RC2 — GPIO / analog input |
| 腳位 14 | RC3 — GPIO / analog input / SCL |
| 腳位 15 | RC4 — GPIO / SDA |
| 腳位 16 | RC5 — GPIO |
| 腳位 17 | RC6 — GPIO / TX |
| 腳位 18 | RC7 — GPIO / RX |
| 腳位 19 | VSS — Ground reference |
| 腳位 20 | VDD — Positive supply voltage |
| 腳位 21 | RB0 — GPIO / analog input / INT |
| 腳位 22 | RB1 — GPIO / analog input |
| 腳位 23 | RB2 — GPIO / analog input |
| 腳位 24 | RB3 — GPIO / analog input |
| 腳位 25 | RB4 — GPIO / analog input |
| 腳位 26 | RB5 — GPIO / analog input / ICSPDAT |
| 腳位 27 | RB6 — GPIO / ICSPCLK |
| 腳位 28 | RB7 — GPIO |
| 腳位 29 | RD0 — GPIO |
| 腳位 30 | RD1 — GPIO |
| 腳位 31 | RD2 — GPIO |
| 腳位 32 | RD3 — GPIO |
| 腳位 33 | RD4 — GPIO |
| 腳位 34 | RD5 — GPIO |
| 腳位 35 | RD6 — GPIO |
| 腳位 36 | RD7 — GPIO |
| 腳位 37 | RE0 — GPIO |
| 腳位 38 | RE1 — GPIO |
| 腳位 39 | RE2 — GPIO |
| 腳位 40 | RE3 — GPIO |
典型應用
PIC16F1787-E/MV 適用於 6 應用s: Digital Switch-Mode Power Supply (SMPS) Controller, LED Lighting Driver with Dimming Control, Battery Charger with CC/CV Control, Industrial Sensor Conditioning and Bridge Measurement, BLDC Motor Commutation Helper, Industrial LIN Node and Sensor Interface.
Digital Switch-Mode Power Supply (SMPS) Controller
The PIC16F1787-E/MV fits digital SMPS control because it integrates three 16-bit PSMC channels, a 12-bit ADC, and two on-chip op amps - all in a 40-pin UQFN (5x5 mm). With 32 MHz core speed (8 MIPS) and 14 KB Flash, the MCU runs voltage-mode and peak-current-mode control loops for buck, boost, and half-bridge converters. Typical topologies use PSMC for switch timing while the on-chip op amp closes the current-sense loop and the 12-bit ADC samples Vout for regulation. Compared with analog PWM controllers, the PIC16F1787 enables firmware-defined compensation, soft-start, and adaptive dead-band control without external logic.
推薦
LED Lighting Driver with Dimming Control
The PIC16F1787-E/MV's three PSMC channels, 8-bit DAC, and 12-bit ADC make it well suited to high-brightness LED driver designs with analog and PWM dimming. The PSMC provides high-resolution PWM at frequencies up to several hundred kHz, allowing flicker-free dimming down to 0.1% duty cycle. The 12-bit ADC monitors LED current via an external sense resistor closed by the on-chip op amp, while the DAC generates an analog dimming reference. 14 KB Flash is sufficient for color-mixing algorithms and DALI or 0-10V dimming stacks in connected lighting.
推薦
Battery Charger with CC/CV Control
The PIC16F1787-E/MV enables digital CC/CV battery charger designs by combining PSMC PWM outputs with 12-bit ADC current/voltage sampling and 8-bit DAC for reference generation. Charge profiles (Li-ion, LiFePO4, lead-acid) are implemented in firmware using 14 KB Flash for state-machine and lookup tables. The op amp supports precise current-sense amplification with low offset, while 1 KB RAM holds ADC sample buffers and charge-time statistics. The UQFN-40 5x5 mm footprint allows integration into compact handheld chargers.
推薦
Industrial Sensor Conditioning and Bridge Measurement
The PIC16F1787-E/MV's integrated op amps, 12-bit ADC, 8-bit DAC, and comparators support direct bridge sensor conditioning for load cells, pressure, and strain-gauge applications. The two on-chip op amps implement instrumentation-amp-style signal conditioning for differential bridge outputs, while the 12-bit ADC digitizes the conditioned signal with up to 14 channels for multi-sensor multiplexing. The 8-bit DAC provides excitation-voltage trimming for ratiometric measurements. 256-byte EEPROM stores calibration coefficients that persist across power cycles.
推薦
BLDC Motor Commutation Helper
The PIC16F1787-E/MV complements a primary motor controller in BLDC and PMSM designs by handling auxiliary tasks like back-EMF zero-cross detection, Hall-sensor decoding, and fault monitoring. Three PSMC channels drive timing-critical PWM synchronization signals while the 12-bit ADC reads phase currents and bus voltage. The 14 KB Flash stores sensorless start-up algorithms and PI loop tuning. The compact UQFN-40 5x5 mm package fits on the same PCB as the main inverter driver ICs.
推薦
Industrial LIN Node and Sensor Interface
The PIC16F1787-E/MV's EUSART with LIN support, 12-bit ADC, and rich GPIO make it suitable for LIN-connected industrial sensor nodes. The device communicates on LIN bus at up to 20 kbaud, while the ADC samples multiple analog sensor channels and the PSMC generates PWM outputs for actuator control. 14 KB Flash holds LIN stack, diagnostics, and sensor calibration routines. The -40C to +125C extended temperature grade supports industrial automation environments per the Microchip PIC16F1784/6/7 datasheet.
推薦
推薦產品摘要
工程參考資料,適用於 PIC16F1787-E/MV — 比較、設計指引及合規資訊。
選型指南
與替代品比較
| 參數 | 本產品 | PIC16F1786-E/MV | PIC16F1786-I/MV | PIC16F1787-I/MV | PIC16F1787T-I/MV | PIC16F1719-E/MV | PIC16F15385-E/MV |
|---|---|---|---|---|---|---|---|
| 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 | 40-pin UQFN (5x5 mm) - same | 40-pin UQFN (5x5 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash Memory | 14 KB | 8 KB | 8 KB | 14 KB | 14 KB | 14 KB | 14 KB |
| RAM | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB | 1 KB |
| Maximum CPU Speed | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz | 32 MHz |
| PSMC Channels | 3 x 16-bit | 3 x 16-bit | 3 x 16-bit | 3 x 16-bit | 3 x 16-bit | 0 (uses CWG instead) | 0 (uses CWG instead) |
| ADC Resolution | 12-bit | 12-bit | 12-bit | 12-bit | 12-bit | 10-bit / 12-bit | 10-bit |
| Temperature Grade | Extended -40C to +125C | Extended -40C to +125C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Extended -40C to +125C | Extended -40C to +125C |
主要差異化特點
- Three dedicated 16-bit PSMC channels for digital SMPS (對比PIC16F1719-E/MV)
- Extended -40C to +125C industrial temperature grade (對比PIC16F1787-I/MV)
- Same 40-pin UQFN (5x5 mm) footprint across multiple PIC16F families (對比PIC16F15385-E/MV)
設計說明
Use a 4-layer PCB with a continuous ground plane under the PIC16F1787-E/MV UQFN-40 footprint. Solder the central exposed thermal pad to a copper pour with at least 4 thermal vias (0.3 mm drill, 1 mm pitch) connecting to the inner ground plane. This pad provides the main thermal path and reduces junction temperature rise for SMPS and motor-control applications that run at elevated ambient temperatures per Microchip's PIC16F178x PCB layout guidelines.
Decouple VDD/VSS pairs with 100 nF X7R ceramic capacitors placed within 2 mm of each supply pin; add a shared 10 uF X5R bulk capacitor per the Microchip PIC16F1784/6/7 datasheet power-supply recommendations. For AVDD/AVSS analog rails used by the 12-bit ADC, use a 10 uH ferrite bead in series with AVDD and a 1 uF + 100 nF L/C network to isolate digital switching noise. This decoupling is essential to achieve the 12-bit ADC SNR specified in the datasheet.
Route PSMC output traces as differential pairs (PSMCxA/PSMCxB) with matched length (delta < 5 mm) and 50 ohm characteristic impedance to maintain clean complementary PWM edges for the gate driver. Keep ADC analog traces away from PSMC and digital switching traces by at least 3x the trace width to avoid capacitive coupling that degrades ADC linearity. Place the current-sense op amp feedback components within 5 mm of the device per the PIC16F178x datasheet analog design notes.
A common pitfall is configuring PSMC without clearing the PSMCxCON register bits in a specific order - this can produce shoot-through in half-bridge topologies. Follow the PSMC initialization sequence in the datasheet section on Programmable Switch Mode Controller. Another frequent error is leaving the MCLR pin floating in noise-prone SMPS designs; tie MCLR to VDD through a 10 kohm resistor or to the PICkit reset circuit. Always use the latest MPLAB X IDE and XC8 compiler to ensure PSMC library support is current.
合規資訊
RoHS compliant per Microchip product page. Not AEC-Q100 qualified; for AEC-Q100 automotive applications use the PIC16F1787-E/MV automotive-grade variant if available. Halogen-free status not explicitly stated in verified web data.