main
Ray Publish 0.1.0 7c92e7c 3d ago
{
  "slug": "ht5027",
  "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",
    "ht5027",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "ht5027.kicad_sym",
    "ht5027.kicad_mod",
    "ht5027.glb",
    "ht5027.step",
    "ht5027.lbr",
    "docs/hero.png",
    "docs/ht5027-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "ht5027-hero.glb",
    "ht5027-hero.overlay.json",
    "ht5027-etched.glb"
  ],
  "component": {
    "mpn": "HT5027",
    "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/38246d5cfd43d35d94319b9365285447.pdf",
    "parts": {
      "symbol": "ht5027.kicad_sym",
      "footprint": "ht5027.kicad_mod",
      "model_3d": "ht5027-hero.glb",
      "model_3d_plain": "ht5027-etched.glb",
      "model_3d_step": "ht5027-etched.step",
      "model_3d_step_plain": "ht5027.step",
      "lbr": "ht5027.lbr"
    },
    "distributor_links": {
      "lcsc": "C434462"
    },
    "distributor_check": {
      "checked_at": "2026-10-23T03:28:49Z",
      "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": "32KHz clock (crystal) input."
      },
      {
        "number": "2",
        "name": "PE.9/LVDIN1",
        "type": "bidirectional",
        "description": "GPIO or external power-detect input LVDIN1 (compared against the 1.21V threshold)."
      },
      {
        "number": "3",
        "name": "PA.12/SEG35/ADCIN0",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG35 driver output, or external voltage sampling input 0 (ADCIN0)."
      },
      {
        "number": "4",
        "name": "PF.2/SFOUT/SEG48",
        "type": "bidirectional",
        "description": "GPIO, energy pulse output (default apparent-energy pulse, configurable via EMCON) or LCD SEG48; output drive 5mA."
      },
      {
        "number": "5",
        "name": "PF.1/QFOUT",
        "type": "bidirectional",
        "description": "GPIO or energy pulse output (default reactive-energy pulse, configurable via EMCON); output drive 5mA."
      },
      {
        "number": "6",
        "name": "PF.0/PFOUT/TOUT3",
        "type": "bidirectional",
        "description": "GPIO, energy pulse output (default active-energy pulse, configurable via EMCON) or second-pulse output TOUT3; output drive 5mA."
      },
      {
        "number": "7",
        "name": "VREF",
        "type": "power_out",
        "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, maximum signal ±800mVp."
      },
      {
        "number": "10",
        "name": "V1N",
        "type": "input",
        "description": "Current channel 1 analog input (negative), internal ESD protection, maximum signal ±800mVp."
      },
      {
        "number": "11",
        "name": "V2P",
        "type": "input",
        "description": "Current channel 2 analog input (positive), internal ESD protection, maximum signal ±800mVp."
      },
      {
        "number": "12",
        "name": "V2N",
        "type": "input",
        "description": "Current channel 2 analog input (negative), internal ESD protection, maximum signal ±800mVp."
      },
      {
        "number": "13",
        "name": "V3P",
        "type": "input",
        "description": "Voltage channel analog input (positive), internal ESD protection, maximum signal ±800mVp."
      },
      {
        "number": "14",
        "name": "V3N",
        "type": "input",
        "description": "Voltage channel analog input (negative), internal ESD protection, maximum signal ±800mVp."
      },
      {
        "number": "15",
        "name": "AVSS",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "16",
        "name": "PA.7/INT2/SEG33",
        "type": "bidirectional",
        "description": "High-current GPIO (30mA drive), external interrupt input INT2 (2us filter) or LCD SEG33 output."
      },
      {
        "number": "17",
        "name": "PB.0/SEG0",
        "type": "bidirectional",
        "description": "GPIO or LCD SEG0 driver output."
      },
      {
        "number": "18",
        "name": "PB.1/SEG1",
        "type": "bidirectional",
        "description": "GPIO or LCD SEG1 driver output."
      },
      {
        "number": "19",
        "name": "PB.2/SEG2/VLCD0",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG2 output, or LCD resistor-divider bias voltage output VLCD0 (needs external 0.47uF capacitor)."
      },
      {
        "number": "20",
        "name": "PB.3/SEG3/VLCD1",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG3 output, or LCD resistor-divider bias voltage output VLCD1 (needs external 0.47uF capacitor)."
      },
      {
        "number": "21",
        "name": "PB.4/SEG4/VLCD2",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG4 output, or LCD resistor-divider bias voltage output VLCD2 (needs external 0.47uF capacitor)."
      },
      {
        "number": "22",
        "name": "PB.5/SEG5/VLCD3",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG5 output, or LCD resistor-divider bias voltage output VLCD3 (needs external 0.47uF capacitor)."
      },
      {
        "number": "23",
        "name": "PB.6/SEG6",
        "type": "bidirectional",
        "description": "GPIO or LCD SEG6 driver output."
      },
      {
        "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 or LCD SEG7 driver output."
      },
      {
        "number": "27",
        "name": "PA.6/INT1/SCANIN1/JTAGWDTEN",
        "type": "bidirectional",
        "description": "High-current GPIO (30mA drive), external interrupt INT1 (2us filter), keyscan column input SCANIN1; as JTAGWDTEN, debug mode is entered when TEST and this pin are both low."
      },
      {
        "number": "28",
        "name": "TEST",
        "type": "input",
        "description": "Test pin with 2us filter; test mode is entered if it goes low before JTAGWDTEN."
      },
      {
        "number": "29",
        "name": "PB.12/SEG12/INT8",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG12 output, or external interrupt input INT8."
      },
      {
        "number": "30",
        "name": "PB.13/SEG13/SWIO",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG13 output, or debug-mode SW data signal SWIO (default function after power-up)."
      },
      {
        "number": "31",
        "name": "PB.14/SEG14/INT9",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG14 output, or external interrupt input INT9."
      },
      {
        "number": "32",
        "name": "PB.15/SEG15/SWCLK",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG15 output, or debug-mode SW clock signal SWCLK (default function after power-up)."
      },
      {
        "number": "33",
        "name": "PD.14/COM6/SEG26",
        "type": "bidirectional",
        "description": "GPIO, LCD COM6, or LCD SEG26 driver output."
      },
      {
        "number": "34",
        "name": "PD.15/COM7/SEG27",
        "type": "bidirectional",
        "description": "GPIO, LCD COM7, or LCD SEG27 driver output."
      },
      {
        "number": "35",
        "name": "PE.1/TX4/TOUT2",
        "type": "bidirectional",
        "description": "GPIO, UART4 transmit, or second-pulse output TOUT2; output drive 5mA."
      },
      {
        "number": "36",
        "name": "PE.2/RX4/7816_0",
        "type": "bidirectional",
        "description": "GPIO, UART4 receive, or 7816 port 0."
      },
      {
        "number": "37",
        "name": "PE.3/CLKOUT/SEG53",
        "type": "bidirectional",
        "description": "GPIO, internal divided clock output (ESAM/CARD clock), or LCD SEG53 output."
      },
      {
        "number": "38",
        "name": "PE.4/RX3/7816_1",
        "type": "bidirectional",
        "description": "GPIO, UART3 receive, or 7816 port 1."
      },
      {
        "number": "39",
        "name": "PE.5/TX3/SEG49",
        "type": "bidirectional",
        "description": "GPIO, UART3 transmit, or LCD SEG49 output."
      },
      {
        "number": "40",
        "name": "PC.8/TOUT1/INT7",
        "type": "bidirectional",
        "description": "GPIO, second-pulse output 1 (TOUT1), or external interrupt input INT7."
      },
      {
        "number": "41",
        "name": "DGND",
        "type": "power_in",
        "description": "Chip digital ground."
      },
      {
        "number": "42",
        "name": "VDD",
        "type": "power_in",
        "description": "Internal power input supplying the internal digital supply; must be externally connected to the other VDD pin."
      },
      {
        "number": "43",
        "name": "PA.3/SEG31",
        "type": "bidirectional",
        "description": "GPIO or LCD SEG31 driver output."
      },
      {
        "number": "44",
        "name": "PD.5/SEG21/SCANOUT3",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG21 output, or keyscan row output SCANOUT3; output drive 5mA."
      },
      {
        "number": "45",
        "name": "PD.4/SEG20/SCANOUT2",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG20 output, or keyscan row output SCANOUT2; output drive 5mA."
      },
      {
        "number": "46",
        "name": "PD.3/SEG19/SCANOUT1",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG19 output, or keyscan row output SCANOUT1; output drive 5mA."
      },
      {
        "number": "47",
        "name": "PD.2/SEG18/SCANOUT0",
        "type": "bidirectional",
        "description": "GPIO, LCD SEG18 output, or keyscan row output SCANOUT0; output drive 5mA."
      },
      {
        "number": "48",
        "name": "/RST",
        "type": "input",
        "description": "Active-low reset input with 2us filter; a low pulse wider than 2us resets the chip."
      },
      {
        "number": "49",
        "name": "PA.8/INT3/SEG34",
        "type": "bidirectional",
        "description": "High-current GPIO (30mA drive), external interrupt input INT3 (2us filter) or LCD SEG34 output."
      },
      {
        "number": "50",
        "name": "PC.3/TX0/SEG46",
        "type": "bidirectional",
        "description": "GPIO, UART0 transmit, or LCD SEG46 output."
      },
      {
        "number": "51",
        "name": "PC.2/RX0/SEG45",
        "type": "bidirectional",
        "description": "GPIO, UART0 receive, or LCD SEG45 output."
      },
      {
        "number": "52",
        "name": "PD.13/COM5/SEG25",
        "type": "bidirectional",
        "description": "GPIO, LCD COM5, or LCD SEG25 driver output."
      },
      {
        "number": "53",
        "name": "PD.12/COM4/SEG24",
        "type": "bidirectional",
        "description": "GPIO, LCD COM4, or LCD SEG24 driver output."
      },
      {
        "number": "54",
        "name": "PD.11/COM3",
        "type": "bidirectional",
        "description": "GPIO or LCD COM3 driver output."
      },
      {
        "number": "55",
        "name": "PD.10/COM2",
        "type": "bidirectional",
        "description": "GPIO or LCD COM2 driver output."
      },
      {
        "number": "56",
        "name": "PD.9/COM1",
        "type": "bidirectional",
        "description": "GPIO or LCD COM1 driver output."
      },
      {
        "number": "57",
        "name": "PD.8/COM0",
        "type": "bidirectional",
        "description": "GPIO or LCD COM0 driver output."
      },
      {
        "number": "58",
        "name": "PA.5/INT0/SCANIN0",
        "type": "bidirectional",
        "description": "GPIO, external interrupt input INT0 (2us filter), or keyscan column input SCANIN0."
      },
      {
        "number": "59",
        "name": "VBAT",
        "type": "power_in",
        "description": "Battery supply input."
      },
      {
        "number": "60",
        "name": "VSYS",
        "type": "power_in",
        "description": "System power supply input."
      },
      {
        "number": "61",
        "name": "VDD",
        "type": "power_out",
        "description": "System power output; must be externally connected to the other VDD pin."
      },
      {
        "number": "62",
        "name": "GND",
        "type": "power_in",
        "description": "Ground (listed as analog ground)."
      },
      {
        "number": "63",
        "name": "PE.7/LVDIN0/SEG47",
        "type": "bidirectional",
        "description": "GPIO, external power-detect input LVDIN0, or LCD SEG47 output."
      },
      {
        "number": "64",
        "name": "OSCO",
        "type": "output",
        "description": "External low-frequency clock (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: The text has no 64-pin package drawing or pin figure for HT5027. Pin numbers come from the 64-PIN co; Two pins are both named VDD. Pin 42 is the internal power input and pin 61 is the system power outpu; The datasheet describes pin 24 (VDD1P5) as an internal 1.5V output but calls pins 25 and 62 (GND) 'a"
        ],
        "pages_sent": 108,
        "cost_usd": 0.8512,
        "at": "2026-10-23T03:28:24"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/38246d5cfd43d35d94319b9365285447.pdf",
        "pages": 307,
        "sha256": "1116db0452f89da9",
        "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": "ht5027.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": "ht5027-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": "227bf9f45cbee1abe0d0b1273e604a87848e7acd92973424bcb4a8a474c76db6",
        "checked": "2026-10-23",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}