main
Ray Publish 0.1.1 c374555
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
{
  "slug": "lh32m0s32bsgg",
  "version": "0.1.1",
  "type": "component",
  "description": "Legendsemi Microcontrollers (MCU/MPU/SOC), SSOP-24. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "lh32m0s32bsgg",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lh32m0s32bsgg.kicad_sym",
    "lh32m0s32bsgg.kicad_mod",
    "lh32m0s32bsgg.glb",
    "lh32m0s32bsgg.step",
    "lh32m0s32bsgg.lbr",
    "docs/hero.png",
    "docs/lh32m0s32bsgg-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "lh32m0s32bsgg-hero.glb",
    "lh32m0s32bsgg-hero.overlay.json",
    "lh32m0s32bsgg-etched.glb",
    "lh32m0s32bsgg-etched.step"
  ],
  "component": {
    "mpn": "LH32M0S32BSGG",
    "manufacturer": "Legendsemi",
    "package": "SSOP-24",
    "pin_count": 24,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/9febe74fa43c861e5dc013a2ba34b4bf.pdf",
    "parts": {
      "symbol": "lh32m0s32bsgg.kicad_sym",
      "footprint": "lh32m0s32bsgg.kicad_mod",
      "model_3d": "lh32m0s32bsgg-hero.glb",
      "model_3d_plain": "lh32m0s32bsgg.glb",
      "model_3d_step": "lh32m0s32bsgg-etched.step",
      "model_3d_step_plain": "lh32m0s32bsgg.step",
      "lbr": "lh32m0s32bsgg.lbr"
    },
    "distributor_links": {
      "lcsc": "C42459074"
    },
    "distributor_check": {
      "checked_at": "2026-10-28T21:24:19Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "no match"
      },
      "mouser": {
        "pn": null,
        "status": "no match"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground (数字地) for the SSOP24 package."
      },
      {
        "number": "2",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply; DVDD operating range is 2.2-3.6 V per the normal operating conditions table."
      },
      {
        "number": "3",
        "name": "NRST",
        "type": "input",
        "description": "External reset input, active low."
      },
      {
        "number": "4",
        "name": "P0.2/AIN2/I2C_SDA/UART_TX/SPI_NSS/SWDIO",
        "type": "bidirectional",
        "description": "GPIO P0.2 also serving as SWDIO, ADC input AIN2, I2C_SDA, UART TX and SPI_NSS; after reset the SWDIO line is held with a pull-up."
      },
      {
        "number": "5",
        "name": "P0.3/AIN3/COMPN/I2C_SCL/UART_RX/SPI_SCLK/SWCLK",
        "type": "bidirectional",
        "description": "GPIO P0.3 also serving as SWCLK, ADC input AIN3, analog comparator negative input COMPN, I2C_SCL, UART RX and SPI_SCLK; after reset SWCLK is held with a pull-down."
      },
      {
        "number": "6",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground (模拟地)."
      },
      {
        "number": "7",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply; AVDD operating range is 2.2-3.6 V per the normal operating conditions table."
      },
      {
        "number": "8",
        "name": "VREFN",
        "type": "output",
        "description": "ADC reference ground, to be connected to analog ground."
      },
      {
        "number": "9",
        "name": "VS/REFP",
        "type": "power_in",
        "description": "ADC regulator output that can supply up to 8 mA to ground."
      },
      {
        "number": "10",
        "name": "AIN0",
        "type": "input",
        "description": "ADC analog input AIN0."
      },
      {
        "number": "11",
        "name": "AIN1",
        "type": "input",
        "description": "ADC analog input AIN1."
      },
      {
        "number": "12",
        "name": "ACM/LVD/AIN4",
        "type": "output",
        "description": "1.2 V reference regulated output, also usable as low-voltage detect input, analog comparator positive input and ADC input AIN4."
      },
      {
        "number": "13",
        "name": "P1.5/SPI_NSS/XIN",
        "type": "bidirectional",
        "description": "GPIO P1.5 whose table entry gives the 32.768 kHz crystal input XIN as its oscillator function (see review item on conflicting alternate-function text)."
      },
      {
        "number": "14",
        "name": "P1.6/I2C_SCL/GPIO_CLK/BZ/COMPOUT/XOUT",
        "type": "bidirectional",
        "description": "GPIO P1.6 also serving as I2C_SCL, GPIO clock, buzzer output, analog comparator output and 32.768 kHz crystal output XOUT."
      },
      {
        "number": "15",
        "name": "P2.0/UART_TX/SPI_MOSI/PWM7/BZ",
        "type": "bidirectional",
        "description": "GPIO P2.0 also serving as UART_TX, SPI_MOSI, PWM7 output and buzzer output."
      },
      {
        "number": "16",
        "name": "P2.1/UART_RX/PWM2/SPI_MISO",
        "type": "bidirectional",
        "description": "GPIO P2.1 also serving as UART_RX, PWM2 output and SPI_MISO."
      },
      {
        "number": "17",
        "name": "P2.2/LED8/BZ/PWM1/SPI_SCLK",
        "type": "bidirectional",
        "description": "GPIO P2.2 also serving as LED8 driver output, buzzer output, PWM1 output and SPI_SCLK."
      },
      {
        "number": "18",
        "name": "P2.3/LED7/SPI_MOSI/PWM6",
        "type": "bidirectional",
        "description": "GPIO P2.3 also serving as LED7 driver output, SPI_MOSI and PWM6 output."
      },
      {
        "number": "19",
        "name": "P2.4/LED6/SPI_MISO/PWM5",
        "type": "bidirectional",
        "description": "GPIO P2.4 also serving as LED6 driver output, SPI_MISO and PWM5 output."
      },
      {
        "number": "20",
        "name": "P2.5/LED5/SPI_SCLK/PWM4",
        "type": "bidirectional",
        "description": "GPIO P2.5 also serving as LED5 driver output, SPI_SCLK and PWM4 output."
      },
      {
        "number": "21",
        "name": "P2.6/LED4/SPI_NSS/PWM3",
        "type": "bidirectional",
        "description": "GPIO P2.6 also serving as LED4 driver output, SPI_NSS and PWM3 output."
      },
      {
        "number": "22",
        "name": "P2.7/LED3/GPIO_CLK/TM1_BKIN",
        "type": "bidirectional",
        "description": "GPIO P2.7 also serving as LED3 driver output, GPIO clock input and Timer1 break input."
      },
      {
        "number": "23",
        "name": "P3.0/LED2/PWM1",
        "type": "bidirectional",
        "description": "GPIO P3.0 also serving as LED2 driver output and PWM1 output."
      },
      {
        "number": "24",
        "name": "P3.1/LED1/PWM2",
        "type": "bidirectional",
        "description": "GPIO P3.1 also serving as LED1 driver output and PWM2 output."
      }
    ],
    "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: Table 2 lists pin 13 as 'P1.5/SPI_NSS/XIN' but its description column reads 'GPIO1.5/SPI_MISO/32.768; The pin name in Table 2 repeats COMPN and SWCLK (the name field is written twice); the name above wa; Pin types marked 'AO' (VREFN, VS/REFP, ACM/LVD/AIN4) and 'AI' (AIN0, AIN1) are analog; mapped to KiC"
        ],
        "pages_sent": 110,
        "cost_usd": 0.671,
        "at": "2026-10-28T21:23:58"
      },
      "datasheet": {
        "url": "https://datasheet.lcsc.com/datasheet/pdf/9febe74fa43c861e5dc013a2ba34b4bf.pdf",
        "pages": 237,
        "sha256": "68e4fc70a88a0840",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 24,
        "described": 24,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "lh32m0s32bsgg.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          8.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "77dd0a1fc7e70e9eda1bfde9dde937dc6e391803cff9978790523c850c85a21d",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "lh32m0s32bsgg-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.8,
          8.2,
          2.1
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "bba25df716017f19b4ac1b2ee7bf27627a0d1b125c28cb8bd17f7013cb61c73f",
        "checked": "2026-10-28",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "LH32M0S32BSGG",
  "brief": "Legendsemi Microcontrollers (MCU/MPU/SOC), SSOP-24. Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "Legendsemi",
      "Package": "SSOP-24",
      "Category": "Embedded Processors & Controllers",
      "Pins": "24"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "68e4fc70a88a08400e3a2f63a5ffb5c579ee05e87d12abdbb15865c063543cf9",
      "rows": [
        {
          "name": "AVDD voltage (AVDD to AGND)",
          "symbol": "AVDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.9,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "DVDD voltage (DVDD to DGND)",
          "symbol": "DVDD",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.9,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "AGND voltage (AGND to IOGND)",
          "symbol": "AGND",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 0.3,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "DGND voltage (DGND to IOGND)",
          "symbol": "DGND",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 0.3,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "VCAP voltage (VREFP to VREFN)",
          "symbol": "VCAP",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.9,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "IO pin voltage",
          "symbol": "VIO",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.9,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature",
          "symbol": "Tstorage",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Junction temperature",
          "symbol": "Tjunction",
          "kind": "absolute_maximum",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Sink current into any IO pin",
          "symbol": "Isink",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 25,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Source current out of any IO pin",
          "symbol": "Isource",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -25,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Total sink current into all IO pins",
          "symbol": "Isink_tot",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 80,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Total source current out of all IO pins",
          "symbol": "Isource_tot",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -80,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "AVDD operating voltage range",
          "symbol": "AVDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": 3.6,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "DVDD operating voltage range",
          "symbol": "DVDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": 3.6,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Chip operating temperature",
          "symbol": "Ta",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 105,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Chip junction temperature",
          "symbol": "Tj",
          "kind": "recommended_operating",
          "unit": "℃",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "MCU clock frequency",
          "symbol": "Fclk",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 32,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "IO input voltage range",
          "symbol": "VIO",
          "kind": "recommended_operating",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 3.6,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "IO power supply DVDD",
          "symbol": "DVDD",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 2.2,
          "typ": 3.3,
          "max": 3.6,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Input high level",
          "symbol": "VIH",
          "kind": "electrical",
          "unit": "V",
          "min": 2.2,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Input low level",
          "symbol": "VIL",
          "kind": "electrical",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 0.8,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "Input leakage current",
          "symbol": "IL",
          "kind": "electrical",
          "unit": "µA",
          "min": -10,
          "typ": null,
          "max": 10,
          "conditions": "",
          "source_page": 230,
          "source": "datasheet"
        },
        {
          "name": "32 kHz oscillator frequency accuracy (LRC)",
          "symbol": "Faccuray_LRC",
          "kind": "tolerance",
          "unit": "%",
          "min": -3,
          "typ": null,
          "max": 3,
          "conditions": "",
          "source_page": 231,
          "source": "datasheet"
        }
      ]
    }
  },
  "discovery_triggers": [
    "lh32m0s32bsgg"
  ],
  "discovery_pitch": "LH32M0S32BSGG (Legendsemi) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}