PIC24HJ32GP304T-I/ML - 40 MIPS 16-bit MCU 32KB Flash | Microchip
MPN: PIC24HJ32GP304T-I/ML ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.22 | $5.22 |
| 10 | $4.78 | $47.80 |
| 100 | $4.05 | $405.00 |
| 500 | $3.62 | $1,810.00 |
| 1,000 | $3.21 | $3,210.00 |
PIC24HJ32GP304T-I/ML Overview
A 16-bit microcontroller (MCU) is a single-chip computer with a 16-bit datapath, registers, and ALU, sitting between 8-bit MCUs and 32-bit MCUs in capability. Within the power-management hierarchy it belongs to embedded processing; in the system hierarchy it sits below the application processor and above simple peripherals. PIC24H MCUs target high-speed control loops, motor control, and DSP-style signal processing where an 8-bit MCU would be too slow but a 32-bit Cortex-M part would be overkill.
Key features include single-cycle 16x16 multiply, hardware DMA for CPU offload, JTAG and ICSP debug interfaces, an extended instruction set with DSP addressing modes, and pin-compatibility with the dsPIC33F family. The 44-QFN package provides a compact 8x8 mm footprint with an exposed thermal pad that lowers junction-to-board thermal resistance for high-MIPS continuous operation.
Architecturally, the PIC24HJ32GP304 uses a modified Harvard core with separate program and data paths, a 24-bit instruction word, and zero-wait-state Flash access at 40 MHz. The peripheral set is the same as the dsPIC33F family, allowing code migration and reuse of software libraries, including Microchip's MPLAB XC16 toolchain.
Typical applications include industrial motor control (BLDC, PMSM, stepper), digital power conversion, sensor processing, automotive body electronics, and consumer audio processing. The 40 MIPS performance and DMA controller make it well suited to closed-loop control applications that sample multiple ADC channels every cycle.
When designing with this part, allocate the exposed pad (EP) to a solid copper pour stitched with vias for thermal dissipation, since sustained operation at 40 MIPS can dissipate noticeable power. Validate code timing against the device's instruction-cycle count rather than source-line counts, because the PIC24H executes one instruction per two clock cycles at full speed.
This page synthesizes distributor pricing, pin-compatible drop-in alternatives, application recommendations, and practical design notes that go beyond a typical distributor listing.
Drop-in alternatives for PIC24HJ32GP304T-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 PIC24HJ32GP304T-I/ML (same form factor and footprint) — differing in ADC, Package, Timers, DMA Channels, Core.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ32GP304-I/ML
✅ Drop-In✓ In Stock
$2.74 / Unit
View Datasheet →PIC24HJ32GP304T-E/ML
✅ Drop-In📋 Reference alternative (not in catalog)
DSPIC33FJ32GP304-I/ML
✅ Drop-In✓ In Stock
$3.49 / Unit
View Datasheet →PIC24HJ16GP304T-I/ML
✅ Drop-In✓ In Stock
$2.18 / Unit
View Datasheet →PIC24HJ32GP204T-I/ML
✅ Drop-In✓ In Stock
$3.89 / Unit
View Datasheet →PIC24HJ128GP504T-I/ML
✅ Drop-In✓ In Stock
$4.88 / Unit
View Datasheet →PIC24HJ32GP304T-I/ML Maximum Ratings & Electrical Characteristics
| Family | PIC24H |
| Core | 16-bit PIC24H (modified Harvard) |
| Program Memory (Flash) | 32 KB (11K x 24) |
| SRAM | 2 KB |
| Maximum CPU Speed | 40 MIPS |
| Maximum Clock Frequency | 40 MHz |
| Supply Voltage (Vdd) | 3.0 V to 3.6 V |
| I/O Pins | 21 |
| ADC | 10/12-bit, up to 8 channels |
| Timers | 3 x 16-bit (pairable to 32-bit) |
| DMA Channels | Yes (8-channel DMA controller) |
| Output Compare / PWM | 2 modules |
| Input Capture | 2 modules |
| Communication | UART, SPI, I2C |
| Package | 44-pin QFN (8x8 mm) with exposed pad |
| Mounting Type | Surface Mount |
| Operating Temperature | -40 C to +85 C (Industrial) |
| Debug Interface | JTAG / ICSP |
| Instruction Set | PIC24H (DSP-extended) |
| Lead-Free / RoHS | Yes (lead-free finish, RoHS compliant) |
PIC24HJ32GP304T-I/ML Pin Configuration
| Pin 1 | RA0/VREF+/AN0 — Analog input 0 / positive voltage reference / GPIO RA0 |
| Pin 2 | RA1/VREF-/AN1 — Analog input 1 / negative voltage reference / GPIO RA1 |
| Pin 3 | RA2/AN2 — Analog input 2 / GPIO RA2 |
| Pin 4 | RA3/AN3 — Analog input 3 / GPIO RA3 |
| Pin 5 | RA4/AN4 — Analog input 4 / GPIO RA4 |
| Pin 6 | RA5/AN5 — Analog input 5 / GPIO RA5 |
| Pin 7 | RA6/OSC2/CLKO — Oscillator output / GPIO RA6 |
| Pin 8 | RA7/OSC1/CLKI — Oscillator input / GPIO RA7 |
| Pin 9 | MCLR — Master clear reset (active-low) |
| Pin 10 | RB0/AN8/PGED1 — Analog input 8 / ICD data / GPIO RB0 |
| Pin 11 | RB1/AN9/PGEC1 — Analog input 9 / ICD clock / GPIO RB1 |
| Pin 12 | RB2/AN10/C1OUT — Comparator 1 output / GPIO RB2 |
| Pin 13 | RB3/AN11/C2OUT — Comparator 2 output / GPIO RB3 |
| Pin 14 | RB4/AN12 — Analog input 12 / GPIO RB4 |
| Pin 15 | RB5/AN13 — Analog input 13 / GPIO RB5 |
| Pin 16 | RB6/AN14/PGC2 — ICSP clock 2 / GPIO RB6 |
| Pin 17 | RB7/AN15/PGD2 — ICSP data 2 / GPIO RB7 |
| Pin 18 | RC1/T2CK — Timer2 clock / GPIO RC1 |
| Pin 19 | RC2/T3CK — Timer3 clock / GPIO RC2 |
| Pin 20 | RC3 — GPIO RC3 |
| Pin 21 | RC4 — GPIO RC4 |
| Pin 22 | RC5 — GPIO RC5 |
| Pin 23 | RC6 — GPIO RC6 |
| Pin 24 | RC7 — GPIO RC7 |
| Pin 25 | RC8 — GPIO RC8 |
| Pin 26 | RC9 — GPIO RC9 |
| Pin 27 | VDD — Digital supply voltage (3.0-3.6 V) |
| Pin 28 | VSS — Digital ground |
| Pin 29 | RD0 — GPIO RD0 |
| Pin 30 | RD1 — GPIO RD1 |
| Pin 31 | RD2 — GPIO RD2 |
| Pin 32 | RD3 — GPIO RD3 |
| Pin 33 | RD4 — GPIO RD4 |
| Pin 34 | RD5 — GPIO RD5 |
| Pin 35 | RD6 — GPIO RD6 |
| Pin 36 | RD7 — GPIO RD7 |
| Pin 37 | RE0 — GPIO RE0 |
| Pin 38 | RE1 — GPIO RE1 |
| Pin 39 | RE2 — GPIO RE2 |
| Pin 40 | RE3 — GPIO RE3 |
| Pin 41 | RE4 — GPIO RE4 |
| Pin 42 | RE5 — GPIO RE5 |
| Pin 43 | RE6 — GPIO RE6 |
| Pin 44 | RE7 — GPIO RE7 |
| Pin 45 | EP — Exposed thermal pad - connect to ground pour |
Typical Applications
PIC24HJ32GP304T-I/ML is suitable for 7 applications: BLDC / PMSM Motor Control, Industrial Digital Power Conversion, Sensor Signal Processing, Automotive Body Electronics, Consumer Audio Processing, Industrial Sensor Nodes / IoT Edge, Display and User Interface Controllers.
BLDC / PMSM Motor Control
The PIC24HJ32GP304T-I/ML fits three-phase BLDC and PMSM motor control because it runs a sensorless FOC loop at 40 MIPS while its three 16-bit timers can pair into one 32-bit timer for PWM generation at 20 kHz with 1 ns edge resolution. Its 8-channel 10/12-bit ADC samples two of the three phase currents simultaneously while the DMA controller offloads conversion-result handling from the CPU, leaving headroom for the Park/Clarke transforms in C. A hardware QEI interface simplifies sensored configurations, and the 44-QFN exposed pad keeps junction temperature manageable in continuous-duty drives. Use MPLAB's Motor Control Application Framework as a starting firmware baseline.
Recommended
Industrial Digital Power Conversion
For digital PFC, full-bridge LLC, and phase-shift converters, the PIC24HJ32GP304T-I/ML delivers 40 MIPS throughput with hardware DMA that streams ADC samples into a circular buffer without CPU intervention, leaving the core free to run the control law at deterministic cycle times. Its 12-bit ADC with 200 ksps throughput is adequate for current-mode control at 50-100 kHz switching frequency, and the 3.0-3.6 V supply range aligns with the auxiliary rail of most industrial PSU architectures. Pair the MCU with a high-side gate driver and a current-sense amplifier to build a digitally controlled PFC stage meeting 80 Plus efficiency targets.
Recommended
Sensor Signal Processing
The PIC24HJ32GP304T-I/ML is well suited to multi-sensor data acquisition and digital filtering because its DMA streams ADC samples while the 40 MIPS core runs FIR or IIR filters in real time. The 8-channel ADC can scan a sensor array at up to 500 ksps aggregate rate, and the 2 KB SRAM holds a 256-tap FIR buffer without overflow. UART/SPI/I2C interfaces integrate easily with MEMS accelerometers, gyros, and pressure sensors. Use DMA to transfer ADC results directly into a sample buffer and trigger a PWM output as the actuator response.
Recommended
Automotive Body Electronics
Within automotive body control modules such as door-zone controllers, seat controllers, and lighting nodes, the PIC24HJ32GP304T-I/ML provides 21 GPIO, two UART channels, and PWM outputs sufficient to drive LED arrays, mirror actuators, and door lock motors. Its 40 MIPS performance runs LIN 2.1 slave stacks and PWM dimming concurrently. For underhood or AEC-Q100 environments, choose the PIC24HJ32GP304T-E/ML variant rated to +125 C; pair with a CAN or LIN transceiver for in-vehicle networking.
Recommended
Consumer Audio Processing
The PIC24HJ32GP304T-I/ML can host a software MP3 decoder or basic audio DSP because its 40 MIPS and DSP-extended instruction set (single-cycle MAC) deliver the throughput required for 44.1 kHz 16-bit audio without external DSP chips. Its I2S or SPI interface connects to most external DACs, and the DMA controller moves sample data without CPU intervention. The 32 KB Flash accommodates a small file system plus decoder tables; pair with an SD card over SPI for playback sources.
Recommended
Industrial Sensor Nodes / IoT Edge
The PIC24HJ32GP304T-I/ML serves as an edge-processing node in industrial IoT networks because its 40 MIPS core performs on-device analytics (threshold detection, FFT, anomaly detection) before forwarding summaries over UART/SPI/can. The 3.0-3.6 V supply range is compatible with 3.3 V industrial rails, and 21 GPIO accommodate multiple sensor inputs. Its extended industrial temperature rating of -40 C to +85 C suits factory-floor deployments. Combine with an RS-485 transceiver for industrial networking.
Recommended
Display and User Interface Controllers
For TFT/OLED display controllers and capacitive touch user interfaces, the PIC24HJ32GP304T-I/ML provides enough throughput to refresh small (up to 320x240) displays via SPI while its DMA controller handles frame-buffer transfers. The 21 GPIO are sufficient to drive a 4-wire resistive touch controller plus keypad matrix. Pair with an SPI-based TFT driver and an I2C touch controller for a compact GUI subsystem. The 44-QFN package fits well in space-constrained handheld products.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ32GP304T-I/ML — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ32GP304-I/ML | PIC24HJ32GP304T-E/ML | dsPIC33FJ32GP304-I/ML | PIC24HJ16GP304T-I/ML | PIC24HJ128GP504T-I/ML |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-QFN (8x8 mm) with EP | 44-QFN (8x8 mm) with EP - same | 44-QFN (8x8 mm) with EP - same | 44-QFN (8x8 mm) with EP - same | 44-QFN (8x8 mm) with EP - same | 44-QFN (8x8 mm) with EP - same |
| Flash Memory | 32 KB | 32 KB | 32 KB | 32 KB | 16 KB (-50%) | 128 KB (+300%) |
| SRAM | 2 KB | 2 KB | 2 KB | 2 KB | 2 KB | 8 KB (+300%) |
| Maximum CPU Speed | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS (with DSP engine) | 40 MIPS | 40 MIPS |
| Supply Voltage | 3.0 V to 3.6 V | 3.0 V to 3.6 V | 3.0 V to 3.6 V | 3.0 V to 3.6 V | 3.0 V to 3.6 V | 3.0 V to 3.6 V |
| Operating Temperature | -40 C to +85 C (Industrial) | -40 C to +85 C | -40 C to +125 C (Extended) | -40 C to +85 C | -40 C to +85 C | -40 C to +85 C |
| DSP Engine | No (PIC24H MAC only) | No | No | Yes (single-cycle MAC) | No | No |
| I/O Pins | 21 | 21 | 21 | 21 | 21 | 21 |
Key Differentiators
- Pin-compatible upgrade path to dsPIC33F DSP engine (vs dsPIC33FJ32GP304-I/ML)
- Pin-compatible upgrade path to 128 KB Flash variant (vs PIC24HJ128GP504T-I/ML)
- Industrial temperature variant available in same footprint (vs PIC24HJ32GP304T-E/ML)
Design Notes
Estimated: at 40 MIPS sustained operation with all peripherals active, core dissipation is approximately 30-50 mW. The 44-QFN (8x8 mm) exposed pad (EP) is the primary heat path; solder the EP to a ground pour at least 1 square inch (645 mm^2) and stitch it with thermal vias (0.3 mm drill, 0.6 mm pitch) to the inner-layer ground plane. Without the EP soldered, junction temperature can exceed 100 C at +85 C ambient with continuous heavy GPIO switching. Recommended copper area is documented in Microchip's QFN package thermal guidance.
Place a 100 nF 0.1 uF decoupling capacitor within 5 mm of each VDD pin (3 VDD pins on this package) and a single 10 uF bulk ceramic near the package. Keep the MCLR pull-up (typically 10 kohm) close to the pin with a 100 nF cap to ground for noise immunity. Route the 40 MHz crystal traces within 5 mm of OSC1/OSC2 with a ground guard ring to suppress EMI. The exposed pad must NOT be left floating - it must be soldered even if thermal dissipation is not a concern, because it provides the package's primary ground reference.
Do not operate VDD below 3.0 V - Flash read errors and brownout resets will corrupt program execution. The MCLR pin cannot be left floating; if unused, tie it to VDD through a 10 kohm resistor, otherwise spurious resets occur. Do not exceed the absolute maximum VDD of 4.0 V (datasheet limit). When migrating from PIC24HJ32GP204 to PIC24HJ32GP304, note that the 304 has 21 GPIO versus 13-15 on the 204; unused pins on the 304 must be configured as outputs or inputs with internal pull-ups to avoid current draw in CMOS input-floating conditions.
Route analog signals (AN0-AN15, VREF+/VREF-) away from PWM outputs and clock traces to minimize ADC coupling noise. Use a separate analog ground island tied to VSS at a single point near the AVSS pin if available. Keep the ICSP/PGED/PGEC traces short and parallel; length matching is not critical because ICD operates below 10 MHz. The JTAG TCK/TMS/TDI/TDO signals should be routed with a 100 ohm characteristic impedance if external boundary scan is planned.
Estimated: total active current at 40 MIPS with all peripherals running is approximately 30-40 mA; add 10-15 mA for ADC sampling and 5-10 mA for I/O drive. For battery-powered designs, use the PIC24F family instead (PIC24FJ32GA004) which offers sleep currents below 1 uA. Brownout voltage should be configured to 3.0 V via the BOR configuration bits so that Flash writes are prevented below safe operating voltage. The device's low-voltage programming (LVP) mode requires the LVP configuration bit to be set.
Compliance Information
RoHS3 compliant per Microchip product page and distributor listings. Not AEC-Q100 qualified - choose PIC24HJ32GP304T-E/ML for extended temperature or a dsPIC33F automotive variant for AEC-Q100 applications. Lead-free matte-tin finish. REACH compliant per 2026-09-30 distributor listings.