main
Ray Set visibility: public ae179dc 16d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32g031f6p6tr",
  "title": "STM32G031F6P6TR",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32g031f6p6tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32G031F6P6TR",
    "manufacturer": "STMicroelectronics",
    "package": "TSSOP-20",
    "pin_count": 20,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588908513066160128",
    "parts": {
      "symbol": "stm32g031f6p6tr.kicad_sym",
      "footprint": "stm32g031f6p6tr.kicad_mod",
      "model_3d": "stm32g031f6p6tr-hero.glb",
      "model_3d_plain": "stm32g031f6p6tr.glb",
      "model_3d_step": "stm32g031f6p6tr-etched.step",
      "model_3d_step_plain": "stm32g031f6p6tr.step",
      "lbr": "stm32g031f6p6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C724050",
      "digikey": "497-STM32G031F6P6TR-ND",
      "mouser": "511-STM32G031F6P6TR"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T13:52:41Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32G031F6P6TR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32G031F6P6TR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB7/PB8",
        "type": "bidirectional",
        "description": "Shared package pad: PB7 is a 5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch, ADC_IN11 and PVD_IN, and PB8 is a 5 V-tolerant Fm+-capable I/O (FT_f) with TIM16_CH1 and I2C1_SCL; the datasheet does not state which of the two is bonded to this package."
      },
      {
        "number": "2",
        "name": "PB9/PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Shared package pad: PB9 is a 5 V-tolerant Fm+-capable I/O (FT_f) with I2C1_SDA, IR_OUT and TIM17_CH1, and PC14 is a 5 V-tolerant I/O (FT) supplied through the power switch that carries OSC32_IN; the datasheet does not state which of the two is bonded to this package."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied through the power switch, which sinks only 3 mA, so in output mode it must not exceed 2 MHz with a 30 pF load and must not be used as a current source; it carries OSC32_OUT."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Power supply: VDD is 1.7 V to 3.6 V for the core and I/Os, and VDDA is 1.62 V (ADC) or 2.4 V (VREFBUF) to 3.6 V for the analog circuits."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground reference for the digital and analog supplies; all voltages in the datasheet are referenced to VSS."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Active-low reset pin with embedded weak pull-up resistor, which also serves as the PF2 I/O with MCO alternate function."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with analog switch function, also providing ADC_IN0, TAMP_IN2 and WKUP1."
      },
      {
        "number": "8",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with switchable diode to VDD and analog switch function, also providing ADC_IN1."
      },
      {
        "number": "9",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with analog switch function, also providing ADC_IN2, WKUP4 and LSCO."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with switchable diode to VDD and analog switch function, also providing ADC_IN3."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with analog switch function, also providing ADC_IN4, TAMP_IN1, RTC_TS, RTC_OUT1 and WKUP2."
      },
      {
        "number": "12",
        "name": "PA5",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with switchable diode to VDD and analog switch function, also providing ADC_IN5."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with switchable diode to VDD and analog switch function, also providing ADC_IN6."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_a) with analog switch function, also providing ADC_IN7."
      },
      {
        "number": "15",
        "name": "PB0/PB1/PB2/PA8",
        "type": "bidirectional",
        "description": "Shared package pad: PB0 (FT_ea, ADC_IN8), PB1 (FT_ea, ADC_IN9), PB2 (FT_ea, ADC_IN10) and PA8 (FT) are all listed against this pin; the datasheet does not state which of them is bonded to this package."
      },
      {
        "number": "16",
        "name": "PA11[PA9]",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch function and ADC_IN15; its default function is PA11, and PA9 can be remapped onto this pin through the SYSCFG_CFGR1 register."
      },
      {
        "number": "17",
        "name": "PA12[PA10]",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch function and ADC_IN16; its default function is PA12, and PA10 can be remapped onto this pin through the SYSCFG_CFGR1 register."
      },
      {
        "number": "18",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_ea) with switchable diode to VDD; upon reset it is configured as SWDIO with an internal pull-up activated, and it also provides IR_OUT, EVENTOUT and ADC_IN17."
      },
      {
        "number": "19",
        "name": "PA15/PA14-BOOT0",
        "type": "bidirectional",
        "description": "Shared package pad: PA15 is a 5 V-tolerant I/O (FT) and PA14-BOOT0 is a 5 V-tolerant I/O (FT_a) that is configured as SWCLK with an internal pull-down activated upon reset and also provides BOOT0 and ADC_IN18; the datasheet does not state which of the two is bonded to this package."
      },
      {
        "number": "20",
        "name": "PB3/PB4/PB5/PB6",
        "type": "bidirectional",
        "description": "Shared package pad: PB3 (FT), PB4 (FT), PB5 (FT, WKUP6) and PB6 (FT_f, Fm+-capable, with I2C1_SCL and USART1_TX) are all listed against this pin; the datasheet does not state which of them is bonded to this package."
      }
    ],
    "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: Table 12 lists more than one function against these TSSOP20 pin numbers (shared pads such as PB7/PB8; Pin names PA11[PA9] and PA12[PA10] are printed with bracketed alternates; the datasheet notes that P"
        ],
        "pages_sent": 56,
        "cost_usd": 0.2401,
        "at": "2026-10-11T13:52:23"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588908513066160128",
        "pages": 117,
        "sha256": "0fc5e46abdba3d02",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 20,
        "described": 20,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32g031f6p6tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g031f6p6tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          6.4,
          6.5,
          1.2
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "2192dee29f16f40804e030f08ee497995ec9645ec7cc06f0a2593ac1f1024656",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "TSSOP-20",
      "Category": "Embedded Processors & Controllers",
      "Pins": "20"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32g031f6p6tr"
  ],
  "discovery_pitch": "STM32G031F6P6TR (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "author": {
    "name": "Ray",
    "email": "[email protected]"
  },
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32g031f6p6tr.kicad_sym",
    "stm32g031f6p6tr.kicad_mod",
    "stm32g031f6p6tr.glb",
    "stm32g031f6p6tr.step",
    "stm32g031f6p6tr.lbr",
    "docs/hero.png",
    "docs/stm32g031f6p6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32g031f6p6tr-hero.glb",
    "stm32g031f6p6tr-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}