main
Ray Publish 0.1.1 36786a0
{
  "slug": "stm32c031c6t6",
  "version": "0.1.1",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Datasheet-verified pinout, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32c031c6t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32c031c6t6.kicad_sym",
    "stm32c031c6t6.kicad_mod",
    "stm32c031c6t6.glb",
    "stm32c031c6t6.step",
    "stm32c031c6t6.lbr",
    "docs/hero.png",
    "docs/stm32c031c6t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32c031c6t6-etched.step",
    "stm32c031c6t6-hero.glb",
    "stm32c031c6t6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32C031C6T6",
    "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/8590904241878228992",
    "parts": {
      "symbol": "stm32c031c6t6.kicad_sym",
      "footprint": "stm32c031c6t6.kicad_mod",
      "model_3d": "stm32c031c6t6-hero.glb",
      "model_3d_plain": "stm32c031c6t6.glb",
      "model_3d_step": "stm32c031c6t6-etched.step",
      "model_3d_step_plain": "stm32c031c6t6.step",
      "lbr": "stm32c031c6t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C5456218"
    },
    "pins": [
      {
        "number": "1",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) general-purpose I/O; alternate functions TIM1_ETR, TIM1_BKIN; additional functions RTC timestamp input (RTC_TS), RTC calibration/alarm output (RTC_OUT1) and wakeup pin WKUP2."
      },
      {
        "number": "2",
        "name": "PC14-OSCX_IN (PC14)",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O, default function is LSE 32.768 kHz oscillator input (OSCX_IN); alternate functions USART1_TX, TIM1_ETR, TIM1_BKIN2, IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUT."
      },
      {
        "number": "3",
        "name": "PC15-OSCX_OUT (PC15)",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O, default function is LSE 32.768 kHz oscillator output (OSCX_OUT); alternate functions OSC32_EN, OSC_EN, TIM1_ETR, TIM3_CH3."
      },
      {
        "number": "4",
        "name": "PF3",
        "type": "passive",
        "description": "Pin listed as type S with no alternate or additional function in the pin assignment table; function/behavior is not further described in this datasheet section (see review note)."
      },
      {
        "number": "5",
        "name": "VREF+",
        "type": "power_in",
        "description": "Positive analog reference voltage input for the ADC; must be between 2.0 V and VDDA, can be grounded when the analog peripherals using it are inactive."
      },
      {
        "number": "6",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Main digital and analog power supply input, 2.0 V (1.96 V min functional) to 3.6 V, supplies the internal regulator, system analog blocks and the ADC."
      },
      {
        "number": "7",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Digital and analog ground reference pin."
      },
      {
        "number": "8",
        "name": "PF0-OSC_IN (PF0)",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O, default function is HSE crystal/external clock input (OSC_IN, 4-48 MHz); alternate function TIM14_CH1."
      },
      {
        "number": "9",
        "name": "PF1-OSC_OUT (PF1)",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O, default function is HSE crystal oscillator output (OSC_OUT); alternate function OSC_EN."
      },
      {
        "number": "10",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O shared with the bidirectional reset pin NRST, which has an embedded weak pull-up resistor; alternate functions MCO, TIM1_CH4."
      },
      {
        "number": "11",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART2_CTS, TIM16_CH1, USART1_TX, TIM1_CH1; additional functions ADC_IN0 and wakeup pin WKUP1."
      },
      {
        "number": "12",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM17_CH1, USART1_RX, TIM1_CH2, I2C1_SMBA, EVENTOUT; additional function ADC_IN1."
      },
      {
        "number": "13",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MOSI/I2S1_SD, USART2_TX, TIM16_CH1N, TIM3_ETR, TIM1_CH3; additional functions ADC_IN2, wakeup pin WKUP4 and LSCO clock output."
      },
      {
        "number": "14",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART2_RX, TIM1_CH1N, TIM1_CH4, EVENTOUT; additional function ADC_IN3."
      },
      {
        "number": "15",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_NSS/I2S1_WS, USART2_TX, TIM1_CH2N, TIM14_CH1, TIM17_CH1N, EVENTOUT; additional functions ADC_IN4 and RTC_OUT2."
      },
      {
        "number": "16",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_SCK/I2S1_CK, USART2_RX, TIM1_CH3N, TIM1_CH1, EVENTOUT; additional function ADC_IN5."
      },
      {
        "number": "17",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1; additional function ADC_IN6."
      },
      {
        "number": "18",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1; additional function ADC_IN7."
      },
      {
        "number": "19",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N; additional function ADC_IN17."
      },
      {
        "number": "20",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM14_CH1, TIM3_CH4, TIM1_CH3N, TIM1_CH2N, EVENTOUT; additional function ADC_IN18."
      },
      {
        "number": "21",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART1_RX, MCO2, EVENTOUT; additional function ADC_IN19."
      },
      {
        "number": "22",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O with no listed alternate function; additional function ADC_IN20."
      },
      {
        "number": "23",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O with no listed alternate function; additional function ADC_IN21."
      },
      {
        "number": "24",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM1_BKIN2, TIM1_BKIN, EVENTOUT; additional function ADC_IN22."
      },
      {
        "number": "25",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM1_CH1N, EVENTOUT; no additional function listed."
      },
      {
        "number": "26",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM1_CH2N, EVENTOUT; no additional function listed."
      },
      {
        "number": "27",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM1_CH3N, EVENTOUT; additional function RTC_REFIN."
      },
      {
        "number": "28",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions MCO, USART2_TX, TIM1_CH1, EVENTOUT, SPI1_NSS/I2S1_WS, TIM1_CH2N, TIM1_CH3N, TIM3_CH3, TIM3_CH4, TIM14_CH1, USART1_RX, MCO2; additional function ADC_IN8."
      },
      {
        "number": "29",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions MCO, USART1_TX, TIM1_CH2, TIM3_ETR, I2C1_SCL, EVENTOUT; can be remapped to appear on pin 33 in place of PA11 via SYSCFG_CFGR1."
      },
      {
        "number": "30",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate function TIM3_CH1; no additional function listed."
      },
      {
        "number": "31",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate function TIM3_CH2; no additional function listed."
      },
      {
        "number": "32",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART1_RX, TIM1_CH3, MCO2, TIM17_BKIN, I2C1_SDA, EVENTOUT; can be remapped to appear on pin 34 in place of PA12 via SYSCFG_CFGR1."
      },
      {
        "number": "33",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2; additional function ADC_IN11; PA9 function can be remapped onto this pin via SYSCFG_CFGR1."
      },
      {
        "number": "34",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN; additional function ADC_IN12; PA10 function can be remapped onto this pin via SYSCFG_CFGR1."
      },
      {
        "number": "35",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; default alternate function SWDIO (SWD data), also IR_OUT, TIM3_ETR, USART2_RX, EVENTOUT; additional function ADC_IN13; internal pull-up active on this pin at reset."
      },
      {
        "number": "36",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; default alternate function SWCLK (SWD clock), also USART2_TX, EVENTOUT, SPI1_NSS/I2S1_WS, USART2_RX, TIM1_CH1, MCO2, USART1_RTS_DE_CK; additional functions ADC_IN14 and BOOT0 boot-selector; internal pull-down active on this pin at reset."
      },
      {
        "number": "37",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_NSS/I2S1_WS, USART2_RX, TIM1_CH1, MCO2, USART1_RTS_DE_CK, EVENTOUT; no additional function listed."
      },
      {
        "number": "38",
        "name": "PD0",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions EVENTOUT, TIM16_CH1; no additional function listed."
      },
      {
        "number": "39",
        "name": "PD1",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions EVENTOUT, TIM17_CH1; no additional function listed."
      },
      {
        "number": "40",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions TIM3_ETR, TIM1_CH1N; no additional function listed."
      },
      {
        "number": "41",
        "name": "PD3",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART2_CTS, TIM1_CH2N; no additional function listed."
      },
      {
        "number": "42",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_SCK/I2S1_CK, TIM1_CH2, TIM3_CH2, USART1_RTS_DE_CK, EVENTOUT; no additional function listed."
      },
      {
        "number": "43",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN, EVENTOUT; no additional function listed."
      },
      {
        "number": "44",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, TIM3_CH3, I2C1_SMBA; additional function wakeup pin WKUP6."
      },
      {
        "number": "45",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; 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, TIM17_BKIN; additional function wakeup pin WKUP3."
      },
      {
        "number": "46",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART1_RX, TIM1_CH4, TIM17_CH1N, TIM3_CH4, I2C1_SDA, EVENTOUT, USART2_CTS, TIM16_CH1, TIM3_CH1, I2C1_SCL; no additional function listed on this package."
      },
      {
        "number": "47",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions USART2_CTS, TIM16_CH1, TIM3_CH1, I2C1_SCL, EVENTOUT; no additional function listed."
      },
      {
        "number": "48",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5V-tolerant (FT) I/O; alternate functions IR_OUT, USART2_RTS_DE_CK, TIM17_CH1, TIM3_CH2, I2C1_SDA, EVENTOUT; no additional function listed."
      }
    ],
    "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: Discrepancy between Figure 7 (LQFP48 pinout diagram) and Table 12 (pin assignment table) regarding p; PA12[PA10] and PA11[PA9] pins are listed as remappable per note (1) in Table 12 (page 33). The pin n"
        ],
        "pages_sent": 108,
        "cost_usd": 1.2836,
        "at": "2026-09-23T10:32:16"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590904241878228992",
        "pages": 108,
        "sha256": "c0de50247b672919",
        "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": "stm32c031c6t6.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": "stm32c031c6t6-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": "4911491b6f6becf306b3656871d5612efe650a0e180634583e8b272e57d5d844",
        "checked": "2026-11-18",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STM32C031C6T6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    }
  },
  "discovery_triggers": [
    "stm32c031c6t6"
  ],
  "discovery_pitch": "STM32C031C6T6 (STMicroelectronics) component page with datasheet-verified CAD.",
  "visibility": "public"
}