main
Ray Publish 0.1.2 c2e65a3

PIC24HJ128GP502-I

Microchip Tech · Microcontroller Units (MCUs/MPUs/SOCs) · SOIC-28-300mil

PIC24HJ128GP502-I from Microchip Tech, in a SOIC-28-300mil. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model). Symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 MCLR input Master Clear (Reset) input, active-low Reset to the device; 5V tolerant, must always be connected and also used for programming/debugging.
2 AN0/VREF+/CN2/RA0 bidirectional Analog input AN0, positive ADC voltage reference input VREF+, change notification CN2 and PORTA I/O RA0.
3 AN1/VREF-/CN3/RA1 bidirectional Analog input AN1, negative ADC voltage reference input VREF-, change notification CN3 and PORTA I/O RA1.
4 PGED1/AN2/C2IN-/RP0/CN4/RB0 bidirectional ICSP data I/O for channel 1, analog input AN2, comparator 2 negative input, remappable pin RP0, change notification CN4 and PORTB I/O RB0.
5 PGEC1/AN3/C2IN+/RP1/CN5/RB1 bidirectional ICSP clock for channel 1, analog input AN3, comparator 2 positive input, remappable pin RP1, change notification CN5 and PORTB I/O RB1.
6 AN4/C1IN-/RP2/CN6/RB2 bidirectional Analog input AN4, comparator 1 negative input, remappable pin RP2, change notification CN6 and PORTB I/O RB2.
7 AN5/C1IN+/RP3/CN7/RB3 bidirectional Analog input AN5, comparator 1 positive input, remappable pin RP3, change notification CN7 and PORTB I/O RB3.
8 VSS power_in Ground reference for logic and I/O pins; must always be connected.
9 OSC1/CLKI/CN30/RA2 bidirectional Oscillator crystal input or external clock source input CLKI, change notification CN30 and PORTA I/O RA2.
10 OSC2/CLKO/CN29/PMA0/RA3 bidirectional Oscillator crystal output or CLKO in RC and EC modes, change notification CN29, PMP address bit 0 and PORTA I/O RA3.
11 SOSCI/RP4/CN1/PMBE/RB4 bidirectional 32.768 kHz secondary oscillator crystal input, remappable pin RP4, change notification CN1, PMP byte enable strobe and PORTB I/O RB4.
12 SOSCO/T1CK/CN0/PMA1/RA4 bidirectional 32.768 kHz secondary oscillator crystal output, Timer1 external clock input T1CK, change notification CN0, PMP address bit 1 and PORTA I/O RA4.
13 VDD power_in Positive supply for peripheral logic and I/O pins (3.0V to 3.6V operating); must always be connected.
14 PGED3/ASDA1/RP5/CN27/PMD7/RB5 bidirectional ICSP data I/O for channel 3, alternate I2C1 data ASDA1, remappable pin RP5, change notification CN27, PMP data bit 7 and PORTB I/O RB5; 5V tolerant.
15 PGEC3/ASCL1/RP6/CN24/PMD6/RB6 bidirectional ICSP clock for channel 3, alternate I2C1 clock ASCL1, remappable pin RP6, change notification CN24, PMP data bit 6 and PORTB I/O RB6; 5V tolerant.
16 INT0/RP7/CN23/PMD5/RB7 bidirectional External interrupt 0, remappable pin RP7, change notification CN23, PMP data bit 5 and PORTB I/O RB7; 5V tolerant.
17 TCK/SCL1/RP8/CN22/PMD4/RB8 bidirectional JTAG test clock input, I2C1 clock SCL1, remappable pin RP8, change notification CN22, PMP data bit 4 and PORTB I/O RB8; 5V tolerant.
18 TDO/SDA1/RP9/CN21/PMD3/RB9 bidirectional JTAG test data output, I2C1 data SDA1, remappable pin RP9, change notification CN21, PMP data bit 3 and PORTB I/O RB9; 5V tolerant.
19 VSS power_in Ground reference for logic and I/O pins; must always be connected.
20 VCAP passive CPU logic filter capacitor connection; requires a low-ESR (<5 Ohm) 4.7 uF to 10 uF capacitor to ground and must not be connected to VDD.
21 PGED2/TDI/RP10/CN16/PMD2/RB10 bidirectional ICSP data I/O for channel 2, JTAG test data input, remappable pin RP10, change notification CN16, PMP data bit 2 and PORTB I/O RB10; 5V tolerant.
22 PGEC2/TMS/RP11/CN15/PMD1/RB11 bidirectional ICSP clock for channel 2, JTAG test mode select, remappable pin RP11, change notification CN15, PMP data bit 1 and PORTB I/O RB11; 5V tolerant.
23 AN12/RP12/CN14/PMD0/RB12 bidirectional Analog input AN12, remappable pin RP12, change notification CN14, PMP data bit 0 and PORTB I/O RB12.
24 AN11/RP13/CN13/PMRD/RB13 bidirectional Analog input AN11, remappable pin RP13, change notification CN13, PMP read strobe and PORTB I/O RB13.
25 AN10/RTCC/RP14/CN12/PMWR/RB14 bidirectional Analog input AN10, real-time clock alarm output RTCC, remappable pin RP14, change notification CN12, PMP write strobe and PORTB I/O RB14.
26 AN9/RP15/CN11/PMCS1/RB15 bidirectional Analog input AN9, remappable pin RP15, change notification CN11, PMP chip select 1 strobe and PORTB I/O RB15.
27 AVSS power_in Ground reference for analog modules; must always be connected regardless of ADC use.
28 AVDD power_in Positive supply for analog modules; must be connected at all times, regardless of ADC use.

Key specifications

Parameter Value
Manufacturer Microchip Tech
Package SOIC-28-300mil
Category Single Chip Microcomputer/Microcontroller
Pins 28

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
Supply voltage VDD range VDD 3 3.6 V Temp -40°C to +85°C (Table 28-1) 296
Max MIPS 40 MIPS VDD 3.0-3.6V, -40°C to +85°C (Table 28-1) 296
Operating Junction Temperature Range (Industrial) TJ -40 125 °C Industrial temperature devices (Table 28-2) 296
Operating Ambient Temperature Range (Industrial) TA -40 85 °C Industrial temperature devices (Table 28-2) 296
Package Thermal Resistance, 28-pin SOIC θJA 50 °C/W Note 1: junction to ambient, from package simulations (Table 28-3) 296

CAD (KiCad official)

  • Symbol: PIC24HJ128GP502-I
  • Footprint: Package_SO:SOIC-28W_7.5x17.9mm_P1.27mm
  • 3D model: SOIC-28-300mil (KiCad packages3D, STEP)
  • 3D model files: pic24hj128gp502-i-so-etched.step / pic24hj128gp502-i-so-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); pic24hj128gp502-i-so.step / pic24hj128gp502-i-so.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Microchip Tech datasheet (390 pp, sha256 9df311052904542e, retrieved 2026-11-17, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-sonnet-5-5 (text+vision), consensus claude-opus-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF