PIC32MX320F032H-40V/MR - 32-bit MIPS MCU 32KB Flash 40MHz | Microchip
MPN: PIC32MX320F032H-40V/MR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.32 | $5.32 |
| 10 | $4.79 | $47.90 |
| 100 | $3.86 | $386.00 |
| 500 | $3.27 | $1,635.00 |
| 1,000 | $2.85 | $2,850.00 |
PIC32MX320F032H-40V/MR Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU core, program memory (Flash), data memory (SRAM), and a range of analog and communication peripherals. The PIC32MX3XX/4XX family uses a 5-stage pipelined MIPS32 M4K core with Harvard architecture, MIPS16e code compression for up to 40 % smaller code size, and a single-cycle hardware multiply/divide unit. PIC32MX MCUs occupy the high-performance tier within Microchip's 32-bit portfolio, above the PIC16 (LV) and dsPIC (LV) controller families in raw application complexity and below the SAM (LV) Cortex-M families in ecosystem positioning.
Key features include 32 KB Flash, 8 KB SRAM, a 10-bit 1.1 Msps ADC with up to 16 channels, USB 2.0 full-speed On-The-Go (OTG), two I²C, two SPI, two UART modules, five 16-bit timers, and a parallel master port (PMP) for external bus interfaces. The device supports 53 digital I/O pins and operates from 2.3 V to 3.6 V. Integrated DMA (8 channels) and a 5-stage pipeline deliver deterministic interrupt response for real-time tasks.
The PIC32MX320F032H is suitable for industrial automation, USB peripherals, consumer electronics, motor control, and human-machine interface (HMI) applications. Design consideration: the part requires a 3.3 V regulator, decoupling per VDD/VSS pair, and proper trace routing for the 50 MHz USB DP/DM differential pair to meet USB 2.0 signal-integrity requirements.
Drop-in alternatives for PIC32MX320F032H-40V/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 PIC32MX320F032H-40V/MR (same form factor and footprint) — differing in ADC, Package, Core Architecture, Data Memory (SRAM), Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX320F032H-40I/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX320F032H-40V/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX320F032H-40I/PT
✅ Drop-In✓ In Stock
$3.32 / Unit
View Datasheet →PIC32MX320F064H-40V/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$1.85 / Unit
View Datasheet →PIC32MX340F128H-40V/MR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC32MX360F512L-40V/MR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC32MX320F032H-40V/MR Maximum Ratings & Electrical Characteristics
| Core Architecture | MIPS32 M4K, 32-bit |
| Core Frequency | 40 MHz (66 DMIPS) |
| Pipeline | 5-stage |
| Flash Program Memory | 32 KB (32K x 8) |
| SRAM Data Memory | 8 KB |
| Supply Voltage | 2.3 V to 3.6 V |
| Operating Temperature | -40 °C to +105 °C (V grade) |
| ADC | 10-bit, 1.1 Msps, up to 16 channels |
| USB | USB 2.0 Full-Speed OTG |
| I²C | 2 modules |
| SPI | 2 modules |
| UART | 2 modules |
| Timers | 5 x 16-bit |
| DMA Channels | 8 |
| Digital I/O Pins | 53 |
| Package | 64-pin VQFN (9x9 mm), MR suffix |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
| Programming Interface | ICSP, JTAG |
PIC32MX320F032H-40V/MR Pin Configuration
| Pin 1 | SDA — I2C1 data line (or digital I/O) |
| Pin 2 | RPB0 — Remappable I/O port B bit 0 |
| Pin 3 | RPB1 — Remappable I/O port B bit 1 |
| Pin 4 | RPB2 — Remappable I/O port B bit 2 (or SCL2) |
| Pin 5 | RPB3 — Remappable I/O port B bit 3 |
| Pin 6 | RPB4 — Remappable I/O port B bit 4 |
| Pin 7 | RPB5 — Remappable I/O port B bit 5 |
| Pin 8 | VSS — Ground |
| Pin 9 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 10 | RPB6 — Remappable I/O port B bit 6 |
| Pin 11 | RPB7 — Remappable I/O port B bit 7 |
| Pin 12 | RPB8 — Remappable I/O port B bit 8 |
| Pin 13 | RPB9 — Remappable I/O port B bit 9 |
| Pin 14 | RPB10 — Remappable I/O port B bit 10 |
| Pin 15 | RPB11 — Remappable I/O port B bit 11 |
| Pin 16 | VSS — Ground |
| Pin 17 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 18 | RPB12 — Remappable I/O port B bit 12 |
| Pin 19 | RPB13 — Remappable I/O port B bit 13 |
| Pin 20 | RPB14 — Remappable I/O port B bit 14 |
| Pin 21 | RPB15 — Remappable I/O port B bit 15 |
| Pin 22 | RPC0 — Remappable I/O port C bit 0 |
| Pin 23 | RPC1 — Remappable I/O port C bit 1 |
| Pin 24 | RPC2 — Remappable I/O port C bit 2 |
| Pin 25 | RPC3 — Remappable I/O port C bit 3 |
| Pin 26 | RPC4 — Remappable I/O port C bit 4 |
| Pin 27 | RPC5 — Remappable I/O port C bit 5 |
| Pin 28 | VSS — Ground |
| Pin 29 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 30 | RPC6 — Remappable I/O port C bit 6 |
| Pin 31 | RPC7 — Remappable I/O port C bit 7 |
| Pin 32 | RPC8 — Remappable I/O port C bit 8 |
| Pin 33 | RPC9 — Remappable I/O port C bit 9 |
| Pin 34 | TMS — JTAG test mode select |
| Pin 35 | TCK — JTAG test clock |
| Pin 36 | TDI — JTAG test data in |
| Pin 37 | TDO — JTAG test data out |
| Pin 38 | VSS — Ground |
| Pin 39 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 40 | OSC1 — Crystal oscillator input (primary) |
| Pin 41 | OSC2 — Crystal oscillator output (primary) |
| Pin 42 | VSS — Ground |
| Pin 43 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 44 | RPD0 — Remappable I/O port D bit 0 |
| Pin 45 | RPD1 — Remappable I/O port D bit 1 |
| Pin 46 | RPD2 — Remappable I/O port D bit 2 |
| Pin 47 | RPD3 — Remappable I/O port D bit 3 |
| Pin 48 | RPD4 — Remappable I/O port D bit 4 |
| Pin 49 | RPD5 — Remappable I/O port D bit 5 |
| Pin 50 | RPD6 — Remappable I/O port D bit 6 |
| Pin 51 | RPD7 — Remappable I/O port D bit 7 |
| Pin 52 | RPD8 — Remappable I/O port D bit 8 |
| Pin 53 | RPD9 — Remappable I/O port D bit 9 |
| Pin 54 | RPD10 — Remappable I/O port D bit 10 |
| Pin 55 | RPD11 — Remappable I/O port D bit 11 |
| Pin 56 | VSS — Ground |
| Pin 57 | VDD — Positive supply voltage (2.3-3.6V) |
| Pin 58 | D+/DP — USB D+ (differential data) |
| Pin 59 | D-/DM — USB D- (differential data) |
| Pin 60 | VBUS — USB bus voltage detect |
| Pin 61 | VUSB3V3 — USB internal 3.3V regulator output |
| Pin 62 | RPE0 — Remappable I/O port E bit 0 |
| Pin 63 | RPE1 — Remappable I/O port E bit 1 |
| Pin 64 | RPE2 — Remappable I/O port E bit 2 |
Typical Applications
PIC32MX320F032H-40V/MR is suitable for 6 applications: USB Peripherals and HID Devices, Industrial Sensor Monitoring and Control, Human-Machine Interface (HMI) with LCD, Motor Control and BLDC Drivers, Consumer Electronics with USB Charging, Data Logging and Edge IoT Gateways.
USB Peripherals and HID Devices
The PIC32MX320F032H-40V/MR's integrated USB 2.0 Full-Speed OTG controller with internal transceiver and 1.5 kΩ pull-up makes it ideal for USB peripherals such as HID-class devices, USB-to-serial bridges, and USB audio class (UAC) speakers/microphones. The 40 MHz MIPS M4K core delivers 66 DMIPS, sufficient to process USB isochronous audio streams at 48 kHz sample rate with minimal CPU load. For typical USB mouse or keyboard designs, the MCU handles HID report generation, button debouncing, and LED indicators while consuming < 30 mA from the USB VBUS rail. Place the USB DP/DM traces as a 90 Ω differential pair with the required 50 MHz clock crystal for stable full-speed operation.
Recommended
Industrial Sensor Monitoring and Control
With 53 digital I/O pins, an 8-channel DMA, and a 10-bit 1.1 Msps ADC capable of 16 inputs, the PIC32MX320F032H-40V/MR fits industrial sensor monitoring applications including PLC I/O expansion, multi-channel thermocouple reading, and 4-20 mA signal acquisition. The -40 °C to +105 °C V-grade temperature range supports factory-floor deployment in unconditioned enclosures. The 5-stage MIPS pipeline with deterministic interrupt response handles real-time control loops at < 1 ms latency, and the parallel master port (PMP) enables fast external bus access to FPGA co-processors or graphics LCDs. Two UART, two SPI, and two I²C provide the multi-protocol bridging typical of sensor hub applications.
Recommended
Human-Machine Interface (HMI) with LCD
The PIC32MX320F032H-40V/MR integrates a parallel master port (PMP) that drives graphical LCDs (TFT 320x240) and character LCDs directly, with DMA support to refresh the frame buffer without CPU intervention. The 53 I/O pins support both the 8/16-bit PMP bus plus a 4x4 keypad matrix and 4 PWM channels for brightness. Combined with USB OTG for firmware updates and a 40 MHz core for menu responsiveness, the part fits low-cost HMI panels used in appliances, building automation keypads, and small industrial operator panels. The PIC32MX3725 (256KB) family members scale up for richer UIs.
Recommended
Motor Control and BLDC Drivers
The PIC32MX320F032H-40V/MR provides 5 x 16-bit timers, 8 DMA channels, and 53 I/O pins - sufficient to control a 3-phase BLDC motor with sensorless or Hall-sensor feedback. The 5-stage MIPS core and hardware multiply/divide unit deliver the deterministic interrupt response needed for 20 kHz PWM switching frequency with low jitter, and the 1.1 Msps ADC samples back-EMF and current-sense signals at > 100 ksps for sensorless FOC algorithms. Combined with the -40 to +105 °C V-grade temperature range, the MCU is appropriate for under-hood automotive pumps and small industrial BLDC drives.
Recommended
Consumer Electronics with USB Charging
The PIC32MX320F032H-40V/MR's USB OTG controller with battery charger detection (BC1.1/2.0) enables USB-powered devices such as portable speakers, charging docks, and USB hubs. The 32 KB Flash is enough for firmware implementing USB CDC, HID, and BCD classes, while the 8 KB SRAM buffers audio data at 48 kHz. The V-grade temperature range (-40 to +105 °C) is more than sufficient for indoor consumer products. For battery-powered applications, the MCU's low-power sleep modes (< 50 µA typical) extend battery life.
Recommended
Data Logging and Edge IoT Gateways
The PIC32MX320F032H-40V/MR combines 32 KB Flash for application firmware, 8 KB SRAM for buffering, and 8 DMA channels for parallel sensor sampling - a useful base for edge IoT data-acquisition gateways. The 10-bit ADC samples analog sensors (temperature, pressure, light), the two UARTs handle RS-485/RS-232 sensor buses, and the SPI/I²C connect to digital sensors. Firmware stores data logs in external EEPROM via I²C and reports summaries via USB to a host. For battery-powered edge nodes, the low-power sleep mode combined with RTC timer wake-up enables multi-month battery life on 2x AA cells.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX320F032H-40V/MR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX320F032H-40I/MR | PIC32MX320F032H-40V/PT | PIC32MX320F032H-40I/PT | PIC32MX320F064H-40V/MR |
|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-VQFN (9x9 mm) | 64-VQFN (9x9 mm) - same | 64-TQFP - same die, different footprint | 64-TQFP - same die, different footprint | 64-VQFN (9x9 mm) - same |
| Flash | 32 KB | 32 KB | 32 KB | 32 KB | 64 KB |
| SRAM | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB |
| Core Frequency | 40 MHz (66 DMIPS) | 40 MHz (66 DMIPS) | 40 MHz (66 DMIPS) | 40 MHz (66 DMIPS) | 40 MHz (66 DMIPS) |
| Operating Temperature | -40 °C to +105 °C (V grade) | -40 °C to +85 °C (I grade) | -40 °C to +105 °C (V grade) | -40 °C to +85 °C (I grade) | -40 °C to +105 °C (V grade) |
| USB | USB 2.0 FS OTG | USB 2.0 FS OTG | USB 2.0 FS OTG | USB 2.0 FS OTG | USB 2.0 FS OTG |
| ADC | 10-bit, 16 ch, 1.1 Msps | 10-bit, 16 ch, 1.1 Msps | 10-bit, 16 ch, 1.1 Msps | 10-bit, 16 ch, 1.1 Msps | 10-bit, 16 ch, 1.1 Msps |
Key Differentiators
- Highest temperature grade for industrial deployment (vs PIC32MX320F032H-40I/MR)
- VQFN-64 footprint for compact designs (vs PIC32MX320F032H-40V/PT)
- Migration path available to higher-memory VQFN-64 variants (vs PIC32MX320F064H-40V/MR)
Design Notes
The PIC32MX320F032H-40V/MR requires a clean 3.3 V supply (2.3-3.6 V range). Place a 100 nF decoupling capacitor on each VDD/VSS pin pair, plus a single 10 µF bulk capacitor near the IC. Use a low-noise LDO such as the Microchip MCP1700-3302E (250 mA, 1.6 µVrms) - the MCU's ADC accuracy is sensitive to supply ripple. For USB applications, the internal 3.3 V USB regulator (VUSB3V3 pin) requires a 4.7 µF external capacitor; do not load this pin with external circuitry.
The 64-VQFN (9x9 mm) package has an exposed thermal pad (EP) on the underside that MUST be soldered to a ground copper pad of at least the same size for mechanical reliability and thermal dissipation. The EP pin should be tied directly to the ground plane with multiple thermal vias (0.25 mm²) to a ground layer for best heat dissipation - the part typically dissipates < 100 mW at 40 MHz full load. VQFN packages are more difficult to rework than TQFP; plan accordingly for prototypes.
Common pitfalls: (1) Forgetting to tie the VBUS pin to 5 V even in self-powered USB designs - VBUS detection is required by USB spec. (2) Failing to configure the JTAG pins as digital I/O when JTAG is unused - the JTAG controller takes precedence on reset, locking the pins until unlocked. (3) Not enabling the internal FRC postscaler at the right PLL multiplier when moving from 8 MHz FRC to 40 MHz SYSCLK - the PLL loop filter requires 10 µs lock time. (4) Placing the 50 MHz USB reference clock crystal too far from the MCU - the trace length must be < 5 mm to avoid jitter.
USB 2.0 Full-Speed signal-integrity: route D+/DP and D-/DM as a 90 Ω differential pair with controlled impedance, length-matched within 2 mm, and kept away from noisy digital traces. Add a 90 Ω common-mode choke (e.g., Murata DLW21SN) on each line near the connector to suppress EMI. The DP/DM pads should have a 50 Ω termination to ground through a ferrite bead for common-mode filtering. Avoid right-angle bends; use 45-degree bends or arcs.
Compliance Information
RoHS compliant per Microchip product page. Not AEC-Q100 qualified - for AEC-Q100 automotive, consider the PIC32MX1xx/2xx family. Operating temperature V grade (-40 to +105 °C) suitable for industrial applications.