main
Ray Publish 0.1.0 6dad07c 3d ago
{
  "slug": "ht5017",
  "version": "0.1.0",
  "type": "component",
  "description": "HiTrend Tech (Shanghai) Microcontroller Units (MCUs/MPUs/SOCs), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "ht5017",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ht5017.kicad_sym",
    "ht5017.kicad_mod",
    "ht5017.glb",
    "ht5017.step",
    "ht5017.lbr",
    "docs/hero.png",
    "docs/ht5017-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ht5017-hero.glb",
    "ht5017-hero.overlay.json",
    "ht5017-etched.glb"
  ],
  "component": {
    "mpn": "HT5017",
    "manufacturer": "HiTrend Tech (Shanghai)",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/be3779376623f97fb34ed7614e3ca380.pdf",
    "parts": {
      "symbol": "ht5017.kicad_sym",
      "footprint": "ht5017.kicad_mod",
      "model_3d": "ht5017-hero.glb",
      "model_3d_plain": "ht5017-etched.glb",
      "model_3d_step": "ht5017-etched.step",
      "model_3d_step_plain": "ht5017.step",
      "lbr": "ht5017.lbr"
    },
    "distributor_links": {
      "lcsc": "C126779"
    },
    "distributor_check": {
      "checked_at": "2026-10-23T03:15:20Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "OSCI",
        "type": "input",
        "description": "External low-frequency 32 kHz clock input."
      },
      {
        "number": "2",
        "name": "PE.9/LVDIN1",
        "type": "bidirectional",
        "description": "GPIO PE.9 or LVDIN1 external power-detect input (threshold 1.21V)."
      },
      {
        "number": "3",
        "name": "PA.12/SEG35/ADCIN0",
        "type": "bidirectional",
        "description": "GPIO PA.12, LCD SEG35, or external voltage sampling input 0 (ADCIN0) with 2us filter."
      },
      {
        "number": "4",
        "name": "PF.2/SFOUT",
        "type": "bidirectional",
        "description": "GPIO PF.2 or apparent-energy pulse output SFOUT by default, 5mA drive, other pulse types selectable via EMCON."
      },
      {
        "number": "5",
        "name": "PF.1/QFOUT",
        "type": "bidirectional",
        "description": "GPIO PF.1 or reactive-energy pulse output QFOUT by default, 5mA drive, other pulse types selectable via EMCON."
      },
      {
        "number": "6",
        "name": "PF.0/PFOUT",
        "type": "bidirectional",
        "description": "GPIO PF.0 or active-energy pulse output PFOUT by default, 5mA drive, other pulse types selectable via EMCON."
      },
      {
        "number": "7",
        "name": "VREF",
        "type": "power_in",
        "description": "1.185V metering reference voltage output, requires external 0.1uF and 1uF filter capacitors."
      },
      {
        "number": "8",
        "name": "AVREG",
        "type": "power_out",
        "description": "2.8V internal analog supply output, requires external 0.1uF and 10uF filter capacitors."
      },
      {
        "number": "9",
        "name": "V1P",
        "type": "input",
        "description": "Current channel 1 analog input (positive), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "10",
        "name": "V1N",
        "type": "input",
        "description": "Current channel 1 analog input (negative), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "11",
        "name": "V2P",
        "type": "input",
        "description": "Current channel 2 analog input (positive), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "12",
        "name": "V2N",
        "type": "input",
        "description": "Current channel 2 analog input (negative), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "13",
        "name": "V3P",
        "type": "input",
        "description": "Voltage channel analog input (positive), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "14",
        "name": "V3N",
        "type": "input",
        "description": "Voltage channel analog input (negative), internal ESD protection, max signal ±800mVp."
      },
      {
        "number": "15",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "16",
        "name": "PA.7/INT2/SEG33",
        "type": "bidirectional",
        "description": "GPIO PA.7, external interrupt INT2 or LCD SEG33, 2us filter, 30mA output drive."
      },
      {
        "number": "17",
        "name": "PB.0/SEG0",
        "type": "bidirectional",
        "description": "GPIO PB.0 or LCD segment SEG0."
      },
      {
        "number": "18",
        "name": "PB.1/SEG1",
        "type": "bidirectional",
        "description": "GPIO PB.1 or LCD segment SEG1."
      },
      {
        "number": "19",
        "name": "PB.2/SEG2",
        "type": "bidirectional",
        "description": "GPIO PB.2 or LCD segment SEG2."
      },
      {
        "number": "20",
        "name": "PB.3/SEG3",
        "type": "bidirectional",
        "description": "GPIO PB.3 or LCD segment SEG3."
      },
      {
        "number": "21",
        "name": "PB.4/SEG4",
        "type": "bidirectional",
        "description": "GPIO PB.4 or LCD segment SEG4."
      },
      {
        "number": "22",
        "name": "PB.5/SEG5",
        "type": "bidirectional",
        "description": "GPIO PB.5 or LCD segment SEG5."
      },
      {
        "number": "23",
        "name": "PB.6/SEG6",
        "type": "bidirectional",
        "description": "GPIO PB.6 or LCD segment SEG6."
      },
      {
        "number": "24",
        "name": "VDD1P5",
        "type": "power_out",
        "description": "Internal 1.5V output, requires external 0.1uF filter capacitor."
      },
      {
        "number": "25",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (listed as analog ground)."
      },
      {
        "number": "26",
        "name": "PB.7/SEG7",
        "type": "bidirectional",
        "description": "GPIO PB.7 or LCD segment SEG7."
      },
      {
        "number": "27",
        "name": "PA.6/INT1/SCANIN1/JTAGWDTEN",
        "type": "bidirectional",
        "description": "GPIO PA.6, INT1, keyscan input SCANIN1 or JTAGWDTEN (when TEST=0), 2us filter, 30mA output drive, internal constant pull-up."
      },
      {
        "number": "28",
        "name": "TEST",
        "type": "input",
        "description": "Test pin with 2us filter and internal constant pull-up."
      },
      {
        "number": "29",
        "name": "PB.12/SEG12",
        "type": "bidirectional",
        "description": "GPIO PB.12 or LCD segment SEG12."
      },
      {
        "number": "30",
        "name": "PB.13/SEG13/SWIO",
        "type": "bidirectional",
        "description": "GPIO PB.13, LCD SEG13, or SW debug data I/O (SWIO)."
      },
      {
        "number": "31",
        "name": "PB.14/SEG14",
        "type": "bidirectional",
        "description": "GPIO PB.14 or LCD segment SEG14."
      },
      {
        "number": "32",
        "name": "PB.15/SEG15/SWCLK",
        "type": "bidirectional",
        "description": "GPIO PB.15, LCD SEG15, or SW debug clock (SWCLK)."
      },
      {
        "number": "33",
        "name": "PD.14/COM6/SEG26",
        "type": "bidirectional",
        "description": "GPIO PD.14, LCD COM6 or SEG26."
      },
      {
        "number": "34",
        "name": "PD.15/COM7/SEG27",
        "type": "bidirectional",
        "description": "GPIO PD.15, LCD COM7 or SEG27."
      },
      {
        "number": "35",
        "name": "PE.1/TX4/TOUT2",
        "type": "bidirectional",
        "description": "GPIO PE.1, UART TX4 transmit or seconds pulse output TOUT2, 5mA output drive."
      },
      {
        "number": "36",
        "name": "PE.2/RX4/7816_0",
        "type": "bidirectional",
        "description": "GPIO PE.2, UART RX4 receive or 7816_0, 2us filter."
      },
      {
        "number": "37",
        "name": "PE.3/CLKOUT",
        "type": "bidirectional",
        "description": "GPIO PE.3 or CLKOUT clock output (ESAM/CARD_CLK)."
      },
      {
        "number": "38",
        "name": "PE.4/RX3/7816_1",
        "type": "bidirectional",
        "description": "GPIO PE.4, UART RX3 receive or 7816 function, 2us filter."
      },
      {
        "number": "39",
        "name": "PE.5/TX3",
        "type": "bidirectional",
        "description": "GPIO PE.5 or UART3 transmit TX3."
      },
      {
        "number": "40",
        "name": "PC.8/TOUT1",
        "type": "bidirectional",
        "description": "GPIO PC.8 or seconds pulse output 1 (TOUT1)."
      },
      {
        "number": "41",
        "name": "DGND",
        "type": "power_in",
        "description": "Chip digital ground."
      },
      {
        "number": "42",
        "name": "VDD",
        "type": "power_in",
        "description": "Internal supply input, must be connected externally to the other VDD pin to supply the internal digital supply."
      },
      {
        "number": "43",
        "name": "PA.3/SEG31",
        "type": "bidirectional",
        "description": "GPIO PA.3 or LCD segment SEG31."
      },
      {
        "number": "44",
        "name": "PD.5/SEG21/SCANOUT3",
        "type": "bidirectional",
        "description": "GPIO PD.5, LCD SEG21 or keyscan output SCANOUT3, 5mA output drive."
      },
      {
        "number": "45",
        "name": "PD.4/SEG20/SCANOUT2",
        "type": "bidirectional",
        "description": "GPIO PD.4, LCD SEG20 or keyscan output SCANOUT2, 5mA output drive."
      },
      {
        "number": "46",
        "name": "PD.3/SEG19/SCANOUT1",
        "type": "bidirectional",
        "description": "GPIO PD.3, LCD SEG19 or keyscan output SCANOUT1, 5mA output drive."
      },
      {
        "number": "47",
        "name": "PD.2/SEG18/SCANOUT0",
        "type": "bidirectional",
        "description": "GPIO PD.2, LCD SEG18 or keyscan output SCANOUT0, 5mA output drive."
      },
      {
        "number": "48",
        "name": "/RST",
        "type": "input",
        "description": "Active-low reset input with 2us filter (pulses narrower than 2us do not reset) and internal constant pull-up."
      },
      {
        "number": "49",
        "name": "PA.8/INT3/SEG34",
        "type": "bidirectional",
        "description": "GPIO PA.8, external interrupt INT3 or LCD SEG34, 2us filter, 30mA output drive."
      },
      {
        "number": "50",
        "name": "PC.3/TX0",
        "type": "bidirectional",
        "description": "GPIO PC.3 or UART0 transmit TX0."
      },
      {
        "number": "51",
        "name": "PC.2/RX0",
        "type": "bidirectional",
        "description": "GPIO PC.2 or UART0 receive RX0, 2us filter."
      },
      {
        "number": "52",
        "name": "PD.13/COM5/SEG25",
        "type": "bidirectional",
        "description": "GPIO PD.13, LCD COM5 or SEG25."
      },
      {
        "number": "53",
        "name": "PD.12/COM4/SEG24",
        "type": "bidirectional",
        "description": "GPIO PD.12, LCD COM4 or SEG24."
      },
      {
        "number": "54",
        "name": "PD.11/COM3",
        "type": "bidirectional",
        "description": "GPIO PD.11 or LCD COM3."
      },
      {
        "number": "55",
        "name": "PD.10/COM2",
        "type": "bidirectional",
        "description": "GPIO PD.10 or LCD COM2."
      },
      {
        "number": "56",
        "name": "PD.9/COM1",
        "type": "bidirectional",
        "description": "GPIO PD.9 or LCD COM1."
      },
      {
        "number": "57",
        "name": "PD.8/COM0",
        "type": "bidirectional",
        "description": "GPIO PD.8 or LCD COM0."
      },
      {
        "number": "58",
        "name": "PA.5/INT0/SCANIN0",
        "type": "bidirectional",
        "description": "GPIO PA.5, external interrupt INT0 or keyscan input SCANIN0, 2us filter."
      },
      {
        "number": "59",
        "name": "VBAT",
        "type": "power_in",
        "description": "Battery supply input (input limit 3.6V; VBAT range 1V to 3.6V)."
      },
      {
        "number": "60",
        "name": "VSYS",
        "type": "power_in",
        "description": "System power supply input."
      },
      {
        "number": "61",
        "name": "VDD",
        "type": "power_out",
        "description": "System power output (switched from VSYS or VBAT); must be connected externally to the other VDD pin."
      },
      {
        "number": "62",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (listed as analog ground)."
      },
      {
        "number": "63",
        "name": "PE.7/LVDIN0",
        "type": "bidirectional",
        "description": "GPIO PE.7 or LVDIN0 external power-detect input (threshold 1.21V)."
      },
      {
        "number": "64",
        "name": "OSCO",
        "type": "output",
        "description": "External low-frequency crystal drive output."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin-to-package mapping derived from the multi-column (100/80/64/48) pin table; rows with fewer than ; VDD1P5 pin 24 is described as the internal 1.5V output with 0.1uF capacitor (p18), but section 4.3.3; Pin 61 VDD described as system power output while pin 42 VDD is the internal supply input; the two m"
        ],
        "pages_sent": 99,
        "cost_usd": 0.7295,
        "at": "2026-10-23T03:14:51"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/be3779376623f97fb34ed7614e3ca380.pdf",
        "pages": 262,
        "sha256": "ca455c807ac53a76",
        "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": "ht5017.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-10-23",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "ht5017-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": "71873bed450f32650bf00f04dd085573ada906f0d6b8bfb27ef39c1b3d393753",
        "checked": "2026-10-23",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}