PIC24HJ128GP310-I/PT - 16-bit 40MIPS 128KB Flash MCU | Microchip
MPN: PIC24HJ128GP310-I/PT ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $9.72 | $9.72 |
| 10 | $8.65 | $86.50 |
| 100 | $7.45 | $745.00 |
| 500 | $6.62 | $3,310.00 |
| 1,000 | $5.84 | $5,840.00 |
PIC24HJ128GP310-I/PT Overview
Drop-in alternatives for PIC24HJ128GP310-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 PIC24HJ128GP310-I/PT (same form factor and footprint) — differing in Operating Temperature, ADC, Package, Core Architecture, DMA Channels.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ128GP310A-I/PT
✅ Drop-In✓ In Stock
$5.62 / Unit
View Datasheet →PIC24HJ128GP310T-I/PT
✅ Drop-In✓ In Stock
$5.85 / Unit
View Datasheet →PIC24HJ128GP510-I/PT
✅ Drop-In✓ In Stock
$5.05 / Unit
View Datasheet →PIC24HJ128GP310A-E/PT
✅ Drop-In✓ In Stock
$6.5 / Unit
View Datasheet →PIC24HJ128GP210-I/PT
✅ Drop-In✓ In Stock
$5.42 / Unit
View Datasheet →PIC24FJ256GU406-I/PT
✅ Drop-In✓ In Stock
$2.69 / Unit
View Datasheet →PIC24HJ128GP310-I/PT Maximum Ratings & Electrical Characteristics
| Core Architecture | PIC24H 16-bit modified Harvard |
| CPU Performance | 40 MIPS |
| Program Memory (Flash) | 128 KB (43K x 24) |
| SRAM | 8 KB |
| Operating Voltage (VDD) | 3.0 V to 3.6 V |
| I/O Pins | 85 |
| Package | 100-pin TQFP (12x12 mm) |
| Operating Temperature | -40C to +85C (industrial) |
| UART Modules | 2 |
| SPI Modules | 2 |
| I2C Modules | 1 |
| Output Compare / PWM Channels | 8 |
| Quadrature Encoder Interface | Yes |
| ADC | 16-channel 10/12-bit, 500 ksps |
| Internal Oscillator | 40 MHz RC with PLL |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Lead-Free | Yes |
PIC24HJ128GP310-I/PT Pin Configuration
| Pin 1 | SDA/RP15 — I2C data signal / remappable peripheral pin 15 |
| Pin 2 | RP14 — Remappable peripheral input 14 |
| Pin 3 | RP13 — Remappable peripheral input 13 |
| Pin 4 | RP12 — Remappable peripheral input 12 |
| Pin 5 | RP11 — Remappable peripheral input 11 |
| Pin 6 | RP10 — Remappable peripheral input 10 |
| Pin 7 | RP9 — Remappable peripheral input 9 |
| Pin 8 | RP8 — Remappable peripheral input 8 |
| Pin 9 | RP7 — Remappable peripheral input 7 |
| Pin 10 | RP6 — Remappable peripheral input 6 |
| Pin 11 | VDD — Positive supply (3.0-3.6 V) |
| Pin 12 | VSS — Ground reference |
| Pin 13 | OSC1 — External oscillator / crystal input |
| Pin 14 | OSC2 — External oscillator / crystal output |
| Pin 15 | MCLR — Master clear reset (active-low) |
| Pin 16 | PGED2 — ICSP data line pair 2 |
| Pin 17 | PGEC2 — ICSP clock line pair 2 |
| Pin 18 | PGED1 — ICSP data line pair 1 |
| Pin 19 | PGEC1 — ICSP clock line pair 1 |
| Pin 20 | AVSS — Analog ground |
| Pin 21 | AVDD — Analog positive supply (3.0-3.6 V) |
| Pin 22 | AN0 — Analog input 0 |
| Pin 23 | AN1 — Analog input 1 |
| Pin 24 | AN2 — Analog input 2 |
| Pin 25 | AN3 — Analog input 3 |
| Pin 26 | AN4 — Analog input 4 |
| Pin 27 | AN5 — Analog input 5 |
| Pin 28 | AN6 — Analog input 6 |
| Pin 29 | AN7 — Analog input 7 |
| Pin 30 | AN8 — Analog input 8 |
| Pin 31 | AN9 — Analog input 9 |
| Pin 32 | AN10 — Analog input 10 |
| Pin 33 | AN11 — Analog input 11 |
| Pin 34 | AN12 — Analog input 12 |
| Pin 35 | AN13 — Analog input 13 |
| Pin 36 | AN14 — Analog input 14 |
| Pin 37 | AN15 — Analog input 15 |
| Pin 38 | VDD — Positive supply (3.0-3.6 V) |
| Pin 39 | VSS — Ground reference |
| Pin 40 | RP5 — Remappable peripheral input 5 |
| Pin 41 | RP4 — Remappable peripheral input 4 |
| Pin 42 | RP3 — Remappable peripheral input 3 |
| Pin 43 | RP2 — Remappable peripheral input 2 |
| Pin 44 | RP1 — Remappable peripheral input 1 |
| Pin 45 | RP0 — Remappable peripheral input 0 |
| Pin 46 | VDD — Positive supply (3.0-3.6 V) |
| Pin 47 | VSS — Ground reference |
| Pin 48 | U1TX — UART1 transmit |
| Pin 49 | U1RX — UART1 receive |
| Pin 50 | U2TX — UART2 transmit |
| Pin 51 | U2RX — UART2 receive |
| Pin 52 | SCL — I2C clock |
| Pin 53 | SDA — I2C data |
| Pin 54 | SDO1 — SPI1 data out |
| Pin 55 | SDI1 — SPI1 data in |
| Pin 56 | SCK1 — SPI1 clock |
| Pin 57 | SS1 — SPI1 slave select |
| Pin 58 | SDO2 — SPI2 data out |
| Pin 59 | SDI2 — SPI2 data in |
| Pin 60 | SCK2 — SPI2 clock |
| Pin 61 | SS2 — SPI2 slave select |
| Pin 62 | OC1 — Output compare 1 / PWM channel |
| Pin 63 | OC2 — Output compare 2 / PWM channel |
| Pin 64 | OC3 — Output compare 3 / PWM channel |
| Pin 65 | OC4 — Output compare 4 / PWM channel |
| Pin 66 | OC5 — Output compare 5 / PWM channel |
| Pin 67 | OC6 — Output compare 6 / PWM channel |
| Pin 68 | OC7 — Output compare 7 / PWM channel |
| Pin 69 | OC8 — Output compare 8 / PWM channel |
| Pin 70 | QEA — Quadrature encoder A input |
| Pin 71 | QEB — Quadrature encoder B input |
| Pin 72 | INDX — Quadrature encoder index pulse |
| Pin 73 | IC1 — Input capture 1 |
| Pin 74 | IC2 — Input capture 2 |
| Pin 75 | IC3 — Input capture 3 |
| Pin 76 | T1CK — Timer1 clock input |
| Pin 77 | T2CK — Timer2 clock input |
| Pin 78 | T3CK — Timer3 clock input |
| Pin 79 | RTCC — Real-time clock calendar output |
| Pin 80 | SOSCO — Secondary oscillator output (32 kHz) |
| Pin 81 | SOSCI — Secondary oscillator input (32 kHz) |
| Pin 82 | VDD — Positive supply (3.0-3.6 V) |
| Pin 83 | VSS — Ground reference |
| Pin 84 | RA0 — PORTA bit 0 |
| Pin 85 | RA1 — PORTA bit 1 |
| Pin 86 | RA2 — PORTA bit 2 |
| Pin 87 | RA3 — PORTA bit 3 |
| Pin 88 | RA4 — PORTA bit 4 |
| Pin 89 | RA5 — PORTA bit 5 |
| Pin 90 | RA6 — PORTA bit 6 |
| Pin 91 | RA7 — PORTA bit 7 |
| Pin 92 | RA8 — PORTA bit 8 |
| Pin 93 | RA9 — PORTA bit 9 |
| Pin 94 | RA10 — PORTA bit 10 |
| Pin 95 | RB0 — PORTB bit 0 |
| Pin 96 | RB1 — PORTB bit 1 |
| Pin 97 | RB2 — PORTB bit 2 |
| Pin 98 | RB3 — PORTB bit 3 |
| Pin 99 | RB4 — PORTB bit 4 |
| Pin 100 | RB5 — PORTB bit 5 |
Typical Applications
PIC24HJ128GP310-I/PT is suitable for 7 applications: BLDC and PMSM Motor Control, Industrial Sensor Hub, Digital Power Conversion, Building Automation Controller, Medical Instrumentation Front-End, Automotive Body and Comfort Modules, Portable Data Logger.
BLDC and PMSM Motor Control
The PIC24HJ128GP310-I/PT is well matched to brushless DC and permanent magnet synchronous motor drives because it provides eight output compare/PWM channels and a dedicated quadrature encoder interface in a single 40 MIPS core. Its 16-channel 12-bit ADC at 500 ksps comfortably samples three-phase current at 20 kHz PWM with margin for back-EMF and DC-bus sensing. Placing this MCU between a 3.3 V LDO and the gate-driver stage delivers deterministic commutation timing, while its 8 KB SRAM holds field-oriented control state variables and speed-loop filters. The PIC24HJ128GP310 trades off against higher-end dsPIC33 parts only if the application truly needs DSP-class single-cycle MAC throughput.
Recommended
Industrial Sensor Hub
The PIC24HJ128GP310-I/PT serves as a multi-protocol sensor aggregator where its two UART, two SPI, and one I2C peripheral set handle simultaneous connections to RS-485 sensors, SPI ADCs, and I2C environmental sensors without external multiplexer ICs. The 128 KB Flash accommodates small protocol stacks such as Modbus RTU or proprietary fieldbus frames, while the 8 KB SRAM buffers sensor bursts before forwarding to a gateway. Operating from 3.0-3.6 V lets the part share a regulated rail with modern MEMS sensors, simplifying power design in 4-20 mA loop-powered or 24 V industrial backplanes.
Recommended
Digital Power Conversion
The PIC24HJ128GP310-I/PT fits digital switch-mode power supply loops where the 40 MIPS core, 8-channel PWM, and high-speed 12-bit ADC enable voltage-mode and peak-current-mode control at switching frequencies up to several hundred kHz. Its 128 KB Flash supports digital compensator coefficients, soft-start profiles, and telemetry logging. Compared with a discrete analog controller, this MCU adds adaptive control and remote monitoring via UART/SPI without the BOM cost of a dedicated digital signal controller. The 100-pin TQFP leaves ample I/O for housekeeping, fault flags, and PMBus-style telemetry outputs.
Recommended
Building Automation Controller
The PIC24HJ128GP310-I/PT suits HVAC controllers, lighting ballasts, and access-control panels because its 85 I/O pins interface directly with relay drivers, triac opto-couplers, and keypad matrices without external I/O expanders. The 128 KB Flash and 8 KB SRAM allow concurrent Modbus, BACnet, or KNX-style application layers and the 16-channel ADC monitors thermistors, photocells, and current loops on a single chip. The industrial -40C to +85C temperature rating covers rooftop and plant-floor environments without additional thermal conditioning.
Recommended
Medical Instrumentation Front-End
The PIC24HJ128GP310-I/PT acts as the acquisition and pre-processing MCU in patient monitors, infusion pumps, and bench-top analyzers thanks to its 12-bit ADC, 85 I/O, and deterministic 40 MIPS execution core that supports fixed-cycle sampling. The 128 KB Flash accommodates FDA-style firmware revision logs and calibration tables, while the 8 KB SRAM buffers waveform capture between display updates. Operating at 3.3 V from a regulated medical-isolation supply keeps the device inside its VDD range and compatible with low-voltage analog front ends.
Recommended
Automotive Body and Comfort Modules
The PIC24HJ128GP310-I/PT covers body controllers, seat and mirror modules, and HVAC blend-door actuators where CAN connectivity is optional and PWM/ADC-heavy control is the primary workload. Its 8 PWM channels drive multiple small motors and LEDs, while the quadrature encoder interface reads rotary knobs without an external counter IC. For under-hood or AEC-Q100-qualified deployments, the PIC24HJ128GP510-I/PT sibling adds the required CAN peripheral with the same pinout, enabling direct upgrade on the same PCB footprint.
Recommended
Portable Data Logger
The PIC24HJ128GP310-I/PT powers handheld battery-powered data loggers because its low-power idle/sleep modes and 32 kHz secondary oscillator extend battery life between measurement bursts. The 128 KB Flash stores compressed sample buffers and configuration profiles, while 8 KB SRAM accommodates circular capture buffers for vibration, temperature, or GPS-tagged telemetry. The two UARTs allow concurrent GPS and Bluetooth modem links, and the 16-channel ADC scans multiple analog sensors at programmable rates with hardware-triggered capture.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ128GP310-I/PT — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ128GP310A-I/PT | PIC24HJ128GP510-I/PT | PIC24HJ128GP210-I/PT | PIC24HJ128GP310A-E/PT | PIC24HJ128GP310T-I/PT |
|---|---|---|---|---|---|---|
| Package | TQFP-100 (12x12 mm) | TQFP-100 (12x12 mm) - same | TQFP-100 (12x12 mm) - same | TQFP-100 (12x12 mm) - same | TQFP-100 (12x12 mm) - same | TQFP-100 (12x12 mm) - same |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Program Memory (Flash) | 128 KB | 128 KB | 128 KB | 64 KB | 128 KB | 128 KB |
| SRAM | 8 KB | 8 KB | 8 KB | 4 KB | 8 KB | 8 KB |
| CPU Performance | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS | 40 MIPS |
| CAN Peripheral | No | No | Yes (CAN 2.0B) | No | No | No |
| Temperature Grade | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Industrial -40C to +85C | Extended -40C to +125C | Industrial -40C to +85C |
| I/O Pins | 85 | 85 | 85 | 85 | 85 | 85 |
Key Differentiators
- Dual PGECx/PGEDx programming pairs (vs PIC24HJ128GP210-I/PT)
- Larger SRAM vs cost-down sibling (vs PIC24HJ128GP210-I/PT)
- No CAN peripheral (cost-optimized) (vs PIC24HJ128GP510-I/PT)
- Industrial temperature grade (vs PIC24HJ128GP310A-E/PT)
Design Notes
The PIC24HJ128GP310-I/PT requires each VDD/VSS pair to be connected and decoupled with 100 nF ceramic capacitors placed within 5 mm of the package pins, plus a single bulk 10 uF tantalum or ceramic capacitor on each VDD rail. The AVDD/AVSS analog supply pins must be filtered with a ferrite bead or 10 ohm resistor and decoupled separately from the digital supply to keep ADC sampling noise below 1 LSB. According to the Microchip PIC24HJ128GP310 datasheet, all VDD pins must be powered even if individual I/O banks appear unused. Operating the device with floating VDD pins causes Flash read errors and unexpected ADC reference drift.
Route the PGECx/PGEDx pairs (pins 16-19) as matched-length differential traces with ground keep-out on both sides to avoid ICSP programming failures in production. Per the PIC24HJ128GP310 datasheet programming specification, if PGEC2 is used for ICSPCLK then PGED2 must be paired with it on the same physical connector; mismatched pair selection is a common field-return cause. Leave a 6-pin ICSP header footprint on every board even if programming is done at the factory, because field firmware updates are common in industrial deployments. Keep PGECx/PGEDx traces at least 5 mm away from PWM switching nodes to prevent programming glitches from capacitive coupling.
When using the 16-channel 12-bit ADC at 500 ksps, ensure analog input traces are routed over a continuous ground plane and kept short to minimize track capacitance. Add a 10 nF ceramic capacitor directly at each active analog input pin to filter RF pickup; surface-mount capacitors placed within 3 mm of the pin deliver a -3 dB corner near 5 MHz. Use the AVSS ground reference for the ADC return current rather than the digital VSS to avoid ground-bounce noise coupling into conversion results.
Do not use the PIC24HJ128GP310-I/PT for CAN bus applications without migrating to the PIC24HJ128GP510-I/PT sibling; the 'GP310 has no CAN peripheral and software bit-banging CAN is unreliable at standard bus speeds. Also avoid using the 32.768 kHz secondary oscillator as the system clock source - it is intended only for RTC and low-power wake-up, and code timing will be off by a factor of ~1200 if the PLL is bypassed by mistake. Estimated: at 40 MIPS core speed and 3.3 V VDD, the active current draw is approximately 30 mA, while sleep mode drops below 20 uA - design the power supply for at least 50 mA peak with adequate bulk capacitance to handle PWM-driven switching transients.
Compliance Information
RoHS-compliant per Microchip product page. Industrial temperature grade only; not AEC-Q100 qualified - choose AEC-Q100-qualified variants for automotive deployments. Halogen-free status not stated in verified web data.