PIC32MX340F128H-80I/PT - 80MHz 32-bit MCU 128KB Flash 64-TQFP | Microchip
Référence : PIC32MX340F128H-80I/PT ✓ Actif| Qté | Prix unitaire | Total |
|---|---|---|
| 1 | $7.2 | $7,20 |
| 10 | $6.48 | $64,80 |
| 100 | $5.76 | $576,00 |
| 500 | $5.18 | $2 590,00 |
| 1 000 | $4.61 | $4 610,00 |
PIC32MX340F128H-80I/PT Présentation
What is a PIC32MX microcontroller? The PIC32MX series is Microchip's family of 32-bit microcontrollers based on the MIPS M4K core, designed as a natural migration path from 8-bit PIC16/PIC18 and 16-bit PIC24/dsPIC devices. PIC32MX sits in the broader hierarchy: microcontroller -> embedded MCU -> 32-bit MCU -> MIPS-based MCU -> USB-capable MCU -> Microchip PIC32MX family. This category is widely used for low-power, USB-enabled, and general-purpose embedded designs that need more memory and processing headroom than 8/16-bit MCUs while staying within cost-constrained budgets.
Key features of the PIC32MX340F128H-80I/PT include: 80MHz/105 DMIPS performance, 128KB Flash program memory, 32KB SRAM, 53 digital I/O pins, a 10-bit 1 Msps ADC with up to 16 channels, USB 2.0 full-speed device/host/OTG, two I2C, two UART, and two SPI peripherals, plus five 16-bit timers/captures. The industrial-grade -40C to +85C operating range and 2.3V-3.6V supply make it suitable for harsh embedded environments.
Architecturally, the device uses a Harvard bus configuration with separate 32-bit instruction and data paths, a prefetch cache to mitigate Flash wait states, and a programmable vector interrupt controller. Compared to ARM Cortex-M0/M3 contemporaries, the PIC32MX340 offers a competitive DMIPS/mW ratio for general-purpose control with the added benefit of Microchip's mature MPLAB XC32 toolchain, Harmony framework, and PICkit-5 in-circuit debugger support.
Typical applications include USB peripherals (HID, CDC, mass storage), industrial control panels, building automation, sensor hubs, home appliances, motor-control BLDC/PMSM companion processors, and consumer audio docks. The integrated USB OTG enables dongle-free device-to-device communication, while the 10-bit ADC with 16 channels supports multi-sensor acquisition.
Designers should note that the -80I/PT suffix indicates the 80MHz industrial-temperature variant in TQFP packaging. Pin-compatible PIC32MX3xx/4xx family members with different Flash/RAM densities (32KB, 64KB, 256KB) provide scalable migration paths within the same PCB footprint. Always provide bulk decoupling near each VDD/VSS pair and follow Microchip's recommended USB PCB layout for the D+/D- lines.
This page consolidates distributor pricing, drop-in alternatives, and practical design notes not collected in the datasheet's typical-application section, giving engineers a single reference for evaluation, sourcing, and BOM risk mitigation.
Alternatives de remplacement direct pour PIC32MX340F128H-80I/PT — même boîtier, compatible broche à broche. Les références à boîtier différent nécessitant une retouche du PCB sont exclues.
Variantes de cette série
Modèles de la même série directement compatibles avec PIC32MX340F128H-80I/PT (même facteur de forme et même empreinte) — différant par Package, ADC, Operating Temperature, Core Architecture, Communication Interfaces.
Outil de comparaison rapide — sélectionnez des références alternatives pour une comparaison côte à côte :
PIC32MX340F256H-80I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX350F128H-80I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX330F064H-I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX360F512H-80I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX370F512H-80I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX340F128HT-80I/PT
✅ Remplacement direct📋 Alternative de référence (hors catalogue)
PIC32MX340F128H-80I/PT Valeurs maximales et caractéristiques électriques
| Core Architecture | MIPS32 M4K 32-bit RISC |
| Maximum CPU Speed | 80 MHz (105 DMIPS) |
| Pipeline Stages | 5 |
| Instruction Set Modes | MIPS32 / MIPS16e (up to 40% code compression) |
| Program Flash Memory | 128 KB |
| SRAM | 32 KB |
| Supply Voltage (VDD) | 2.3 V to 3.6 V |
| Digital I/O Pins | 53 |
| ADC | 10-bit, up to 16 channels, 1 Msps |
| USB | USB 2.0 Full-Speed Device/Host/OTG |
| UART | 2 |
| SPI | 2 |
| I2C | 2 |
| 16-bit Timers/Capture/Compare | 5 |
| Température de fonctionnement | -40 C to +85 C (Industrial) |
| Boîtier | 64-pin TQFP (PT), 10x10 mm |
| Type de montage | Surface Mount |
| Statut RoHS | Compliant |
Configuration des broches de PIC32MX340F128H-80I/PT
| Broche 1 | SDA2/RA0 — I2C2 data / GPIO RA0 |
| Broche 2 | SCL2/RA1 — I2C2 clock / GPIO RA1 |
| Broche 3 | RA2 — GPIO RA2 |
| Broche 4 | RA3 — GPIO RA3 |
| Broche 5 | RA4 — GPIO RA4 |
| Broche 6 | RA5 — GPIO RA5 |
| Broche 7 | RA6 — GPIO RA6 |
| Broche 8 | RA7 — GPIO RA7 |
| Broche 9 | RB0 — GPIO RB0 / CN0 |
| Broche 10 | RB1 — GPIO RB1 / CN1 |
| Broche 11 | RB2 — GPIO RB2 / CN2 |
| Broche 12 | RB3 — GPIO RB3 / CN3 |
| Broche 13 | RB4 — GPIO RB4 / CN4 |
| Broche 14 | RB5 — GPIO RB5 / CN5 |
| Broche 15 | RB6 — GPIO RB6 / CN6 / ICDCLK |
| Broche 16 | RB7 — GPIO RB7 / CN7 / ICEDAT |
| Broche 17 | VSS — Ground reference |
| Broche 18 | VDD — Positive supply 2.3V-3.6V |
| Broche 19 | RB8 — GPIO RB8 / CN8 |
| Broche 20 | RB9 — GPIO RB9 / CN9 |
| Broche 21 | RB10 — GPIO RB10 / CN10 |
| Broche 22 | RB11 — GPIO RB11 / CN11 |
| Broche 23 | RB12 — GPIO RB12 / CN12 |
| Broche 24 | RB13 — GPIO RB13 / CN13 |
| Broche 25 | RB14 — GPIO RB14 / CN14 |
| Broche 26 | RB15 — GPIO RB15 / CN15 |
| Broche 27 | RC1 — GPIO RC1 / T2CK |
| Broche 28 | RC2 — GPIO RC2 / T3CK |
| Broche 29 | RC3 — GPIO RC3 / T4CK |
| Broche 30 | RC4 — GPIO RC4 / T5CK |
| Broche 31 | VDD — Positive supply 2.3V-3.6V |
| Broche 32 | VSS — Ground reference |
| Broche 33 | RC12 — GPIO RC12 |
| Broche 34 | RC13 — GPIO RC13 |
| Broche 35 | RC14 — GPIO RC14 |
| Broche 36 | RC15 — GPIO RC15 |
| Broche 37 | RD0 — GPIO RD0 |
| Broche 38 | RD1 — GPIO RD1 |
| Broche 39 | RD2 — GPIO RD2 |
| Broche 40 | RD3 — GPIO RD3 |
| Broche 41 | RD4 — GPIO RD4 |
| Broche 42 | RD5 — GPIO RD5 |
| Broche 43 | RD6 — GPIO RD6 |
| Broche 44 | RD7 — GPIO RD7 |
| Broche 45 | VSS — Ground reference |
| Broche 46 | VDD — Positive supply 2.3V-3.6V |
| Broche 47 | RD8 — GPIO RD8 |
| Broche 48 | RD9 — GPIO RD9 |
| Broche 49 | RD10 — GPIO RD10 |
| Broche 50 | RD11 — GPIO RD11 |
| Broche 51 | RD12 — GPIO RD12 |
| Broche 52 | RD13 — GPIO RD13 |
| Broche 53 | RD14 — GPIO RD14 |
| Broche 54 | RD15 — GPIO RD15 |
| Broche 55 | VUSB3V3 — USB transceiver 3.3V supply (from internal LDO or external bypass) |
| Broche 56 | D- — USB D- line |
| Broche 57 | D+ — USB D+ line |
| Broche 58 | VBUS — USB VBUS detect input |
| Broche 59 | VSS — Ground reference |
| Broche 60 | OSC1/CLKI/RC12 — Primary oscillator crystal input / external clock input |
| Broche 61 | OSC2/CLKO/RC15 — Primary oscillator crystal output / clock output |
| Broche 62 | TMS/RA0 — JTAG TMS / shared with RA0 |
| Broche 63 | TCK/RA1 — JTAG TCK / shared with RA1 |
| Broche 64 | TDO/RA2 — JTAG TDO / shared with RA2 |
Applications typiques
PIC32MX340F128H-80I/PT convient pour 6 applications: USB Human Interface Device (HID) Peripherals, Industrial Control Panels and HMI, USB-to-UART Bridge and Serial Converter, Building Automation and Sensor Hubs, Home Appliance Control Boards, Audio Docks and Consumer USB Speakers.
USB Human Interface Device (HID) Peripherals
The PIC32MX340F128H-80I/PT's integrated USB 2.0 Full-Speed controller with device/host/OTG support makes it a natural fit for USB HID peripherals such as keyboards, mice, game controllers, and custom input devices. The 80 MHz MIPS M4K core delivers the ~105 DMIPS needed to handle USB protocol stacks, HID report parsing, and debounce logic simultaneously without dropping frames. The 128 KB Flash accommodates the MLA USB stack plus application code, while 32 KB SRAM buffers HID reports comfortably. Place a 90-ohm differential pair for D+/D- lines and use the internal 3.3V USB transceiver (VUSB3V3) for a 2-layer PCB.
Recommandé
Industrial Control Panels and HMI
The 53 digital I/O pins, 16-channel 10-bit ADC, and 5 capture/compare/PWM timers of the PIC32MX340F128H-80I/PT suit industrial control panels with push-button inputs, LED indicators, rotary encoders, and 4-20 mA sensor interfaces. The MIPS M4K core's deterministic interrupt response ensures predictable control-loop timing for PLC co-processor or HMI gateway designs. The -40C to +85C industrial temperature grade and 2.3-3.6V supply range withstand factory-floor electrical noise. For panel-mount displays, the Parallel Master Port (PMP) directly drives character or graphic LCDs.
Recommandé
USB-to-UART Bridge and Serial Converter
The PIC32MX340F128H-80I/PT's USB device controller plus dual UART peripherals create a single-chip USB-to-UART bridge that replaces FTDI FT232R-class parts in many designs. The 80 MHz CPU throughput handles USB CDC class at 12 Mbps Full-Speed while maintaining baud rates up to 921600 bps with hardware flow control. Developers can use Microchip's CDC Basic demo from the MLA library to bring up a virtual COM port in under an hour. The 53 I/O pins provide flexibility to expose RTS/CTS/DTR/DSR plus GPIO for product differentiation.
Recommandé
Building Automation and Sensor Hubs
In building automation, the PIC32MX340F128H-80I/PT serves as a sensor hub aggregating temperature, humidity, CO2, light, and occupancy sensors over I2C, SPI, or its 10-bit ADC. The dual I2C ports enable simultaneous connection to a CO2 sensor and a real-time clock without bus contention. The 53 I/O pins drive HVAC damper motors and relay outputs, while the USB host role supports a USB Wi-Fi dongle for retrofit connectivity. The 128 KB Flash and 32 KB SRAM comfortably host BACnet or Modbus translation tables.
Recommandé
Home Appliance Control Boards
Washing machines, dishwashers, ovens, and refrigerators benefit from the PIC32MX340F128H-80I/PT's mix of USB (for service-port diagnostics), 5 timers (for motor PWM and beeper control), 16-channel ADC (for temperature, water level, turbidity), and 53 GPIO. The MIPS M4K core's deterministic interrupt response enables precise AC-line zero-crossing detection for TRIAC-driven heater or dimmer control. The 32 KB SRAM holds wash-cycle state machines and fault logs; 128 KB Flash stores multi-language UI strings and firmware update images.
Recommandé
Audio Docks and Consumer USB Speakers
USB audio docks, headphones with USB-C audio, and powered computer speakers use the PIC32MX340F128H-80I/PT to receive USB audio streams and forward them to an external DAC (e.g., Microchip's MCP4725 or a TI PCM5102A) over I2S. The 80 MHz MIPS core handles USB isochronous transfers at 1 ms frame intervals without glitches. The DMA controller offloads I2S buffer transfers, freeing the CPU for volume control and DSP effects. USB HID volume keys can be parsed in parallel for OS-level multimedia control.
Recommandé
Récapitulatif des produits recommandés
Données de référence d'ingénierie pour PIC32MX340F128H-80I/PT — comparaison, recommandations de conception et informations de conformité.
Guide de sélection
Comparaison avec les alternatives
| Paramètre | Ce produit | PIC32MX340F256H-80I/PT | PIC32MX350F128H-80I/PT | PIC32MX330F064H-I/PT | PIC32MX360F512H-80I/PT | PIC32MX370F512H-80I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 64-pin TQFP (PT) 10x10 mm | 64-pin TQFP (PT) 10x10 mm | 64-pin TQFP (PT) 10x10 mm | 64-pin TQFP (PT) 10x10 mm | 64-pin TQFP (PT) 10x10 mm | 64-pin TQFP (PT) 10x10 mm |
| Core | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K |
| Max CPU Speed | 80 MHz / 105 DMIPS | 80 MHz / 105 DMIPS | 80 MHz / 105 DMIPS | 80 MHz / 105 DMIPS | 80 MHz / 105 DMIPS | 80 MHz / 105 DMIPS |
| Flash | 128 KB | 256 KB | 128 KB | 64 KB | 512 KB | 512 KB |
| RAM | 32 KB | 32 KB | 32 KB | 16 KB | 32 KB | 32 KB |
| USB | USB 2.0 FS Device/Host/OTG | USB 2.0 FS Device/Host/OTG | USB 2.0 FS Device/Host/OTG | USB 2.0 FS Device/Host/OTG | USB 2.0 FS Device/Host/OTG | USB 2.0 FS Device/Host/OTG |
| ADC | 10-bit, 16 ch, 1 Msps | 10-bit, 16 ch, 1 Msps | 10-bit, 16 ch, 1 Msps | 10-bit, 16 ch, 1 Msps | 10-bit, 16 ch, 1 Msps | 10-bit, 16 ch, 1 Msps |
| Operating Temperature | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Supply 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 |
Principaux différenciateurs
- Mature MIPS M4K core with broad PIC32MX family ecosystem (vs PIC32MX340F256H-80I/PT)
- Larger 32 KB SRAM vs cost-down PIC32MX330F064H-I/PT (vs PIC32MX330F064H-I/PT)
- Same 64-TQFP drop-in family for scalable memory density (vs PIC32MX360F512H-80I/PT and PIC32MX370F512H-80I/PT)
Notes de conception
Place one 100 nF ceramic decoupling capacitor as close as possible (within 3 mm) to each of the four VDD/VSS pin pairs on the PIC32MX340F128H-80I/PT. Add a single 10 uF bulk capacitor near the largest VDD trace. For USB designs, add 100 nF + 4.7 uF on VUSB3V3 (pin 55) per Microchip's USB design checklist. Use a 3.3V LDO with at least 100 mA headroom above the MCU's 80 mA active current; Microchip MCP1700 is a typical choice for USB-bus-powered designs.
Route the USB D+ (pin 57) and D- (pin 56) traces as a 90-ohm differential pair with 8 mil trace width and 6 mil spacing on a 4-layer PCB with a continuous ground plane beneath. Match lengths within 150 mil. Keep the trace length under 25 mm where possible to minimize signal degradation. Place the 15 kohm pull-down resistor on D- close to the MCU, not at the connector, to avoid EMI susceptibility.
Keep the primary crystal or external oscillator traces (OSC1/OSC2, pins 60-61) under 10 mm total length and surround them with a ground guard ring. The USB clock source must be a stable 48 MHz derived from the 8 MHz primary oscillator plus PLL; verify with an oscilloscope that the jitter is under 500 ps peak-to-peak per USB 2.0 spec. Place the ICD connector (TCK/TMS/TDO/TDI on pins 62-64) on the board edge for in-circuit debugging access.
Do not exceed 80 MHz system clock - although the datasheet shows fSYS ranges, sustained operation above 80 MHz violates timing margins and is not warranted by Microchip for this part. Configuration bits (DEVCFG0/1/2/3) must be set correctly: PRIMARY_OSC = HS, PLL enable for 80 MHz operation, JTAG enabled for in-circuit debugging, and WDT disabled unless explicitly required. Brown-out reset voltage should be set to 2.3V to match VDD-min. Avoid hot-plugging USB VBUS without proper ESD protection (e.g., USBLC6-2SC6) on the connector.
For designs that switch high-current loads through the GPIO (e.g., relay drivers), place a 10 ohm series resistor at the MCU output to dampen ringing. The PIC32MX340F128H-80I/PT GPIO can source/sink up to 18 mA per pin (with limits of 25 mA per port), but sustained operation at maximum current stresses the bond wires. Use external drivers (e.g., ULN2003 or MOSFETs) for loads above 50 mA. For I2C buses, use 4.7 kohm pull-ups at 100 kHz or 2.2 kohm at 400 kHz.
Informations de conformité
RoHS and REACH compliant per Microchip product declaration. Lead-free TQFP packaging with matte-tin terminations. Not AEC-Q100 qualified - for automotive use, consider PIC32MX1xx/2xx AEC-Q100 variants or dsPIC33A/dsPIC33C family.