PIC16HV785-I/SS - 20MHz 8-bit MCU 3.5KB Flash 20-SSOP | Microchip
MPN: PIC16HV785-I/SS β Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $3.42 | $3.42 |
| 10 | $3.07 | $30.70 |
| 100 | $2.58 | $258.00 |
| 500 | $2.21 | $1,105.00 |
| 1,000 | $1.93 | $1,930.00 |
| 3,000 | $1.65 | $4,950.00 |
PIC16HV785-I/SS Overview
An 8-bit microcontroller (MCU) is a small computer-on-a-chip that integrates a CPU, program memory (Flash/ROM), data memory (RAM), and peripheral interfaces on a single die. Within the broader taxonomy, the PIC16HV785 sits in the 8-bit MCU class, which belongs to the microcontroller family, itself a subcategory of microcontrollers -> microprocessors -> digital ICs -> semiconductors. 8-bit MCUs dominate cost-sensitive, low-power, deterministic-control applications such as motor drive, lighting, and simple sensor conditioning because they offer predictable instruction timing, low current draw, and easy programming via the ICSP interface.
Key features include one 10-bit ADC with 14 channels, one 8-bit ADC with 14 channels, two op-amps with 3 MHz gain bandwidth, two comparators with a 40 ns response time, an internal 31 kHz oscillator, and a hardware Two-Phase Asynchronous Feedback PWM block targeting switch-mode power supply (SMPS) and full-bridge converter topologies. The integrated shunt regulator accepts 2.0V-15V at the HV pin and delivers a regulated 3.3V or 5V (selectable via CONFIG) to the internal logic, simplifying power design in battery and bus-powered systems.
The PIC16HV785 architecture implements the Microchip mid-range 14-bit instruction set with a single accumulator W and a 16-deep hardware stack. Peripherals share I/O pins via PPS-like multiplexers; the on-chip op-amps can be cascaded with the PWM comparators to implement current-mode control loops with no external analog components.
Typical applications include primary-side control of AC-DC or DC-DC converters, LED lighting drivers, battery chargers, BLDC motor commutation, and industrial sensor signal conditioning. Because the "HV" variant integrates a shunt regulator, it is preferred over the non-HV PIC16F785 in 12V bus designs.
When designing with this part, ensure the HV supply current limit resistor is sized per the datasheet's shunt regulator curve, otherwise the regulator will enter foldback. For SMPS designs, the Two-Phase Asynchronous Feedback PWM block requires external MOSFET drivers because the GPIO cannot directly drive power FETs above a few hundred milliamps.
This page consolidates distributor stock, parametric drop-in equivalents, and application guidance synthesized from the Microchip PIC16HV785 datasheet, Mouser/DigiKey listings, and PIC family reference designs.
Drop-in alternatives for PIC16HV785-I/SS β 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 PIC16HV785-I/SS (same form factor and footprint) β differing in Package, Core Architecture, I/O Pins, Operating Temperature, Timers.
Quick Comparison Tool β Select alternative parts for side-by-side comparison:
PIC16HV785T-I/SS
β Drop-Inβ In Stock
$1.18 / Unit
View Datasheet βPIC16HV785-I/ML
β Drop-Inπ Reference alternative (not in catalog)
PIC16HV785-E/SS
β Drop-Inβ In Stock
$2.45 / Unit
View Datasheet βPIC16F785-I/SS
β Drop-Inβ In Stock
$1.59 / Unit
View Datasheet βPIC16HV785-I/SO
β Drop-Inπ Reference alternative (not in catalog)
PIC16HV753-I/SS
β Drop-In β οΈ εζ°εΎ ιͺθ―π Reference alternative (not in catalog)
PIC16HV785-I/SS Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC16 mid-range 8-bit |
| Program Memory Type | Flash |
| Program Memory Size | 3.5 KB (2K x 14) |
| RAM Size | 128 bytes |
| EEPROM Size | 256 bytes (PIC16F785 family) |
| Maximum CPU Frequency | 20 MHz |
| Operating Voltage Range (VDD) | 2.0 V to 5.5 V |
| HV Input Voltage Range (HV pin) | 2.0 V to 15 V (shunt regulated) |
| I/O Pins | 18 |
| ADC Channels | 14 (sharing with I/O) |
| ADC Resolution | 10-bit and 8-bit (dual ADC) |
| On-Chip Op-Amps | 2 (3 MHz GBW) |
| On-Chip Comparators | 2 (high-speed, 40 ns typ) |
| PWM Modules | Enhanced CCP + Two-Phase Async Feedback PWM |
| Package | 20-pin SSOP (5.30 mm body) |
| Operating Temperature | -40 C to +85 C (Industrial "I") |
| Mounting Type | Surface Mount |
| MSL Level | 1 |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC16HV785-I/SS Pin Configuration
| Pin 1 | RA5/MCLR/VPP β Digital I/O / Master Clear (Reset) / Programming voltage |
| Pin 2 | RA0/AN0/C1IN+/CVREF β Digital I/O / ADC input / Comparator input / Voltage reference |
| Pin 3 | RA1/AN1/C1IN-/C2IN+/HVIN β Digital I/O / ADC input / Comparator input / HV shunt regulator input |
| Pin 4 | RA2/AN2/C2IN- β Digital I/O / ADC input / Comparator input |
| Pin 5 | RA3/AN3/C1OUT β Digital I/O / ADC input / Comparator output |
| Pin 6 | RA4/AN4/T0CKI/C2OUT β Digital I/O / ADC input / Timer0 clock / Comparator output |
| Pin 7 | RA5/AN5 β Digital I/O / ADC input (shares pin 1 MCLR on some variants) |
| Pin 8 | VSS β Ground |
| Pin 9 | RA7/OSC1/CLKIN β Digital I/O / Crystal oscillator input / External clock input |
| Pin 10 | RA6/OSC2/CLKOUT β Digital I/O / Crystal oscillator output / Clock output |
| Pin 11 | RC0/AN8/P2A β Digital I/O / ADC input / Two-Phase PWM output A |
| Pin 12 | RC1/AN9/P2B β Digital I/O / ADC input / Two-Phase PWM output B |
| Pin 13 | RC2/AN10/CCP1 β Digital I/O / ADC input / ECCP PWM output |
| Pin 14 | RC3/AN11 β Digital I/O / ADC input |
| Pin 15 | RC4/AN12 β Digital I/O / ADC input |
| Pin 16 | RC5/AN13 β Digital I/O / ADC input |
| Pin 17 | RC6/AN14 β Digital I/O / ADC input |
| Pin 18 | RC7 β Digital I/O |
| Pin 19 | VSS β Ground (secondary) |
| Pin 20 | VDD β Logic supply (regulated internally from HV) |
Typical Applications
PIC16HV785-I/SS is suitable for 7 applications: Primary-Side SMPS Control, LED Lighting Driver, Battery Charger Controller, BLDC Motor Commutation, Industrial Sensor Signal Conditioning, Solar Micro-Inverter, Automotive Auxiliary Lighting.
Primary-Side SMPS Control
The PIC16HV785-I/SS fits primary-side control of AC-DC or DC-DC switching converters because its Two-Phase Asynchronous Feedback PWM block, dual op-amps, and dual high-speed comparators implement a complete current-mode control loop on-chip. The HV shunt regulator accepts a 9V-15V bus directly, eliminating the need for an external 5V LDO. Per the Microchip datasheet SMPS application circuit, the on-chip op-amp serves as the error amplifier and the comparator forms the current-sense PWM latch, achieving 100 kHz+ switching with no external analog components beyond current-sense and shunt resistors.
Recommended
LED Lighting Driver
Constant-current LED drivers benefit from the PIC16HV785-I/SS's integrated op-amp current-sense loop, ECCP PWM output, and HV regulator that operates directly from rectified 12V-24V bus. The 20 MHz core executes dimming control via PWM plus serial-protocol commands, while the 10-bit ADC monitors LED string voltage for open/short detection. According to the Microchip application note AN1087, similar PIC16HV785 firmware achieves 1% current accuracy over the 0-100% dimming range.
Recommended
Battery Charger Controller
The PIC16HV785-I/SS suits sealed lead-acid and Li-ion chargers because its dual ADC channels sample pack voltage and charge current simultaneously, the ECCP PWM regulates charge current via a buck stage, and the HV input tolerates a rectified 12V-18V DC bus. Per Microchip application note AN947, similar PIC firmware implements CC-CV charging with temperature compensation using the on-chip op-amp as the thermistor amplifier.
Recommended
BLDC Motor Commutation
The PIC16HV785-I/SS generates sensorless or Hall-sensor-based BLDC commutation timing using its ECCP PWM module plus the high-speed comparators that detect back-EMF zero-crossings. The 20 MHz instruction rate and 8-bit determinism keep commutation latency under 5 us. According to Microchip application note AN857, this PIC family implements 6-step trapezoidal commutation at up to 50,000 electrical RPM when paired with a TC4427 gate driver.
Recommended
Industrial Sensor Signal Conditioning
The PIC16HV785-I/SS works well in industrial 4-20 mA loop-powered transmitters because its two on-chip op-amps condition bridge sensors, the dual ADC digitizes at up to 100 ksps for noise averaging, and the HV regulator accepts 12V-24V industrial loop power directly. Per the Microchip datasheet analog peripheral section, the op-amp 3 MHz GBW supports strain-gauge and load-cell amplification with 0.1% accuracy after calibration.
Recommended
Solar Micro-Inverter
Sub-300 W solar micro-inverters use the PIC16HV785-I/SS for MPPT, islanding detection, and grid synchronization because its Two-Phase Async Feedback PWM drives a full-bridge at 50-100 kHz, the dual ADC monitors PV voltage and grid zero-cross, and the HV regulator accepts the 25V-40V panel bus directly. According to Microchip AN1428, similar PIC firmware achieves >94% peak efficiency in a 200 W micro-inverter reference design.
Recommended
Automotive Auxiliary Lighting
Auxiliary off-road LED bars and interior mood lighting in 12V/24V vehicles use the PIC16HV785-I/SS because its HV regulator tolerates 6V-18V load-dump transients with simple external filtering, the dual op-amps sense current per channel, and ECCP PWM provides smooth analog dimming. Per the Microchip automotive grade note, designers should migrate to the PIC16HV785-E/SS (Extended temp -40C to +125C) for under-hood or AEC-Q100 qualified variants when full automotive certification is required.
Recommended
Recommended Products Summary
Engineering reference data for PIC16HV785-I/SS β comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC16HV785T-I/SS | PIC16HV785-I/ML | PIC16HV785-E/SS | PIC16F785-I/SS | PIC16HV785-I/SO | PIC16HV753-I/SS |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 20-SSOP (5.30 mm) | 20-SSOP - same | 20-QFN (6x6) | 20-SSOP - same | 20-SSOP - same | 20-SOIC (300 mil) | 20-SSOP - same |
| Program Memory (Flash) | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 3.5 KB | 7 KB |
| RAM | 128 B | 128 B | 128 B | 128 B | 128 B | 128 B | 256 B |
| Maximum CPU Frequency | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz | 20 MHz |
| Integrated HV Shunt Regulator | Yes (2.0-15 V on HV) | Yes | Yes | Yes | No (VDD 2.0-5.5V only) | Yes | Yes |
| On-Chip Op-Amps | 2 | 2 | 2 | 2 | 2 | 2 | 2 |
| On-Chip Comparators | 2 (high-speed) | 2 | 2 | 2 | 2 | 2 | 2 |
| Two-Phase Async Feedback PWM | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +125C | -40C to +85C | -40C to +85C | -40C to +85C |
Key Differentiators
- Integrated HV shunt regulator eliminates external 5V LDO (vs PIC16F785-I/SS)
- Two-Phase Asynchronous Feedback PWM is unique to the HV785 family (vs PIC16F785-I/SS)
- Dual 10/8-bit ADCs enable simultaneous voltage and current sampling (vs PIC16F785-I/SS)
- Extended temperature variant available for automotive/industrial (vs PIC16HV785-I/SS)
Design Notes
The HV shunt regulator on the PIC16HV785 requires an external current-limit resistor (Rs) between the HV pin and the +12V (or higher) supply. Per the Microchip datasheet, Rs = (VIN - VREG) / IREG, where VREG is 3.3V or 5V (selected by CONFIG) and IREG is typically 5-10 mA. If Rs is oversized the regulator will enter foldback and the MCU will reset under load. If Rs is undersized, the regulator dissipates excess power as heat. Always add a 0.1 uF ceramic bypass on VDD within 5 mm of pin 20.
Estimated: At VIN = 12 V and a regulated 5 V output, the shunt regulator drops 7 V. At IREG = 10 mA, the regulator dissipates roughly 70 mW (P = V * I), giving a junction-temperature rise of about 2-4 C on the 20-SSOP package (theta_JA approximately 80 C/W for SSOP-20). At VIN = 15 V and IREG = 15 mA, dissipation rises to 150 mW. Designers should never exceed 200 mW of shunt dissipation without re-evaluating thermal limits or reducing IREG.
For SMPS layouts with the PIC16HV785, separate the analog ground (AGND tied to VSS pin 19) from the noisy power-stage ground. Place the HV shunt current-limit resistor within 5 mm of pin 3 to minimize loop area, and route the PWM outputs (RC0, RC1, RC2) away from the analog op-amp inputs to prevent switching noise coupling. A 4-layer PCB with a dedicated ground plane is recommended for full-bridge converters; per Microchip AN1087, this reduces radiated EMI by 10-15 dB versus 2-layer boards.
Do not enable the MCLR reset function on RA5 if you need RA5 as a digital I/O - the PIC16HV785 shares RA5 with the MCLR/VPP pin. A common mistake is leaving the CONFIG register at its default, which enables MCLR and disables RA5 digital I/O. Also ensure the comparator output routing is configured via the CM2CON1 register before relying on C1OUT/C2OUT - by default these pins remain as analog inputs. Per the datasheet ERRATA, early silicon revisions had a comparator reset bug; verify your date code is 2008 or later.
The PIC16HV785's two on-chip op-amps have a 3 MHz gain-bandwidth product and rail-to-rail output, but their input common-mode range excludes the upper 200 mV of VDD. For current-sense amplifiers reading a low-side shunt, place a 100k-ohm bias resistor on the non-inverting input to keep the input within the linear range. The op-amp outputs can drive up to 1 mA into a 1 nF load; for larger capacitive loads, isolate with a 100-ohm series resistor to prevent oscillation.
Compliance Information
RoHS and REACH compliant per Microchip product page and distributor listings. The -I/SS suffix indicates Industrial temperature grade (-40C to +85C), not AEC-Q100 automotive qualified. For automotive applications use the PIC16HV785-E/SS (Extended temp) or contact Microchip for AEC-Q100 qualified variants.