main
Ray stm32g031c8t6: component.models_3d pose record per STEP (Z-up, seated z=0, pad-centre origin, identity binding) 999aa69
{
  "slug": "stm32g031c8t6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32g031c8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32g031c8t6.kicad_sym",
    "stm32g031c8t6.kicad_mod",
    "stm32g031c8t6.glb",
    "stm32g031c8t6.step",
    "stm32g031c8t6.lbr",
    "docs/hero.png",
    "docs/stm32g031c8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html"
  ],
  "component": {
    "mpn": "STM32G031C8T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884840482033664",
    "parts": {
      "symbol": "stm32g031c8t6.kicad_sym",
      "footprint": "stm32g031c8t6.kicad_mod",
      "model_3d": "stm32g031c8t6-etched.glb",
      "model_3d_plain": "stm32g031c8t6.glb",
      "model_3d_step": "stm32g031c8t6-etched.step",
      "model_3d_step_plain": "stm32g031c8t6.step",
      "lbr": "stm32g031c8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C432205"
    },
    "pins": [
      {
        "number": "1",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5V-tolerant general-purpose I/O also usable as TIM1_BK break input, TAMP_IN1 tamper input, RTC_TS timestamp input, RTC_OUT1 calendar output, or WKUP2 wakeup source."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5V-tolerant I/O that defaults to PC14 and can be configured as TIM1_BK2 break input or as OSC32_IN input for the 32.768 kHz LSE crystal oscillator."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "5V-tolerant I/O that can be configured as OSC32_EN/OSC_EN oscillator enable or as OSC32_OUT output for the 32.768 kHz LSE crystal oscillator."
      },
      {
        "number": "4",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup battery supply input for the RTC, LSE oscillator and backup registers, accepting 1.55 V to 3.6 V when VDD is not present."
      },
      {
        "number": "5",
        "name": "VREF+",
        "type": "power_in",
        "description": "Positive reference voltage pin for the ADC, or output of the internal VREFBUF reference buffer (2.048 V or 2.5 V); must equal VDDA when VDDA < 2 V or be between 2 V and VDDA when VDDA ≥ 2 V."
      },
      {
        "number": "6",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Main digital and analog supply input, requiring 1.7 V (1.6 V minimum) to 3.6 V for VDD and 1.62 V to 3.6 V for VDDA ADC operation."
      },
      {
        "number": "7",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Common digital and analog ground reference pin."
      },
      {
        "number": "8",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "5V-tolerant I/O that defaults to PF0 and can be configured as TIM14_CH1 or as OSC_IN input for the 4-48 MHz HSE crystal oscillator."
      },
      {
        "number": "9",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "5V-tolerant I/O that can be configured as OSC_EN oscillator enable or as OSC_OUT output for the 4-48 MHz HSE crystal oscillator."
      },
      {
        "number": "10",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up resistor, also usable as MCO clock output, driven low (VIL(NRST) ≤0.3×VDDIO1) to reset the device."
      },
      {
        "number": "11",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, LPTIM1_OUT, ADC_IN0 analog input, TAMP_IN2 tamper input, or WKUP1 wakeup source."
      },
      {
        "number": "12",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea, Fm+/analog-switch capable) usable as SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, I2C1_SMBA, EVENTOUT, or ADC_IN1 analog input."
      },
      {
        "number": "13",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, LPUART1_TX, ADC_IN2 analog input, WKUP4 wakeup source, or LSCO low-speed clock output."
      },
      {
        "number": "14",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SPI2_MISO, USART2_RX, TIM2_CH4, LPUART1_RX, EVENTOUT, or ADC_IN3 analog input."
      },
      {
        "number": "15",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, EVENTOUT, ADC_IN4 analog input, or RTC_OUT2 calendar output."
      },
      {
        "number": "16",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SPI1_SCK/I2S1_CK, TIM2_CH1_ETR, LPTIM2_ETR, EVENTOUT, or ADC_IN5 analog input."
      },
      {
        "number": "17",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BK, TIM16_CH1, LPUART1_CTS, or ADC_IN6 analog input."
      },
      {
        "number": "18",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1, or ADC_IN7 analog input."
      },
      {
        "number": "19",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, LPTIM1_OUT, or ADC_IN8 analog input."
      },
      {
        "number": "20",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as TIM14_CH1, TIM3_CH4, TIM1_CH3N, LPTIM2_IN1, LPUART1_RTS_DE, EVENTOUT, or ADC_IN9 analog input."
      },
      {
        "number": "21",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SPI2_MISO, LPTIM1_OUT, EVENTOUT, or ADC_IN10 analog input."
      },
      {
        "number": "22",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_fa) usable as LPUART1_RX, TIM2_CH3, SPI2_SCK, I2C2_SCL, or ADC_IN11 analog input."
      },
      {
        "number": "23",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_fa) usable as SPI2_MOSI, LPUART1_TX, TIM2_CH4, I2C2_SDA, or ADC_IN15 analog input."
      },
      {
        "number": "24",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SPI2_NSS, LPUART1_RTS_DE, TIM1_BK, EVENTOUT, or ADC_IN16 analog input."
      },
      {
        "number": "25",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as SPI2_SCK, LPUART1_CTS, TIM1_CH1N, I2C2_SCL, or EVENTOUT."
      },
      {
        "number": "26",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as SPI2_MISO, TIM1_CH2N, I2C2_SDA, or EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI2_MOSI, TIM1_CH3N, EVENTOUT, or RTC_REFIN reference clock input for calendar calibration."
      },
      {
        "number": "28",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as MCO clock output, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, or EVENTOUT."
      },
      {
        "number": "29",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as MCO clock output, USART1_TX, TIM1_CH2, SPI2_MISO, I2C1_SCL, or EVENTOUT."
      },
      {
        "number": "30",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as TIM3_CH1 or TIM2_CH3 timer input capture/output compare."
      },
      {
        "number": "31",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as TIM3_CH2 or TIM2_CH4 timer input capture/output compare."
      },
      {
        "number": "32",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BK, I2C1_SDA, or EVENTOUT."
      },
      {
        "number": "33",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f, remappable to PA9) usable as SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BK2, or I2C2_SCL."
      },
      {
        "number": "34",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f, remappable to PA10) usable as SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, or I2C2_SDA."
      },
      {
        "number": "35",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (FT_ea) usable as SWDIO serial-wire debug data, IR_OUT, EVENTOUT, or ADC_IN17 analog input."
      },
      {
        "number": "36",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O (FT_a) usable as SWCLK serial-wire debug clock, USART2_TX, EVENTOUT, ADC_IN18 analog input, or BOOT0 boot-mode selection."
      },
      {
        "number": "37",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, or EVENTOUT."
      },
      {
        "number": "38",
        "name": "PD0",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as EVENTOUT, SPI2_NSS, or TIM16_CH1."
      },
      {
        "number": "39",
        "name": "PD1",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as EVENTOUT, SPI2_SCK, or TIM17_CH1."
      },
      {
        "number": "40",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as TIM3_ETR or TIM1_CH1N."
      },
      {
        "number": "41",
        "name": "PD3",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as USART2_CTS, SPI2_MISO, or TIM1_CH2N."
      },
      {
        "number": "42",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK, or EVENTOUT."
      },
      {
        "number": "43",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BK, or EVENTOUT."
      },
      {
        "number": "44",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BK, LPTIM1_IN1, I2C1_SMBA, or WKUP6 wakeup source."
      },
      {
        "number": "45",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL, or EVENTOUT."
      },
      {
        "number": "46",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as USART1_RX, SPI2_MOSI, TIM17_CH1N, LPTIM1_IN2, I2C1_SDA, EVENTOUT, or PVD_IN programmable voltage detector input."
      },
      {
        "number": "47",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as SPI2_SCK, TIM16_CH1, I2C1_SCL, or EVENTOUT."
      },
      {
        "number": "48",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5V-tolerant Fm+ I/O (FT_f) usable as IR_OUT, TIM17_CH1, SPI2_NSS, I2C1_SDA, or EVENTOUT."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.2",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.2",
        "primary_model": "claude-haiku-4-5-20251001",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: Pin numbering discrepancy between Figure 3 pinout diagram and Table 12 assignment table; relied on F"
        ],
        "pages_sent": 117,
        "cost_usd": 1.273,
        "at": "2026-09-23T11:05:53"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588884840482033664",
        "pages": 117,
        "sha256": "95ae804dbf135590",
        "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": "stm32g031c8t6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g031c8t6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "fe55677e6edcc6cf0847203a861fc67f6334e1ebd15858893f07f0a5c514eee0",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}