main
History Download
Ray Publish 0.1.0 670db1b

LH32M0S32BSGG

Legendsemi · Microcontrollers (MCU/MPU/SOC) · SSOP-24

LH32M0S32BSGG from Legendsemi, in a SSOP-24. Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model); symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 VSS power_in Digital ground (数字地) for the SSOP24 package.
2 VDD power_in Digital power supply; DVDD operating range is 2.2-3.6 V per the normal operating conditions table.
3 NRST input External reset input, active low.
4 P0.2/AIN2/I2C_SDA/UART_TX/SPI_NSS/SWDIO bidirectional 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.
5 P0.3/AIN3/COMPN/I2C_SCL/UART_RX/SPI_SCLK/SWCLK bidirectional 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.
6 VSSA power_in Analog ground (模拟地).
7 VDDA power_in Analog power supply; AVDD operating range is 2.2-3.6 V per the normal operating conditions table.
8 VREFN output ADC reference ground, to be connected to analog ground.
9 VS/REFP power_in ADC regulator output that can supply up to 8 mA to ground.
10 AIN0 input ADC analog input AIN0.
11 AIN1 input ADC analog input AIN1.
12 ACM/LVD/AIN4 output 1.2 V reference regulated output, also usable as low-voltage detect input, analog comparator positive input and ADC input AIN4.
13 P1.5/SPI_NSS/XIN bidirectional 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).
14 P1.6/I2C_SCL/GPIO_CLK/BZ/COMPOUT/XOUT bidirectional GPIO P1.6 also serving as I2C_SCL, GPIO clock, buzzer output, analog comparator output and 32.768 kHz crystal output XOUT.
15 P2.0/UART_TX/SPI_MOSI/PWM7/BZ bidirectional GPIO P2.0 also serving as UART_TX, SPI_MOSI, PWM7 output and buzzer output.
16 P2.1/UART_RX/PWM2/SPI_MISO bidirectional GPIO P2.1 also serving as UART_RX, PWM2 output and SPI_MISO.
17 P2.2/LED8/BZ/PWM1/SPI_SCLK bidirectional GPIO P2.2 also serving as LED8 driver output, buzzer output, PWM1 output and SPI_SCLK.
18 P2.3/LED7/SPI_MOSI/PWM6 bidirectional GPIO P2.3 also serving as LED7 driver output, SPI_MOSI and PWM6 output.
19 P2.4/LED6/SPI_MISO/PWM5 bidirectional GPIO P2.4 also serving as LED6 driver output, SPI_MISO and PWM5 output.
20 P2.5/LED5/SPI_SCLK/PWM4 bidirectional GPIO P2.5 also serving as LED5 driver output, SPI_SCLK and PWM4 output.
21 P2.6/LED4/SPI_NSS/PWM3 bidirectional GPIO P2.6 also serving as LED4 driver output, SPI_NSS and PWM3 output.
22 P2.7/LED3/GPIO_CLK/TM1_BKIN bidirectional GPIO P2.7 also serving as LED3 driver output, GPIO clock input and Timer1 break input.
23 P3.0/LED2/PWM1 bidirectional GPIO P3.0 also serving as LED2 driver output and PWM1 output.
24 P3.1/LED1/PWM2 bidirectional GPIO P3.1 also serving as LED1 driver output and PWM2 output.

Key specifications

Parameter Value
Manufacturer Legendsemi
Package SSOP-24
Category Embedded Processors & Controllers
Pins 24

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
AVDD voltage (AVDD to AGND) AVDD -0.3 3.9 V 230
DVDD voltage (DVDD to DGND) DVDD -0.3 3.9 V 230
AGND voltage (AGND to IOGND) AGND -0.3 0.3 V 230
DGND voltage (DGND to IOGND) DGND -0.3 0.3 V 230
VCAP voltage (VREFP to VREFN) VCAP -0.3 3.9 V 230
IO pin voltage VIO -0.3 3.9 V 230
Storage temperature Tstorage -65 150 ℃ 230
Junction temperature Tjunction -40 125 ℃ 230
Sink current into any IO pin Isink 25 mA 230
Source current out of any IO pin Isource -25 mA 230
Total sink current into all IO pins Isink_tot 80 mA 230
Total source current out of all IO pins Isource_tot -80 mA 230
AVDD operating voltage range AVDD 2.2 3.6 V 230
DVDD operating voltage range DVDD 2.2 3.6 V 230
Chip operating temperature Ta -40 105 ℃ 230
Chip junction temperature Tj -40 125 ℃ 230
MCU clock frequency Fclk 0 32 MHz 230
IO input voltage range VIO -0.3 3.6 V 230
IO power supply DVDD DVDD 2.2 3.3 3.6 V 230
Input high level VIH 2.2 V 230
Input low level VIL -0.3 0.8 V 230
Input leakage current IL -10 10 µA 230
32 kHz oscillator frequency accuracy (LRC) Faccuray_LRC -3 3 % 231

CAD (KiCad official)

  • Symbol: LH32M0S32BSGG
  • Footprint: Package_SO:SSOP-24_5.3x8.2mm_P0.65mm
  • 3D model: SSOP-24 (KiCad packages3D, STEP)
  • 3D model files: lh32m0s32bsgg-etched.step / lh32m0s32bsgg-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); lh32m0s32bsgg.step / lh32m0s32bsgg.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: Legendsemi datasheet (237 pp, sha256 68e4fc70a88a0840, retrieved 2026-10-28, tier: lcsc)
  • Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-5 (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.
  • CAD: KiCad official libraries (CC-BY-SA 4.0).

Datasheet PDF