main
Ray Publish 0.1.0 27fa086 17d ago
{
  "slug": "stm32g051c8u6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32g051c8u6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32g051c8u6.kicad_sym",
    "stm32g051c8u6.kicad_mod",
    "stm32g051c8u6.glb",
    "stm32g051c8u6.step",
    "stm32g051c8u6.lbr",
    "docs/hero.png",
    "docs/stm32g051c8u6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32g051c8u6-hero.glb",
    "stm32g051c8u6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32G051C8U6",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-48(7x7)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590404951089311744",
    "parts": {
      "symbol": "stm32g051c8u6.kicad_sym",
      "footprint": "stm32g051c8u6.kicad_mod",
      "model_3d": "stm32g051c8u6-hero.glb",
      "model_3d_plain": "stm32g051c8u6.glb",
      "model_3d_step": "stm32g051c8u6-etched.step",
      "model_3d_step_plain": "stm32g051c8u6.step",
      "lbr": "stm32g051c8u6.lbr"
    },
    "distributor_links": {
      "lcsc": "C3227330",
      "digikey": "497-STM32G051C8U6-ND",
      "mouser": "511-STM32G051C8U6"
    },
    "distributor_check": {
      "checked_at": "2026-10-10T23:39:52Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32G051C8U6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32G051C8U6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O supplied through the power switch, which sinks only 3 mA, so output use is limited to 2 MHz with 30 pF max load and it must not source current such as driving an LED; alternate TIM1_BKIN, additional functions TAMP_IN1, RTC_TS, RTC_OUT1, WKUP2."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O with the same power-switch limits as PC13 (3 mA sink, 2 MHz / 30 pF output limit), and its additional function is the 32.768 kHz oscillator input OSC32_IN."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O with the same power-switch limits as PC13 (3 mA sink, 2 MHz / 30 pF output limit), and its additional function is the 32.768 kHz oscillator output OSC32_OUT."
      },
      {
        "number": "4",
        "name": "VBAT",
        "type": "power_in",
        "description": "Power supply input for the RTC, TAMP, the low-speed 32.768 kHz oscillator and backup registers when VDD is not present, specified from 1.55 V to 3.6 V."
      },
      {
        "number": "5",
        "name": "VREF+",
        "type": "power_in",
        "description": "Analog peripheral reference input or output of the internal voltage reference buffer (VREFBUF_OUT); it must equal VDDA when VDDA < 2 V and lie between 2 V and VDDA when VDDA ≥ 2 V, and may be grounded if the analog peripherals using it are not active."
      },
      {
        "number": "6",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Main external supply for the internal regulator, the I/O ring (VDDIO1) and the analog blocks, with an operating voltage of 1.7 V to 3.6 V."
      },
      {
        "number": "7",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground reference for the digital and analog domains; all voltages in the electrical characteristics are referenced to VSS."
      },
      {
        "number": "8",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O with no analog switch; alternate function TIM14_CH1 and additional function OSC_IN (high-speed oscillator input)."
      },
      {
        "number": "9",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; additional functions OSC_OUT (high-speed oscillator output) and OSC_EN, alternate function TIM15_CH1N."
      },
      {
        "number": "10",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up (RST structure) whose default function is NRST, alternate MCO; per footnote 3 other I/Os connected to this pin need careful configuration when it is used as NRST."
      },
      {
        "number": "11",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, LPTIM1_OUT, COMP1_OUT, and additional functions COMP1_INM8, ADC_IN0, TAMP_IN2, WKUP1."
      },
      {
        "number": "12",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, TIM15_CH1N, I2C1_SMBA, EVENTOUT, and additional functions COMP1_INP2, ADC_IN1."
      },
      {
        "number": "13",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, TIM15_CH1, LPUART1_TX, COMP2_OUT, and additional functions COMP2_INM8, ADC_IN2, WKUP4, LSCO."
      },
      {
        "number": "14",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI2_MISO, USART2_RX, TIM2_CH4, TIM15_CH2, LPUART1_RX, EVENTOUT, and additional functions COMP2_INP2, ADC_IN3."
      },
      {
        "number": "15",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, EVENTOUT, and additional functions ADC_IN4, DAC1_OUT1, RTC_OUT2."
      },
      {
        "number": "16",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR, EVENTOUT, and additional functions ADC_IN5, DAC1_OUT2."
      },
      {
        "number": "17",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, LPUART1_CTS, COMP1_OUT, and additional function ADC_IN6."
      },
      {
        "number": "18",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1, COMP2_OUT, and additional function ADC_IN7."
      },
      {
        "number": "19",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT, COMP1_OUT, and additional function ADC_IN8."
      },
      {
        "number": "20",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE, EVENTOUT, and additional functions COMP1_INM6, ADC_IN9."
      },
      {
        "number": "21",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; alternate functions include SPI2_MISO, LPTIM1_OUT, EVENTOUT, and additional functions COMP1_INP1, ADC_IN10."
      },
      {
        "number": "22",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch); alternate functions include LPUART1_RX, TIM2_CH3, SPI2_SCK, I2C2_SCL, COMP1_OUT, and additional function ADC_IN11."
      },
      {
        "number": "23",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch); alternate functions include SPI2_MOSI, LPUART1_TX, TIM2_CH4, I2C2_SDA, COMP2_OUT, and additional function ADC_IN15."
      },
      {
        "number": "24",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI2_NSS, LPUART1_RTS_DE, TIM1_BKIN, TIM15_BKIN, EVENTOUT, and additional function ADC_IN16."
      },
      {
        "number": "25",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable); alternate functions include SPI2_SCK, LPUART1_CTS, TIM1_CH1N, TIM15_CH1N, I2C2_SCL, EVENTOUT."
      },
      {
        "number": "26",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable); alternate functions include SPI2_MISO, TIM1_CH2N, TIM15_CH1, I2C2_SDA, EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include SPI2_MOSI, TIM1_CH3N, TIM15_CH1N, TIM15_CH2, EVENTOUT, and additional function RTC_REFIN."
      },
      {
        "number": "28",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT."
      },
      {
        "number": "29",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable) with footnote 4: PA9 and PA10 can be remapped in place of PA11 and PA12 via SYSCFG_CFGR1; alternate functions include MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL, EVENTOUT."
      },
      {
        "number": "30",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include TIM3_CH1 and TIM2_CH3."
      },
      {
        "number": "31",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include TIM3_CH2 and TIM2_CH4."
      },
      {
        "number": "32",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable) with footnote 4 remapping to PA12 default pin position; alternate functions include SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT."
      },
      {
        "number": "33",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch) with default mapping shown in brackets as PA9 when remapped; alternate functions include SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL, COMP1_OUT, and additional function ADC_IN15."
      },
      {
        "number": "34",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch) with default mapping shown in brackets as PA10 when remapped; alternate functions include SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA, COMP2_OUT, and additional function ADC_IN16."
      },
      {
        "number": "35",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_ea I/O with analog switch and switchable diode to VDD; upon reset it is the SWDIO alternate function with the internal pull-up enabled (footnote 5), and it also carries IR_OUT and EVENTOUT, plus additional function ADC_IN17."
      },
      {
        "number": "36",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; upon reset it is the SWCLK alternate function with the internal pull-down enabled (footnote 5), and it also carries USART2_TX, EVENTOUT, and additional functions ADC_IN18 and BOOT0."
      },
      {
        "number": "37",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT."
      },
      {
        "number": "38",
        "name": "PD0",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include EVENTOUT, SPI2_NSS, TIM16_CH1."
      },
      {
        "number": "39",
        "name": "PD1",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include EVENTOUT, SPI2_SCK, TIM17_CH1."
      },
      {
        "number": "40",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include TIM3_ETR and TIM1_CH1N."
      },
      {
        "number": "41",
        "name": "PD3",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include USART2_CTS, SPI2_MISO, TIM1_CH2N."
      },
      {
        "number": "42",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, EVENTOUT, and additional function COMP2_INM6."
      },
      {
        "number": "43",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_a I/O with analog switch function; alternate functions include SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT, and additional function COMP2_INP0."
      },
      {
        "number": "44",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant FT I/O; alternate functions include SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA, COMP2_OUT, and additional function WKUP6."
      },
      {
        "number": "45",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch); alternate functions include USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, EVENTOUT, and additional function COMP2_INP1."
      },
      {
        "number": "46",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_fa I/O (Fm+ capable, analog switch); alternate functions include USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA, EVENTOUT, and additional functions COMP2_INM7, ADC_IN11, PVD_IN."
      },
      {
        "number": "47",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable); alternate functions include SPI2_SCK, TIM16_CH1, TIM15_BKIN, I2C1_SCL, EVENTOUT."
      },
      {
        "number": "48",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant FT_f I/O (Fm+ capable); alternate functions include IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, EVENTOUT."
      },
      {
        "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-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Figure 4 (UFQFPN48 pinout, page 34) shows a VSS label in the extracted figure text, but Table 12 ass; Per-pin descriptions are built from Table 12 (I/O structure codes per Table 11, alternate and additi; UFQFPN48 has an exposed die pad under the package (Section 6.6, page 116) that is to be soldered to ",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 57,
        "cost_usd": 0.262,
        "at": "2026-10-10T23:39:34"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590404951089311744",
        "pages": 126,
        "sha256": "773ba84c25c7d2f3",
        "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": "stm32g051c8u6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g051c8u6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "189622921a866bf87b1d504d09ec331dc2aa62407ede5a6c16e54c31b09fd94a",
        "checked": "2026-10-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}