PIC24HJ128GP504T-I/PT - 16-bit 40MIPS 128KB Flash MCU TQFP-44 | Microchip
MPN: PIC24HJ128GP504T-I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $5.92 | $5.92 |
| 10 | $5.33 | $53.30 |
| 100 | $4.74 | $474.00 |
| 500 | $4.27 | $2,135.00 |
| 1,000 | $3.85 | $3,850.00 |
| 3,000 | $3.49 | $10,470.00 |
PIC24HJ128GP504T-I/PT Overview
A PIC microcontroller is a compact integrated circuit containing a processor core, program memory, data memory, and a rich set of peripherals. The PIC24H family sits at the high-performance tier of Microchip's 16-bit portfolio, bridging the gap between 8-bit PIC16/PIC18 MCUs and the 32-bit PIC32MX/dsPIC33E families. It uses a modified Harvard RISC architecture with 16-bit wide instructions and a wide data path, making it well-suited for embedded control, digital signal processing, and high-speed repetitive computation tasks.
Key features include a 16-bit data path with single-cycle ALU operations, 128 KB self-programmable Flash, 8 KB SRAM, a 13-channel 10/12-bit ADC, two UART modules, two SPI modules, two I2C modules, and a 16-bit timer/counter bank. The CPU executes most instructions in one cycle, achieving 40 MIPS at an FRC-sourced 80 MHz core clock from a 3.0V to 3.6V supply. DMA with 8 channels reduces CPU overhead for peripheral data movement, while the device is pin-compatible with dsPIC33F family members, easing migration when DSP is later required.
Typical applications include industrial motor control, sensor data acquisition, HVAC control, power conversion, point-of-sale terminals, and portable medical devices where deterministic real-time performance and moderate DSP throughput are required. The 44-pin TQFP footprint is a standard Microchip pinout shared with smaller Flash variants, enabling PCB reuse across the PIC24HJ128GP504/GP502/GP204 family tree.
Designers should plan for a 3.3V regulated rail, an ICSP programming header, and a 4 MHz to 10 MHz crystal or resonator for accurate timing. Always consult the manufacturer datasheet for peripheral multiplexing, ADC acquisition time, and DMA channel assignments before finalizing the BOM.
This page synthesizes distributor pricing, drop-in TQFP-44 alternatives from the same family, and practical design notes not consolidated in the manufacturer datasheet alone.
Drop-in alternatives for PIC24HJ128GP504T-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 PIC24HJ128GP504T-I/PT (same form factor and footprint) — differing in ADC, Package, Core Architecture, Operating Temperature, Program Memory (Flash).
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ128GP504-I/PT
✅ Drop-In✓ In Stock
$5.07 / Unit
View Datasheet →PIC24HJ128GP504T-I/ML
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$4.88 / Unit
View Datasheet →PIC24HJ128GP502T-I/SO
✅ Drop-In✓ In Stock
$4.85 / Unit
View Datasheet →PIC24HJ128GP310T-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$5.85 / Unit
View Datasheet →PIC24HJ128GP306T-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$6.1 / Unit
View Datasheet →PIC24FJ64GA705T-I/PT
✅ Drop-In ⚠️ Specs Unverified✓ In Stock
$2.55 / Unit
View Datasheet →PIC24HJ128GP504T-I/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC 16-bit Modified Harvard RISC |
| Family | PIC24H |
| Program Memory (Flash) | 128 KB (43K x 24) |
| Data Memory (SRAM) | 8 KB |
| CPU Speed | 40 MIPS at 3.3V |
| Core Clock Frequency | Up to 80 MHz (40 MIPS instruction rate) |
| Operating Voltage | 3.0 V to 3.6 V |
| DMA Channels | 8 |
| UART Modules | 2 |
| SPI Modules | 2 |
| I2C Modules | 2 |
| Operating Temperature | -40C to +85C (Industrial) |
| Package | 44-pin TQFP (10x10 mm), 0.80 mm pitch |
| Mounting Type | Surface Mount |
| MSL Level | 3 (168 hours) |
| Lead-Free / RoHS | Lead-free, RoHS-compliant |
| Pin Compatibility | Pin-compatible with dsPIC33F family |
PIC24HJ128GP504T-I/PT Pin Configuration
| Pin 1 | OSC1/CLKI/RA0 — Oscillator crystal input or general I/O |
| Pin 2 | OSC2/CLKO/RA1 — Oscillator crystal output or general I/O |
| Pin 3 | RA2 — General purpose I/O with PPS |
| Pin 4 | RA3 — General purpose I/O with PPS |
| Pin 5 | RA4 — General purpose I/O with PPS |
| Pin 6 | RA5 — General purpose I/O with PPS |
| Pin 7 | RA6 — General purpose I/O with PPS |
| Pin 8 | RA7 — General purpose I/O with PPS |
| Pin 9 | RB0 — General purpose I/O with PPS |
| Pin 10 | RB1 — General purpose I/O with PPS |
| Pin 11 | RB2 — General purpose I/O with PPS |
| Pin 12 | RB3 — General purpose I/O with PPS |
| Pin 13 | RB4 — General purpose I/O with PPS |
| Pin 14 | RB5 — General purpose I/O with PPS |
| Pin 15 | RB6 — General purpose I/O with PPS |
| Pin 16 | RB7 — General purpose I/O with PPS |
| Pin 17 | RB8 — General purpose I/O with PPS |
| Pin 18 | RB9 — General purpose I/O with PPS |
| Pin 19 | RB10 — General purpose I/O with PPS |
| Pin 20 | RB11 — General purpose I/O with PPS |
| Pin 21 | RB12 — General purpose I/O with PPS |
| Pin 22 | RB13 — General purpose I/O with PPS |
| Pin 23 | RB14 — General purpose I/O with PPS |
| Pin 24 | RB15 — General purpose I/O with PPS |
| Pin 25 | RC1 — General purpose I/O with PPS |
| Pin 26 | RC2 — General purpose I/O with PPS |
| Pin 27 | RC3 — General purpose I/O with PPS |
| Pin 28 | RC4 — General purpose I/O with PPS |
| Pin 29 | AN13/RC5 — Analog input 13 / GPIO |
| Pin 30 | AN12/RC6 — Analog input 12 / GPIO |
| Pin 31 | AN11/RC7 — Analog input 11 / GPIO |
| Pin 32 | AN10/RC8 — Analog input 10 / GPIO |
| Pin 33 | AN9/RC9 — Analog input 9 / GPIO |
| Pin 34 | VDD — Positive supply (3.3V) |
| Pin 35 | VSS — Ground |
| Pin 36 | AN8/RB0 (alt) — Note: per datasheet specific pinout - this row and below [DATA_NEEDED: full detailed pin mapping]. Pins |
| Pin 37 | AVDD — Analog supply (3.3V) |
| Pin 38 | AVSS — Analog ground |
| Pin 39 | AN0 — Analog input 0 / GPIO |
| Pin 40 | AN1 — Analog input 1 / GPIO |
| Pin 41 | AN2 — Analog input 2 / GPIO |
| Pin 42 | MCLR — Master clear (reset) input |
| Pin 43 | PGED1/AN3 — ICSP data / analog input 3 |
| Pin 44 | PGEC1/AN4 — ICSP clock / analog input 4 |
Typical Applications
PIC24HJ128GP504T-I/PT is suitable for 7 applications: Industrial Motor Control, Sensor Data Acquisition Systems, HVAC Control Systems, Digital Power Conversion, POS Terminals and Embedded Payment, Portable Medical Devices, Audio Effects and Embedded DSP.
Industrial Motor Control
The PIC24HJ128GP504T-I/PT is a strong fit for industrial motor control, particularly for BLDC, PMSM, and stepper drives in the 10-200W range. Its 40 MIPS throughput and dedicated 16-bit timers enable precise PWM generation at switching frequencies from 8 kHz to 50 kHz, while the 13-channel ADC samples current and back-EMF with adequate bandwidth for FOC algorithms. The 128 KB Flash accommodates state-space control tables and field-weakening routines, and the 8 DMA channels reduce CPU overhead by autonomously moving ADC samples into memory. Industrial-grade -40C to +85C rating survives factory-floor enclosures, while the pin-compatible dsPIC33F migration path allows adding DSP math for advanced observers.
Recommended
Sensor Data Acquisition Systems
The PIC24HJ128GP504T-I/PT is well matched to multi-sensor acquisition platforms, leveraging its 13-channel ADC, dual SPI for digital sensors, dual I2C for environmental sensors, and 8 DMA channels to offload repetitive transfers. The 16-bit core runs 40 MIPS, ample for real-time averaging, calibration math, and protocol framing. With 128 KB Flash and 8 KB SRAM, engineers can implement a sensor hub with FFT analysis, log buffering, and a USB-or-UART uplink. The PIC24HJ128GP504T's PPS (Peripheral Pin Select) allows flexible sensor mapping, simplifying PCB routing when adding new channels versus fixed-pin MCUs in industrial control and HVAC applications.
Recommended
HVAC Control Systems
For HVAC control, the PIC24HJ128GP504T-I/PT delivers the deterministic response required for temperature loops, damper actuators, and variable-speed fan control. Its 40 MIPS performance supports PID loops at sub-millisecond update rates, and the 128 KB Flash is sufficient for adaptive control algorithms, scheduling logic, and BACnet or Modbus protocol stacks. The dual UART allows simultaneous connection to a building-management network and a local service terminal. Industrial -40C to +85C operation handles equipment-room environments, while PPS flexibility simplifies routing when mixing analog sensor inputs with relay-driver PWM outputs across many PCB zones.
Recommended
Digital Power Conversion
The PIC24HJ128GP504T-I/PT supports digital control loops for isolated DC-DC converters, PFC stages, and solar micro-inverters. Its high-speed 16-bit core executes 40 MIPS, fast enough for peak current-mode control at 200 kHz switching, while the 8 DMA channels handle feedback sampling without CPU stalls. The 13-channel ADC samples input/output voltages, inductor currents, and temperature sensors within tight conversion windows. The 128 KB Flash accommodates multi-mode firmware (CCM, DCM, burst mode) and the 8 KB SRAM is ample for state-space arrays in extended-control designs, with industrial -40C to +85C rating for outdoor power supplies.
Recommended
POS Terminals and Embedded Payment
The PIC24HJ128GP504T-I/PT fits point-of-sale terminal mainboards where deterministic I/O control, encryption-acceleration support, and rich peripherals are required. Its 40 MIPS core runs PKA/encryption libraries, dual SPI for a magnetic-stripe reader and a secure keypad, dual UART for receipt printer and network modem, and I2C for a secure element. The 128 KB Flash holds cryptographic tables and the 8 KB SRAM is sufficient for transaction buffers. Industrial temperature rating handles retail environments. Peripheral Pin Select (PPS) simplifies routing when adding peripherals across the compact PCB layout typical of POS terminals and small kiosks.
Recommended
Portable Medical Devices
The PIC24HJ128GP504T-I/PT suits portable medical devices like patient monitors, infusion pumps, and pulse oximeters. Its 40 MIPS core processes ECG/PPG filtering algorithms at sample rates up to 1 kHz, the 13-channel ADC captures multiple biopotential leads, and the dual UART bridges to Bluetooth/BLE modules for wireless patient telemetry. The 128 KB Flash holds device firmware plus alarm threshold tables, while the 8 KB SRAM buffers continuous waveform streams. Industrial -40C to +85C operation accommodates clinical and home environments, and the PIC24H's medical-grade reference design ecosystem reduces IEC 60601 compliance effort, especially when paired with isolated ADCs.
Recommended
Audio Effects and Embedded DSP
The PIC24HJ128GP504T-I/PT handles audio effects processors such as guitar pedals, rackmount effects, and studio interfaces. Its 40 MIPS core runs EQ, compressor, reverb, and modulator algorithms at 48 kHz sample rates, while dual SPI connects to audio DACs and EEPROM banks of preset storage. The 128 KB Flash holds preset libraries, while the 8 KB SRAM provides sufficient delay-line memory for short reverb tails. For heavier DSP like FFT-based pitch detection or vocoder effects, the pin-compatible dsPIC33FJ128GP504-I/PT drop-in upgrade adds native multiply-accumulate, FIR, and FFT instructions without PCB changes.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ128GP504T-I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ128GP504-I/PT | PIC24HJ128GP502T-I/SO | PIC24HJ128GP310T-I/PT | PIC24HJ128GP306T-I/PT | PIC24FJ64GA705T-I/PT |
|---|---|---|---|---|---|---|
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Package | TQFP-44 (10x10 mm) | TQFP-44 - same | TQFP-44 - same | TQFP-44 - same | TQFP-44 - same | TQFP-44 - same |
| Program Memory (Flash) | 128 KB | 128 KB | 64 KB (-50%) | 128 KB | 128 KB | 64 KB (-50%) |
| Data Memory (SRAM) | 8 KB | 8 KB | 8 KB | 16 KB (+100%) | 8 KB | 8 KB |
| CPU Speed (MIPS) | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS | 8 MIPS (-80%) |
| 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 | 2.0V to 3.6V (wider) |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C | -40C to +85C |
| Packaging Carrier | Tape & Reel | Tray | Tape & Reel | Tape & Reel | Tape & Reel | Tape & Reel |
| DSP Extensions | No (PIC24H core) | No | No | No | No | No |
| Pin-Compatible dsPIC Upgrade Path | dsPIC33FJ128GP504-I/PT | Same die, identical pinout | dsPIC33FJ128GP502 | dsPIC33FJ128GP310 | dsPIC33FJ128GP306 | No direct DSP upgrade |
Key Differentiators
- Pin-compatible upgrade to dsPIC33F DSP without PCB changes (vs dsPIC33FJ128GP504-I/PT)
- Larger SRAM for data-intensive applications (vs PIC24HJ128GP502T-I/SO)
- 8 DMA channels for offloaded peripheral data movement (vs PIC24FJ64GA705T-I/PT)
- 40 MIPS at 3.3V for high-throughput control (vs PIC24FJ64GA705T-I/PT)
Design Notes
PIC24HJ128GP504T-I/PT operates from a single 3.3V rail (3.0V to 3.6V). Place a 10uF bulk tantalum or ceramic capacitor near VDD/AVDD pins, plus 0.1uF decoupling on each adjacent VDD-VSS pair. A ferrite bead + 10uF + 0.1uF LC network between VDD and AVDD reduces ADC noise coupling. Sequence power so AVDD rises with or before VDD for clean ADC startup; otherwise the first ADC samples may be corrupted.
Route the crystal traces (OSC1/OSC2) short and symmetric, with ground guard rings on both sides. Place the crystal within 5 mm of the MCU pins, and keep digital switching traces (PWM, SPI clock) at least 5 mm away to avoid injection of jitter. Decoupling capacitors must be placed as close as possible to the supply pins (VDD/VSS pairs). For ADC accuracy, use a separate analog ground pour tied to AVSS and joined at a single point to the digital ground at the MCU.
Avoid these frequent PIC24H design errors: (1) Forgetting to configure the FWDT (Watchdog Timer) post-reset - the MCU ships with WDT enabled and may reset unexpectedly. (2) Using internal FRC at 7.37 MHz without PLL when 40 MIPS is required - check PLL settings. (3) Assigning ADC inputs to digital-only pins - some PIC24H GPIO are not ADC-capable. (4) Pull-up MCLR with the wrong resistor value; use 4.7 kohm to 10 kohm to VDD. (5) Overwriting PPS registers without unlocking sequence - peripherals will not function until proper unlock write is performed.
For motor-control and power-conversion layouts, keep the PWM outputs grouped on the same GPIO port for matched propagation delay. Use a 4-layer PCB with a dedicated ground plane; route high-current motor phases on the bottom layer to minimize noise coupling to the MCU. Place the ICSP connector (PGED1/PGEC1/MCLR/VDD/VSS) on a 0.1-inch header for field updates. Provide a TEST pin header exposing UART1 TX/RX for printf debugging without disturbing firmware runtime.
The PIC24HJ128GP504T-I/PT outputs 40 MIPS at 80 MHz core clock, generating harmonics up to ~400 MHz. Series termination on PWM outputs (22-33 ohm) reduces ringing on long traces. For SPI buses above 10 MHz, add 33pF to 100pF capacitors at the receiving device for capacitive loading. Use 5V-tolerant GPIOs (not all are - check datasheet) when interfacing to 5V peripherals; otherwise use a level translator like the TXS0108E.
Compliance Information
RoHS-compliant and lead-free per Microchip product page and LCSC/DigiKey listings. The "I" (industrial) suffix denotes -40C to +85C; AEC-Q100 automotive grade is NOT qualified for this part. For automotive designs, see PIC24HJ128GP504-E/PT or dsPIC33F AEC-Q100 variants.