PIC32MX320F128H-80V/MR - 32-bit MCU 128KB Flash 80MHz | Microchip
MPN: PIC32MX320F128H-80V/MR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.78 | $6.78 |
| 10 | $6.1 | $61.00 |
| 100 | $5.42 | $542.00 |
| 500 | $4.85 | $2,425.00 |
| 1,000 | $4.35 | $4,350.00 |
PIC32MX320F128H-80V/MR Overview
What is a PIC32MX microcontroller? The PIC32MX is Microchip's 32-bit MIPS-based MCU family that bridges the gap between 8/16-bit PIC microcontrollers and 32-bit ARM Cortex-M parts. PIC32MX devices use the MIPS32 M4K core, which combines deterministic interrupt response with higher performance than legacy PIC24/dsPIC DSC devices, while remaining pin-compatible with many PIC24/dsPIC packages. The hierarchy is: microcontroller -> 32-bit MCU -> PIC32 family -> PIC32MX sub-family -> general purpose / USB series.
Key features include hardware multiplier/divider for DSP-class math, two I2C, two SPI, and two UART modules, five 16-bit capture inputs and five 16-bit compare/PWM outputs, a 10-bit ADC and a 10-bit analog comparator, Fail-Safe Clock Monitor (FSCM), configurable Watchdog Timer with on-chip low-power RC oscillator, and multiple power-management modes (Run, Idle, Sleep). The VQFN-64 package offers a compact 9x9 mm footprint suitable for space-constrained industrial and consumer designs.
Architecturally, the M4K core executes most instructions in a single cycle and includes a hardware multiply/divide unit and a 5-stage pipeline, giving the PIC32MX320F128H class-leading code density for 32-bit performance at near 8-bit cost. Peripherals connect to the core through a separate peripheral bus, simplifying register mapping and allowing deterministic DMA-driven data movement for USB and ADC.
Typical applications include USB peripherals, industrial control panels, HMI touch interfaces, consumer audio devices, sensor hubs, and low-cost graphics terminals. The wide operating range and integrated USB 2.0 full-speed make it a frequent choice for upgrading legacy PIC24 designs without changing PCB layout.
When designing with this MCU, ensure the VQFN exposed pad is soldered to a sufficiently large ground copper pour to meet thermal and electrical requirements; inadequate thermal pad soldering is the most common cause of PIC32MX VQFN reliability issues. Configure the FSOSC and FNOSC configuration bits carefully and use the Fail-Safe Clock Monitor if the application must tolerate crystal start-up failure.
This page synthesizes distributor pricing, drop-in alternatives from the same PIC32MX family, and practical design notes not consolidated in the Microchip datasheet (DS61143H) alone.
Drop-in alternatives for PIC32MX320F128H-80V/MR — 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 PIC32MX320F128H-80V/MR (same form factor and footprint) — differing in Core Architecture, Operating Temperature, ADC, Mounting Type, USB.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX340F128H-80V/MR
✅ Drop-In✓ In Stock
$3.72 / Unit
View Datasheet →PIC32MX320F128H-80I/MR
✅ Drop-In✓ In Stock
$3.85 / Unit
View Datasheet →PIC32MX320F128H-80V/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX320F064H-80V/MR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC32MX320F128H-40V/MR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC32MX320F128H-80V/MR Maximum Ratings & Electrical Characteristics
| Core | MIPS32 M4K |
| Core Architecture | 32-bit RISC |
| Maximum CPU Clock | 80 MHz |
| Program Memory (Flash) | 128 KB (128K x 8) |
| Data SRAM | 16 KB |
| General Purpose I/O | 53 |
| Package | 64-VQFN (9x9 mm) with Exposed Pad |
| ADC | 10-bit, 1 Msps, up to 16 channels |
| USB | USB 2.0 Full-Speed Device/Host/OTG |
| Timers | 5 x 16-bit and 2 x 32-bit |
| Capture / Compare / PWM | 5 inputs, 5 outputs |
| Communication | 2x I2C, 2x SPI, 2x UART |
| Operating Temperature | -40C to +105C (V grade) |
| Supply Voltage | 2.3V to 3.6V |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Watchdog Timer | Yes, with on-chip low-power RC oscillator |
| Fail-Safe Clock Monitor | Yes |
PIC32MX320F128H-80V/MR Pin Configuration
| Pin 1 | RF0 — General purpose I/O / U1RX |
| Pin 2 | RF1 — General purpose I/O / U1TX |
| Pin 3 | RG6 — General purpose I/O |
| Pin 4 | RG7 — General purpose I/O |
| Pin 5 | RG8 — General purpose I/O |
| Pin 6 | RG9 — General purpose I/O |
| Pin 7 | MCLR — Master clear reset input (active low) |
| Pin 8 | RG2 — General purpose I/O |
| Pin 9 | RG3 — General purpose I/O |
| Pin 10 | VDD — Positive supply voltage (2.3V to 3.6V) |
| Pin 11 | VSS — Ground reference |
| Pin 12 | RG12 — General purpose I/O |
| Pin 13 | RG13 — General purpose I/O |
| Pin 14 | RG14 — General purpose I/O |
| Pin 15 | RG15 — General purpose I/O |
| Pin 16 | RA0 — General purpose I/O / AN0 |
| Pin 17 | RA1 — General purpose I/O / AN1 |
| Pin 18 | RA2 — General purpose I/O / AN2 |
| Pin 19 | RA3 — General purpose I/O / AN3 |
| Pin 20 | RA4 — General purpose I/O / AN4 |
| Pin 21 | RA5 — General purpose I/O / AN5 |
| Pin 22 | VDD — Positive supply voltage |
| Pin 23 | VSS — Ground |
| Pin 24 | RA6 — General purpose I/O |
| Pin 25 | RA7 — General purpose I/O |
| Pin 26 | RB0 — General purpose I/O / PGED1 |
| Pin 27 | RB1 — General purpose I/O / PGEC1 |
| Pin 28 | RB2 — General purpose I/O |
| Pin 29 | RB3 — General purpose I/O |
| Pin 30 | RB4 — General purpose I/O |
| Pin 31 | RB5 — General purpose I/O |
| Pin 32 | VSS — Ground |
| Pin 33 | VDD — Positive supply voltage |
| Pin 34 | RB6 — General purpose I/O |
| Pin 35 | RB7 — General purpose I/O |
| Pin 36 | RB8 — General purpose I/O |
| Pin 37 | RB9 — General purpose I/O |
| Pin 38 | RB10 — General purpose I/O |
| Pin 39 | RB11 — General purpose I/O |
| Pin 40 | RB12 — General purpose I/O |
| Pin 41 | RB13 — General purpose I/O |
| Pin 42 | RB14 — General purpose I/O |
| Pin 43 | RB15 — General purpose I/O |
| Pin 44 | RC0 — General purpose I/O |
| Pin 45 | RC1 — General purpose I/O |
| Pin 46 | RC2 — General purpose I/O |
| Pin 47 | RC3 — General purpose I/O |
| Pin 48 | RC4 — General purpose I/O |
| Pin 49 | RC5 — General purpose I/O |
| Pin 50 | VSS — Ground |
| Pin 51 | VDD — Positive supply voltage |
| Pin 52 | RC6 — General purpose I/O |
| Pin 53 | RC7 — General purpose I/O |
| Pin 54 | RC8 — General purpose I/O |
| Pin 55 | RC9 — General purpose I/O |
| Pin 56 | RD0 — General purpose I/O |
| Pin 57 | RD1 — General purpose I/O |
| Pin 58 | RD2 — General purpose I/O |
| Pin 59 | RD3 — General purpose I/O |
| Pin 60 | RD4 — General purpose I/O |
| Pin 61 | RD5 — General purpose I/O |
| Pin 62 | RD6 — General purpose I/O |
| Pin 63 | RD7 — General purpose I/O |
| Pin 64 | EP — Exposed thermal pad - must be soldered to ground |
Typical Applications
PIC32MX320F128H-80V/MR is suitable for 6 applications: USB Human Interface Devices (HID), Industrial Control and HMI Panels, Consumer Audio and Home Appliance Controllers, Sensor Hub and Data Acquisition, Low-Cost Graphics and Display Terminals, Motor Control and PWM Generation.
USB Human Interface Devices (HID)
The PIC32MX320F128H-80V/MR paired with the PIC32MX340F128H-80V/MR (drop-in USB sibling) supports USB 2.0 Full-Speed HID class devices such as keyboards, mice, game controllers, and custom input peripherals. The MIPS M4K core at 80 MHz delivers 1.56 DMIPS/MHz headroom to run the Microchip MLA USB stack plus an RTOS, and the 16 KB SRAM is sufficient for HID report buffers and class descriptors. The 53 GPIO pins can be routed to matrix-scan keypads, encoders, and LED drivers. Note that production USB designs should use the PIC32MX340 directly for hardware USB-OTG.
Recommended
Industrial Control and HMI Panels
The PIC32MX320F128H-80V/MR operates across -40C to +105C (V grade) and is well suited to industrial control panels, machine status displays, and small HMI touch interfaces. The 10-bit 1 Msps ADC with up to 16 channels accepts analog sensor inputs (temperature, pressure, current), and the five 16-bit timer/capture inputs can decode quadrature encoders for motor feedback. The 64-pin VQFN provides a 9x9 mm footprint for compact panel designs, while the 53 GPIO drive LCD character/graphic modules and keypads without an expander. Fail-Safe Clock Monitor ensures reliable operation if the external crystal fails.
Recommended
Consumer Audio and Home Appliance Controllers
The PIC32MX320F128H-80V/MR fits mid-range consumer audio devices and home appliance controllers where the 80 MHz MIPS M4K core handles audio decoding, user-interface logic, and motor control in a single chip. The two I2C, two SPI, and two UART interfaces connect to audio DACs, EEPROMs, Wi-Fi modules, and displays. Five 16-bit PWM outputs support LED backlight dimming or small motor speed control with hardware dead-band generation. Low-power Sleep and Idle modes reduce standby current to microampere range for Energy Star appliance compliance.
Recommended
Sensor Hub and Data Acquisition
The PIC32MX320F128H-80V/MR integrates a 10-bit 1 Msps ADC, two I2C/SPI buses, and a DMA engine, making it a strong choice for multi-sensor data acquisition hubs in environmental monitoring, building automation, and portable instrumentation. The 16 KB SRAM buffers large ADC sample windows, while the 128 KB Flash holds calibration tables and small DSP filter code. The configurable Watchdog Timer with on-chip low-power RC oscillator provides fail-safe recovery from software lock-ups, a key requirement for unattended sensor installations.
Recommended
Low-Cost Graphics and Display Terminals
The PIC32MX320F128H-80V/MR drives character LCDs, small TFT displays, and OLED panels through its 53 GPIO and two SPI controllers, providing enough throughput to refresh a 128x64 graphical OLED at 30+ fps. The MIPS M4K core executes font rendering and basic widget drawing without an external graphics controller, lowering BOM cost. The 80 MHz speed and 16 KB SRAM are sufficient for menu systems, simple animations, and serial-terminal applications. The same VQFN-64 footprint is shared with the PIC32MX340 USB variant, enabling one PCB layout for both USB and non-USB terminal designs.
Recommended
Motor Control and PWM Generation
The PIC32MX320F128H-80V/MR provides five 16-bit compare/PWM outputs and two 32-bit timers, enabling multi-phase motor drive for small BLDC, stepper, and DC brush applications. The 80 MHz core supports field-oriented control (FOC) loop rates above 20 kHz in software, while the five 16-bit capture inputs decode Hall sensors and quadrature encoders. The 10-bit ADC samples phase currents synchronized to the PWM, and the 64-pin VQFN exposed pad dissipates heat from continuous switching. Combined with an external gate driver, the part forms a compact 3-phase motor controller.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX320F128H-80V/MR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX340F128H-80V/MR | PIC32MX320F128H-80I/MR | PIC32MX320F128H-80V/PT | PIC32MX320F064H-80V/MR | PIC32MX320F128H-40V/MR |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-VQFN (9x9 mm) with Exposed Pad | 64-VQFN (9x9 mm) - same | 64-VQFN (9x9 mm) - same | 64-TQFP (10x10 mm) | 64-VQFN (9x9 mm) - same | 64-VQFN (9x9 mm) - same |
| CPU Clock | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 40 MHz |
| Flash Memory | 128 KB | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB |
| SRAM | 16 KB | 16 KB | 16 KB | 16 KB | 16 KB | 16 KB |
| USB Controller | No (use PIC32MX340 for USB) | USB 2.0 Full-Speed OTG | No | No | No | No |
| Operating Temperature | -40C to +105C (V grade) | -40C to +105C | -40C to +85C | -40C to +105C | -40C to +105C | -40C to +105C |
| GPIO Count | 53 | 53 | 53 | 53 | 53 | 53 |
Key Differentiators
- Drop-in USB upgrade path to PIC32MX340 with same VQFN-64 footprint (vs PIC32MX340F128H-80V/MR)
- Higher operating temperature (V grade) for industrial use (vs PIC32MX320F128H-80I/MR (I grade))
- Compact 9x9 mm VQFN with same pinout as larger TQFP-64 (vs PIC32MX320F128H-80V/PT (TQFP-64))
- Full 80 MHz performance vs half-speed 40 MHz grade (vs PIC32MX320F128H-40V/MR (40 MHz speed grade))
Design Notes
The 64-pin VQFN (9x9 mm) package has an exposed thermal pad (pin 64) that MUST be soldered to a ground copper pour for both electrical reference and heat dissipation. Per the Microchip PIC32MX3XX/4XX family datasheet (DS61143H), the EP should be connected to a contiguous ground plane of at least 1 square inch of 1-oz copper. Inadequate EP soldering is the most common cause of erratic VQFN MCU behavior, especially under heavy I/O switching loads.
The PIC32MX320F128H-80V/MR operates from 2.3V to 3.6V. Place a 10 uF bulk capacitor and a 0.1 uF decoupling capacitor within 5 mm of each VDD pin (multiple VDD pins on the 64-pin QFN). For USB applications using the PIC32MX340F128H drop-in, add 0.1 uF + 4.7 uF decoupling on the USB VBUS pin. Configure the FSOSC and FNOSC configuration bits to match your crystal or oscillator, and enable the Fail-Safe Clock Monitor (FCM) if the application must tolerate a stalled primary oscillator.
Route the 80 MHz system clock traces as short and direct as possible, and keep the crystal traces within 10 mm of the OSC1/OSC2 pins. The 64-pin VQFN has 0.5 mm pitch pads - use 4-mil trace and space and 0.2 mm via-in-pad for fanout. Place a ground ring around the crystal area to reduce radiated EMI. The PGED1/PGEC1 pins (RB0/RB1) are the ICSP programming/debug pins; route them to a 6-pin header or tag-connect footprint for production programming access.
Do not leave the MCLR pin floating; always pull MCLR high through a 10 kOhm resistor to VDD, and add a 100 nF capacitor to ground for noise immunity. Configuration bits must be set correctly in code or via pragma - a misconfigured FPLLIDIV or FPLLMUL can leave the MCU stalled at reset with no clock output. When migrating from the PIC32MX320 (no USB) to the PIC32MX340 (USB), the USB D+/D- and VBUS pins are remapped from GPIO; verify your PCB allows this swap or add 0-ohm jumpers for flexibility.
Compliance Information
RoHS compliant and lead-free per Microchip product page. Not AEC-Q100 qualified - for automotive applications, consider the PIC32MX variant qualified to AEC-Q100. Halogen-free per Microchip environmental compliance documentation.