main
Ray Set visibility: public c6ad33d 15d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32f103r6h6a",
  "title": "STM32F103R6H6A",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TFBGA-64. 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",
    "stm32f103r6h6a",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32F103R6H6A",
    "manufacturer": "STMicroelectronics",
    "package": "TFBGA-64",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603061194106691584",
    "parts": {
      "symbol": "stm32f103r6h6a.kicad_sym",
      "footprint": "stm32f103r6h6a.kicad_mod",
      "model_3d": "stm32f103r6h6a-hero.glb",
      "model_3d_plain": "stm32f103r6h6a.glb",
      "model_3d_step": "stm32f103r6h6a-etched.step",
      "model_3d_step_plain": "stm32f103r6h6a.step",
      "lbr": "stm32f103r6h6a.lbr"
    },
    "distributor_links": {
      "lcsc": "C2970132",
      "digikey": "497-11520-ND",
      "mouser": "511-STM32F103R6H6A"
    },
    "distributor_check": {
      "checked_at": "2026-10-12T11:56:49Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-11520-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM32F103R6H6A",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "A1",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Backup-domain I/O PC14 (default function) shared with OSC32_IN; it is supplied through the power switch, sinks at most 3 mA, and should not exceed 2 MHz with a 30 pF load or be used as a current source."
      },
      {
        "number": "A2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "Backup-domain I/O PC13 (default function) with TAMPER-RTC alternate function; it is supplied through the power switch, sinks at most 3 mA, and should not exceed 2 MHz with a 30 pF load or be used as a current source such as an LED driver."
      },
      {
        "number": "A3",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB9 with I2C1_SDA and CAN_TX alternate functions (CAN_TX via remap); all GPIOs are high current-capable."
      },
      {
        "number": "A4",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB4 with NJTRST alternate function, and TIM3_CH1 or SPI1_MISO by remap; all GPIOs are high current-capable."
      },
      {
        "number": "A5",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB3 with JTDO alternate function, and TIM2_CH2 or TRACESWO by remap; all GPIOs are high current-capable."
      },
      {
        "number": "A6",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA15 with JTDI alternate function, and TIM2_CH1_ETR or SPI1_NSS by remap; all GPIOs are high current-capable."
      },
      {
        "number": "A7",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA14 with JTCK/SWCLK alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "A8",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA13 with JTMS/SWDIO alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "B1",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Backup-domain I/O PC15 (default function) shared with OSC32_OUT; it is supplied through the power switch, sinks at most 3 mA, and should not exceed 2 MHz with a 30 pF load or be used as a current source."
      },
      {
        "number": "B2",
        "name": "VBAT",
        "type": "power_in",
        "description": "VBAT supply pin for the RTC and backup registers."
      },
      {
        "number": "B3",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB8 with I2C1_SCL alternate function, and CAN_RX by remap; all GPIOs are high current-capable."
      },
      {
        "number": "B4",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot-mode selection input BOOT0 (input only, no alternate function listed)."
      },
      {
        "number": "B5",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PD2 with TIM3_ETR alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "B6",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) general-purpose I/O PC11; all GPIOs are high current-capable."
      },
      {
        "number": "B7",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) general-purpose I/O PC10; all GPIOs are high current-capable."
      },
      {
        "number": "B8",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA12 with USART1_RTS, CAN_TX, TIM1_ETR and USBDP alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "C1",
        "name": "OSC_IN",
        "type": "input",
        "description": "High-speed external oscillator input OSC_IN for the 4-16 MHz crystal; this ball is also the PD0 function when remapped."
      },
      {
        "number": "C2",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Ground pin VSS_4; all voltages are referenced to VSS."
      },
      {
        "number": "C3",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB7 with I2C1_SDA and USART1_RX alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "C4",
        "name": "PB5",
        "type": "bidirectional",
        "description": "I/O PB5 with I2C1_SMBA alternate function, and TIM3_CH2 or SPI1_MOSI by remap; all GPIOs are high current-capable."
      },
      {
        "number": "C5",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) general-purpose I/O PC12; all GPIOs are high current-capable."
      },
      {
        "number": "C6",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA10 with USART1_RX and TIM1_CH3 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "C7",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA9 with USART1_TX and TIM1_CH2 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "C8",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA11 with USART1_CTS, CAN_RX, TIM1_CH4 and USBDM alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "D1",
        "name": "OSC_OUT",
        "type": "output",
        "description": "High-speed external oscillator output OSC_OUT for the 4-16 MHz crystal; this ball is also the PD1 function when remapped."
      },
      {
        "number": "D2",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Supply pin VDD_4 for the 2.0 to 3.6 V application supply and I/Os."
      },
      {
        "number": "D3",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB6 with I2C1_SCL and USART1_TX alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "D4",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground pin VSS_3; all voltages are referenced to VSS."
      },
      {
        "number": "D5",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground pin VSS_2; all voltages are referenced to VSS."
      },
      {
        "number": "D6",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground pin VSS_1; all voltages are referenced to VSS."
      },
      {
        "number": "D7",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PA8 with USART1_CK, TIM1_CH1 and MCO alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "D8",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PC9 with TIM3_CH4 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "E1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Device reset pin NRST (I/O type); its electrical characteristics are given in the NRST pin characteristics section."
      },
      {
        "number": "E2",
        "name": "PC1",
        "type": "bidirectional",
        "description": "General-purpose I/O PC1 with ADC12_IN11 analog alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "E3",
        "name": "PC0",
        "type": "bidirectional",
        "description": "General-purpose I/O PC0 with ADC12_IN10 analog alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "E4",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Supply pin VDD_3 for the 2.0 to 3.6 V application supply and I/Os."
      },
      {
        "number": "E5",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Supply pin VDD_2 for the 2.0 to 3.6 V application supply and I/Os."
      },
      {
        "number": "E6",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Supply pin VDD_1 for the 2.0 to 3.6 V application supply and I/Os."
      },
      {
        "number": "E7",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PC7 with TIM3_CH2 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "E8",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PC8 with TIM3_CH3 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "F1",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin VSSA for the ADC and analog circuitry."
      },
      {
        "number": "F2",
        "name": "PC2",
        "type": "bidirectional",
        "description": "General-purpose I/O PC2 with ADC12_IN12 analog alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "F3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "General-purpose I/O PA2 with USART2_TX, ADC12_IN2 and TIM2_CH3 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "F4",
        "name": "PA5",
        "type": "bidirectional",
        "description": "General-purpose I/O PA5 with SPI1_SCK and ADC12_IN5 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "F5",
        "name": "PB0",
        "type": "bidirectional",
        "description": "General-purpose I/O PB0 with ADC12_IN8 and TIM3_CH3 alternate functions, and TIM1_CH2N by remap; all GPIOs are high current-capable."
      },
      {
        "number": "F6",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PC6 with TIM3_CH1 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "F7",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB15 with TIM1_CH3N alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "F8",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB14 with TIM1_CH2N alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "G1",
        "name": "VREF+",
        "type": "power_in",
        "description": "Positive reference voltage pin VREF+ for the ADC; on this package the VREF+ function replaces PC3, which is not present on TFBGA64."
      },
      {
        "number": "G2",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "General-purpose I/O PA0 with WKUP, USART2_CTS, ADC12_IN0 and TIM2_CH1_ETR alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "G3",
        "name": "PA3",
        "type": "bidirectional",
        "description": "General-purpose I/O PA3 with USART2_RX, ADC12_IN3 and TIM2_CH4 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "G4",
        "name": "PA6",
        "type": "bidirectional",
        "description": "General-purpose I/O PA6 with SPI1_MISO, ADC12_IN6 and TIM3_CH1 alternate functions, and TIM1_BKIN by remap; all GPIOs are high current-capable."
      },
      {
        "number": "G5",
        "name": "PB1",
        "type": "bidirectional",
        "description": "General-purpose I/O PB1 with ADC12_IN9 and TIM3_CH4 alternate functions, and TIM1_CH3N by remap; all GPIOs are high current-capable."
      },
      {
        "number": "G6",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB2 that also carries the BOOT1 boot-mode function."
      },
      {
        "number": "G7",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB10 with TIM2_CH3 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "G8",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB13 with TIM1_CH1N alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "H1",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply pin VDDA; the ADC conversion range is 0 to 3.6 V and the temperature sensor requires 2 V < VDDA < 3.6 V."
      },
      {
        "number": "H2",
        "name": "PA1",
        "type": "bidirectional",
        "description": "General-purpose I/O PA1 with USART2_RTS, ADC12_IN1 and TIM2_CH2 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "H3",
        "name": "PA4",
        "type": "bidirectional",
        "description": "General-purpose I/O PA4 with SPI1_NSS, USART2_CK and ADC12_IN4 alternate functions; all GPIOs are high current-capable."
      },
      {
        "number": "H4",
        "name": "PA7",
        "type": "bidirectional",
        "description": "General-purpose I/O PA7 with SPI1_MOSI, ADC12_IN7 and TIM3_CH2 alternate functions, and TIM1_CH1N by remap; all GPIOs are high current-capable."
      },
      {
        "number": "H5",
        "name": "PC4",
        "type": "bidirectional",
        "description": "General-purpose I/O PC4 with ADC12_IN14 analog alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "H6",
        "name": "PC5",
        "type": "bidirectional",
        "description": "General-purpose I/O PC5 with ADC12_IN15 analog alternate function; all GPIOs are high current-capable."
      },
      {
        "number": "H7",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB11 with TIM2_CH4 alternate function by remap; all GPIOs are high current-capable."
      },
      {
        "number": "H8",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O PB12 with TIM1_BKIN alternate function; all GPIOs are high current-capable."
      }
    ],
    "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 TFBGA64 ballout figure (Figure 4) is garbled in the extracted text, so the ball-to-pin map was t; Conflict in the datasheet: Table 5 places OSC_IN on C1 and OSC_OUT on D1 (PD0 and PD1 remaps on the ; These balls are shared with the PD0 and PD1 remap functions; only the default OSC_IN/OSC_OUT names a"
        ],
        "pages_sent": 47,
        "cost_usd": 0.2234,
        "at": "2026-10-12T11:56:34"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8603061194106691584",
        "pages": 99,
        "sha256": "31ab1fe3de6e6cf3",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 64,
        "described": 64,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32f103r6h6a.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          1.21
        ],
        "zmin_mm": -0.008,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "7125823590a819a0f6fa72e42ba51148d58f5a55617c48349c05479572466de8",
        "checked": "2026-10-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32f103r6h6a-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          5,
          5,
          1.21
        ],
        "zmin_mm": -0.008,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "624f0f915f50ac78f02d6f413f515fe1527dbb62f46ad6269cd2dd70201b846f",
        "checked": "2026-10-12",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "TFBGA-64",
      "Category": "Embedded Processors & Controllers",
      "Pins": "64"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32f103r6h6a"
  ],
  "discovery_pitch": "STM32F103R6H6A (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",
    "stm32f103r6h6a.kicad_sym",
    "stm32f103r6h6a.kicad_mod",
    "stm32f103r6h6a.glb",
    "stm32f103r6h6a.step",
    "stm32f103r6h6a.lbr",
    "docs/hero.png",
    "docs/stm32f103r6h6a-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32f103r6h6a-hero.glb",
    "stm32f103r6h6a-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}