PIC24HJ128GP504-I/PT - 16-bit MCU 128KB Flash 40MIPS | Microchip
MPN: PIC24HJ128GP504-I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $8.42 | $8.42 |
| 10 | $7.58 | $75.80 |
| 100 | $6.74 | $674.00 |
| 500 | $5.91 | $2,955.00 |
| 1,000 | $5.07 | $5,070.00 |
PIC24HJ128GP504-I/PT Overview
A microcontroller (MCU) is a single-chip computer that integrates a CPU, memory, and programmable I/O peripherals into one IC. The PIC24H family uses a 16-bit modified Harvard RISC architecture with 24-bit instructions, optimized for code density and deterministic real-time control. Within Microchip's portfolio, PIC24H sits between the 8-bit PIC18 family and the 32-bit PIC32MX/dsPIC33E families, delivering high-performance 16-bit DSP capability for motor control, digital power, and audio processing applications.
The PIC24HJ128GP504 integrates 128 KB Flash (43K x 24 words), 8 KB SRAM, 4 KB EEPROM emulation in Flash, two UART/SPI/I2C modules, two CAN modules, an Enhanced 16-bit Parallel Master Port, a 12-bit ADC with up to 13 input channels and 500 ksps conversion rate, and a 16-bit timer/capture/compare/PWM module set. The device is pin-compatible with the dsPIC33F family, allowing migration to a DSP-enhanced core without PCB changes.
Architecturally, the PIC24HJ128GP504 uses a 2-stage pipeline with a hardware multiplier and 16x16-bit single-cycle MAC, enabling efficient fixed-point DSP operations. Its DMA controller supports memory-to-peripheral transfers without CPU intervention, and its Peripheral Pin Select (PPS) feature allows flexible remapping of digital peripherals to I/O pins - a significant advantage over PIC24F parts that lack this capability.
Typical applications include industrial motor control (BLDC, PMSM, stepper), digital power conversion (PFC, LLC, full-bridge converters), automotive body and sensor interfaces, medical instrumentation, and high-reliability industrial automation. The combination of CAN, UART, SPI, I2C, and 12-bit ADC peripherals makes the part well suited as a system supervisor in distributed embedded networks.
When designing with the PIC24HJ128GP504, ensure the 3.3V supply rail is well decoupled with at least 10uF + 100nF local capacitance, and that any analog reference for the 12-bit ADC uses a low-noise LDO such as the MCP1700. Programming and debugging should use Microchip's MPLAB X IDE with a PICkit 4 or ICD 4 in-circuit debugger.
This page synthesizes distributor pricing, drop-in alternatives from Microchip's PIC24H family, and practical design notes not found in the manufacturer datasheet alone, helping engineers evaluate drop-in replacement and migration options for long-lifecycle designs.
Drop-in alternatives for PIC24HJ128GP504-I/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 PIC24HJ128GP504-I/PT (same form factor and footprint) — differing in Package, Core Architecture, Timers, ADC, Operating Temperature.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ128GP504-E/PT
✅ Drop-In✓ In Stock
$4.95 / Unit
View Datasheet →PIC24HJ128GP504-H/PT
✅ Drop-In✓ In Stock
$7.2 / Unit
View Datasheet →DSPIC33FJ128GP804-I/PT
✅ Drop-In✓ In Stock
$4.46 / Unit
View Datasheet →PIC24HJ256GP504-I/PT
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP504-I/PT Maximum Ratings & Electrical Characteristics
| Core | PIC24H (16-bit RISC modified Harvard) |
| CPU Speed | 40 MIPS (80 MHz max clock) |
| Program Memory (Flash) | 128 KB (43K x 24 words) |
| RAM | 8 KB |
| Data EEPROM | Emulated in Flash (4 KB) |
| Operating Voltage | 3.0 V to 3.6 V |
| Operating Temperature | -40C to +85C (Industrial) |
| Package | 44-pin TQFP (10x10 mm) |
| ADC | 12-bit, up to 13 channels, 500 ksps |
| CAN Modules | 2 (ECAN) |
| UART | 2 |
| SPI | 2 (up to 2) |
| I2C | 2 |
| DMA Channels | 8 |
| Timers | 16-bit x 5 + 32-bit x 2 |
| Parallel Master Port | 16-bit PMP |
| I/O Pins | 35 (approximate) |
| Mounting Type | Surface Mount |
| MSL Level | 3 (168 hours) |
| RoHS Status | Compliant |
PIC24HJ128GP504-I/PT Pin Configuration
| Pin 1 | RC13/SOSCI/CN1 — I/O / Secondary oscillator input |
| Pin 2 | RC14/SOSCO/CN0 — I/O / Secondary oscillator output |
| Pin 3 | RA0/AN0/CN2 — I/O / Analog input 0 |
| Pin 4 | RA1/AN1/CN3 — I/O / Analog input 1 |
| Pin 5 | RA2/AN2/CN4 — I/O / Analog input 2 |
| Pin 6 | RA3/AN3/CN5 — I/O / Analog input 3 |
| Pin 7 | VDD — Positive supply (3.3V) |
| Pin 8 | VSS — Ground reference |
| Pin 9 | OSC1/CLKI/RC12 — Crystal input / external clock |
| Pin 10 | OSC2/CLKO/RC15 — Crystal output / clock out |
| Pin 11 | RA4/AN4/CN6 — I/O / Analog input 4 |
| Pin 12 | RA5/AN5/CN7 — I/O / Analog input 5 |
| Pin 13 | RA6 — I/O |
| Pin 14 | RA7 — I/O |
| Pin 15 | RB0/AN8/CN8 — I/O / Analog input 8 |
| Pin 16 | RB1/AN9/CN9 — I/O / Analog input 9 |
| Pin 17 | RB2/AN10/CN10 — I/O / Analog input 10 |
| Pin 18 | RB3/AN11/CN11 — I/O / Analog input 11 |
| Pin 19 | RB4/AN12/CN12 — I/O / Analog input 12 |
| Pin 20 | RB5/AN13/CN13 — I/O / Analog input 13 |
| Pin 21 | RB6/PGC — I/O / Programming clock |
| Pin 22 | RB7/PGD — I/O / Programming data |
| Pin 23 | RC0 — I/O |
| Pin 24 | RC1 — I/O |
| Pin 25 | RC2 — I/O |
| Pin 26 | RC3 — I/O |
| Pin 27 | VSS — Ground reference |
| Pin 28 | VDD — Positive supply (3.3V) |
| Pin 29 | RC4 — I/O |
| Pin 30 | RC5 — I/O |
| Pin 31 | RC6 — I/O |
| Pin 32 | RC7 — I/O |
| Pin 33 | RC8 — I/O |
| Pin 34 | RC9 — I/O |
| Pin 35 | RD0 — I/O / PMP data |
| Pin 36 | RD1 — I/O / PMP data |
| Pin 37 | RD2 — I/O / PMP data |
| Pin 38 | RD3 — I/O / PMP data |
| Pin 39 | RD4 — I/O / PMP data |
| Pin 40 | RD5 — I/O / PMP data |
| Pin 41 | RD6 — I/O / PMP data |
| Pin 42 | RD7 — I/O / PMP data |
| Pin 43 | MCLR — Master clear / reset input (active low) |
| Pin 44 | RA8 — I/O |
Typical Applications
PIC24HJ128GP504-I/PT is suitable for 6 applications: BLDC/PMSM Motor Control, Digital Power Conversion (PFC / LLC), Industrial CAN Node / Sensor Hub, Audio Processing / Effects, Automotive Body Electronics, Medical Instrumentation / Patient Monitors.
BLDC/PMSM Motor Control
The PIC24HJ128GP504-I/PT fits BLDC/PMSM motor control because its 40 MIPS CPU executes field-oriented control (FOC) loops in under 25 us, while the 12-bit 500 ksps ADC samples phase currents with adequate resolution. Two CAN modules provide real-time motor network communication in industrial servo and e-bike systems. Its -40C to +85C industrial range covers most factory-floor installations. Pair with TI DRV8301 three-phase gate driver to complete a sensorless FOC drive.
Recommended
Digital Power Conversion (PFC / LLC)
The PIC24HJ128GP504-I/PT's 40 MIPS DSP-capable core and high-speed 12-bit ADC make it well suited for digital power topologies including boost PFC, half-bridge LLC, and full-bridge converters. The PWM module supports 16-bit resolution at switching frequencies up to 100 kHz with dead-time control. Its DMA controller offloads ADC-to-PWM sample transfers, freeing the CPU for closed-loop control. Used widely in 1-5 kW telecom and server power supplies.
Recommended
Industrial CAN Node / Sensor Hub
The dual ECAN modules on the PIC24HJ128GP504-I/PT allow it to operate as a CAN bridge or as a sensor-hub master in industrial CANopen or DeviceNet networks. Its 12-bit ADC and UART/SPI/I2C peripherals aggregate data from external sensors, while the 8 KB RAM buffers protocol stacks. The industrial -40C to +85C rating ensures reliable operation in factory environments. Pair with TI TCAN334G CAN transceiver for 3.3V physical layer.
Recommended
Audio Processing / Effects
Although not as capable as the dsPIC33F DSP family, the PIC24HJ128GP504-I/PT's MAC unit and 40 MIPS throughput allow simple audio effects such as reverb, EQ, and noise gating at 32 kHz sample rate. Its 16-bit Parallel Master Port interfaces directly to external SRAM for delay-line storage. Suitable for musical instrument pedals, karaoke mixers, and low-cost consumer audio gear where DSP cost is prohibitive.
Recommended
Automotive Body Electronics
For non-safety automotive body applications (mirror control, HVAC actuators, lighting), the PIC24HJ128GP504-I/PT paired with its -E (Extended) variant sibling provides ample processing for LIN/CAN communication and motor PWM. The PIC24H family is automotive-qualified at Microchip. Its small 44-pin TQFP package fits in space-constrained door-module and instrument-cluster PCBs.
Recommended
Medical Instrumentation / Patient Monitors
The PIC24HJ128GP504-I/PT's deterministic interrupt response and 12-bit ADC support medical peripherals such as pulse oximeters, blood-pressure monitors, and infusion pumps. The 128 KB Flash stores application firmware, calibration tables, and safety diagnostics. Its industrial temperature range meets clinical-environment requirements. Pair with TI ADS1292 low-power analog front-end for ECG and bio-impedance measurements.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ128GP504-I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ128GP504-E/PT | PIC24HJ128GP504-H/PT | dsPIC33FJ128GP804-I/PT | PIC24HJ256GP504-I/PT | PIC24HJ128GP306-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | 44-TQFP (10x10) | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 44-TQFP (10x10) - same | 64-TQFP - different |
| Flash | 128 KB | 128 KB | 128 KB | 128 KB | 256 KB | 128 KB |
| RAM | 8 KB | 8 KB | 8 KB | 8 KB | 16 KB | 16 KB |
| Core Speed | 40 MIPS (80 MHz) | 40 MIPS | 40 MIPS | 40 MIPS + DSP | 40 MIPS | 40 MIPS |
| DSP Engine | Basic MAC only | Basic MAC only | Basic MAC only | Full DSP engine + 16-bit DAC | Basic MAC only | Basic MAC only |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +150C (High) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
| ADC | 12-bit, 500 ksps | 12-bit, 500 ksps | 12-bit, 500 ksps | 12-bit + sigma-delta | 12-bit, 500 ksps | 12-bit, 500 ksps |
| CAN Modules | 2 (ECAN) | 2 (ECAN) | 2 (ECAN) | 2 (ECAN) | 2 (ECAN) | 2 (ECAN) |
| Operating Voltage | 3.0V to 3.6V | 3.0V to 3.6V | 3.0V to 3.6V | 3.0V to 3.6V | 3.0V to 3.6V | 3.0V to 3.6V |
Key Differentiators
- Dual CAN modules with ECAN 2.0B support (vs PIC24HJ64GP504)
- Pin compatibility with dsPIC33FJ128GP804 family (vs PIC24HJ128GP504-E/PT)
- 8 KB RAM with DMA controller (vs PIC24FV16KA301)
Design Notes
Decouple the PIC24HJ128GP504-I/PT's VDD pins (7, 28) with a 100 nF ceramic capacitor placed within 3 mm of each VDD pin, plus a bulk 10 uF tantalum or ceramic capacitor on the 3.3V rail. Use a low-noise LDO such as MCP1700-3302E to derive the 3.3V supply from a 5V rail, providing >40 dB noise rejection at 1 kHz to keep the ADC reference clean.
Do not apply 5V to any PIC24HJ128GP504-I/PT I/O pin; this device is NOT 5V-tolerant. A common production pitfall is reusing PIC18 8-bit code with 5V logic levels - this destroys the PIC24H. If 5V signals are present, add a 74LVC245 level translator or use the pin-compatible PIC24FJ parts with 5V tolerance.
Route the 80 MHz crystal traces (OSC1/OSC2) as short as possible and symmetric, with the load capacitors (typically 18-22 pF) placed within 5 mm of the MCU. Keep digital signal traces away from the analog ADC inputs (AN0-AN13) and use a ground guard ring around the AVSS pin to minimize digital switching noise coupling into ADC measurements.
When using the ECAN modules at 1 Mbit/s, place a 120 ohm termination resistor at each end of the CAN bus, twisted-pair cable between nodes, and keep the CANH/CANL traces matched in length (delta < 5 mm) on the PCB. Add a TVS diode (such as PESD1CAN) on the bus for ESD and transient protection in industrial environments.
Compliance Information
RoHS and REACH compliant per Microchip product page. Industrial -40C to +85C grade; not AEC-Q100 qualified - choose the -E variant suffix or dsPIC33F family for automotive-grade designs.