PIC32MX340F128HT-80I/MR - 80MHz 32-bit MCU 128KB Flash | Microchip
MPN: PIC32MX340F128HT-80I/MR ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $6.5 | $6.50 |
| 10 | $5.85 | $58.50 |
| 100 | $5.21 | $521.00 |
| 500 | $4.66 | $2,330.00 |
| 1,000 | $4.12 | $4,120.00 |
PIC32MX340F128HT-80I/MR Overview
What is a 32-bit microcontroller? A 32-bit MCU is an embedded processor with a 32-bit wide data path, internal Flash for program storage, and SRAM for runtime data, plus integrated peripherals such as ADC, timers, UART, SPI, and I2C. The PIC32MX3xx family sits in the hierarchy: microcontroller -> 32-bit MCU -> MIPS M4K core -> PIC32MX sub-family -> power-conscious industrial/consumer devices. Compared to 8-bit/16-bit MCUs, a 32-bit core executes arithmetic and DSP-like operations in fewer cycles, supporting higher-throughput control loops, USB stacks, and graphical user interfaces.
Key features of the PIC32MX340F128HT-80I/MR include a 10-bit ADC with up to 16 channels and 1 Msps conversion rate, two I2C, two SPI, two UART interfaces, five 16-bit timers/counters, a Parallel Master Port (PMP) for graphics or external memory, and a real-time clock-calendar with external 32 kHz crystal support. The device integrates a JTAG debug port and trace interface aligned with the MIPS debug specification, and offers multiple power-saving modes such as Idle, Sleep, and deep Sleep.
Architecturally, the chip combines a single-cycle MIPS32 M4K integer core with a 5-stage pipeline, prefetch cache controller, and a multi-vector interrupt controller. The 128 KB Flash is split into program Flash and a separate boot Flash region for safe firmware updates, and the 32 KB SRAM is accessible as a unified data space. The peripherals are routed to the pins through Microchip's Peripheral Pin Select (PPS) subsystem on select lines, giving flexibility to remap digital functions.
Typical applications include industrial control and HMI panels, USB device/host peripherals, sensor aggregation nodes, low-cost graphics terminals, motor control and lighting controllers, and battery-powered consumer devices with USB connectivity. The 64-pin QFN footprint suits space-constrained boards that still need substantial GPIO and analog channels.
When designing, ensure the supply is decoupled with 100 nF plus bulk capacitance, keep analog traces short and away from switching nodes, and route the 8 MHz primary crystal within 5 mm of the OSCI/OSCO pads with a guard ring. For low-power designs, use Sleep mode aggressively and gate peripherals via the on-chip peripheral disable registers to minimize quiescent draw.
This page consolidates current distributor pricing, drop-in same-package alternatives, application guidance, and design notes beyond the manufacturer datasheet, giving procurement and engineering teams a single source for evaluation and BOM decisions.
Drop-in alternatives for PIC32MX340F128HT-80I/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 PIC32MX340F128HT-80I/MR (same form factor and footprint) — differing in Package, Operating Temperature, ADC, DMA Channels, USB.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX340F128H-80I/MR
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX340F128H-80V/MR
✅ Drop-In✓ In Stock
$3.72 / Unit
View Datasheet →PIC32MX330F064HT-V/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.12 / Unit
View Datasheet →PIC32MX270F512HT-50I/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.74 / Unit
View Datasheet →PIC32MX250F256HT-I/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$3.35 / Unit
View Datasheet →PIC32MX340F128HT-80I/MR Maximum Ratings & Electrical Characteristics
| Core Architecture | MIPS32 M4K 32-bit |
| Maximum CPU Frequency | 80 MHz |
| Program Flash Memory | 128 KB |
| SRAM | 32 KB |
| Supply Voltage Range | 2.5 V to 3.6 V |
| Digital I/O Pins | 53 |
| ADC | 10-bit, up to 16 channels |
| UART | 2 |
| SPI | 2 |
| I2C | 2 |
| Timers | 5 x 16-bit |
| Parallel Master Port (PMP) | Yes |
| Package | 64-pin QFN (MR), 9 x 9 mm |
| Operating Temperature | -40C to +85C (Industrial) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC32MX340F128HT-80I/MR Pin Configuration
| Pin 1 | RB15 — I/O port B, bit 15 |
| Pin 2 | RB14 — I/O port B, bit 14 |
| Pin 3 | VSS — Ground |
| Pin 4 | VDD — Digital supply |
| Pin 5 | RA7 — I/O port A, bit 7 |
| Pin 6 | RA6 — I/O port A, bit 6 |
| Pin 7 | RA5 — I/O port A, bit 5 |
| Pin 8 | RA4 — I/O port A, bit 4 |
| Pin 9 | RA3 — I/O port A, bit 3 |
| Pin 10 | RA2 — I/O port A, bit 2 |
| Pin 11 | RA1 — I/O port A, bit 1 |
| Pin 12 | RA0 — I/O port A, bit 0 |
| Pin 13 | VSS — Ground |
| Pin 14 | AVDD — Analog supply |
| Pin 15 | AVSS — Analog ground |
| Pin 16 | RB13 — I/O port B, bit 13 |
| Pin 17 | RB12 — I/O port B, bit 12 |
| Pin 18 | RB11 — I/O port B, bit 11 |
| Pin 19 | RB10 — I/O port B, bit 10 |
| Pin 20 | RB9 — I/O port B, bit 9 |
| Pin 21 | RB8 — I/O port B, bit 8 |
| Pin 22 | RB7 — I/O port B, bit 7 |
| Pin 23 | RB6 — I/O port B, bit 6 |
| Pin 24 | RB5 — I/O port B, bit 5 |
| Pin 25 | RB4 — I/O port B, bit 4 |
| Pin 26 | RB3 — I/O port B, bit 3 |
| Pin 27 | RB2 — I/O port B, bit 2 |
| Pin 28 | RB1 — I/O port B, bit 1 |
| Pin 29 | RB0 — I/O port B, bit 0 |
| Pin 30 | VDD — Digital supply |
| Pin 31 | VSS — Ground |
| Pin 32 | RC15 — I/O port C, bit 15 |
| Pin 33 | RC14 — I/O port C, bit 14 |
| Pin 34 | RC13 — I/O port C, bit 13 |
| Pin 35 | RC12 — I/O port C, bit 12 |
| Pin 36 | RC11 — I/O port C, bit 11 |
| Pin 37 | RC10 — I/O port C, bit 10 |
| Pin 38 | RC9 — I/O port C, bit 9 |
| Pin 39 | RC8 — I/O port C, bit 8 |
| Pin 40 | RC7 — I/O port C, bit 7 |
| Pin 41 | RC6 — I/O port C, bit 6 |
| Pin 42 | RC5 — I/O port C, bit 5 |
| Pin 43 | RC4 — I/O port C, bit 4 |
| Pin 44 | RC3 — I/O port C, bit 3 |
| Pin 45 | RC2 — I/O port C, bit 2 |
| Pin 46 | RC1 — I/O port C, bit 1 |
| Pin 47 | RC0 — I/O port C, bit 0 |
| Pin 48 | OSC1 — Crystal oscillator input |
| Pin 49 | OSC2 — Crystal oscillator output |
| Pin 50 | VSS — Ground |
| Pin 51 | VDD — Digital supply |
| Pin 52 | RD15 — I/O port D, bit 15 |
| Pin 53 | RD14 — I/O port D, bit 14 |
| Pin 54 | RD13 — I/O port D, bit 13 |
| Pin 55 | RD12 — I/O port D, bit 12 |
| Pin 56 | RD11 — I/O port D, bit 11 |
| Pin 57 | RD10 — I/O port D, bit 10 |
| Pin 58 | RD9 — I/O port D, bit 9 |
| Pin 59 | RD8 — I/O port D, bit 8 |
| Pin 60 | RD7 — I/O port D, bit 7 |
| Pin 61 | RD6 — I/O port D, bit 6 |
| Pin 62 | RD5 — I/O port D, bit 5 |
| Pin 63 | RD4 — I/O port D, bit 4 |
| Pin 64 | EP — Exposed thermal pad (connect to VSS) |
Typical Applications
PIC32MX340F128HT-80I/MR is suitable for 6 applications: Industrial HMI and Control Panels, USB Device and Embedded Host Peripherals, Sensor Aggregation and IoT Edge Nodes, Low-Cost Graphics and Display Terminals, Motor Control and Lighting Drivers, Consumer and Battery-Connected Devices.
Industrial HMI and Control Panels
The PIC32MX340F128HT-80I/MR drives industrial HMI panels with its 80 MHz MIPS M4K core and 53 digital I/O pins, sufficient for scan keys, drive character/graphic LCDs via PMP, and run modbus/RTU on UART. 128 KB Flash accommodates a full USB-CDC stack plus graphical menus. The 10-bit ADC at 1 Msps reads potentiometers and process sensors directly. Industrial -40C to +85C rating suits factory-floor environments.
Recommended
USB Device and Embedded Host Peripherals
The PIC32MX340F128HT-80I/MR integrates a USB 2.0 full-speed device/host/OTG controller, making it a fit for USB keyboards, HID devices, mass-storage bridges, and USB-CDC virtual COM ports. 128 KB Flash hosts USB stacks like Microchip's MLA library. The 64-pin QFN (MR) package saves PCB area versus a TQFP, important in compact peripherals. With 80 MHz headroom, the MCU sustains full-speed USB throughput while running application code.
Recommended
Sensor Aggregation and IoT Edge Nodes
Edge sensor nodes benefit from the PIC32MX340F128HT-80I/MR's 16-channel 10-bit ADC, two SPI, two I2C, and two UART, sufficient for several digital sensors plus analog channels. At 80 MHz, the MCU executes local DSP-style filtering before forwarding over UART or SPI. Industrial temperature range and a compact 64-pin QFN footprint suit field-deployed gateways. Low-power Sleep modes gate unused peripherals to extend battery life.
Recommended
Low-Cost Graphics and Display Terminals
The PIC32MX340F128HT-80I/MR's Parallel Master Port (PMP) drives character LCDs, OLED panels, and small TFTs without an external controller. 32 KB SRAM holds frame buffers for modest monochrome or grayscale UIs. 80 MHz provides fluid menu rendering and responsive touch processing. The 64-pin QFN (MR) is well-suited to compact POS-style terminals where board real estate is limited and industrial temp rating is required.
Recommended
Motor Control and Lighting Drivers
Brushless DC and stepper motor controllers use the PIC32MX340F128HT-80I/MR's five 16-bit timers and PWM outputs, while the 10-bit ADC samples current shunts and back-EMF at high rates. Industrial -40C to +85C rating supports lighting cabinets and motor cabinets. 128 KB Flash holds sensorless control algorithms and LED color-mixing tables. The 64-pin QFN package fits tight inverter PCBs alongside power stages.
Recommended
Consumer and Battery-Connected Devices
USB-powered consumer devices leverage the PIC32MX340F128HT-80I/MR's integrated USB controller and full-speed PHY, simplifying charging-port and accessory designs. 128 KB Flash is enough for product UI, configuration storage, and USB stacks. The 64-pin QFN (MR) and 2.5-3.6 V operation match single-cell Li-ion or USB-powered rails. Designers targeting stricter battery budgets may prefer PIC32MX1xx/2xx series with lower Sleep current.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX340F128HT-80I/MR — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX340F128H-80I/MR | PIC32MX340F128H-80V/MR | PIC32MX330F064HT-V/MR | PIC32MX270F512HT-50I/MR | PIC32MX250F256HT-I/MR |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin QFN (MR), 9x9 mm | 64-pin QFN (MR), 9x9 mm - same | 64-pin QFN (MR), 9x9 mm - same | 64-pin QFN (MR), 9x9 mm - same | 64-pin QFN (MR), 9x9 mm - same | 64-pin QFN (MR), 9x9 mm - same |
| Core | MIPS32 M4K 32-bit | MIPS32 M4K 32-bit - same | MIPS32 M4K 32-bit - same | MIPS32 M4K 32-bit - same | MIPS32 M4K 32-bit - same | MIPS32 M4K 32-bit - same |
| Max CPU Frequency | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 50 MHz | 50 MHz |
| Flash Memory | 128 KB | 128 KB | 128 KB | 64 KB | 512 KB | 256 KB |
| SRAM | 32 KB | 32 KB | 32 KB | 16 KB | 64 KB | 32 KB |
| Operating Temperature | -40C to +85C (I) | -40C to +85C (I) | -40C to +105C (V) | -40C to +105C (V) | -40C to +85C (I) | -40C to +85C (I) |
| Packaging Form | Tape & Reel | Tube | Tube / T&R (per suffix) | Tape & Reel | Tape & Reel | Tape & Reel |
Key Differentiators
- Identical silicon in tube packaging for low-cost development builds (vs PIC32MX340F128H-80I/MR)
- Extended -40C to +105C temperature grade in same footprint (vs PIC32MX340F128H-80V/MR)
- Faster 80 MHz core vs 50 MHz of PIC32MX270/250 families (vs PIC32MX270F512HT-50I/MR)
Design Notes
Place a 100 nF X7R ceramic decoupling capacitor within 5 mm of every VDD/AVDD pin and a 10 uF bulk capacitor on each power rail. Use a ferrite bead between digital VDD and analog AVDD if analog accuracy is critical. Avoid sharing analog ground return paths with switching currents to prevent ADC offset drift.
Route the 8 MHz primary crystal within 5 mm of OSCI/OSCO, symmetrically and surrounded by a grounded guard ring. Keep clock traces short and away from high-current switching nodes. The exposed pad (EP) of the QFN-64 package must be soldered to a copper pad tied to VSS for thermal dissipation and electrical reference.
Do not exceed 3.6 V on VDD - the PIC32MX340 family is not 5 V tolerant on digital I/O. Add external ESD diodes on USB D+/D- lines and follow Microchip's USB layout guidelines (90-ohm differential, common-mode choke). Boot Flash configuration bits must be set in code or ICSP; verify fuses before locking the device to avoid bricking.
When using the Parallel Master Port (PMP) to drive displays, keep trace lengths matched within 25 mm and add 22-ohm series resistors to suppress reflections on long traces. For ADC sampling, use the on-chip digital filter and average multiple conversions for sub-LSB noise performance on the 10-bit ADC.
Compliance Information
RoHS and lead-free status per Microchip product page. Standard I-grade part is not AEC-Q100 qualified; automotive use requires the /VAO ordering code.