component
LH32M0S32BLMG
Public Made by Adomby adom
Legendsemi(领慧立芯) Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745
{
"schema_version": 1,
"type": "component",
"slug": "lh32m0s32blmg",
"title": "LH32M0S32BLMG",
"brief": "Legendsemi(领慧立芯) Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"version": "0.1.0",
"license": "CC-BY-SA-4.0",
"tags": [
"component",
"embedded processors & controllers",
"lh32m0s32blmg",
"factory-2.0.0",
"extractor-text"
],
"component": {
"mpn": "LH32M0S32BLMG",
"manufacturer": "Legendsemi(领慧立芯)",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8608766011164274688",
"parts": {
"symbol": "lh32m0s32blmg.kicad_sym",
"footprint": "lh32m0s32blmg.kicad_mod",
"model_3d": "lh32m0s32blmg-hero.glb",
"model_3d_plain": "lh32m0s32blmg-etched.glb",
"model_3d_step": "lh32m0s32blmg-etched.step",
"model_3d_step_plain": "lh32m0s32blmg.step",
"lbr": "lh32m0s32blmg.lbr"
},
"distributor_links": {
"lcsc": "C19273136"
},
"distributor_check": {
"checked_at": "2026-11-07T04:28:12Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": null,
"status": "no match"
},
"mouser": {
"pn": null,
"status": "no match"
}
},
"pins": [
{
"number": "1",
"name": "CAP2",
"type": "passive",
"description": "LCD charge-pump flying (charge-exchange) capacitor connection that the internal charge pump needs to generate VLCD."
},
{
"number": "2",
"name": "CAP1",
"type": "passive",
"description": "LCD charge-pump flying (charge-exchange) capacitor connection that the internal charge pump needs to generate VLCD."
},
{
"number": "3",
"name": "NRST",
"type": "input",
"description": "External reset input, active low; a low level on this pin produces a system reset (pulse width at least 1.5 µs per the electrical table)."
},
{
"number": "4",
"name": "P0.2/AIN2/I2C_SDA/UART_TX/SPI_NSS/SWDIO",
"type": "bidirectional",
"description": "GPIO P0.2 with ADC input AIN2 and alternate functions I2C_SDA, UART_TX, SPI_NSS and the SWD data line SWDIO; after reset it defaults to SWDIO with a pull-up."
},
{
"number": "5",
"name": "P0.3/AIN3/COMPN/I2C_SCL/UART_RX/SPI_SCLK/SWCLK",
"type": "bidirectional",
"description": "GPIO P0.3 with ADC input AIN3, analog comparator negative input COMPN and alternate functions I2C_SCL, UART_RX, SPI_SCLK and the SWD clock SWCLK; after reset it defaults to SWCLK with a pull-down."
},
{
"number": "6",
"name": "VSSA",
"type": "power_in",
"description": "Analog ground for the ADC, reference and analog blocks."
},
{
"number": "7",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply; operating range 2.2 V to 3.6 V."
},
{
"number": "8",
"name": "VREFN",
"type": "passive",
"description": "ADC reference ground, to be connected to analog ground."
},
{
"number": "9",
"name": "VS/REFP",
"type": "power_in",
"description": "ADC regulator output that can also serve as the external reference input REFP; it can supply up to 8 mA to ground."
},
{
"number": "10",
"name": "AIN0",
"type": "passive",
"description": "ADC analog input channel AIN0."
},
{
"number": "11",
"name": "AIN1",
"type": "passive",
"description": "ADC analog input channel AIN1."
},
{
"number": "12",
"name": "ACM/LVD/AIN4",
"type": "passive",
"description": "1.2 V reference (ACM) regulated output, shared with the low-voltage detect and analog comparator positive input and ADC input AIN4."
},
{
"number": "13",
"name": "P0.4/AIN5/I2C_SDA",
"type": "bidirectional",
"description": "GPIO P0.4 with ADC input AIN5 and I2C_SDA alternate function."
},
{
"number": "14",
"name": "P0.5/AIN6/PWM2/I2C_SCL",
"type": "bidirectional",
"description": "GPIO P0.5 with ADC input AIN6, PWM2 output and I2C_SCL alternate function."
},
{
"number": "15",
"name": "P0.6/AIN7/UART_TX/LVD",
"type": "bidirectional",
"description": "GPIO P0.6 with ADC input AIN7, UART_TX and low-voltage detect input LVD."
},
{
"number": "16",
"name": "P0.7/UART_RX/COMPOUT",
"type": "bidirectional",
"description": "GPIO P0.7 with UART_RX and analog comparator output COMPOUT."
},
{
"number": "17",
"name": "P0.0/BZ/QSPI_CLK",
"type": "bidirectional",
"description": "GPIO P0.0 with beeper output BZ and QSPI clock QSPI_CLK; input enable cannot be turned off on P0.0-P0.7 and P1.0-P1.2, so pull or fixed level is advised during sleep."
},
{
"number": "18",
"name": "P0.1/SPI_MOSI/PWM6/QSPI_NSS",
"type": "bidirectional",
"description": "GPIO P0.1 with SPI_MOSI, PWM6 output and QSPI chip select QSPI_NSS."
},
{
"number": "19",
"name": "P1.0/SPI_MISO/PWM5/QSPI_IO0",
"type": "bidirectional",
"description": "GPIO P1.0 with SPI_MISO, PWM5 output and QSPI data line QSPI_IO0."
},
{
"number": "20",
"name": "P1.1/SPI_SCLK/PWM4/QSPI_IO1",
"type": "bidirectional",
"description": "GPIO P1.1 with SPI_SCLK, PWM4 output and QSPI data line QSPI_IO1."
},
{
"number": "21",
"name": "P1.2/SPI_NSS/PWM3/QSPI_IO2",
"type": "bidirectional",
"description": "GPIO P1.2 with SPI_NSS, PWM3 output and QSPI data line QSPI_IO2."
},
{
"number": "22",
"name": "P1.3/SEG20/PWM1/QSPI_IO3",
"type": "bidirectional",
"description": "GPIO P1.3 with LCD segment SEG20, PWM1 output and QSPI data line QSPI_IO3."
},
{
"number": "23",
"name": "P1.4/SEG19/SCLK_SPI",
"type": "bidirectional",
"description": "GPIO P1.4 with LCD segment SEG19 and SPI clock SCLK_SPI."
},
{
"number": "24",
"name": "P1.5/SEG18/SPI_NSS/XIN",
"type": "bidirectional",
"description": "GPIO P1.5 with LCD segment SEG18, SPI chip select and the 32.768 kHz crystal input XIN."
},
{
"number": "25",
"name": "P1.6/SEG17/I2C_SCL/GPIO_CLK/BZ/COMPOUT/XOUT",
"type": "bidirectional",
"description": "GPIO P1.6 with LCD segment SEG17, I2C_SCL, GPIO clock, beeper output BZ, comparator output COMPOUT and the 32.768 kHz crystal output XOUT."
},
{
"number": "26",
"name": "P1.7/SEG16/I2C_SDA/SPI_MISO/BZn",
"type": "bidirectional",
"description": "GPIO P1.7 with LCD segment SEG16, I2C_SDA, SPI_MISO and the complementary beeper output BZn."
},
{
"number": "27",
"name": "P2.0/SEG15/UART_TX/SPI_MOSI/PWM7/BZ",
"type": "bidirectional",
"description": "GPIO P2.0 with LCD segment SEG15, UART_TX, SPI_MOSI, PWM7 output and beeper output BZ."
},
{
"number": "28",
"name": "P2.1/SEG14/UART_RX/PWM2/SPI_MISO",
"type": "bidirectional",
"description": "GPIO P2.1 with LCD segment SEG14, UART_RX, PWM2 output and SPI_MISO."
},
{
"number": "29",
"name": "P2.2/SEG13/LED8/BZ/PWM1/SPI_SCLK",
"type": "bidirectional",
"description": "GPIO P2.2 with LCD segment SEG13, LED driver output LED8, beeper output BZ, PWM1 output and SPI_SCLK."
},
{
"number": "30",
"name": "P2.3/SEG12/LED7/SPI_MOSI/PWM6",
"type": "bidirectional",
"description": "GPIO P2.3 with LCD segment SEG12, LED driver output LED7, SPI_MOSI and PWM6 output."
},
{
"number": "31",
"name": "P2.4/SEG11/LED6/SPI_MISO/PWM5",
"type": "bidirectional",
"description": "GPIO P2.4 with LCD segment SEG11, LED driver output LED6, SPI_MISO and PWM5 output."
},
{
"number": "32",
"name": "P2.5/SEG10/LED5/SPI_SCLK/PWM4",
"type": "bidirectional",
"description": "GPIO P2.5 with LCD segment SEG10, LED driver output LED5, SPI_SCLK and PWM4 output."
},
{
"number": "33",
"name": "P2.6/SEG9/LED4/SPI_NSS/PWM3",
"type": "bidirectional",
"description": "GPIO P2.6 with LCD segment SEG9, LED driver output LED4, SPI_NSS and PWM3 output."
},
{
"number": "34",
"name": "P2.7/SEG8/LED3/GPIO_CLK/TM1_BKIN",
"type": "bidirectional",
"description": "GPIO P2.7 with LCD segment SEG8, LED driver output LED3, GPIO clock input and Timer1 break input TM1_BKIN; it is also an HSE external clock input option (AF3)."
},
{
"number": "35",
"name": "P3.0/SEG7/LED2/PWM1",
"type": "bidirectional",
"description": "GPIO P3.0 with LCD segment SEG7, LED driver output LED2 and PWM1 output."
},
{
"number": "36",
"name": "P3.1/SEG6/LED1/PWM2",
"type": "bidirectional",
"description": "GPIO P3.1 with LCD segment SEG6, LED driver output LED1 and PWM2 output."
},
{
"number": "37",
"name": "P3.2/SEG5",
"type": "bidirectional",
"description": "GPIO P3.2 with LCD segment SEG5."
},
{
"number": "38",
"name": "P3.3/SEG4/UART_CTS",
"type": "bidirectional",
"description": "GPIO P3.3 with LCD segment SEG4 and UART_CTS."
},
{
"number": "39",
"name": "P3.4/SEG3/UART_RTS",
"type": "bidirectional",
"description": "GPIO P3.4 with LCD segment SEG3 and UART_RTS."
},
{
"number": "40",
"name": "P3.5/SEG2/QSP_NSS/UART_RX/PWM7",
"type": "bidirectional",
"description": "GPIO P3.5 with LCD segment SEG2, QSPI chip select, UART_RX and PWM7 output."
},
{
"number": "41",
"name": "P3.6/SEG1/QSPI_SCLK/UART_TX/TM1_BKIN",
"type": "bidirectional",
"description": "GPIO P3.6 with LCD segment SEG1, QSPI clock, UART_TX and Timer1 break input TM1_BKIN."
},
{
"number": "42",
"name": "P3.7/COM4/QSPI_IO0/BZ",
"type": "bidirectional",
"description": "GPIO P3.7 with LCD common output COM4, QSPI data line QSPI_IO0 and beeper output BZ."
},
{
"number": "43",
"name": "P4.0/COM3/QSPI_IO1/BZn",
"type": "bidirectional",
"description": "GPIO P4.0 with LCD common output COM3, QSPI data line QSPI_IO1 and complementary beeper output BZn."
},
{
"number": "44",
"name": "P4.1/COM2/QSPI_IO2",
"type": "bidirectional",
"description": "GPIO P4.1 with LCD common output COM2 and QSPI data line QSPI_IO2."
},
{
"number": "45",
"name": "P4.2/COM1/QSPI_IO3/COMPOUT",
"type": "bidirectional",
"description": "GPIO P4.2 with LCD common output COM1, QSPI data line QSPI_IO3 and analog comparator output COMPOUT."
},
{
"number": "46",
"name": "VSS",
"type": "power_in",
"description": "Digital ground."
},
{
"number": "47",
"name": "VDD",
"type": "power_in",
"description": "Digital supply; operating range 2.2 V to 3.6 V."
},
{
"number": "48",
"name": "VLCD",
"type": "power_in",
"description": "LCD drive supply: with the internal charge pump enabled an external capacitor is connected on VLCD_LED; with the charge pump off, VLCD is internally shorted to VDD."
}
],
"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: The datasheet's LQFP48 pin table (Table 1, pages 7-8) is the source for pins 1-48 and matches the pa; Alternate-function names disagree between the LQFP48 pin table (Table 1) and the pin-mux table (Tabl; Pin 36 (P3.1) description in Table 1 lists 'LED8' in the pin description but 'LED1' in the name; thi"
],
"pages_sent": 110,
"cost_usd": 0.7295,
"at": "2026-11-07T04:27:55"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8608766011164274688",
"pages": 237,
"sha256": "68e4fc70a88a0840",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 48,
"described": 48,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "lh32m0s32blmg.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.5
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-11-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "lh32m0s32blmg-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
9,
9,
1.5
],
"zmin_mm": 0,
"centre_offset_mm": 0,
"footprint_binding": "identity",
"sha256": "7d176fd3f2c3b37358da34b4031e49a09ba7c4dced244cfee994e1ecacef14ad",
"checked": "2026-11-07",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
},
"metadata": {
"specs": {
"Manufacturer": "Legendsemi(领慧立芯)",
"Package": "LQFP-48(7x7)",
"Category": "Embedded Processors & Controllers",
"Pins": "48"
},
"characteristics": {
"version": 1,
"source": "datasheet",
"datasheet_sha256": "68e4fc70a88a08400e3a2f63a5ffb5c579ee05e87d12abdbb15865c063543cf9",
"rows": [
{
"name": "AVDD voltage between AVDD and 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 between DVDD and 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 between AGND and 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 between DGND and IOGND",
"symbol": "DGND",
"kind": "absolute_maximum",
"unit": "V",
"min": -0.3,
"typ": null,
"max": 0.3,
"conditions": "",
"source_page": 230,
"source": "datasheet"
},
{
"name": "Voltage between VREFP and 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 supply voltage",
"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 voltage",
"symbol": "VIH",
"kind": "electrical",
"unit": "V",
"min": 2.2,
"typ": null,
"max": null,
"conditions": "",
"source_page": 230,
"source": "datasheet"
},
{
"name": "Input low-level voltage",
"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": "32kHz LRC oscillator frequency accuracy",
"symbol": "Faccuray_LRC",
"kind": "tolerance",
"unit": "%",
"min": -3,
"typ": null,
"max": 3,
"conditions": "",
"source_page": 231,
"source": "datasheet"
}
]
}
},
"variants": [],
"sections": [
"hero",
"viewers",
"readme",
"breadcrumbs",
"info"
],
"discovery_triggers": [
"lh32m0s32blmg"
],
"discovery_pitch": "LH32M0S32BLMG (Legendsemi(领慧立芯)) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
"author": {
"name": "Ray",
"email": "[email protected]"
},
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"lh32m0s32blmg.kicad_sym",
"lh32m0s32blmg.kicad_mod",
"lh32m0s32blmg.glb",
"lh32m0s32blmg.step",
"lh32m0s32blmg.lbr",
"docs/hero.png",
"docs/lh32m0s32blmg-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"lh32m0s32blmg-hero.glb",
"lh32m0s32blmg-hero.overlay.json",
"lh32m0s32blmg-etched.glb"
],
"visibility": {
"public": true
}
}