PIC24HJ128GP202-I/SO - 16-bit 40MIPS 128KB Flash MCU | Microchip
MPN: PIC24HJ128GP202-I/SO ✓ Active| Qty | Unit Price | Extended |
|---|---|---|
| 1 | $7.45 | $7.45 |
| 10 | $6.62 | $66.20 |
| 100 | $5.78 | $578.00 |
| 500 | $5.2 | $2,600.00 |
| 1,000 | $4.62 | $4,620.00 |
PIC24HJ128GP202-I/SO Overview
A 16-bit microcontroller (MCU) is a programmable embedded processor that fetches and executes 16-bit wide instructions, providing significantly more arithmetic throughput than 8-bit MCUs while preserving deterministic, low-latency interrupt behavior. Within the embedded hierarchy, MCUs sit below microprocessors and above digital signal processors in complexity; the PIC24H family specifically targets applications that demand both fast control loops and DSP-style computation. Because the PIC24HJ128GP202 is pin-compatible with the dsPIC33F family, designers can upgrade to a full DSP engine without board rework.
Key features of the PIC24HJ128GP202 include a 16-bit modified Harvard core with hardware multiply/divide, 128 KB self-programmable Flash with ECC, 8 KB SRAM, a 16-channel 12-bit ADC capable of 500 ksps, two UART modules, two SPI ports, two I2C ports, eight PWM outputs, a 16-bit timer/counter bank, and a peripheral pin-select (PPS) remap feature that allows digital peripherals to be assigned to alternate I/O pins. The device also includes a real-time clock and calendar (RTCC), five 16-bit timer/counters, and a 9-channel DMA controller that offloads memory-to-peripheral transfers from the CPU.
Architecturally, the PIC24HJ128GP202 combines a 16-bit datapath with a 24-bit instruction word, enabling single-cycle multiply and divide operations. Its DMA engine and dual-port SRAM eliminate many CPU stalls in high-throughput sensor and motor-control loops, while the PPS remap system decouples peripheral selection from PCB layout, allowing rapid port re-use when design constraints change. The wide operating voltage range (3.0V-3.6V) and -40C to +85C industrial temperature range make the device robust against supply and thermal variation in factory-floor environments.
Typical applications include industrial motor control (BLDC, PMSM, stepper), digital power conversion (AC/DC, DC/DC, PFC), multi-loop PID process controllers, sensor-fusion front-ends, and advanced sensor interfaces such as MEMS accelerometers and gyroscopes. The combination of DSP-class arithmetic, DMA, and 12-bit ADC sampling at 500 ksps enables designers to consolidate what previously required an external DSP into a single 28-pin MCU.
When designing with this part, plan the PPS remap configuration early to avoid I/O conflicts between digital peripherals. For motor-control firmware, reserve at least one DMA channel for ADC-to-PWM timing to keep current-loop latency deterministic. This page synthesizes distributor pricing, drop-in SOIC-28 alternatives, and practical design notes not found on a single distributor page.
Drop-in alternatives for PIC24HJ128GP202-I/SO — 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 PIC24HJ128GP202-I/SO (same form factor and footprint) — differing in Package, ADC, Timers, Program Memory (Flash), Core Architecture.
Quick Comparison Tool — Select alternative parts for side-by-side comparison:
PIC24HJ128GP202-I/SP
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP202-E/SO
✅ Drop-In✓ In Stock
$4.78 / Unit
View Datasheet →PIC24HJ128GP202-I/MM
✅ Drop-In📋 Reference alternative (not in catalog)
dsPIC33FJ128GP202-I/SO
✅ Drop-In📋 Reference alternative (not in catalog)
PIC24HJ128GP306A-I/SO
✅ Drop-In ⚠️ Specs Unverified📋 Reference alternative (not in catalog)
PIC24HJ128GP202-I/SO Maximum Ratings & Electrical Characteristics
| Family | PIC24H |
| Core Architecture | 16-bit Modified Harvard |
| CPU Speed | 40 MIPS |
| Operating Frequency | up to 40 MHz |
| Program Memory (Flash) | 128 KB (43K x 24) |
| SRAM | 8 KB |
| Operating Voltage | 3.0 V to 3.6 V |
| Operating Temperature | -40 C to +85 C (Industrial) |
| ADC | 10/12-bit, up to 16 channels, 500 ksps |
| Timers | 5 x 16-bit |
| PWM Channels | 8 |
| UART Modules | 2 |
| SPI Modules | 2 |
| I2C Modules | 2 |
| DMA Channels | 9 |
| Package | 28-pin SOIC (wide) |
| Mounting Type | Surface Mount |
| RoHS Status | Compliant |
| Pin-Compatible Family | dsPIC33F |
PIC24HJ128GP202-I/SO Pin Configuration
| Pin 1 | MCLR — Master clear / programming voltage (reset input) |
| Pin 2 | RA0/VREF+ — Digital I/O / ADC reference positive (PPS-mappable) |
| Pin 3 | RA1/VREF- — Digital I/O / ADC reference negative (PPS-mappable) |
| Pin 4 | RA2 — Digital I/O / analog input (PPS-mappable) |
| Pin 5 | RA3 — Digital I/O / analog input (PPS-mappable) |
| Pin 6 | RA4 — Digital I/O / analog input (PPS-mappable) |
| Pin 7 | RA5 — Digital I/O / analog input (PPS-mappable) |
| Pin 8 | RA6 — Digital I/O / analog input (PPS-mappable) |
| Pin 9 | OSC1/CLKI — Crystal oscillator input / external clock |
| Pin 10 | OSC2/CLKO — Crystal oscillator output |
| Pin 11 | RB0 — Digital I/O / programming clock (PPS-mappable) |
| Pin 12 | RB1 — Digital I/O / programming data (PPS-mappable) |
| Pin 13 | RB2 — Digital I/O (PPS-mappable) |
| Pin 14 | RB3 — Digital I/O (PPS-mappable) |
| Pin 15 | RB4 — Digital I/O (PPS-mappable) |
| Pin 16 | RB5 — Digital I/O (PPS-mappable) |
| Pin 17 | RB6 — Digital I/O (PPS-mappable) |
| Pin 18 | RB7 — Digital I/O (PPS-mappable) |
| Pin 19 | RC1 — Digital I/O (PPS-mappable) |
| Pin 20 | RC2 — Digital I/O (PPS-mappable) |
| Pin 21 | RC3 — Digital I/O (PPS-mappable) |
| Pin 22 | RC4 — Digital I/O (PPS-mappable) |
| Pin 23 | VDD — Positive supply (3.3V nominal) |
| Pin 24 | GND — Ground reference |
| Pin 25 | RC13 — Digital I/O (PPS-mappable) |
| Pin 26 | RC14 — Digital I/O (PPS-mappable) |
| Pin 27 | OSCI/RC15 — Secondary oscillator / digital I/O |
| Pin 28 | OSCO/RC12 — Secondary oscillator output / digital I/O |
Typical Applications
PIC24HJ128GP202-I/SO is suitable for 6 applications: BLDC / PMSM Motor Control, Digital Power Conversion (AC/DC, DC/DC, PFC), Multi-Loop PID Process Controller, Sensor-Fusion Front-End, Advanced Sensor Interface (MEMS, RTD, Thermocouple), Industrial Communication Gateway (Modbus, CAN, RS-485).
BLDC / PMSM Motor Control
The PIC24HJ128GP202 is widely deployed in BLDC and PMSM motor drives because its 40 MIPS core, 8 PWM channels with 9-channel DMA, and 12-bit ADC at 500 ksps cover the full FOC current loop in a single chip. In a typical 3-phase sensored or sensorless FOC implementation, the ADC samples phase currents on a PWM-edge trigger while the DMA channel copies ADC results directly to the PWM duty-cycle register, holding interrupt latency below 200 ns. The PIC24HJ128GP202's 8 KB SRAM allows 32-bit fixed-point sine/cosine lookup tables and PI-controller state to coexist without external memory. Engineers pair this MCU with gate drivers such as the MCP8025 or FD6288Q and a 3-phase MOSFET bridge; its 3.3V I/O tolerates 5V translation through the MCP2557/74LVC245 level shifters.
Recommended
Digital Power Conversion (AC/DC, DC/DC, PFC)
In digital AC/DC, DC/DC and PFC designs the PIC24HJ128GP202 runs CCM valley/peak-current-mode loops at 100-300 kHz switching frequencies, leveraging its DMA-accelerated ADC-to-PWM pipeline. The 128 KB Flash accommodates multiple firmware variants for constant-voltage, constant-current and PFC modes without external memory, while the 8 KB SRAM holds state-space compensator coefficients and ripple-correction histories. The PIC24HJ128GP202's 12-bit ADC with simultaneous sampling is critical for two-loop PFC where inductor current and bus voltage must be captured in the same switching cycle. Reference firmware from Microchip's dsPIC DSC library can be ported to the PIC24H family with minimal modification, and the device's industrial temperature grade ensures reliable operation near rectifier heatsinks.
Recommended
Multi-Loop PID Process Controller
Industrial process controllers running 4-8 PID loops benefit from the PIC24HJ128GP202's 40 MIPS throughput, 5 hardware timers and DMA-driven ADC sequencing. Each PID loop can run at 1 kHz without CPU saturation, leaving headroom for HMI, Modbus RTU and EEPROM parameter storage. The 128 KB Flash stores configuration profiles, PID tuning presets and fault logs, while the 8 KB SRAM holds scan buffers for multiple 4-20 mA loops simultaneously. The device's PPS remap feature lets designers route UART, SPI and I2C to spare pins without board rework, simplifying I/O assignment in tightly packaged DIN-rail controllers. Operating from 3.3V with ±10% tolerance and -40C to +85C, the PIC24HJ128GP202 suits unheated cabinet environments.
Recommended
Sensor-Fusion Front-End
Sensor-fusion front-ends for IMUs, e-compasses and gyroscope-stabilized platforms run Kalman filters and complementary filters that benefit from the PIC24HJ128GP202's 16-bit multiply/divide and 40 MIPS throughput. The MCU reads multiple SPI-attached MEMS sensors (accelerometer, gyro, magnetometer) at up to 1 kHz, fuses data via a quaternion-based attitude algorithm, and outputs via UART/SPI to a host processor. The PIC24HJ128GP202's 9-channel DMA engine handles simultaneous SPI reads while the CPU performs fusion math, eliminating bottlenecks. With 8 KB SRAM for rotation matrices and 128 KB Flash for lookup tables, the device is well suited to robotics, drone and camera-stabilization applications where compact BOM and deterministic timing matter.
Recommended
Advanced Sensor Interface (MEMS, RTD, Thermocouple)
Precision sensor interfaces for MEMS pressure sensors, RTDs and thermocouples use the PIC24HJ128GP202's 12-bit ADC at 500 ksps to oversample and average low-level analog signals, achieving effective resolution beyond 14 bits. The MCU's PPS remap allows simultaneous connection of multiple SPI/analog sensors on the same PCB without layout rework. Its DMA engine sequences ADC scans across temperature, pressure and flow channels at deterministic intervals, freeing the CPU for linearization math (Steinhart-Hart, NIST thermocouple tables). The PIC24HJ128GP202's 3.0V-3.6V supply range is compatible with typical sensor bridges, and the -40C to +85C industrial range covers outdoor HVAC and process instrumentation deployments.
Recommended
Industrial Communication Gateway (Modbus, CAN, RS-485)
Industrial communication gateways that bridge Modbus RTU, CAN and RS-485 networks use the PIC24HJ128GP202's two UART modules and PPS-based serial remap to handle multiple buses concurrently. With 40 MIPS throughput the MCU can poll 50+ Modbus registers at 100 ms intervals while forwarding to a CAN bus at 500 kbps, all without DMA starvation. The 128 KB Flash holds multiple protocol stacks (Modbus, CANopen, J1939), and 8 KB SRAM stores incoming/outgoing buffers for store-and-forward gateway behavior. The device's -40C to +85C range and 3.3V operation suit unheated industrial cabinets, while its PPS remap simplifies PCB layout when changing bus assignments late in design.
Recommended
Recommended Products Summary
Engineering reference data for PIC24HJ128GP202-I/SO — comparison, design guidance, and compliance information.
Selection Guide
Comparison with Alternatives
| Parameter | This Product | PIC24HJ128GP202-I/SP | PIC24HJ128GP202-E/SO | PIC24HJ128GP202-I/MM | dsPIC33FJ128GP202-I/SO | PIC24HJ128GP306A-I/SO |
|---|---|---|---|---|---|---|
| Package | 28-pin SOIC (wide) | 28-pin SPDIP | 28-pin SOIC (wide) | 28-pin QFN (with pad) | 28-pin SOIC (wide) | 28-pin SOIC (wide) |
| Brand | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology | Microchip Technology |
| Core | PIC24H (16-bit, 40 MIPS) | PIC24H (16-bit, 40 MIPS) | PIC24H (16-bit, 40 MIPS) | PIC24H (16-bit, 40 MIPS) | dsPIC33F (DSP engine + 40 MIPS) | PIC24H (16-bit, 40 MIPS) |
| 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 |
| ADC | 10/12-bit, 16 ch, 500 ksps | 10/12-bit, 16 ch, 500 ksps | 10/12-bit, 16 ch, 500 ksps | 10/12-bit, 16 ch, 500 ksps | 10/12-bit, 16 ch, 500 ksps | 10/12-bit, 16 ch, 500 ksps |
| PWM Channels | 8 | 8 | 8 | 8 | 8 | 8 |
| DMA Channels | 9 | 9 | 9 | 9 | 9 | 9 |
| DSP Engine | No | No | No | No | Yes (single-cycle MAC) | No |
| Operating Temperature | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +125C (Extended) | -40C to +85C (Industrial) | -40C to +85C (Industrial) | -40C to +85C (Industrial) |
Key Differentiators
- Pin-compatible DSP upgrade path via dsPIC33F family (vs dsPIC33FJ128GP202-I/SO)
- Industrial-grade temperature with extended variant available (vs PIC24HJ128GP202-E/SO)
- 9-channel DMA engine for peripheral offload (vs PIC24HJ128GP306A-I/SO)
- Peripheral Pin Select (PPS) remap capability (vs PIC24HJ128GP202-I/SP)
Design Notes
Power the PIC24HJ128GP202 from a low-noise 3.3V LDO such as the MCP1700 with at least 100 mA headroom; during ADC sampling bursts the core plus peripherals can draw 50-80 mA. Place a 10uF bulk cap plus 100 nF decoupling within 5 mm of each VDD/VSS pair. A ferrite bead on the analog AVDD rail improves ADC noise floor by 0.5-1 LSB in 12-bit mode. Avoid switching DC/DC converters near the analog pins unless filter-pi networks are used.
Route the analog ADC inputs over a quiet ground plane, away from PWM and switching traces. Keep oscillator traces short and surrounded by ground on both sides. Place a 4-layer PCB with continuous ground pour beneath the MCU to minimize EMI; the PPS remap feature allows flexible pin assignment but requires firmware coordination before PCB layout freeze. Add a 10 kohm pull-up on MCLR and a 1 nF cap to ground for clean reset behavior.
Do not exceed 40 MHz on the primary oscillator; firmware over-clocking voids electrical specs and risks Flash read errors. PPS lock-out registers must be configured before first peripheral use, otherwise the default pins stay assigned and peripherals appear unresponsive. The ADC requires a minimum 2.5V reference for 12-bit mode; use the internal bandgap only if accuracy is non-critical. DMA descriptors must be re-armed before each transfer completes - omitting the re-arm causes one-shot DMA behavior.
Estimated: at maximum 40 MHz operation with all peripherals active, core current reaches ~70 mA which equates to ~230 mW at 3.3V. The 28-pin SOIC thermal resistance theta_JA is approximately 80 C/W, yielding a junction-to-ambient rise of ~18 C above ambient - well within the industrial +85 C limit. No external heatsink is required for normal operation, but airflow must be considered in sealed enclosures.
Compliance Information
RoHS and lead-free per Microchip product page. AEC-Q100 not applicable since this is a general-purpose industrial MCU; AEC-Q100 variants exist in Microchip's automotive-grade catalog under different ordering codes.