main
Ray Publish 0.1.0 110dc8b
{
  "slug": "stm32c031k6u3",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontroller Units (MCUs/MPUs/SOCs), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stm32c031k6u3",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32c031k6u3.kicad_sym",
    "stm32c031k6u3.kicad_mod",
    "stm32c031k6u3.glb",
    "stm32c031k6u3.step",
    "stm32c031k6u3.lbr",
    "docs/hero.png",
    "docs/stm32c031k6u3-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32c031k6u3-hero.glb",
    "stm32c031k6u3-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32C031K6U3",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-32(5x5)",
    "pin_count": 33,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32c031c4.pdf",
    "parts": {
      "symbol": "stm32c031k6u3.kicad_sym",
      "footprint": "stm32c031k6u3.kicad_mod",
      "model_3d": "stm32c031k6u3-hero.glb",
      "model_3d_plain": "stm32c031k6u3.glb",
      "model_3d_step": "stm32c031k6u3-etched.step",
      "model_3d_step_plain": "stm32c031k6u3.step",
      "lbr": "stm32c031k6u3.lbr"
    },
    "distributor_links": {
      "lcsc": "C6689580",
      "digikey": "497-STM32C031K6U3-ND",
      "mouser": "511-STM32C031K6U3"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T10:36:07Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32C031K6U3-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32C031K6U3",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) general-purpose I/O with alternate functions IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA and EVENTOUT."
      },
      {
        "number": "2",
        "name": "PC14-OSCX_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O that also serves as the OSCX_IN oscillator input, with alternate functions USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA and EVENTOUT."
      },
      {
        "number": "3",
        "name": "PC15-OSCX_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) I/O that also serves as the OSCX_OUT oscillator output, with alternate functions OSC32_EN, OSC_EN, TIM1_ETR and TIM3_CH3."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Power supply pin for the digital (VDD) and analog (VDDA) domains; standard operating voltage is 2.0 V to 3.6 V."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground pin for the digital (VSS) and analog (VSSA) domains, to which all voltages are referenced."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Reset pin with embedded weak pull-up (RST structure) when configured as reset, or a 5 V-tolerant (FT) GPIO when configured as GPIO, with alternate functions MCO and TIM1_CH4."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions USART2_CTS, TIM16_CH1, USART1_TX and TIM1_CH1, and additional function ADC_IN0 and WKUP1."
      },
      {
        "number": "8",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2, I2C1_SMBA and EVENTOUT, and additional function ADC_IN1."
      },
      {
        "number": "9",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR and TIM1_CH3, and additional functions ADC_IN2, WKUP4 and LSCO."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions USART2_RX, TIM1_CH1N, TIM1_CH4 and EVENTOUT, and additional function ADC_IN3."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N and EVENTOUT, and additional functions ADC_IN4 and RTC_OUT2."
      },
      {
        "number": "12",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N, TIM1_CH1 and EVENTOUT, and additional function ADC_IN5."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN and TIM16_CH1, and additional function ADC_IN6."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1 and TIM17_CH1, and additional function ADC_IN7."
      },
      {
        "number": "15",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3 and TIM1_CH2N, and additional function ADC_IN17."
      },
      {
        "number": "16",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions TIM14_CH1, TIM3_CH4, TIM1_CH3N, TIM1_CH2N and EVENTOUT, and additional function ADC_IN18."
      },
      {
        "number": "17",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions USART1_RX, MCO2 and EVENTOUT, and additional function ADC_IN19."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions MCO, USART2_TX, TIM1_CH1, EVENTOUT, SPI1_NSS/I2S1_WS, TIM1_CH2N, TIM1_CH3N, TIM3_CH3, TIM3_CH4, TIM14_CH1, USART1_RX and MCO2, and additional function ADC_IN8."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O with alternate functions MCO, USART1_TX, TIM1_CH2, TIM3_ETR, I2C1_SCL and EVENTOUT; it can be remapped in place of PA11 (default mapping) through SYSCFG_CFGR1."
      },
      {
        "number": "20",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) general-purpose I/O with alternate function TIM3_CH1."
      },
      {
        "number": "21",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O with alternate functions USART1_RX, TIM1_CH3, MCO2, TIM17_BKIN, I2C1_SDA and EVENTOUT; it can be remapped in place of PA12 (default mapping) through SYSCFG_CFGR1."
      },
      {
        "number": "22",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4 and TIM1_BKIN2, and additional function ADC_IN11; the bracketed PA9 is the remapped function."
      },
      {
        "number": "23",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) with alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR and I2S_CKIN, and additional function ADC_IN12; the bracketed PA10 is the remapped function."
      },
      {
        "number": "24",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) that is configured as SWDIO after reset with an internal pull-up enabled, with alternate functions IR_OUT, TIM3_ETR, USART2_RX and EVENTOUT, and additional function ADC_IN13."
      },
      {
        "number": "25",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant analog-switch I/O (FT_a) that is configured as SWCLK after reset with an internal pull-down enabled, with alternate functions USART2_TX, EVENTOUT, SPI1_NSS/I2S1_WS, USART2_RX, TIM1_CH1, MCO2 and USART1_RTS_DE_CK, and additional functions ADC_IN14 and BOOT0."
      },
      {
        "number": "26",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) general-purpose I/O with alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM1_CH1, MCO2, USART1_RTS_DE_CK and EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) general-purpose I/O with alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM3_CH2, USART1_RTS_DE_CK and EVENTOUT."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) general-purpose I/O with alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN and EVENTOUT."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) general-purpose I/O with alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, TIM3_CH3 and I2C1_SMBA, and additional function WKUP6."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O with alternate functions 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 and TIM17_BKIN, and additional function WKUP3."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O with alternate functions USART1_RX, TIM1_CH4, TIM17_CH1N, TIM3_CH4, I2C1_SDA, EVENTOUT, USART2_CTS, TIM16_CH1, TIM3_CH1 and I2C1_SCL, and additional function RTC_REFIN."
      },
      {
        "number": "32",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable (FT_f) I/O with alternate functions USART2_CTS, TIM16_CH1, TIM3_CH1, I2C1_SCL and EVENTOUT."
      },
      {
        "number": "33",
        "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: The UFQFPN32 package has an exposed die pad on its underside (Section 6.5, Figure 37). The datasheet; The PC14 and PC15 rows of Table 12 are scrambled in the text extraction. Pin numbers 2 (PC14-OSCX_IN; The PA14-BOOT0 pin is typed as bidirectional. Its BOOT0 function is an additional function; check th"
        ],
        "pages_sent": 47,
        "cost_usd": 0.0792,
        "at": "2026-11-13T10:35:54"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32c031c4.pdf",
        "pages": 103,
        "sha256": "896fc5601df00779",
        "source_tier": "mfr"
      },
      "cad": "land: KiCad official (CC-BY-SA 4.0); 3D: generated from the datasheet",
      "model_3d_generated": {
        "generator": "factory/gen_pkg3d.py",
        "family": "UFQFPN",
        "height_mm": 0.55,
        "height_basis": "datasheet A, nominal",
        "standoff_mm": 0.0
      },
      "pins": {
        "total": 33,
        "described": 33,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32c031k6u3.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.02,
          5.02,
          0.55
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "a6b898ce96d16c8e94253223b84b6fd5f436fa34c4570e0dbcbdbe9355e1dfa3",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32c031k6u3-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5.02,
          5.02,
          0.55
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "907692b606207dae31b8d707fab22c8de1ea2df91ed1f425ff35804c1ea68fba",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "UFQFPN32 (A0B8)",
      "source_page": 93,
      "D": {
        "nom_mm": 5.0,
        "range_mm": [
          4.9,
          5.1
        ]
      },
      "E1": {
        "nom_mm": 5.0,
        "range_mm": [
          4.9,
          5.1
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 0.55,
        "range_mm": [
          0.5,
          0.6
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stm32c031k6u3.step",
        "verdict": "PASS",
        "reasons": [
          "height within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}