main
Ray Publish 0.1.0 32e6b0a
{
  "slug": "stm32g071kbu6tr",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-32(5x5). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32g071kbu6tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32g071kbu6tr.kicad_sym",
    "stm32g071kbu6tr.kicad_mod",
    "stm32g071kbu6tr.glb",
    "stm32g071kbu6tr.step",
    "stm32g071kbu6tr.lbr",
    "docs/hero.png",
    "docs/stm32g071kbu6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32g071kbu6tr-hero.glb",
    "stm32g071kbu6tr-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32G071KBU6TR",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-32(5x5)",
    "pin_count": 33,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/content/ccc/resource/technical/document/datasheet/group3/a6/d5/cd/ef/e9/80/4c/3f/DM00412180/files/DM00412180.pdf/jcr:content/translations/en.DM00412180.pdf",
    "parts": {
      "symbol": "stm32g071kbu6tr.kicad_sym",
      "footprint": "stm32g071kbu6tr.kicad_mod",
      "model_3d": "stm32g071kbu6tr-hero.glb",
      "model_3d_plain": "stm32g071kbu6tr.glb",
      "model_3d_step": "stm32g071kbu6tr-etched.step",
      "model_3d_step_plain": "stm32g071kbu6tr.step",
      "lbr": "stm32g071kbu6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C5270162",
      "digikey": "497-STM32G071KBU6TR-ND",
      "mouser": "511-STM32G071KBU6TR"
    },
    "distributor_check": {
      "checked_at": "2026-11-13T10:26:16Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32G071KBU6TR-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32G071KBU6TR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT_f) that is Fm+ capable; alternate functions include IR_OUT, UCPD2_FRSTX, TIM17_CH1, USART3_RX, SPI2_NSS, I2C1_SDA and EVENTOUT."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied through the RTC-domain power switch, which sinks only 3 mA, so output use is limited to 2 MHz with 30 pF and it must not source current; it also serves as OSC32_IN for the 32.768 kHz crystal."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with the same power-switch limits as PC14 (3 mA sink, 2 MHz at 30 pF, no current sourcing); it also serves as OSC32_OUT, with OSC32_EN, OSC_EN and TIM15_BKIN alternate functions."
      },
      {
        "number": "4",
        "name": "VDD/VDDA",
        "type": "power_in",
        "description": "Main supply input: VDD is 1.7 V to 3.6 V for the internal regulator and system analog, and VDDA (1.62 V for ADC and COMP, 1.8 V for DAC, 2.4 V for VREFBUF, up to 3.6 V) and VDDIO1 are provided through the same pin."
      },
      {
        "number": "5",
        "name": "VSS/VSSA",
        "type": "power_in",
        "description": "Ground reference for the digital and analog circuitry; all voltages in the datasheet are referenced to VSS."
      },
      {
        "number": "6",
        "name": "PF2-NRST",
        "type": "bidirectional",
        "description": "Reset pin with embedded weak pull-up (RST I/O structure) when configured as reset, and a 5 V-tolerant FT GPIO when configured as GPIO; alternate function MCO."
      },
      {
        "number": "7",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI2_SCK, USART2_CTS, TIM2_CH1_ETR, USART4_TX, LPTIM1_OUT, UCPD2_FRSTX and COMP1_OUT, and additional functions ADC_IN0, COMP1_INM, TAMP_IN2 and WKUP1."
      },
      {
        "number": "8",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_SCK/I2S1_CK, USART2_RTS_DE_CK, TIM2_CH2, USART4_RX, TIM15_CH1N, I2C1_SMBA and EVENTOUT, and additional functions ADC_IN1 and COMP1_INP."
      },
      {
        "number": "9",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_MOSI/I2S1_SD, USART2_TX, TIM2_CH3, UCPD1_FRSTX, TIM15_CH1, LPUART1_TX and COMP2_OUT, and additional functions ADC_IN2, COMP2_INM, WKUP4 and LSCO."
      },
      {
        "number": "10",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI2_MISO, USART2_RX, TIM2_CH4, UCPD2_FRSTX, TIM15_CH2, LPUART1_RX and EVENTOUT, and additional functions ADC_IN3 and COMP2_INP."
      },
      {
        "number": "11",
        "name": "PA4",
        "type": "bidirectional",
        "description": "3.6 V-tolerant I/O with analog switch (TT_a); alternate functions include SPI1_NSS/I2S1_WS, SPI2_MOSI, TIM14_CH1, LPTIM2_OUT, UCPD2_FRSTX and EVENTOUT, and additional functions ADC_IN4, DAC_OUT1 and RTC_OUT2."
      },
      {
        "number": "12",
        "name": "PA5",
        "type": "bidirectional",
        "description": "3.6 V-tolerant I/O with analog switch (TT_a); alternate functions include SPI1_SCK/I2S1_CK, CEC, TIM2_CH1_ETR, USART3_TX, LPTIM2_ETR, UCPD1_FRSTX and EVENTOUT, and additional functions ADC_IN5 and DAC_OUT2."
      },
      {
        "number": "13",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, USART3_CTS, TIM16_CH1, LPUART1_CTS and COMP1_OUT, and additional function ADC_IN6."
      },
      {
        "number": "14",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM1_CH1N, TIM14_CH1, TIM17_CH1, UCPD1_FRSTX and COMP2_OUT, and additional function ADC_IN7."
      },
      {
        "number": "15",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_NSS/I2S1_WS, TIM3_CH3, TIM1_CH2N, USART3_RX, LPTIM1_OUT, UCPD1_FRSTX and COMP1_OUT, and additional function ADC_IN8."
      },
      {
        "number": "16",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include TIM14_CH1, TIM3_CH4, TIM1_CH3N, USART3_RTS_DE_CK, LPTIM2_IN1, LPUART1_RTS_DE and EVENTOUT, and additional functions COMP1_INM and ADC_IN9."
      },
      {
        "number": "17",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI2_MISO, USART3_TX, LPTIM1_OUT and EVENTOUT, and additional functions COMP1_INP and ADC_IN10."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "USB Type-C PD capable I/O (FT_c, 5 V-tolerant); alternate functions include MCO, SPI2_NSS, TIM1_CH1, LPTIM2_OUT, EVENTOUT and UCPD1_CC1, and on reset a pull-down may be present depending on the PA9/PC6 level, which can be disabled by strobing the UCPDx_STROBE bit of SYSCFG_CFGR1 at start-up."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "Dead-battery and Fm+ capable I/O (FT_fd, 5 V-tolerant); alternate functions include MCO, USART1_TX, TIM1_CH2, SPI2_MISO, TIM15_BKIN, I2C1_SCL, EVENTOUT and UCPD1_DBCC1, and it can be remapped in place of PA11 via SYSCFG_CFGR1."
      },
      {
        "number": "20",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) with alternate functions UCPD1_FRSTX, TIM3_CH1 and TIM2_CH3."
      },
      {
        "number": "21",
        "name": "PA10",
        "type": "bidirectional",
        "description": "Dead-battery and Fm+ capable I/O (FT_fd, 5 V-tolerant); alternate functions include SPI2_MOSI, USART1_RX, TIM1_CH3, TIM17_BKIN, I2C1_SDA, EVENTOUT and UCPD1_DBCC2, and it can be remapped in place of PA12 via SYSCFG_CFGR1."
      },
      {
        "number": "22",
        "name": "PA11 [PA9]",
        "type": "bidirectional",
        "description": "Fm+ capable I/O (FT_f, 5 V-tolerant); alternate functions include SPI1_MISO/I2S1_MCK, USART1_CTS, TIM1_CH4, TIM1_BKIN2, I2C2_SCL and COMP1_OUT, and it is the default position of PA9 when remapped through SYSCFG_CFGR1."
      },
      {
        "number": "23",
        "name": "PA12 [PA10]",
        "type": "bidirectional",
        "description": "Fm+ capable I/O (FT_f, 5 V-tolerant); alternate functions include SPI1_MOSI/I2S1_SD, USART1_RTS_DE_CK, TIM1_ETR, I2S_CKIN, I2C2_SDA and COMP2_OUT, and it is the default position of PA10 when remapped through SYSCFG_CFGR1."
      },
      {
        "number": "24",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); upon reset it is configured as SWDIO with the internal pull-up activated, with IR_OUT and EVENTOUT as alternate functions."
      },
      {
        "number": "25",
        "name": "PA14-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); upon reset it is configured as SWCLK with the internal pull-down activated, and it also carries the BOOT0 boot-selection function shared with the GPIO, plus USART2_TX and EVENTOUT."
      },
      {
        "number": "26",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions include SPI1_NSS/I2S1_WS, USART2_RX, TIM2_CH1_ETR, USART4_RTS_DE_CK, USART3_RTS_DE_CK and EVENTOUT."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_SCK/I2S1_CK, TIM1_CH2, TIM2_CH2, USART1_RTS_DE_CK and EVENTOUT, and additional function COMP2_INM."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with analog switch (FT_a); alternate functions include SPI1_MISO/I2S1_MCK, TIM3_CH1, USART1_CTS, TIM17_BKIN and EVENTOUT, and additional function COMP2_INP."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions include SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM16_BKIN, LPTIM1_IN1, I2C1_SMBA and COMP2_OUT, and additional function WKUP6."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable I/O with analog switch (FT_fa); alternate functions include USART1_TX, TIM1_CH3, TIM16_CH1N, SPI2_MISO, LPTIM1_ETR, I2C1_SCL and EVENTOUT, and additional function COMP2_INP."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable I/O with analog switch (FT_fa); alternate functions include USART1_RX, SPI2_MOSI, TIM17_CH1N, USART4_CTS, LPTIM1_IN2, I2C1_SDA and EVENTOUT, and additional functions COMP2_INM and PVD_IN."
      },
      {
        "number": "32",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable I/O (FT_f); alternate functions include CEC, SPI2_SCK, TIM16_CH1, USART3_TX, TIM15_BKIN, 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 MPN suffix (K, B, U, 6, TR, no N) selects the UFQFPN32 GP version, so the pin numbers come from ; The UFQFPN32 exposed thermal pad is labelled VSS in Figure 6, but the datasheet does not give it a n; In the extracted Table 12 text, the PC15-OSC32_OUT row's pin numbers are printed in a row whose name"
        ],
        "pages_sent": 71,
        "cost_usd": 0.1012,
        "at": "2026-11-13T10:26:03"
      },
      "datasheet": {
        "url": "https://www.st.com/content/ccc/resource/technical/document/datasheet/group3/a6/d5/cd/ef/e9/80/4c/3f/DM00412180/files/DM00412180.pdf/jcr:content/translations/en.DM00412180.pdf",
        "pages": 143,
        "sha256": "a83ee1377da65257",
        "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": "stm32g071kbu6tr.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": "7753e10cf7fabfd63b37bf86fc487f01a01024f1999ba833e5fa7163c7a83399",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32g071kbu6tr-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": "d6c7f40beeac5290cb936fe537a83168d3a1f80effc009e33516e7f506bbfe98",
        "checked": "2026-11-13",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "UFQFPN32 (A0B8)",
      "source_page": 122,
      "D": {
        "nom_mm": 5.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 5.0,
        "range_mm": [
          null,
          null
        ]
      },
      "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": "stm32g071kbu6tr.step",
        "verdict": "PASS",
        "reasons": [
          "height within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}