PIC32MX340F128H-80V/MR - 32-bit 80MHz MCU 128KB Flash | Microchip
MPN: PIC32MX340F128H-80V/MR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.95 | $5.95 |
| 10 | $5.42 | $54.20 |
| 100 | $4.86 | $486.00 |
| 500 | $4.28 | $2,140.00 |
| 1,000 | $3.72 | $3,720.00 |
PIC32MX340F128H-80V/MR Overview
A microcontroller (MCU) is an integrated circuit containing a processor core, program and data memory, and a programmable set of peripheral interfaces on a single die. The PIC32MX3XX/4XX family sits within Microchip's MIPS32 M4K-based PIC32 portfolio, positioned between 8-bit PIC16/PIC18 devices and higher-end ARM Cortex-M parts, targeting connected, USB-equipped, and graphically rich embedded designs.
Key features include single-cycle 32-bit multiply, hardware multiply/divide, 8 KB prefetch cache, an 8-channel DMA controller, a 5-stage pipeline, JTAG and 2-wire programming/debug, and industrial-grade -40C to +105C operating range. The USB 2.0 full-speed OTG controller with on-chip transceiver removes the need for an external PHY, lowering BOM cost for HID, CDC, MSD, and custom-class designs.
Typical applications include USB peripherals and bridges, industrial control with HMI, embedded graphics with external QVGA displays, sensor hubs, and small-footprint IoT gateways. The 53 I/O pins support connecting TFT displays via PMP, capacitive touch via SQI, and 10/100 Ethernet with an external MAC+PHY.
For USB device designs, place a 90% nominal-impedance common-mode choke on DP/DM and provide 4.7uF bulk plus 0.1uF decoupling at VBUS. The exposed thermal pad (EP) must be soldered to a ground plane with at least 16 thermal vias for thermal and electrical performance.
Drop-in alternatives for PIC32MX340F128H-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 PIC32MX340F128H-80V/MR (same form factor and footprint) — differing in Operating Temperature, ADC, Core Architecture, Package, USB.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX340F128H-80I/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX340F256H-80V/MR
✅ Drop-In✓ In Stock
$5.09 / Unit
View Datasheet →PIC32MX340F128L-80V/MR
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC32MX340F512H-80V/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$5.03 / Unit
View Datasheet →PIC32MX320F128H-80V/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.35 / Unit
View Datasheet →PIC32MX340F128H-80V/MR Maximum Ratings & Electrical Characteristics
| Core Architecture | MIPS32 M4K 32-bit RISC |
| Core Count | 1 (Single-Core) |
| Maximum CPU Speed | 80 MHz |
| Flash Program Memory | 128 KB (128K x 8) |
| SRAM | 32 KB (32K x 8) |
| Operating Voltage (Vcc/Vdd) | 2.3 V to 3.6 V |
| GPIO Count | 53 |
| Package / Case | 64-VQFN (9x9 mm) Exposed Pad |
| ADC | 10-bit, 1 MSPS, up to 16 channels |
| USB | USB 2.0 Full-Speed Device/Host/OTG with on-chip transceiver |
| DMA Channels | 8 |
| UART / SPI / I2C | 2 each |
| Parallel Master Port (PMP) | Yes (16-bit) |
| Operating Temperature | -40C to +105C (Industrial) |
| Mounting Type | Surface Mount (QFN EP) |
| RoHS Status | Compliant |
PIC32MX340F128H-80V/MR 64-vqfn (9x9 mm) exposed pad Pin Configuration Guide
Pin configuration for PIC32MX340F128H-80V/MR (64-vqfn (9x9 mm) exposed pad package). This digital IC includes GPIO, communication interfaces (UART, SPI, I2C), and power pins. Refer to the manufacturer datasheet for alternate pin functions and configuration options. Essential for embedded system design and PCB layout.
No detailed pinout data available for PIC32MX340F128H-80V/MR.
Refer to the datasheet for full pin configuration.
Typical Applications
PIC32MX340F128H-80V/MR is suitable for 6 applications: USB HID Peripherals, Industrial Control HMI, USB to Ethernet Bridge, Sensor Hub / Data Logger, Embedded Graphical Display Controller, USB Mass Storage / MSD Device.
USB HID Peripherals
The PIC32MX340F128H-80V/MR's integrated USB 2.0 Full-Speed OTG controller with on-chip transceiver makes it an ideal drop-in MCU for USB HID devices such as keyboards, mice, game controllers, and custom input peripherals. Its 32 KB SRAM accommodates the HID report descriptors and buffers without external memory, while the 80 MHz MIPS32 M4K core processes HID class requests and endpoint handling in microseconds. The on-chip 1.5 kohm pull-up on D+ eliminates the external resistor typical on competing designs. Placed at the device side of a USB bus with 90-ohm DP/DM impedance and ESD diodes, it delivers compliant USB-IF operation with Microchip's free USB stack.
Recommended
Industrial Control HMI
With 53 GPIO lines, parallel master port (PMP) for QVGA displays, and 16-bit ADC inputs, the PIC32MX340F128H-80V/MR fits industrial HMI panels driving 320x240 TFTs and capacitive touch via SQI. The 80 MHz core refreshes the display buffer fast enough to avoid flicker, and the 32 KB SRAM holds a partial frame buffer for incremental updates. The industrial -40C to +105C operating range (V suffix) supports factory floor mounting. Used in motor drives and process control front panels where it pairs with PIC32MX340F256H-80V/MR for larger font and bitmap tables.
Recommended
USB to Ethernet Bridge
Combining USB 2.0 Full-Speed device mode with PMP and UART peripherals, the PIC32MX340F128H-80V/MR acts as a USB-to-UART or USB-to-SPI bridge for industrial gateways. The 80 MHz core runs TCP/IP stacks over an external MAC+PHY such as the LAN8720A, while the on-chip USB controller handles CDC class enumeration with the host PC. The exposed thermal pad and 9x9 mm footprint enable compact dongle designs. Pairs well with PIC32MX340F256H for stacks requiring larger packet buffers.
Recommended
Sensor Hub / Data Logger
The 10-bit 1 MSPS ADC with up to 16 channels, 8-channel DMA, and 32 KB SRAM of the PIC32MX340F128H-80V/MR support sensor aggregation nodes sampling thermocouples, flow meters, and digital sensors over SPI/I2C. The 128 KB Flash holds firmware plus calibration tables, and the 80 MHz core executes FFT preprocessing in real time. The DMA controller moves ADC samples to memory without CPU intervention, freeing cycles for USB CDC data upload to a host PC. Industrial temp grade suits outdoor installations.
Recommended
Embedded Graphical Display Controller
The PIC32MX340F128H-80V/MR drives QVGA TFT displays via the on-chip parallel master port (PMP) at up to 80 MHz, enough bus bandwidth for 320x240x16bpp refresh at 60 Hz. The 53 GPIO include dedicated PMP data and control lines, and the DMA engine can feed the PMP from RAM with zero CPU intervention, leaving MIPS for touch processing and rendering. The 32 KB SRAM holds a partial framebuffer for widgets and overlays. Pairs naturally with PIC32MX340F256H-80V/MR when full-frame buffers are required.
Recommended
USB Mass Storage / MSD Device
The PIC32MX340F128H-80V/MR integrates a USB 2.0 Full-Speed controller supporting the MSD class, enabling enumeration as a removable drive when paired with external NAND/SD storage over PMP or SPI. The 80 MHz MIPS32 M4K core handles SCSI Bulk-Only Transport (BOT) commands, while DMA streams data from external storage to USB endpoints without CPU intervention. The 128 KB Flash hosts the MSD stack plus FAT file system, and the 32 KB SRAM holds sector buffers. Common in industrial data loggers and portable instrumentation.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX340F128H-80V/MR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX340F128H-80I/MR | PIC32MX340F256H-80V/MR | PIC32MX340F128L-80V/MR | PIC32MX340F512H-80V/MR | PIC32MX320F128H-80V/MR |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-VQFN (9x9) - same | 64-VQFN (9x9) - same | 64-VQFN (9x9) - same | 64-VQFN (9x9) - same | 64-VQFN (9x9) - same | 64-VQFN (9x9) - same |
| Core Architecture | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit |
| Maximum CPU Speed | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz |
| Flash Program Memory | 128 KB | 128 KB | 256 KB (+100%) | 128 KB | 512 KB (+300%) | 128 KB |
| SRAM | 32 KB | 32 KB | 64 KB (+100%) | 32 KB | 64 KB (+100%) | 32 KB |
| Operating Voltage | 2.3 V to 3.6 V | 2.3 V to 3.6 V | 2.3 V to 3.6 V | 2.3 V to 3.6 V | 2.3 V to 3.6 V | 2.3 V to 3.6 V |
| USB Controller | USB 2.0 FS OTG with on-chip transceiver | USB 2.0 FS OTG with on-chip transceiver | USB 2.0 FS OTG with on-chip transceiver | USB 2.0 FS OTG with on-chip transceiver | USB 2.0 FS OTG with on-chip transceiver | No USB |
| Operating Temperature | -40C to +105C | -40C to +85C | -40C to +105C | -40C to +105C | -40C to +105C | -40C to +105C |
Key Differentiators
- Integrated USB 2.0 OTG with on-chip transceiver eliminates external PHY (vs PIC32MX320F128H-80V/MR)
- Extended -40C to +105C operating range vs industrial -40C to +85C of the -80I variant (vs PIC32MX340F128H-80I/MR)
- Upgrade path to 256 KB Flash / 64 KB SRAM in the same footprint (vs PIC32MX340F256H-80V/MR)
Design Notes
Estimated: The PIC32MX340F128H-80V/MR core draws approximately 50 mA at 80 MHz when USB OTG and PMP are active. Place a 10 uF tantalum bulk plus a 0.1 uF ceramic bypass capacitor within 5 mm of each Vdd pin, plus a 4.7 uF bulk on Vbus. Run separate analog (AVdd) and digital (Vdd) rails with a ferrite bead between them to keep ADC noise below 1 LSB. The internal 1.2 V core LDO requires 4.7 uF on the Vcap pin.
Estimated: At 80 MHz with USB OTG active and GPIO toggling at 10 MHz, the part dissipates around 200 mW. With the 64-VQFN 9x9 mm exposed pad soldered to a ground plane with at least 16 thermal vias, junction-to-ambient theta_JA is approximately 30 C/W. The exposed thermal pad (EP) MUST be soldered to the PCB ground plane for both thermal dissipation and electrical grounding. Without the EP soldered, junction temperature may exceed 105C under continuous load.
Route USB DP/DM traces as a 90-ohm differential pair with continuous reference ground on the layer below, keeping length matching within 150 mil. Place the 27 pF USB Vbus decoupling capacitor as close to the Vbus pin as possible. The exposed pad must have a 0.4 mm solder-paste stencil opening per IPC-7525 and 16-25 thermal vias (0.3 mm drill) to the inner ground plane. Avoid routing signal traces beneath the QFN EP - they induce coupling.
Do not exceed the absolute maximum Vdd of 4.0 V (the 3.6 V nominal operating limit with 10% transient margin). The USB D+/D- pins are not 5 V tolerant; adding external pull-ups above 3.6 V latches-up the part. When migrating firmware from PIC32MX3XX to PIC32MX4XX families, double-check the I/O mapping register names - the PORT registers differ between subfamilies. Also, the PIC32MX340 does NOT have a CAN module; if CAN is needed, migrate to PIC32MX460 or PIC32MX795.
Compliance Information
RoHS and REACH compliant per Microchip product page. AEC-Q100 not qualified - this is industrial-grade (V suffix = -40C to +105C). Lead-free reflow profile per JEDEC J-STD-020E at 260C peak. Conflict-mineral declaration available on Microchip website.