PIC24HJ128GP204-I/ML - 16-bit 40 MIPS 128KB Flash MCU | Microchip
MPN: PIC24HJ128GP204-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.2 | $7.20 |
| 10 | $6.55 | $65.50 |
| 100 | $5.62 | $562.00 |
| 500 | $5.04 | $2,520.00 |
| 1,000 | $4.45 | $4,450.00 |
PIC24HJ128GP204-I/ML Overview
A 16-bit microcontroller (MCU) is an embedded processor with a 16-bit data path and instruction word, offering a balance between 8-bit simplicity and 32-bit performance. 16-bit MCUs are widely used in motor control, sensor processing, and industrial automation where deterministic performance, higher peripheral integration, and richer math capability than 8-bit parts are required. The PIC24H family extends the PIC architecture with DSP instructions and DMA, positioning it in the middle of Microchip's performance hierarchy: PIC16/18 (8-bit) -> PIC24 (16-bit) -> dsPIC33 (16-bit DSP) -> PIC32 (32-bit MIPS). This hierarchy matters for engineers selecting the right silicon for cost-versus-performance trade-offs.
Key features of the PIC24HJ128GP204-I/ML include up to 40 MIPS execution at 40 MHz, 128KB Flash (43K x 24), 8KB SRAM, integrated 8-channel DMA, 35 I/O lines, 7 timers, dual 16-bit analog comparators, a 10/12-bit ADC with up to 13 channels, and a 16-bit/32-bit timer/counter with capture/compare. Communication peripherals include two UART, two SPI, and one I2C. The 44-pin QFN package supports surface-mount assembly and offers excellent thermal performance for the modest power dissipation of an MCU.
The architecture features separate program and data buses, dual-banked Flash for live updates, and a peripheral engine that offloads data movement via 8 DMA channels, reducing CPU overhead for high-throughput sensor or motor-control loops. The ADC can be triggered by timers or PWM edges for deterministic sampling.
Typical applications include brushless DC motor control, industrial sensor interfacing, LED lighting drivers, HVAC control, consumer appliances, and digital power conversion. The wide peripheral set makes it a strong fit for any application needing deterministic 16-bit processing with low BOM cost.
When designing with this device, plan PCB layout around the exposed pad (EP) for thermal dissipation and ground return. Decouple VDD/AVDD with 100 nF + 1 uF capacitors placed as close as possible to the pins. Use the DMA controller to minimize CPU interrupt overhead in data-intensive applications.
This page synthesizes distributor pricing, drop-in alternatives, and practical design notes not found in the manufacturer datasheet.
Drop-in alternatives for PIC24HJ128GP204-I/ML — 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 PIC24HJ128GP204-I/ML (same form factor and footprint) — differing in Package, ADC, I2C, Operating Temperature, Timers.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ128GP204T-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP204-E/ML
✅ Drop-In✓ In Stock
$4.61 / Unit
View Datasheet →dsPIC33FJ128GP204-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP204-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
dsPIC33FJ128GP204T-I/ML
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP204-I/ML Maximum Ratings & Electrical Characteristics
| Family | PIC® 24H |
| Core | PIC24 16-bit CPU |
| Operating Frequency | 40 MHz max |
| Performance | 40 MIPS |
| Program Memory (Flash) | 128 KB (43K x 24) |
| Data SRAM | 8 KB |
| I/O Pins | 35 |
| DMA Channels | 8 |
| Timers | 7 (16-bit/32-bit) |
| ADC | 10/12-bit, up to 13 channels |
| Comparators | 2 x 16-bit analog |
| UART | 2 |
| SPI | 2 |
| I2C | 1 |
| Supply Voltage (VDD) | 3.0 V to 3.6 V |
| Operating Temperature Range | -40 C to +85 C (Industrial) |
| Package | 44-QFN (8x8 mm) with exposed pad |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC24HJ128GP204-I/ML Pin Configuration
| Pin 1 | RP9/CN21/PMD3/RB9 — Remappable peripheral / I/O port B |
| Pin 2 | RP10/CN22/PMD2/RB10 — Remappable peripheral / I/O port B |
| Pin 3 | RP11/CN23/PMD1/RB11 — Remappable peripheral / I/O port B |
| Pin 4 | RP12/CN24/PMD0/RB12 — Remappable peripheral / I/O port B |
| Pin 5 | RP13/CN25/PMD12/RB13 — Remappable peripheral / I/O port B |
| Pin 6 | RP14/CN26/PMD11/RB14 — Remappable peripheral / I/O port B |
| Pin 7 | RP15/CN27/PMRD/RB15 — Remappable peripheral / I/O port B |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/RC12 — Crystal oscillator input or clock in |
| Pin 10 | OSC2/RC13 — Crystal oscillator output |
| Pin 11 | PGEC1/AN1/CVREF-/RA1 — Programming clock / ADC / comparator ref- |
| Pin 12 | PGED1/AN0/CVREF+/RA0 — Programming data / ADC / comparator ref+ |
| Pin 13 | AN2/RA2 — ADC analog input |
| Pin 14 | AVDD — Analog supply voltage |
| Pin 15 | AVSS — Analog ground reference |
| Pin 16 | AN3/RA3 — ADC analog input |
| Pin 17 | AN4/RA4 — ADC analog input |
| Pin 18 | AN5/RA5 — ADC analog input |
| Pin 19 | VDD — Digital supply voltage |
| Pin 20 | VSS — Ground reference |
| Pin 21 | PGEC2/AN6/OC4/RB6 — Alternate programming clock / ADC / output compare |
| Pin 22 | PGED2/AN7/RB7 — Alternate programming data / ADC |
| Pin 23 | AN8/RB8 — ADC analog input |
| Pin 24 | C1RX/RP0/CN4/RB0 — CAN RX / remappable / port B |
| Pin 25 | C1TX/RP1/CN5/RB1 — CAN TX / remappable / port B |
| Pin 26 | C1OUT/RP2/CN6/RB2 — CAN TX / comparator output / remappable |
| Pin 27 | C2OUT/RP3/CN7/RB3 — Comparator 2 output / remappable |
| Pin 28 | RP4/CN8/RB4 — Remappable peripheral / port B |
| Pin 29 | RP5/CN9/RB5 — Remappable peripheral / port B |
| Pin 30 | VSS — Ground reference |
| Pin 31 | VDD — Digital supply voltage |
| Pin 32 | RP6/CN10/RB6 — Remappable peripheral / port B |
| Pin 33 | RP7/CN11/RB7 — Remappable peripheral / port B |
| Pin 34 | RP8/CN12/RB8 — Remappable peripheral / port B |
| Pin 35 | RC1 — I/O port C |
| Pin 36 | RC2 — I/O port C |
| Pin 37 | RC3 — I/O port C |
| Pin 38 | RC4 — I/O port C |
| Pin 39 | SDA1/RG3 — I2C data (port G) |
| Pin 40 | SCL1/RG2 — I2C clock (port G) |
| Pin 41 | SDO1/RG8 — SPI data out (port G) |
| Pin 42 | SDI1/RG7 — SPI data in (port G) |
| Pin 43 | SCK1/RG6 — SPI clock (port G) |
| Pin 44 | MCLR — Master clear reset (active low) |
Typical Applications
PIC24HJ128GP204-I/ML is suitable for 6 applications: BLDC / PMSM Motor Control, Industrial Sensor Hub / Data Acquisition, LED Lighting Drivers / Color Mixing, Consumer Appliance Control Boards, Digital Power Conversion (DC-DC / PFC), HVAC / Building Automation Controllers.
BLDC / PMSM Motor Control
The PIC24HJ128GP204-I/ML fits BLDC and PMSM motor control loops because its 40 MIPS throughput handles field-oriented control (FOC) math in under 10 us per cycle, while its dual 16-bit analog comparators and 13-channel 12-bit ADC provide simultaneous current and position sensing. The 8-channel DMA offloads sample buffering from the CPU, leaving headroom for speed PI loops. Designers typically pair the MCU with gate drivers like the MCP8024 and use the 7 timers for 6-channel PWM plus a PWM-aligned ADC trigger. The exposed pad (EP) of the 44-QFN dissipates the 200-300 mW typical of motor-control firmware loops without active cooling.
Recommended
Industrial Sensor Hub / Data Acquisition
The PIC24HJ128GP204-I/ML works well in industrial multi-sensor hubs because the 8 KB SRAM and DMA channels let it buffer simultaneous readings from ADC, UART, and SPI sensors without losing samples. Its two UARTs can bridge RS-232 and RS-485 industrial networks, while the 13 ADC channels handle analog sensors (temperature, pressure, strain). The 40 MIPS core computes averages and thresholds at >10 kHz, enough for vibration analysis at low sampling rates. The 3.0-3.6 V supply is compatible with industrial 3.3 V rails; a 100 nF + 1 uF decoupling network as recommended by Microchip ensures clean ADC readings in noisy environments.
Recommended
LED Lighting Drivers / Color Mixing
The PIC24HJ128GP204-I/ML is a strong choice for LED lighting drivers because its 7 timers generate up to 6 PWM channels at up to 1 MHz, supporting high-resolution dimming (>16-bit effective) for color-mixing RGBW arrays. Its 35 I/O pins drive multiple LED channels or matrix displays without external muxes. The DMA engine can refresh 16-bit PWM registers autonomously, leaving the CPU free to handle DMX512 / DALI commands received over UART. The 3.3 V supply matches modern LED driver ICs such as the TLC59711, simplifying power tree design and minimizing BOM cost.
Recommended
Consumer Appliance Control Boards
The PIC24HJ128GP204-I/ML fits consumer appliances (washers, dishwashers, ovens) because it offers 128 KB Flash for full-featured state-machine firmware, 35 I/O for keypad/display/user-interface, and dual comparators for zero-crossing AC detection. The industrial -40 to +85 C temperature grade survives kitchen environments, and the DMA offloads periodic ADC sampling of motor current. Its 40 MIPS performance supports graphical LCD driving while maintaining control-loop determinism. Microchip's MPLAB X IDE and Harmony configurator accelerate development for cost-sensitive appliance programs.
Recommended
Digital Power Conversion (DC-DC / PFC)
The PIC24HJ128GP204-I/ML handles digital control of switch-mode power supplies because its 40 MIPS throughput is sufficient for 200 kHz voltage-mode control loops with sub-microsecond sample-to-update latency. Its high-speed ADC with PWM-trigger synchronization produces deterministic control-rate ADC conversions, while its 16-bit capture/compare timers generate 50%-200 kHz PWM with hardware dead-band insertion. The DMA engine handles feedback sample sequencing without CPU overhead. Designers pair it with a digital isolator (e.g., Si8610) for IGBT/MOSFET gate drive isolation in PFC and LLC topologies.
Recommended
HVAC / Building Automation Controllers
The PIC24HJ128GP204-I/ML suits HVAC and building automation because its two UARTs interface with Modbus RTU and BACnet MS-TP networks, while its SPI port drives external Ethernet or Wi-Fi modules for cloud connectivity. The 13 ADC channels read thermistor temperature sensors and humidity transducers, and the comparators detect AC line zero-crossings for triac-controlled heater elements. Industrial -40 to +85 C operation covers rooftop unit environments. Its 128 KB Flash supports full Modbus stack plus HVAC state machines in a single MCU without external memory.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ128GP204-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ128GP204T-I/ML | PIC24HJ128GP204-E/ML | dsPIC33FJ128GP204-I/ML | PIC24HJ128GP204-I/PT | dsPIC33FJ128GP204T-I/ML |
|---|---|---|---|---|---|---|
| Package | 44-QFN (8x8) | 44-QFN (8x8) - same | 44-QFN (8x8) - same | 44-QFN (8x8) - same | 44-TQFP (10x10) - same die | 44-QFN (8x8) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Flash | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB | 128 KB |
| SRAM | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB | 8 KB |
| CPU Speed | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS + DSP | 40 MIPS | 40 MIPS + DSP |
| DSP Engine | No | No | No | Yes (DSP engine) | No | Yes (DSP engine) |
| Operating Temperature | -40 C to +85 C | -40 C to +85 C | -40 C to +125 C | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| DMA Channels | 8 | 8 | 8 | 8 | 8 | 8 |
| Packaging | Tube | Tape and Reel | Tube | Tube | Tray | Tape and Reel |
Key Differentiators
- Higher 40 MIPS CPU performance vs entry-level 16-bit MCUs (vs PIC24FJ64GA004)
- DSP engine upgrade option with same package (vs PIC24HJ128GP204T-I/ML)
- Extended temperature option for harsh environments (vs PIC24HJ128GP204-E/ML)
Design Notes
The PIC24HJ128GP204-I/ML requires a clean 3.3 V supply (3.0-3.6 V range). Place a 100 nF ceramic capacitor as close as possible to each VDD/VSS pin pair, plus a single 1-10 uF bulk capacitor on the main VDD rail. AVDD must be tied to the same 3.3 V source but routed through a ferrite bead or small RC filter to isolate analog noise from digital switching. The exposed pad (EP) on the bottom of the 44-QFN package must be soldered to the ground plane to provide thermal dissipation and a low-impedance ground return for high-speed signals.
Route the crystal oscillator traces (OSC1/OSC2) as short as possible, guarded by a ground ring to prevent noise injection into other analog signals. Keep analog traces (ANx, CVREF) away from digital switching lines (PWM, SPI clock) by at least 3x the trace-to-trace spacing. For motor-control designs, route the analog comparator inputs (C1RX, C1TX) differentially with matched lengths to avoid common-mode noise coupling. The exposed pad (EP) is the main thermal path - connect it to a top-layer copper pour, not just an internal plane, for best heat dissipation.
Do not leave MCLR floating; tie it to VDD through a 10 kohm pull-up with a 100 nF decoupling cap for reset noise immunity. The PGECx/PGEDx programming pins must be accessible for in-system programming (ISP); do not route them to ground or VDD directly. When using DMA, configure the DMA channel priorities before enabling DMA - a common bug is to start DMA transfers before the peripheral is initialized, causing lock-ups on first access. The PIC24H's internal RC oscillator can drift up to +/-2% across temperature; use an external crystal for UART communication that requires tight baud-rate tolerance.
Estimated: At 40 MHz operation with all peripherals active, the PIC24HJ128GP204-I/ML draws approximately 40-50 mA from VDD (typical 30-40 mA + peripheral current). This corresponds to 130-165 mW dissipation. The 44-QFN package has a junction-to-ambient thermal resistance (theta_JA) of approximately 25 C/W with a properly soldered exposed pad and 1 sq. inch copper pour on a 4-layer PCB. Junction temperature rise above ambient is therefore approximately 4 C, well within the 125 C maximum. No heatsink is required for typical MCU applications; however, motor-control designs with high switching activity on adjacent traces should verify thermal margin in production.
Compliance Information
RoHS and lead-free per Microchip product page. The -I grade is industrial temperature (-40 to +85 C); not AEC-Q100 automotive qualified - choose dsPIC33FJ128GP204-E/ML or -E/Pt for AEC-Q100 Grade 1 automotive.