main
Ray Publish 0.1.0 b6cfb79 4d ago
{
  "slug": "lh32m0s32bqme",
  "version": "0.1.0",
  "type": "component",
  "description": "Legendsemi Microcontrollers (MCU/MPU/SOC), QFN-48-EP(6x6). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "lh32m0s32bqme",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "lh32m0s32bqme.kicad_sym",
    "lh32m0s32bqme.kicad_mod",
    "lh32m0s32bqme.glb",
    "lh32m0s32bqme.step",
    "lh32m0s32bqme.lbr",
    "docs/hero.png",
    "docs/lh32m0s32bqme-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "lh32m0s32bqme-hero.glb",
    "lh32m0s32bqme-hero.overlay.json",
    "lh32m0s32bqme-etched.glb"
  ],
  "component": {
    "mpn": "LH32M0S32BQME",
    "manufacturer": "Legendsemi",
    "package": "QFN-48-EP(6x6)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://datasheet.lcsc.com/datasheet/pdf/9febe74fa43c861e5dc013a2ba34b4bf.pdf",
    "parts": {
      "symbol": "lh32m0s32bqme.kicad_sym",
      "footprint": "lh32m0s32bqme.kicad_mod",
      "model_3d": "lh32m0s32bqme-hero.glb",
      "model_3d_plain": "lh32m0s32bqme-etched.glb",
      "model_3d_step": "lh32m0s32bqme-etched.step",
      "model_3d_step_plain": "lh32m0s32bqme.step",
      "lbr": "lh32m0s32bqme.lbr"
    },
    "distributor_links": {
      "lcsc": "C42459076"
    },
    "distributor_check": {
      "checked_at": "2026-10-22T23:19:47Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 503 calls left today"
      },
      "mouser": {
        "pn": null,
        "status": "quota"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "CAP2",
        "type": "passive",
        "description": "Charge-exchange capacitor connection for the LCD charge pump."
      },
      {
        "number": "2",
        "name": "CAP1",
        "type": "passive",
        "description": "Charge-exchange capacitor connection for the LCD charge pump."
      },
      {
        "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": "GPIO0.2 with ADC input AIN2, I2C_SDA, UART_TX, SPI_NSS and SWDIO functions."
      },
      {
        "number": "5",
        "name": "P0.3/AIN3/COMPN/I2C_SCL/UART_RX/SPI_SCLK/SWCLK",
        "type": "bidirectional",
        "description": "GPIO0.3 with ADC input AIN3, analog comparator negative input COMPN, I2C_SCL, UART_RX, SPI_SCLK and SWCLK functions."
      },
      {
        "number": "6",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "7",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply (2.2~3.6V operating range)."
      },
      {
        "number": "8",
        "name": "VREFN",
        "type": "passive",
        "description": "ADC reference ground, connected to analog ground."
      },
      {
        "number": "9",
        "name": "VS/REFP",
        "type": "power_out",
        "description": "ADC regulated output (positive reference) able to supply up to 8mA to ground."
      },
      {
        "number": "10",
        "name": "AIN0",
        "type": "input",
        "description": "ADC input AIN0."
      },
      {
        "number": "11",
        "name": "AIN1",
        "type": "input",
        "description": "ADC input AIN1."
      },
      {
        "number": "12",
        "name": "ACM/LVD/AIN4",
        "type": "output",
        "description": "1.2V reference regulated output, also low-voltage-detect/analog comparator positive input and ADC input AIN4."
      },
      {
        "number": "13",
        "name": "P0.4/AIN5/I2C_SDA",
        "type": "bidirectional",
        "description": "GPIO0.4 with ADC input AIN5 and I2C_SDA."
      },
      {
        "number": "14",
        "name": "P0.5/AIN6/PWM2/I2C_SCL",
        "type": "bidirectional",
        "description": "GPIO0.5 with ADC input AIN6, PWM2 output and I2C_SCL."
      },
      {
        "number": "15",
        "name": "P0.6/AIN7/UART_TX/LVD",
        "type": "bidirectional",
        "description": "GPIO0.6 with ADC input AIN7, UART_TX and low-voltage-detect input."
      },
      {
        "number": "16",
        "name": "P0.7/UART_RX/COMPOUT",
        "type": "bidirectional",
        "description": "GPIO0.7 with UART_RX and analog comparator output."
      },
      {
        "number": "17",
        "name": "P0.0/BZ/QSPI_CLK",
        "type": "bidirectional",
        "description": "GPIO0.0 with buzzer output and QSPI_CLK."
      },
      {
        "number": "18",
        "name": "P0.1/SPI_MOSI/PWM6/QSPI_NSS",
        "type": "bidirectional",
        "description": "GPIO0.1 with SPI_MOSI, PWM6 output and QSPI_NSS."
      },
      {
        "number": "19",
        "name": "P1.0/SPI_MISO/PWM5/QSPI_IO0",
        "type": "bidirectional",
        "description": "GPIO1.0 with SPI_MISO, PWM5 output and QSPI_IO0."
      },
      {
        "number": "20",
        "name": "P1.1/SPI_SCLK/PWM4/QSPI_IO1",
        "type": "bidirectional",
        "description": "GPIO1.1 with SPI clock, PWM4 output and QSPI_IO1."
      },
      {
        "number": "21",
        "name": "P1.2/SPI_NSS/PWM3/QSPI_IO2",
        "type": "bidirectional",
        "description": "GPIO1.2 with SPI_NSS, PWM3 output and QSPI_IO2."
      },
      {
        "number": "22",
        "name": "P1.3/SEG20/PWM1/QSPI_IO3",
        "type": "bidirectional",
        "description": "GPIO1.3 with LCD SEG20, PWM1 output and QSPI_IO3."
      },
      {
        "number": "23",
        "name": "P1.4/SEG19/SCLK_SPI",
        "type": "bidirectional",
        "description": "GPIO1.4 with LCD SEG19 and SPI clock."
      },
      {
        "number": "24",
        "name": "P1.5/SEG18/SPI_NSS/XIN",
        "type": "bidirectional",
        "description": "GPIO1.5 with LCD SEG18, SPI function and 32.768kHz crystal input XIN."
      },
      {
        "number": "25",
        "name": "P1.6/SEG17/I2C_SCL/GPIO_CLK/BZ/COMPOUT/XOUT",
        "type": "bidirectional",
        "description": "GPIO1.6 with LCD SEG17, I2C_SCL, input/output clock, buzzer output, comparator output and 32.768kHz crystal output XOUT."
      },
      {
        "number": "26",
        "name": "P1.7/SEG16/I2C_SDA/SPI_MISO/BZn",
        "type": "bidirectional",
        "description": "GPIO1.7 with LCD SEG16, I2C_SDA, SPI_MISO and complementary buzzer output."
      },
      {
        "number": "27",
        "name": "P2.0/SEG15/UART_TX/SPI_MOSI/PWM7/BZ",
        "type": "bidirectional",
        "description": "GPIO2.0 with LCD SEG15, UART_TX, SPI_MOSI, PWM7 and buzzer output."
      },
      {
        "number": "28",
        "name": "P2.1/SEG14/UART_RX/PWM2/SPI_MISO",
        "type": "bidirectional",
        "description": "GPIO2.1 with LCD SEG14, UART_RX, PWM2 output and SPI_MISO."
      },
      {
        "number": "29",
        "name": "P2.2/SEG13/LED8/BZ/PWM1/SPI_SCLK",
        "type": "bidirectional",
        "description": "GPIO2.2 with LCD SEG13, LED8, buzzer output, PWM1 output and SPI_SCLK."
      },
      {
        "number": "30",
        "name": "P2.3/SEG12/LED7/SPI_MOSI/PWM6",
        "type": "bidirectional",
        "description": "GPIO2.3 with LCD SEG12, LED7, SPI_MOSI and PWM6 output."
      },
      {
        "number": "31",
        "name": "P2.4/SEG11/LED6/SPI_MISO/PWM5",
        "type": "bidirectional",
        "description": "GPIO2.4 with LCD SEG11, LED6, SPI_MISO and PWM5 output."
      },
      {
        "number": "32",
        "name": "P2.5/SEG10/LED5/SPI_SCLK/PWM4",
        "type": "bidirectional",
        "description": "GPIO2.5 with LCD SEG10, LED5, SPI clock and PWM4 output."
      },
      {
        "number": "33",
        "name": "P2.6/SEG9/LED4/SPI_NSS/PWM3",
        "type": "bidirectional",
        "description": "GPIO2.6 with LCD SEG9, LED4, SPI_NSS and PWM3 output."
      },
      {
        "number": "34",
        "name": "P2.7/SEG8/LED3/GPIO_CLK/TM1_BKIN",
        "type": "bidirectional",
        "description": "GPIO2.7 with LCD SEG8, LED3, input clock and Timer1 brake input."
      },
      {
        "number": "35",
        "name": "P3.0/SEG7/LED2/PWM1",
        "type": "bidirectional",
        "description": "GPIO3.0 with LCD SEG7, LED2 and PWM1 output."
      },
      {
        "number": "36",
        "name": "P3.1/SEG6/LED1/PWM2",
        "type": "bidirectional",
        "description": "GPIO3.1 with LCD SEG6, LED driver output and PWM2 output."
      },
      {
        "number": "37",
        "name": "P3.2/SEG5",
        "type": "bidirectional",
        "description": "GPIO3.2 with LCD SEG5."
      },
      {
        "number": "38",
        "name": "P3.3/SEG4/UART_CTS",
        "type": "bidirectional",
        "description": "GPIO3.3 with LCD SEG4 and UART_CTS."
      },
      {
        "number": "39",
        "name": "P3.4/SEG3/UART_RTS",
        "type": "bidirectional",
        "description": "GPIO3.4 with LCD SEG3 and UART_RTS."
      },
      {
        "number": "40",
        "name": "P3.5/SEG2/QSP_NSS/UART_RX/PWM7",
        "type": "bidirectional",
        "description": "GPIO3.5 with LCD SEG2, QSPI chip select, UART_RX and PWM7 output."
      },
      {
        "number": "41",
        "name": "P3.6/SEG1/QSPI_SCLK/UART_TX/TM1_BKIN",
        "type": "bidirectional",
        "description": "GPIO3.6 with LCD SEG1, QSPI_SCLK, UART_TX and Timer1 brake signal."
      },
      {
        "number": "42",
        "name": "P3.7/COM4/QSPI_IO0/BZ",
        "type": "bidirectional",
        "description": "GPIO with LCD COM4, QSPI_IO0 and buzzer output."
      },
      {
        "number": "43",
        "name": "P4.0/COM3/QSPI_IO1/BZn",
        "type": "bidirectional",
        "description": "GPIO with LCD COM3, QSPI_IO1 and complementary buzzer output."
      },
      {
        "number": "44",
        "name": "P4.1/COM2/QSPI_IO2",
        "type": "bidirectional",
        "description": "GPIO with LCD COM2 and QSPI_IO2."
      },
      {
        "number": "45",
        "name": "P4.2/COM1/QSPI_IO3/COMPOUT",
        "type": "bidirectional",
        "description": "GPIO with LCD COM1, QSPI_IO3 and analog comparator output."
      },
      {
        "number": "46",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "47",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply (2.2~3.6V operating range)."
      },
      {
        "number": "48",
        "name": "VLCD",
        "type": "power_in",
        "description": "LCD drive supply: external capacitor on the internal charge pump output when driving LCD; internally shorted to VDD when the charge pump is off."
      },
      {
        "number": "49",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "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 datasheet has no QFN48 pin table or figure. Section 6.2 only says the QFN48 pin description is t; The exposed pad (EP) is not described anywhere in the text, so it was not included. Its connection (; The names for pins 42-45 (P3.7, P4.0, P4.1, P4.2) conflict with their descriptions (GPIO4.0-4.3). Na"
        ],
        "pages_sent": 110,
        "cost_usd": 1.1159,
        "at": "2026-10-22T23:19:17"
      },
      "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": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "lh32m0s32bqme.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.02,
          6.02,
          0.9
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "7b4089df230b92092efffc9e2bea0f0285aa8a07c7503fe776e5815316682f17",
        "checked": "2026-10-22",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "lh32m0s32bqme-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.02,
          6.02,
          0.9
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "52f6c36998eb6869fef6313c0b3d815c3cd977e1da736ad7f14bd797c270749d",
        "checked": "2026-10-22",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}