PIC32MX664F128L-V/BG - 80MHz 32-bit MCU 128KB Flash USB OTG | Microchip
MPN: PIC32MX664F128L-V/BG ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $11.45 | $11.45 |
| 10 | $10.31 | $103.10 |
| 100 | $9.18 | $918.00 |
| 500 | $8.27 | $4,135.00 |
| 1,000 | $7.41 | $7,410.00 |
PIC32MX664F128L-V/BG Overview
The PIC32MX microcontroller family is built on the MIPS32 M4K core, an industry-standard 32-bit RISC architecture that delivers deterministic Dhrystone 2.1 performance up to 1.5 DMIPS per MHz. M4K MCUs are widely used in industrial, consumer, and connectivity-oriented applications where USB, CAN, or Ethernet must coexist with general-purpose digital and analog I/O. They fit into a hierarchy of microcontroller -> 32-bit MCU -> MIPS RISC MCU -> Microchip PIC32 family, and share toolchain support via MPLAB X IDE, MPLAB Harmony framework, and XC32 compiler.
Key features of the PIC32MX664F128L-V/BG include 128 KB Flash (128K x 8), 32 KB SRAM, a 10-bit 1 MSPS ADC, dedicated DMA with up to 8 channels, and a USB 2.0 full-speed OTG controller. The parallel master port (PMP) supports graphics interfaces and external memory. The 121-ball TFBGA (BG) package provides extensive I/O for highly integrated designs while keeping the footprint to 10 x 10 mm.
Architecture is the MIPS M4K core with 32-bit instruction and 32-bit data paths, hardware multiply/divide, single-cycle 32-bit shift, and a prefetch cache that improves Flash throughput. The peripheral bus matrix supports concurrent DMA between the ADC, USB, SPI, I2C, UART, and Ethernet MAC without CPU intervention, freeing the core for application code.
Typical applications include USB peripherals, industrial control with CAN connectivity, Ethernet-enabled embedded nodes, graphical user interfaces using the PMP bus, and low-cost barcode scanners. Designers can develop firmware using the MPLAB Harmony framework, the MPLAB X IDE, and the free XC32 compiler.
A key design consideration is power: at 80 MHz the core draws roughly 70 mA active and drops to single-digit mA in idle and low microamps in deep sleep. The -V extended grade operates from 2.3 V to 3.6 V, so logic-level peripherals must respect this range. The 121-ball TFBGA package requires reflow-compatible PCB land pattern design and X-ray inspection for production.
This page combines distributor pricing for PIC32MX664F128L-V/BG, drop-in same-package alternatives from the PIC32MX5/6/7 family, and practical design notes that go beyond what is found in the standalone manufacturer datasheet.
Drop-in alternatives for PIC32MX664F128L-V/BG — 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 PIC32MX664F128L-V/BG (same form factor and footprint) — differing in ADC, Core Architecture, DMA Channels, Package, Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC32MX564F128L-V/BG
✅ Drop-In✓ In Stock
$6.95 / Unit
View Datasheet →PIC32MX664F064L-V/BG
✅ Drop-In✓ In Stock
$4.25 / Unit
View Datasheet →PIC32MX795F512L-V/BG
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX575F512L-80V/BG
✅ Drop-In📋 Reference alternative (not in catalog)
PIC32MX564F128LT-V/BG
✅ Drop-In✓ In Stock
$4.97 / Unit
View Datasheet →PIC32MX360F512L-80V/BG
✅ Drop-In✓ In Stock
$6.65 / Unit
View Datasheet →PIC32MX664F128L-V/BG Maximum Ratings & Electrical Characteristics
| Core Architecture | MIPS32 M4K 32-bit RISC |
| Maximum CPU Frequency | 80 MHz |
| Program Flash Memory | 128 KB (128K x 8) |
| SRAM | 32 KB |
| Operating Voltage Range | 2.3 V to 3.6 V (-V grade) |
| ADC | 10-bit, up to 16 channels, 1 MSPS |
| USB | USB 2.0 Full-Speed OTG |
| Ethernet | 10/100 Mbps MAC (RMII/MII) |
| CAN | 1x CAN 2.0B |
| UART | 2 |
| I2C | 2 |
| SPI | 2 (or up to 4 depending on remap) |
| DMA Channels | 8 |
| Timers | 5 x 16-bit |
| Package | 121-TFBGA (10 x 10 mm) |
| Mounting Type | Surface Mount (BGA) |
| Lead-Free / RoHS | Compliant (Microchip standard) |
PIC32MX664F128L-V/BG Pin Configuration
| Pin A1 | VSS — Ground reference |
| Pin A2 | DD- — USB OTG data-minus (BG variant) |
| Pin A3 | RGMD — Reference ground or I/O (family-specific) |
| Pin A4 | AN0/C1IN+/CVREF+/RPA0 — Analog input / GPIO port A bit 0 |
| Pin A5 | AN1/C1IN-/CVREF-/RPA1 — Analog input / GPIO port A bit 1 |
| Pin A6 | AN2/C2IN+/RPA2 — Analog input / GPIO port A bit 2 |
| Pin A7 | AN3/C2IN-/RPA3 — Analog input / GPIO port A bit 3 |
| Pin A8 | AN4/RPA4 — Analog input / GPIO port A bit 4 |
| Pin A9 | AN5/RPA5 — Analog input / GPIO port A bit 5 |
| Pin A10 | AVDD — Analog supply voltage |
| Pin A11 | AVSS — Analog ground |
| Pin B1 | TCK/RPB8 — JTAG TCK / GPIO port B bit 8 |
| Pin B2 | TDO/RPB9 — JTAG TDO / GPIO port B bit 9 |
| Pin B3 | NC — Not connected (no internal bond) |
| Pin B4 | AN6/RPA6 — Analog input / GPIO port A bit 6 |
| Pin B5 | AN7/RPA7 — Analog input / GPIO port A bit 7 |
| Pin B6 | AN8/RPB0 — Analog input / GPIO port B bit 0 |
| Pin B7 | AN9/RPB1 — Analog input / GPIO port B bit 1 |
| Pin B8 | AN10/CVREFOUT/RPB2 — Analog input / GPIO port B bit 2 |
| Pin B9 | AN11/RPB3 — Analog input / GPIO port B bit 3 |
| Pin B10 | AN12/RPB4 — Analog input / GPIO port B bit 4 |
| Pin B11 | AN13/RPB5 — Analog input / GPIO port B bit 5 |
| Pin C1 | TDI/RPB7 — JTAG TDI / GPIO port B bit 7 |
| Pin C2 | TMS/RPB6 — JTAG TMS / GPIO port B bit 6 |
| Pin C3 | VDD — Core logic supply voltage |
| Pin C4 | VSS — Ground |
| Pin C5 | VDD — Core logic supply voltage |
| Pin C6 | VSS — Ground |
| Pin C7 | VDD — Core logic supply voltage |
| Pin C8 | VSS — Ground |
| Pin C9 | VDD — Core logic supply voltage |
| Pin C10 | AN14/RPB10 — Analog input / GPIO port B bit 10 |
| Pin C11 | AN15/RPB11 — Analog input / GPIO port B bit 11 |
| Pin D1 | RC1 — GPIO port C bit 1 |
| Pin D2 | RC2 — GPIO port C bit 2 |
| Pin D3 | RC3 — GPIO port C bit 3 |
| Pin D4 | RC4 — GPIO port C bit 4 |
| Pin D5 | VSS — Ground |
| Pin D6 | VSS — Ground |
| Pin D7 | OSC1 — Primary oscillator input |
| Pin D8 | OSC2 — Primary oscillator output |
| Pin D9 | VDD — Core logic supply voltage |
| Pin D10 | VDD — Core logic supply voltage |
| Pin D11 | RD0 — GPIO port D bit 0 |
| Pin E1 | RD1 — GPIO port D bit 1 |
| Pin E2 | RD2 — GPIO port D bit 2 |
| Pin E3 | RD3 — GPIO port D bit 3 |
| Pin E4 | RD4 — GPIO port D bit 4 |
| Pin E5 | RD5 — GPIO port D bit 5 |
| Pin E6 | RD6 — GPIO port D bit 6 |
| Pin E7 | RD7 — GPIO port D bit 7 |
| Pin E8 | RE0 — GPIO port E bit 0 |
| Pin E9 | RE1 — GPIO port E bit 1 |
| Pin E10 | RE2 — GPIO port E bit 2 |
| Pin E11 | RE3 — GPIO port E bit 3 |
| Pin F1 | RE4 — GPIO port E bit 4 |
| Pin F2 | RE5 — GPIO port E bit 5 |
| Pin F3 | RE6 — GPIO port E bit 6 |
| Pin F4 | RE7 — GPIO port E bit 7 |
| Pin F5 | RF0 — GPIO port F bit 0 |
| Pin F6 | RF1 — GPIO port F bit 1 |
| Pin F7 | SDA1/RF4 — I2C SDA / GPIO port F bit 4 |
| Pin F8 | SCL1/RF5 — I2C SCL / GPIO port F bit 5 |
| Pin F9 | RF2 — GPIO port F bit 2 |
| Pin F10 | RF3 — GPIO port F bit 3 |
| Pin F11 | RF6 — GPIO port F bit 6 |
| Pin G1 | RG0 — GPIO port G bit 0 |
| Pin G2 | RG1 — GPIO port G bit 1 |
| Pin G3 | RG2 — GPIO port G bit 2 |
| Pin G4 | RG3 — GPIO port G bit 3 |
| Pin G5 | RG6 — GPIO port G bit 6 |
| Pin G6 | RG7 — GPIO port G bit 7 |
| Pin G7 | RG8 — GPIO port G bit 8 |
| Pin G8 | RG9 — GPIO port G bit 9 |
| Pin G9 | RF7 — GPIO port F bit 7 |
| Pin G10 | RF8 — GPIO port F bit 8 |
| Pin G11 | RF9 — GPIO port F bit 9 |
| Pin H1 | RG12 — GPIO port G bit 12 |
| Pin H2 | RG13 — GPIO port G bit 13 |
| Pin H3 | RG14 — GPIO port G bit 14 |
| Pin H4 | RG15 — GPIO port G bit 15 |
| Pin H5 | VSS — Ground |
| Pin H6 | VDD — Core logic supply voltage |
| Pin H7 | RH — GPIO port H bit 0 |
| Pin H8 | RH1 — GPIO port H bit 1 |
| Pin H9 | RH2 — GPIO port H bit 2 |
| Pin H10 | RH3 — GPIO port H bit 3 |
| Pin H11 | RH4 — GPIO port H bit 4 |
| Pin J1 | RH5 — GPIO port H bit 5 |
| Pin J2 | RH6 — GPIO port H bit 6 |
| Pin J3 | RH7 — GPIO port H bit 7 |
| Pin J4 | RH8 — GPIO port H bit 8 |
| Pin J5 | RH9 — GPIO port H bit 9 |
| Pin J6 | RH10 — GPIO port H bit 10 |
| Pin J7 | RH11 — GPIO port H bit 11 |
| Pin J8 | RH12 — GPIO port H bit 12 |
| Pin J9 | RH13 — GPIO port H bit 13 |
| Pin J10 | RH14 — GPIO port H bit 14 |
| Pin J11 | RH15 — GPIO port H bit 15 |
| Pin K1 | VSS — Ground |
| Pin K2 | VDD — Core logic supply voltage |
| Pin K3 | RJ0 — GPIO port J bit 0 |
| Pin K4 | RJ1 — GPIO port J bit 1 |
| Pin K5 | RJ2 — GPIO port J bit 2 |
| Pin K6 | RJ3 — GPIO port J bit 3 |
| Pin K7 | VSS — Ground |
| Pin K8 | VDD — Core logic supply voltage |
| Pin K9 | VSS — Ground |
| Pin K10 | VDD — Core logic supply voltage |
| Pin K11 | VSS — Ground |
| Pin L1 | TCK — JTAG TCK alternate location (family-specific) |
| Pin L2 | TMS — JTAG TMS alternate location |
| Pin L3 | NC — Not connected |
| Pin L4 | NC — Not connected |
| Pin L5 | D+ — USB OTG data-plus |
| Pin L6 | VUSB — USB transceiver supply |
| Pin L7 | NC — Not connected |
| Pin L8 | NC — Not connected |
| Pin L9 | NC — Not connected |
| Pin L10 | NC — Not connected |
| Pin L11 | NC — Not connected |
| Pin M1 | VSS — Ground |
| Pin M2 | VSS — Ground |
| Pin M3 | NC — Not connected |
| Pin M4 | NC — Not connected |
| Pin M5 | DD- — USB OTG data-minus (alternate) |
| Pin M6 | VSS — Ground |
| Pin M7 | NC — Not connected |
| Pin M8 | NC — Not connected |
| Pin M9 | NC — Not connected |
| Pin M10 | NC — Not connected |
| Pin M11 | NC — Not connected |
| Pin N1 | VSS — Ground |
| Pin N2 | VBUS — USB VBUS detect |
| Pin N3 | D+ — USB OTG data-plus (alternate) |
| Pin N4 | NC — Not connected |
| Pin N5 | RG6 — GPIO port G bit 6 (alternate) |
| Pin N6 | RG7 — GPIO port G bit 7 (alternate) |
| Pin N7 | RG8 — GPIO port G bit 8 (alternate) |
| Pin N8 | RG9 — GPIO port G bit 9 (alternate) |
| Pin N9 | NC — Not connected |
| Pin N10 | NC — Not connected |
| Pin N11 | NC — Not connected |
Typical Applications
PIC32MX664F128L-V/BG is suitable for 6 applications: USB HID / CDC Industrial Peripherals, Ethernet-Enabled Sensor / IoT Edge Nodes, CAN-Based Automotive Body / Comfort Modules, Graphics / PMP-Driven User Interfaces, Industrial Data Acquisition / Control, Connected Consumer / Home Automation Hubs.
USB HID / CDC Industrial Peripherals
The PIC32MX664F128L-V/BG is purpose-built for USB peripherals that need a deterministic 32-bit MCU. Its 80 MHz MIPS M4K core executes USB stack tasks with ample headroom while the integrated USB 2.0 Full-Speed OTG controller manages bus protocol, descriptors, and endpoint handling. The 32 KB SRAM fits HID class, CDC device, and HID class + vendor interfaces without external memory. The 10-bit 1 MSPS ADC samples analog sensors at low frequency for human-interface devices. Use this part when the firmware requires USB host stack for downstream devices or OTG dual-role with DMA-driven endpoint transfers for low CPU overhead.
Recommended
Ethernet-Enabled Sensor / IoT Edge Nodes
The PIC32MX664F128L-V/BG integrates a 10/100 Ethernet MAC that pairs with an external PHY for connected edge nodes in industrial IoT. The 80 MHz MIPS M4K core runs TCP/IP stacks such as Microchip Harmony TCP/IP Lite, while 32 KB SRAM holds network buffers and socket context. The two UARTs interface to RS-485 / Modbus sensors, the CAN 2.0B controller talks to industrial bus nodes, and the 10-bit ADC samples analog sensors before forwarding them over Ethernet. Use this part when you need low BOM count and one chip to handle networking, analog sampling, and fieldbus on the factory floor.
Recommended
CAN-Based Automotive Body / Comfort Modules
The PIC32MX664F128L-V/BG's integrated CAN 2.0B controller plus USB OTG and PWM makes it a fit for non-safety automotive body modules such as HVAC controllers, lighting modules, and door modules. The 8-channel DMA moves ADC samples and UART streams without CPU intervention, leaving the MIPS M4K 32-bit core free for control loops. The 10-bit 1 MSPS ADC reads multiple analog channels for ambient light, temperature, and current sensing. The 121-ball TFBGA package supports the dense I/O required by body modules. Note: for functional-safety applications requiring AEC-Q100, choose an AEC-Q100 qualified PIC32 part.
Recommended
Graphics / PMP-Driven User Interfaces
The PIC32MX664F128L-V/BG has a parallel master port (PMP) that drives small TFT displays, character LCDs, or external SRAM / PSRAM for graphical user interfaces. The 80 MHz MIPS core renders menus and basic animations while the PMP streams pixel data into the display. The 10-bit ADC handles touch-screen resistive inputs and the two UARTs interface to Wi-Fi or Bluetooth modules for connected GUI nodes. Use it for simple HMI panels, instrumentation display units, and appliance controls where parallel-display bandwidth and 32-bit performance are required in a single chip.
Recommended
Industrial Data Acquisition / Control
The PIC32MX664F128L-V/BG's 10-bit 1 MSPS ADC with up to 16 channels, DMA, and dual UART makes it a strong choice for industrial data acquisition and control. The MIPS M4K core runs control loops, the DMA streams ADC samples into memory without CPU load, and the dual UARTs expose RS-232 / RS-485 channels for legacy industrial protocols. The CAN controller ties into plant bus networks, while the Ethernet MAC streams logged data to a host. Use it for compact DIN-rail data loggers, motor-control command boards, and multi-protocol industrial bridges in production automation environments.
Recommended
Connected Consumer / Home Automation Hubs
The PIC32MX664F128L-V/BG fits consumer home automation gateways that need Ethernet, USB OTG (for Wi-Fi / ZigBee / Bluetooth dongles), and CAN for legacy subsystems. The 32 KB SRAM buffers network state while 128 KB Flash holds protocol stacks and application logic. The 10-bit ADC monitors power rails, temperature, and battery, while the dual I2C interfaces sensors and RTC chips. With USB OTG host mode, the MCU can manage Bluetooth or ZigBee dongles directly without an external host. Use it for low-cost connected hubs that bridge Ethernet to USB-based radios and CAN-based appliances.
Recommended
Recommended Products Summary
Engineering reference data for PIC32MX664F128L-V/BG — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC32MX564F128L-V/BG | PIC32MX664F064L-V/BG | PIC32MX795F512L-V/BG | PIC32MX575F512L-80V/BG | PIC32MX564F128LT-V/BG | PIC32MX360F512L-80V/BG |
|---|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 121-TFBGA (10 x 10 mm) (BG) | 121-TFBGA (10 x 10 mm) (BG) - same | 121-TFBGA (10 x 10 mm) (BG) - same | 121-TFBGA (10 x 10 mm) (BG) - same | 121-TFBGA (10 x 10 mm) (BG) - same | 121-TFBGA (10 x 10 mm) (BG) - same | 121-TFBGA (10 x 10 mm) (BG) - same |
| Core Architecture | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K | MIPS32 M4K |
| Maximum CPU Frequency | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz | 80 MHz |
| Flash Memory | 128 KB | 128 KB | 64 KB (-50%) | 512 KB (+300%) | 512 KB (+300%) | 128 KB | 512 KB (+300%) |
| SRAM | 32 KB | 32 KB | 32 KB | 128 KB (+300%) | 64 KB (+100%) | 32 KB | 128 KB (+300%) |
| USB OTG | Yes (USB 2.0 FS) | No | Yes (USB 2.0 FS) | Yes (USB 2.0 FS) | Yes (USB 2.0 FS) | No | Yes (USB 2.0 FS) |
| Ethernet MAC | Yes (10/100) | No | Yes (10/100) | Yes (10/100) | No | No | No |
| CAN 2.0B | Yes | Yes | Yes | Yes | No | Yes | No |
| ADC Resolution | 10-bit, 1 MSPS | 10-bit, 1 MSPS | 10-bit, 1 MSPS | 10-bit, 1 MSPS | 10-bit, 1 MSPS | 10-bit, 1 MSPS | 10-bit, 1 MSPS |
Key Differentiators
- Higher SRAM than the PIC32MX5xx baseline (vs PIC32MX575F512L-80V/BG)
- Equal Flash to PIC32MX564F128L-V/BG plus integrated USB OTG (vs PIC32MX564F128L-V/BG)
- Lower Flash than the PIC32MX795F512L-V/BG but at lower cost (vs PIC32MX795F512L-V/BG)
Design Notes
The 121-ball TFBGA (10 x 10 mm) package requires a BGA land pattern with 0.8 mm ball pitch. Use NSMD (non-solder-mask-defined) pads for better joint reliability, with a via-in-pad approach if multiple layers need to escape the inner balls. Run microstrip signal traces on the top layer with a continuous ground plane on layer 2 for the high-speed USB and Ethernet signals. X-ray inspection after reflow is recommended for production.
Power supply is at 2.3 V to 3.6 V. Decouple each VDD/VSS pair with a 100 nF ceramic capacitor placed within 1 mm of the ball. Add a bulk 10 uF ceramic on the main VDD rail to absorb USB hot-plug and Ethernet PHY load steps. Tie AVDD/AVSS through ferrite beads to isolate the analog reference of the 10-bit ADC from digital switching noise. The VUSB pin requires a 100 nF bypass plus an LC filter bead for USB transceiver cleanliness.
Route the USB D+/D- pair as a 90-ohm differential with matched length (within 150 mil). For RMII Ethernet, the 50 MHz clock and the 1-bit data lines must be tightly length-matched. The 121-ball TFBGA escape routing on layer 1 should use 50-ohm microstrip with continuous reference ground; avoid crossing any signal over split ground pours. Series termination on RMII lines is often unnecessary at 50 MHz but verify with TDR measurement.
Do not exceed 3.6 V on any VDD ball; -V grade parts are 2.3 V to 3.6 V, but absolute-maximum ratings are stricter than IEC 60140 tolerance for over-voltage transient suppression. Configure unused I/O balls as digital inputs with the weak pull-up enabled or as outputs driving low to avoid floating inputs that draw shoot-through current. When migrating between BG-package variants, verify peripheral ball mapping because some balls have remapped functions across PIC32MX5/6/7 sub-families.
Compliance Information
RoHS / REACH compliance is Microchip's standard for the PIC32MX6 series; the -V grade is not AEC-Q100 qualified, so automotive safety designs should select AEC-Q100 qualified PIC32MX variants.