PIC32MX340F256H-80V/PT - 32-Bit 80MHz 256KB Flash MCU | Microchip
MPN: PIC32MX340F256H-80V/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.32 | $7.32 |
| 10 | $6.59 | $65.90 |
| 100 | $5.86 | $586.00 |
| 500 | $5.13 | $2,565.00 |
| 1,000 | $4.4 | $4,400.00 |
PIC32MX340F256H-80V/PT Overview
A 32-bit microcontroller (MCU) is an integrated processor with a 32-bit data path, on-chip Flash program memory, RAM, and configurable peripherals such as ADC, timers, and communication interfaces. Within the embedded hierarchy, the PIC32MX sits between 8/16-bit MCUs and Cortex-M4 cores, delivering higher performance while retaining deterministic interrupt behavior. The PIC32MX3xx/4xx family is widely used in consumer, industrial, and USB-enabled applications where MIPS instruction-set familiarity and MPLAB X toolchain support matter.
Key features of the PIC32MX340F256H-80V/PT include 256KB (256K x 8) Flash program memory, 32KB (32K x 8) RAM, DMA controller for CPU-offload data movement, and integrated USB 2.0 full-speed device/host/OTG. The device provides 53 general-purpose I/O, multiple UART/SPI/I2C interfaces, a 10-bit 1 Msps ADC, and a parallel master port for external memory. Code protection, JTAG boundary scan, and trace support enable robust debugging.
Architecturally, the PIC32MX340F256H uses the MIPS32 M4K core with 5-stage pipeline, hardware multiply/divide, and a prefetch cache. The internal oscillator and PLL allow flexible clocking up to 80 MHz. Compared to PIC24/dsPIC parts, the PIC32MX340F256H delivers significantly higher Dhrystone MIPS (∼1.5 DMIPS/MHz) while sharing peripheral IP, easing migration from 16-bit designs.
Typical applications include USB peripherals (HID, CDC, mass storage), industrial control panels, graphical user interfaces with parallel-port LCDs, and consumer audio/automation hubs. The wide peripheral mix and DMA support also make it suitable for data-acquisition front ends and embedded web servers.
When designing with the -80V grade (operating -40C to +105C), reserve ample Flash/RAM headroom for USB stacks (typically 30-40 KB). Always provide a stable 3.3V rail with at least 100 mA headroom and place decoupling capacitors close to the VDD/VSS pins per the datasheet layout guide.
This page synthesizes distributor pricing, drop-in alternatives from the PIC32MX family, and practical design notes not found on the manufacturer datasheet alone.
Drop-in alternatives for PIC32MX340F256H-80V/PT — 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 PIC32MX340F256H-80V/PT (same form factor and footprint) — differing in ADC, Package, Operating Temperature, DMA Channels, USB.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX340F256H-80I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX340F256HT-80V/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX340F128H-80I/PT
✅ Drop-In✓ In Stock
$4.61 / Unit
View Datasheet →PIC32MX340F128HT-80V/PT
✅ Drop-In✓ In Stock
$5.6 / Unit
View Datasheet →PIC32MX340F128H-80V/MR
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$3.72 / Unit
View Datasheet →PIC32MX340F256H-80V/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | MIPS32 M4K |
| Data Bus Width | 32-bit |
| Program Memory (Flash) | 256 KB (256K x 8) |
| RAM Size | 32 KB (32K x 8) |
| Maximum CPU Frequency | 80 MHz |
| Supply Voltage (VDD) | 2.3 V to 3.6 V |
| Number of I/O Pins | 53 |
| ADC | 10-bit, 1 Msps |
| Package | 64-pin TQFP (10x10x1 mm) |
| Mounting Type | Surface Mount |
| Operating Temperature | -40C to +105C (-80V grade) |
| DMA Channels | Yes |
| USB Interface | USB 2.0 Full-Speed Device/Host/OTG |
| Communication Interfaces | UART, SPI, I2C, PMP |
| RoHS Status | Compliant |
PIC32MX340F256H-80V/PT Pin Configuration
| Pin 1 | RP15/PMPDO/RD4 — I/O port D4 / Parallel Master Port data |
| Pin 2 | RP14/PMPD1/RD5 — I/O port D5 / PMP data |
| Pin 3 | RP13/PMD2/RD6 — I/O port D6 / PMP data |
| Pin 4 | RP12/PMD3/RD7 — I/O port D7 / PMP data |
| Pin 5 | RP11/PMD4/RD8 — I/O port D8 / PMP data |
| Pin 6 | RP10/PMD5/RD9 — I/O port D9 / PMP data |
| Pin 7 | RP9/PMD6/RD10 — I/O port D10 / PMP data |
| Pin 8 | RP8/PMD7/RD11 — I/O port D11 / PMP data |
| Pin 9 | VSS — Ground reference |
| Pin 10 | VDD — Positive supply (2.3V-3.6V) |
| Pin 11 | RP7/PMD8/RD0 — I/O port D0 / PMP data |
| Pin 12 | RP6/PMD9/RD1 — I/O port D1 / PMP data |
| Pin 13 | RP5/PMD10/RD2 — I/O port D2 / PMP data |
| Pin 14 | RP4/PMD11/RD3 — I/O port D3 / PMP data |
| Pin 15 | VCAP — Voltage regulator bypass capacitor (4.7uF to VSS) |
| Pin 16 | PGEC2/RP3/RB3 — I/O port B3 / ICSP clock |
| Pin 17 | PGED2/RP2/RB2 — I/O port B2 / ICSP data |
| Pin 18 | PGEC1/RP1/RB1 — I/O port B1 / ICSP clock |
| Pin 19 | PGED1/RP0/RB0 — I/O port B0 / ICSP data |
| Pin 20 | VSS — Ground reference |
| Pin 21 | VDD — Positive supply (2.3V-3.6V) |
| Pin 22 | AN12/RP28/RB12 — Analog input 12 / I/O port B12 |
| Pin 23 | AN11/RP27/RB11 — Analog input 11 / I/O port B11 |
| Pin 24 | AN10/RP26/RB10 — Analog input 10 / I/O port B10 |
| Pin 25 | AN9/RP25/RB9 — Analog input 9 / I/O port B9 |
| Pin 26 | AN8/RP24/RB8 — Analog input 8 / I/O port B8 |
| Pin 27 | AN7/RP23/RB7 — Analog input 7 / I/O port B7 |
| Pin 28 | AN6/RP22/RB6 — Analog input 6 / I/O port B6 |
| Pin 29 | AN5/RP21/RB5 — Analog input 5 / I/O port B5 |
| Pin 30 | AN4/RP20/RB4 — Analog input 4 / I/O port B4 |
| Pin 31 | AVSS — Analog ground |
| Pin 32 | AVDD — Analog supply (2.3V-3.6V) |
| Pin 33 | AN3/RP19/RB3 — Analog input 3 / I/O port B3 (alt) |
| Pin 34 | AN2/RP18/RB2 — Analog input 2 / I/O port B2 (alt) |
| Pin 35 | AN1/RP17/RB1 — Analog input 1 / I/O port B1 (alt) |
| Pin 36 | AN0/RP16/RB0 — Analog input 0 / I/O port B0 (alt) |
| Pin 37 | VREF-/CVREF-/AN15 — ADC negative reference / analog input 15 |
| Pin 38 | VREF+/CVREF+/AN14 — ADC positive reference / analog input 14 |
| Pin 39 | SDA1/RP9/RD9 — I2C data 1 / I/O port D9 |
| Pin 40 | SCL1/RP8/RD8 — I2C clock 1 / I/O port D8 |
| Pin 41 | SOSCI/RP13/RB13 — Secondary oscillator input / I/O port B13 |
| Pin 42 | SOSCO/RP14/RB14 — Secondary oscillator output / I/O port B14 |
| Pin 43 | D-/RG3 — USB D- data line |
| Pin 44 | D+/RG2 — USB D+ data line |
| Pin 45 | VUSB — USB transceiver supply (3.3V) |
| Pin 46 | OSC1/RC12 — Primary oscillator input |
| Pin 47 | OSC2/RC15 — Primary oscillator output |
| Pin 48 | VSS — Ground reference |
| Pin 49 | TDI/RPA8/RA8 — JTAG test data in / I/O port A8 |
| Pin 50 | TCK/RPA9/RA9 — JTAG test clock / I/O port A9 |
| Pin 51 | TDO/RPA10/RA10 — JTAG test data out / I/O port A10 |
| Pin 52 | TMS/RPA7/RA7 — JTAG test mode select / I/O port A7 |
| Pin 53 | TRST/RPA6/RA6 — JTAG test reset / I/O port A6 |
| Pin 54 | U1RTS/RF13/RF13 — UART1 RTS / I/O port F13 |
| Pin 55 | U1RX/RF12/RF12 — UART1 RX / I/O port F12 |
| Pin 56 | U1TX/RF8/RF8 — UART1 TX / I/O port F8 |
| Pin 57 | U1CTS/RF5/RF5 — UART1 CTS / I/O port F5 |
| Pin 58 | PMCS1/RG1/RG1 — PMP chip select 1 / I/O port G1 |
| Pin 59 | PMCS2/RG0/RG0 — PMP chip select 2 / I/O port G0 |
| Pin 60 | PMWR/RG7/RG7 — PMP write strobe / I/O port G7 |
| Pin 61 | PMRD/RG6/RG6 — PMP read strobe / I/O port G6 |
| Pin 62 | PMA0/RE8/RE8 — PMP address 0 / I/O port E8 |
| Pin 63 | PMALL/RG15/RG15 — PMP address latch low / I/O port G15 |
| Pin 64 | PMALH/RG14/RG14 — PMP address latch high / I/O port G14 |
Typical Applications
PIC32MX340F256H-80V/PT is suitable for 6 applications: USB Human Interface Device (HID) Peripherals, Industrial Control Panel with Graphical LCD, USB-to-UART / USB-to-SPI Bridge Adapter, Data Acquisition Front End, Consumer Audio / Automation Hub, Embedded Web Server / IoT Gateway.
USB Human Interface Device (HID) Peripherals
The PIC32MX340F256H-80V/PT's integrated USB 2.0 full-speed controller and 256 KB Flash make it a strong fit for USB HID products such as keyboards, mice, gamepads, and custom input devices. The MCU's 80 MHz M4K core handles HID report parsing, debounce, and lighting effects at low CPU load, while 32 KB RAM comfortably buffers multi-endpoint traffic. Place a 1.5 kohm pull-up on D+ for full-speed enumeration; the on-chip transceiver eliminates external USB PHY cost. Firmware footprint for a typical composite HID is 30-45 KB Flash, leaving ample headroom in 256 KB.
Recommended
Industrial Control Panel with Graphical LCD
With 53 I/Os and a parallel master port (PMP), the PIC32MX340F256H-80V/PT directly drives graphical LCDs up to QVGA resolution without external controllers. The 80 MHz core renders menus, fonts, and bitmaps at smooth frame rates while DMA offloads PMP pixel transfers. The 2.3-3.6 V supply range tolerates noisy 24V industrial rails stepped down through a linear or buck regulator. The -105C temperature grade supports outdoor panels and factory floors. Use the internal RTCC for time-stamped event logging.
Recommended
USB-to-UART / USB-to-SPI Bridge Adapter
The PIC32MX340F256H-80V/PT's USB device stack plus its multiple UART, SPI, and I2C peripherals make it ideal for compact USB bridge adapters used in factory programming and debug fixtures. The MCU emulates common bridge protocols (CDC ACM, vendor-class bulk) while exposing up to 4 UART/SPI ports to the host side. Bus-powered designs are simple because the part draws under 50 mA at 80 MHz. Flash headroom supports dual-role firmware, allowing field upgrade via USB DFU without external programmer.
Recommended
Data Acquisition Front End
The 10-bit 1 Msps ADC, DMA controller, and 256 KB Flash position the PIC32MX340F256H-80V/PT as a competent multi-channel data logger. The 32 KB RAM buffers 16 ksamples at full ADC throughput, while DMA streams conversions to RAM without CPU intervention, leaving the M4K core free for averaging, peak detection, and SD card writes. Reference designs use the parallel master port with external SRAM for longer captures. The wide -40C to +105C range supports chassis-mounted instrumentation.
Recommended
Consumer Audio / Automation Hub
The PIC32MX340F256H-80V/PT runs custom audio decoding (MP3, AAC, ADPCM) and home automation stacks simultaneously, leveraging its 80 MHz CPU for software codecs and ample Flash for protocol firmware (Zigbee, BLE-via-host, Modbus). The I2S peripheral can drive external DACs for compact speaker designs. Five UART channels handle concurrent RS-485, RS-232, and DMX links. Cost-optimized designs skip external RAM by using the 32 KB on-chip SRAM for ping-pong audio buffers.
Recommended
Embedded Web Server / IoT Gateway
The PIC32MX340F256H-80V/PT's TCP/IP stack support (via Microchip's MPLAB Harmony Net Service) and 80 MHz CPU enable lightweight HTTP/MQTT servers on the MCU itself. The 256 KB Flash accommodates the TCP/IP stack plus a small web UI; 32 KB RAM supports several concurrent sockets. The USB host port allows Wi-Fi dongles for wireless connectivity. Engineers often pair this MCU with an external Ethernet PHY for wired IoT bridges.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX340F256H-80V/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX340F256H-80I/PT | PIC32MX340F256HT-80V/PT | PIC32MX340F128H-80I/PT | PIC32MX340F128HT-80V/PT |
|---|---|---|---|---|---|
| Package | 64-pin TQFP (10x10x1 mm) | 64-pin TQFP - same | 64-pin TQFP - same | 64-pin TQFP - same | 64-pin TQFP - same |
| Brand | Microchip Technology | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same | Microchip Technology - same |
| Flash Memory | 256 KB | 256 KB (same) | 256 KB (same) | 128 KB (-50%) | 128 KB (-50%) |
| RAM Size | 32 KB | 32 KB (same) | 32 KB (same) | 32 KB (same) | 32 KB (same) |
| Max CPU Frequency | 80 MHz | 80 MHz (same) | 80 MHz (same) | 80 MHz (same) | 80 MHz (same) |
| Operating Temperature | -40C to +105C | -40C to +85C (-20C upper limit) | -40C to +105C (same) | -40C to +85C | -40C to +105C |
| USB 2.0 FS | Yes (device/host/OTG) | Yes (same) | Yes (same) | Yes (same) | Yes (same) |
| Unit Price (1000-pc reel) | $4.40 | $4.20 (approx) | $4.40 (same) | $3.80 (approx) | $3.80 (approx) |
Key Differentiators
- Extended temperature range (-40C to +105C) over the -I grade counterpart (vs PIC32MX340F256H-80I/PT)
- Reel packaging variant available with same die (vs PIC32MX340F256HT-80V/PT)
- Full 256 KB Flash at same package, lower price tier (vs PIC32MX340F128H-80V/PT)
Design Notes
Estimated: at 80 MHz with full USB activity, the PIC32MX340F256H draws approximately 50-70 mA from a 3.3 V rail. Provide a 3.3V LDO with at least 100 mA headroom and a 10 uF bulk capacitor near the VDD pins. The VCAP pin (pin 15) requires a 4.7 uF low-ESR ceramic bypass capacitor to VSS to stabilize the internal 1.8V core regulator; do not omit this part or the MCU will brown-out under high CPU load.
Keep USB D+/D- traces matched within 2 mm length difference and 90 ohm differential impedance per USB 2.0 FS spec. Place the 15 kohm pull-down resistors on D+/D- close to the MCU pins. Decouple each VDD pin with a 0.1 uF X7R ceramic placed within 3 mm, plus one 10 uF bulk per supply domain. Route crystal traces (OSC1/OSC2) short and ground-guarded to avoid EMI.
Do not skip configuring the peripheral pin select (PPS) registers in firmware - many pins default to general-purpose I/O and require explicit PPS mapping to peripheral functions. Reserve roughly 30-40 KB Flash for the USB stack when using the Microchip USB framework. The VUSB pin (45) requires a 0.47 uF decoupling capacitor; without it, USB enumeration may fail intermittently.
Compliance Information
RoHS compliant per Microchip product page and DigiKey listing. Not AEC-Q100 qualified - this part targets industrial rather than automotive-grade applications. Lead-free matte-tin finish per JEDEC J-STD-020.