main
Ray Publish 0.1.0 28cdddc
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
{
  "slug": "rn2025",
  "version": "0.1.0",
  "type": "component",
  "description": "RENERGY Energy Metering ICs, LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "adc-dac-data conversion",
    "rn2025",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "rn2025.kicad_sym",
    "rn2025.kicad_mod",
    "rn2025.glb",
    "rn2025.step",
    "rn2025.lbr",
    "docs/hero.png",
    "docs/rn2025-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "rn2025-hero.glb",
    "rn2025-hero.overlay.json"
  ],
  "component": {
    "mpn": "RN2025",
    "manufacturer": "RENERGY",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "ADC/DAC/Data Conversion",
    "subcategory": "Energy Metering ICs",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/0573edd7c3d9a0de03fb8a5a613b0be3.pdf",
    "parts": {
      "symbol": "rn2025.kicad_sym",
      "footprint": "rn2025.kicad_mod",
      "model_3d": "rn2025-hero.glb",
      "model_3d_plain": "rn2025.glb",
      "model_3d_step": "rn2025-etched.step",
      "model_3d_step_plain": "rn2025.step",
      "lbr": "rn2025.lbr"
    },
    "distributor_links": {
      "lcsc": "C2998736"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T14:34:23Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "AVCC1",
        "type": "power_in",
        "description": "Metering ADC supply input; isolate from AVCC2 with a 10 Ω resistor and decouple with 1 µF in parallel with 0.1 µF."
      },
      {
        "number": "2",
        "name": "IBN",
        "type": "input",
        "description": "Current channel B negative fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "3",
        "name": "IBP",
        "type": "input",
        "description": "Current channel B positive fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "4",
        "name": "IAN",
        "type": "input",
        "description": "Current channel A negative fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "5",
        "name": "IAP",
        "type": "input",
        "description": "Current channel A positive fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "6",
        "name": "AVSS1",
        "type": "power_in",
        "description": "Analog ground of the internal metering ADC."
      },
      {
        "number": "7",
        "name": "AVSS2",
        "type": "power_in",
        "description": "Analog ground of the self-check (EDT) circuit."
      },
      {
        "number": "8",
        "name": "UASP_400",
        "type": "output",
        "description": "Outputs a 400 µA current-source square wave for phase-A voltage fault detection; if self-check is unused it may float on RN2025A64/B64, but on RN2025C64 it must follow the self-check wiring and WriteUEdtVBCtlReg must be called."
      },
      {
        "number": "9",
        "name": "RP",
        "type": "output",
        "description": "Typical output voltage 1.25 V; connect an external 6.2 kΩ resistor to ground, of the same resistor type as the voltage-divider resistors, to set the voltage self-check reference current."
      },
      {
        "number": "10",
        "name": "P60/SDAIN8/CF0/RTC_OUT",
        "type": "bidirectional",
        "description": "GPIO P60 multiplexed with GPADC input SDAIN8 (for DC test), CF0 pulse output and RTC_OUT."
      },
      {
        "number": "11",
        "name": "ISP",
        "type": "output",
        "description": "Outputs a 2 V square wave for the P side of the current-channel self-check circuit; connect a low-tempco resistor of about 49.9 Ω, and float it if self-check is unused."
      },
      {
        "number": "12",
        "name": "AVCC2",
        "type": "power_in",
        "description": "Self-check circuit supply; decouple with 220 µF in parallel with 10 µF plus 0.1 µF and provide at least 50 mA of supply capability."
      },
      {
        "number": "13",
        "name": "P44/SDAIN0/TX4/INT6",
        "type": "bidirectional",
        "description": "GPIO P44 multiplexed with GPADC input SDAIN0, UART4 TX (cannot be configured as IR-modulated output) and INT6."
      },
      {
        "number": "14",
        "name": "P45/SDAIN1/RX4/INT7",
        "type": "bidirectional",
        "description": "GPIO P45 multiplexed with GPADC input SDAIN1, UART4 RX and INT7."
      },
      {
        "number": "15",
        "name": "P46/SDAIN2/TX5/KEY6",
        "type": "bidirectional",
        "description": "GPIO P46 multiplexed with GPADC input SDAIN2, UART5 TX (cannot be configured as IR-modulated output) and KEY6."
      },
      {
        "number": "16",
        "name": "P47/SDAIN3/RX5/KEY7/CF4/CF0/RTCOUT",
        "type": "bidirectional",
        "description": "GPIO P47 multiplexed with GPADC input SDAIN3, UART5 RX, KEY7, CF4, CF0 and RTCOUT."
      },
      {
        "number": "17",
        "name": "DVCC",
        "type": "power_in",
        "description": "Digital supply input; decouple with 1 µF plus 0.1 µF and isolate from AVCC2 with a 10 Ω resistor."
      },
      {
        "number": "18",
        "name": "DGND",
        "type": "power_in",
        "description": "Digital ground of the internal LDO18 domain."
      },
      {
        "number": "19",
        "name": "LDO18",
        "type": "power_out",
        "description": "Internal 1.8 V LDO output that powers the 1.8 V digital domain; decouple with 1 µF plus 0.1 µF."
      },
      {
        "number": "20",
        "name": "RSTN",
        "type": "input",
        "description": "Active-low external reset with an internal pull-up of about 50 kΩ and CMOS input level; a low level longer than 1 ms causes reset."
      },
      {
        "number": "21",
        "name": "P00/CMP0/INT0/CF2",
        "type": "bidirectional",
        "description": "GPIO P00 multiplexed with comparator CMP0 input, INT0 and CF2; the default configuration gives the comparator an internal ~600 kΩ pull-down to ground."
      },
      {
        "number": "22",
        "name": "P02/CF0/RTCOUT/SDAIN5",
        "type": "bidirectional",
        "description": "GPIO P02 with 6 mA drive, multiplexed with CF0 pulse output, RTCOUT (RTC 1 Hz output) and GPADC input SDAIN5."
      },
      {
        "number": "23",
        "name": "P03/CF1/TCI/TC0_P[0]/RTC_OUT/RTC_1s",
        "type": "bidirectional",
        "description": "GPIO P03 with 6 mA drive, multiplexed with CF1 pulse output, timer 0 input/output, RTC_OUT and RTC_1S."
      },
      {
        "number": "24",
        "name": "P06/INT1/SCSN0_1_2",
        "type": "bidirectional",
        "description": "GPIO P06 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with INT1 and the SPI0/1/2 chip-select (slave mode only)."
      },
      {
        "number": "25",
        "name": "P07/KEY1/SCLK0_1_2",
        "type": "bidirectional",
        "description": "GPIO P07 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with KEY1 and the SPI0/1/2 clock."
      },
      {
        "number": "26",
        "name": "P10/INT2/MOSI0_1/SDI2",
        "type": "bidirectional",
        "description": "GPIO P10 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with INT2 and the SPI MOSI/SDI."
      },
      {
        "number": "27",
        "name": "P11/KEY2/MISO0_1/SDO2",
        "type": "bidirectional",
        "description": "GPIO P11 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with KEY2 and the SPI MISO/SDO."
      },
      {
        "number": "28",
        "name": "P12/SCSN0_1_2/TCI/TC0_P[0]",
        "type": "bidirectional",
        "description": "GPIO P12 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI0/1/2 chip-select, timer input and timer 0 output."
      },
      {
        "number": "29",
        "name": "P13/SCLK0_1_2/TCI/TC0_N[0]",
        "type": "bidirectional",
        "description": "GPIO P13 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI0/1/2 clock, timer input and timer 0 output."
      },
      {
        "number": "30",
        "name": "P14/MOSI0_1/SDI2/TCI/TC0_P[1]",
        "type": "bidirectional",
        "description": "GPIO P14 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI MOSI/SDI, timer input and timer 0 output."
      },
      {
        "number": "31",
        "name": "P15/MISO0_1/SDO2/TCI/TC0_N[1]",
        "type": "bidirectional",
        "description": "GPIO P15 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI MISO/SDO, timer input and timer 0 output."
      },
      {
        "number": "32",
        "name": "P16/HOSCO/INT3/SCSN3",
        "type": "bidirectional",
        "description": "High-frequency crystal output (8.192, 16.384 or 32.768 MHz) multiplexed with GPIO P16, INT3 and SPI3 chip-select; add a 10 MΩ series resistor and two 15-22 pF load capacitors, and select a crystal with load capacitance below 15 pF."
      },
      {
        "number": "33",
        "name": "P17/HOSCI/INT4/SCLK3",
        "type": "bidirectional",
        "description": "High-frequency crystal input multiplexed with GPIO P17, INT4 and SPI3 clock; P16 and P17 select HOSC together."
      },
      {
        "number": "34",
        "name": "DGND",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "35",
        "name": "SWDCLK/P20/RX1/RX2/CF3/RTC_1s/TC0_P[1]",
        "type": "bidirectional",
        "description": "SWD clock multiplexed with GPIO P20, UART1/UART2 RX, CF3, RTC_1S and timer 0 output; SWD pins are pulled up by default after power-up."
      },
      {
        "number": "36",
        "name": "SWDIO/P21/TX1/TX2/CF2/TC0_P[0]/RTC_OUT",
        "type": "bidirectional",
        "description": "SWD data multiplexed with GPIO P21, UART1/UART2 TX, CF2, timer 0 output and RTC_OUT; SWD pins are pulled up by default after power-up."
      },
      {
        "number": "37",
        "name": "P30/ISPEN/TCI/KEY3/CF4/TC1_P[1]/RTC_OUT",
        "type": "bidirectional",
        "description": "GPIO P30 with 6 mA drive; the BOOTROM samples this pin after reset and enters ISP if it is low, so the application must account for this."
      },
      {
        "number": "38",
        "name": "P22/RX2/KEY4/MOSI3/TC1_N[0]/CF4",
        "type": "bidirectional",
        "description": "GPIO P22 multiplexed with UART2 RX, KEY4, SPI3 MOSI, timer 1 output and CF4."
      },
      {
        "number": "39",
        "name": "P23/TX2/KEY5/MISO3/TC1_P[0]/RTC_OUT",
        "type": "bidirectional",
        "description": "GPIO P23 multiplexed with UART2 TX, KEY5, SPI3 MISO, timer 1 output and RTC_OUT."
      },
      {
        "number": "40",
        "name": "P24/SCL/TCI/TC1_P[0]/SCSN4/CF4",
        "type": "bidirectional",
        "description": "GPIO P24 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with I2C SCL, timer input/output, SPI4 chip-select and CF4."
      },
      {
        "number": "41",
        "name": "P25/SDA/TCI/TC1_P[1]/SCLK4/RTC_OUT",
        "type": "bidirectional",
        "description": "GPIO P25 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with I2C SDA, timer input/output, SPI4 clock and RTC_OUT."
      },
      {
        "number": "42",
        "name": "P26/RX3/TCI/TC1_N[0]/CF2/RTC_OUT/MOSI4",
        "type": "bidirectional",
        "description": "GPIO P26 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with UART3 RX, timer, CF2, RTC_OUT and SPI4 MOSI."
      },
      {
        "number": "43",
        "name": "P27/TX3/TCI/TC1_N[1]/CF3/RTC_1s/MISO4",
        "type": "bidirectional",
        "description": "GPIO P27 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with UART3 TX, timer, CF3, RTC_1S and SPI4 MISO."
      },
      {
        "number": "44",
        "name": "P31/SDO2/MISO0_1/SCL/CF4/RTC_OUT",
        "type": "bidirectional",
        "description": "GPIO P31 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI MISO/SDO, I2C SCL, CF4 and RTC_OUT."
      },
      {
        "number": "45",
        "name": "P32/SDI2/MOSI0_1/SDA/CF3/RTC_1S",
        "type": "bidirectional",
        "description": "GPIO P32 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI MOSI/SDI, I2C SDA, CF3 and RTC_1S."
      },
      {
        "number": "46",
        "name": "P33/SCLK2/SCLK0_1/RX2/CF2/RTC_OUT/RTC_1S",
        "type": "bidirectional",
        "description": "GPIO P33 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI clock, UART2 RX, CF2, RTC_OUT and RTC_1S."
      },
      {
        "number": "47",
        "name": "P34/SCSN2/SCSN0_1/TX2/CF1/RTC_OUT/RTC_1S",
        "type": "bidirectional",
        "description": "GPIO P34 with optional pull-up, TTL/CMOS input and open-drain, multiplexed with SPI chip-select, UART2 TX, CF1, RTC_OUT and RTC_1S."
      },
      {
        "number": "48",
        "name": "LXO",
        "type": "passive",
        "description": "32.768 kHz passive crystal output; no external resistor or capacitor is needed (on-chip), and it must be guarded from neighbouring signals by ground."
      },
      {
        "number": "49",
        "name": "LXI",
        "type": "passive",
        "description": "32.768 kHz passive crystal input, paired with LXO; no external resistor or capacitor is needed and it must be guarded by ground."
      },
      {
        "number": "50",
        "name": "BVSS",
        "type": "power_in",
        "description": "Ground of the VBAT domain."
      },
      {
        "number": "51",
        "name": "LDO_VBAT",
        "type": "power_out",
        "description": "VBAT-domain LDO output; requires an external 0.22 µF capacitor."
      },
      {
        "number": "52",
        "name": "VBAT",
        "type": "power_in",
        "description": "3.6 V battery or supercapacitor input that powers only the RTC; it is also the SAR ADC input (two internal 300 kΩ divider resistors, 0.5× gain), and an RC filter of 10 Ω and 1 µF is recommended."
      },
      {
        "number": "53",
        "name": "VREFB",
        "type": "output",
        "description": "SAR ADC internal reference output, typically 1.25 V; requires an external 0.22 µF capacitor."
      },
      {
        "number": "54",
        "name": "P40/KEY6/AIN3",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P40 with KEY6 and SAR ADC input AIN3, which can measure up to 3.6 V at 0.5× PGA; the input-high level must not exceed VBAT."
      },
      {
        "number": "55",
        "name": "P41/KEY7/AIN2",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P41 with KEY7 and SAR ADC input AIN2; the input range must not exceed 1.25 V (PGA=1), 2.5 V (PGA=0.5) or the supply (PGA=0.2)."
      },
      {
        "number": "56",
        "name": "P42/RTCOUT2/AIN1/SCL/KEY6/RTC_1S",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P42 with RTCOUT, SAR ADC input AIN1 (range as P41), I2C SCL, KEY6 and RTC_1S; it is not recommended to connect a battery here because it drives RTCOUT while VBAT alone is powered."
      },
      {
        "number": "57",
        "name": "P43/AIN0/SDA/KEYOUT",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P43 with SAR ADC input AIN0 (range as P41), I2C SDA and KEYOUT, which is a key-event power control output for external EEPROM."
      },
      {
        "number": "58",
        "name": "P50/AIN4/KEY6/RTC_OUT",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P50 with SAR ADC input AIN4 (range as P41), KEY6 and RTC_OUT."
      },
      {
        "number": "59",
        "name": "P51/AIN5/KEYOUT/RTC_1S",
        "type": "bidirectional",
        "description": "VBAT-domain GPIO P51 with SAR ADC input AIN5 (range as P41), KEYOUT and RTC_1S."
      },
      {
        "number": "60",
        "name": "UAN",
        "type": "input",
        "description": "Voltage channel A negative fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "61",
        "name": "UAP",
        "type": "input",
        "description": "Voltage channel A positive fully differential analog input; maximum differential peak is ±1000 mV at PGA=1."
      },
      {
        "number": "62",
        "name": "AVSS3",
        "type": "power_in",
        "description": "Analog ground of the internal voltage reference."
      },
      {
        "number": "63",
        "name": "VREFA",
        "type": "output",
        "description": "ADC reference, typically 1.25 V; requires 0.1 µF and 1 µF external capacitors."
      },
      {
        "number": "64",
        "name": "LDO3",
        "type": "power_out",
        "description": "Metering ADC supply LDO, typically 3 V; requires 0.1 µF and 1 µF external capacitors."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Package not confirmed. The text never names LQFP-64 or gives 10x10 dimensions. Pages 24-29 contain a; MPN ambiguity. RN2025 is not a full orderable part number. The datasheet covers RN2025A64, B64 and C; Pin types are inferred, not printed. The table gives only pin function, not KiCad class. Analog inpu"
        ],
        "pages_sent": 94,
        "cost_usd": 0.4774,
        "at": "2026-11-13T14:34:11"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/0573edd7c3d9a0de03fb8a5a613b0be3.pdf",
        "pages": 301,
        "sha256": "bae190d83688b304",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "rn2025.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "rn2025-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "2fa0f6a55c24370fde2ff5700818d9006edb7a246588b83bc6fdafad84d4558a",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP64L (1010×1.4)",
      "source_page": 300,
      "D": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E1": {
        "nom_mm": 10.0,
        "range_mm": [
          9.9,
          10.1
        ]
      },
      "E": {
        "nom_mm": 12.0,
        "range_mm": [
          11.8,
          12.2
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.6,
        "range_mm": [
          null,
          1.6
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "rn2025.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}