main
Ray Publish 0.1.3 5a749fa
{
  "slug": "stm32c031k6t6",
  "version": "0.1.3",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32c031k6t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32c031k6t6.kicad_sym",
    "stm32c031k6t6.kicad_mod",
    "stm32c031k6t6.glb",
    "stm32c031k6t6.step",
    "stm32c031k6t6.lbr",
    "docs/hero.png",
    "docs/stm32c031k6t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32c031k6t6-etched.glb",
    "stm32c031k6t6-etched.step",
    "stm32c031k6t6-hero.glb",
    "stm32c031k6t6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32C031K6T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590907054570102784",
    "parts": {
      "symbol": "stm32c031k6t6.kicad_sym",
      "footprint": "stm32c031k6t6.kicad_mod",
      "model_3d": "stm32c031k6t6-hero.glb",
      "model_3d_plain": "stm32c031k6t6.glb",
      "model_3d_step": "stm32c031k6t6-etched.step",
      "model_3d_step_plain": "stm32c031k6t6.step",
      "lbr": "stm32c031k6t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5456169"
    },
    "pins": [
      {
        "number": "1",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5V-tolerant fast I/O, usable as IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2 or I2C1_SDA (Fm+/wakeup-from-Stop capable) alternate function, or EVENTOUT."
      },
      {
        "number": "2",
        "name": "PC14-OSCX_IN",
        "type": "bidirectional",
        "description": "5V-tolerant I/O, default GPIO PC14 at reset, that can instead drive the 32.768 kHz low-speed external oscillator input (OSCX_IN) or act as USART1_TX, TIM1_ETR/TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA or EVENTOUT."
      },
      {
        "number": "3",
        "name": "PC15-OSCX_OUT",
        "type": "bidirectional",
        "description": "5V-tolerant I/O, default GPIO PC15 at reset, that can instead drive the 32.768 kHz low-speed external oscillator output (OSCX_OUT) or act as OSC32_EN, OSC_EN, TIM1_ETR or TIM3_CH3."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Main digital and analog power supply input for the device core, I/Os (VDDIO1) and ADC (VDDA), specified from 2.0 V (1.96 V minimum after POR) to 3.6 V."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Common digital and analog ground reference for the device."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "5V-tolerant bidirectional pin combining GPIO PF2 with the active-low system reset function (NRST), featuring a ~40 kΩ internal weak pull-up and a Schmitt trigger with 200 mV hysteresis; also usable as MCO or TIM1_CH4 alternate function."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN0 analog input, WKUP1 wakeup source, or USART2_CTS, TIM16_CH1, USART1_TX, TIM1_CH1 alternate function."
      },
      {
        "number": "8",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN1 analog input or SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2, I2C1_SMBA, EVENTOUT alternate function."
      },
      {
        "number": "9",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN2 analog input, WKUP4 wakeup source, LSCO clock output, or SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR, TIM1_CH3 alternate function."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN3 analog input or USART2_RX, TIM1_CH1N, TIM1_CH4, EVENTOUT alternate function."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN4 analog input, RTC_TS timestamp input, RTC_OUT1, WKUP2 wakeup source, or SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUT alternate function."
      },
      {
        "number": "12",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN5 analog input or SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N, TIM1_CH1, EVENTOUT alternate function."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN6 analog input or SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1 alternate function."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN7 analog input or SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1 alternate function."
      },
      {
        "number": "15",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN17 analog input or SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N alternate function."
      },
      {
        "number": "16",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN18 analog input or TIM14_CH1, TIM3_CH4, TIM1_CH3N, TIM1_CH2N, EVENTOUT alternate function."
      },
      {
        "number": "17",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN19 analog input or USART1_RX, MCO2, EVENTOUT alternate function."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as ADC_IN8 analog input or MCO, USART2_TX, TIM1_CH1, EVENTOUT, SPI1_NSS/I2S1_WS, TIM1_CH2N, TIM1_CH3N, TIM3_CH3, TIM3_CH4, TIM14_CH1, USART1_RX, MCO2 alternate function."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (can be remapped in place of PA11 via SYSCFG_CFGR1, per note 1) usable as MCO, USART1_TX, TIM1_CH2, TIM3_ETR, I2C1_SCL, EVENTOUT alternate function."
      },
      {
        "number": "20",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as TIM3_CH1 alternate function."
      },
      {
        "number": "21",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5V-tolerant I/O (can be remapped in place of PA12 via SYSCFG_CFGR1, per note 1) usable as USART1_RX, TIM1_CH3, MCO2, TIM17_BKIN, I2C1_SDA, EVENTOUT alternate function."
      },
      {
        "number": "22",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5V-tolerant I/O, default mapping location for PA9's alternate functions can be swapped in via SYSCFG_CFGR1 (note 1); usable as ADC_IN11 analog input or SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2 alternate function."
      },
      {
        "number": "23",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5V-tolerant I/O, default mapping location for PA10's alternate functions can be swapped in via SYSCFG_CFGR1 (note 1); usable as ADC_IN12 analog input or SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN alternate function."
      },
      {
        "number": "24",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5V-tolerant I/O configured by default as the SWDIO serial-wire debug data pin with its internal pull-up activated at reset; also usable as ADC_IN13 analog input or IR_OUT, TIM3_ETR, USART2_RX, EVENTOUT alternate function."
      },
      {
        "number": "25",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5V-tolerant I/O configured by default as the SWCLK serial-wire debug clock pin with its internal pull-down activated at reset, and also serving as the BOOT0 boot-mode selector; usable as ADC_IN14 analog input or SPI1_NSS/I2S1_WS, USART2_TX/RX, TIM1_CH1, MCO2, USART1_RTS_DE_CK alternate function."
      },
      {
        "number": "26",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_NSS/I2S1_WS, USART2_RX, TIM1_CH1, MCO2, USART1_RTS_DE_CK, EVENTOUT alternate function."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_SCK/I2S1_CK, TIM1_CH2, TIM3_CH2, USART1_RTS_DE_CK, EVENTOUT alternate function."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT alternate function."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as WKUP6 wakeup source or SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, TIM3_CH3, I2C1_SMBA alternate function."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as WKUP3 wakeup source or USART1_TX, TIM1_CH3, TIM16_CH1N, TIM3_CH3, USART1_RTS_DE_CK, USART1_CTS, I2C1_SCL, I2C1_SMBA, SPI1_MOSI/I2S1_SD, SPI1_MISO/I2S1_MCK, SPI1_SCK/I2S1_CK, TIM1_CH2, TIM3_CH1, TIM3_CH2, TIM16_BKIN, TIM17_BKIN alternate function."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as RTC_REFIN reference clock input or USART1_RX, TIM1_CH4, TIM17_CH1N, TIM3_CH4, I2C1_SDA, EVENTOUT, USART2_CTS, TIM16_CH1, TIM3_CH1, I2C1_SCL alternate function."
      },
      {
        "number": "32",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5V-tolerant I/O usable as USART2_CTS, TIM16_CH1, TIM3_CH1, I2C1_SCL, EVENTOUT alternate function."
      }
    ],
    "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 descriptions are comprehensive but the table structure in the datasheet has inconsistent pin num; Pins 18 (PA12 [PA10]) and 19 (PA11 [PA9]) have remapping capability - the bracketed pin numbers indi; Pins 17 (PA13) and 32 (PA14) are configured as SWD interface upon reset (SWDIO and SWCLK) with inter",
          "1/32 pins cited to the wrong page (name found elsewhere): ['9:PB9@p35']"
        ],
        "pages_sent": 108,
        "cost_usd": 1.4348,
        "at": "2026-09-23T12:25:22"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590907054570102784",
        "pages": 108,
        "sha256": "c0de50247b672919",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32c031k6t6.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": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32c031k6t6-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": "27ff71e8635f18a58acc3e2a848530e15cf1a37d9cabe86ad600ebc9c7aa76b7",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "visibility": "public",
  "title": "STM32C031K6T6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "discovery_triggers": [
    "stm32c031k6t6"
  ],
  "discovery_pitch": "STM32C031K6T6 (STMicroelectronics) component page with datasheet-verified CAD."
}