main
Ray Set visibility: public 9f5f6b3 17d ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32f103r8h7",
  "title": "STM32F103R8H7",
  "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",
    "stm32f103r8h7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32F103R8H7",
    "manufacturer": "STMicroelectronics",
    "package": "TFBGA-64",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588952257265721344",
    "parts": {
      "symbol": "stm32f103r8h7.kicad_sym",
      "footprint": "stm32f103r8h7.kicad_mod",
      "model_3d": "stm32f103r8h7-hero.glb",
      "model_3d_plain": "stm32f103r8h7.glb",
      "model_3d_step": "stm32f103r8h7-etched.step",
      "model_3d_step_plain": "stm32f103r8h7.step",
      "lbr": "stm32f103r8h7.lbr"
    },
    "distributor_links": {
      "lcsc": "C1342359",
      "digikey": "STM32F103R8H7-ND",
      "mouser": "511-STM32F103R8H7"
    },
    "distributor_check": {
      "checked_at": "2026-10-10T23:53:30Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "STM32F103R8H7-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM32F103R8H7",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "A1",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Backup-domain I/O supplied through the power switch, which sinks only 3 mA, so it may be used as the 32 kHz OSC32_IN and must not be used as a current source or for output above 2 MHz with 30 pF max load."
      },
      {
        "number": "A2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "Backup-domain I/O supplied through the power switch, limited to a 3 mA sink, with TAMPER-RTC as alternate function, output speed not to exceed 2 MHz with 30 pF max load, and not to be used as a current source such as an LED driver."
      },
      {
        "number": "A3",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions TIM4_CH4, I2C1_SDA and CANTX."
      },
      {
        "number": "A4",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions JNTRST, TIM3_CH1 and SPI1_MISO as listed in Table 5."
      },
      {
        "number": "A5",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions JTDO, TIM2_CH2, TRACESWO and SPI1_SCK as listed in Table 5."
      },
      {
        "number": "A6",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with JTDI as debug alternate function and TIM2_CH1_ETR / SPI1_NSS as remapped alternates."
      },
      {
        "number": "A7",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with JTCK/SWCLK as debug alternate function."
      },
      {
        "number": "A8",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with JTMS/SWDIO as debug alternate function."
      },
      {
        "number": "B1",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Backup-domain I/O supplied through the power switch, limited to a 3 mA sink, with OSC32_OUT as alternate function, output speed not to exceed 2 MHz with 30 pF max load, and not to be used as a current source."
      },
      {
        "number": "B2",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup supply input for the RTC and backup registers."
      },
      {
        "number": "B3",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions TIM4_CH3, I2C1_SCL and CANRX."
      },
      {
        "number": "B4",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot mode selection input BOOT0 (boot modes are described in Section 2.3.8)."
      },
      {
        "number": "B5",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function TIM3_ETR."
      },
      {
        "number": "B6",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function USART3_RX."
      },
      {
        "number": "B7",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function USART3_TX."
      },
      {
        "number": "B8",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions USART1_RTS, CANTX, USBDP and TIM1_ETR."
      },
      {
        "number": "C1",
        "name": "OSC_IN",
        "type": "input",
        "description": "External 4-16 MHz crystal oscillator input after reset, which can be remapped to PD0 by software."
      },
      {
        "number": "C2",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "C3",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions I2C1_SDA, TIM4_CH2 and USART1_RX."
      },
      {
        "number": "C4",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions I2C1_SMBAl, TIM3_CH2 and SPI1_MOSI."
      },
      {
        "number": "C5",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function USART3_CK."
      },
      {
        "number": "C6",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions USART1_RX and TIM1_CH3."
      },
      {
        "number": "C7",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions USART1_TX and TIM1_CH2."
      },
      {
        "number": "C8",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions USART1_CTS, CANRX, USBDM and TIM1_CH4."
      },
      {
        "number": "D1",
        "name": "OSC_OUT",
        "type": "output",
        "description": "External 4-16 MHz crystal oscillator output after reset, which can be remapped to PD1 by software; PD1 in output mode is limited to 50 MHz."
      },
      {
        "number": "D2",
        "name": "VDD_4",
        "type": "power_in",
        "description": "Digital supply for I/Os and core, 2.0 to 3.6 V application supply."
      },
      {
        "number": "D3",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions I2C1_SCL, TIM4_CH1 and USART1_TX."
      },
      {
        "number": "D4",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "D5",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "D6",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "D7",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions USART1_CK, TIM1_CH1 and MCO."
      },
      {
        "number": "D8",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function TIM3_CH4."
      },
      {
        "number": "E1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin NRST, with electrical characteristics specified in Section 5.3.14."
      },
      {
        "number": "E2",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Standard I/O with ADC input ADC12_IN11."
      },
      {
        "number": "E3",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Standard I/O with ADC input ADC12_IN10."
      },
      {
        "number": "E4",
        "name": "VDD_3",
        "type": "power_in",
        "description": "Digital supply for I/Os and core, 2.0 to 3.6 V application supply."
      },
      {
        "number": "E5",
        "name": "VDD_2",
        "type": "power_in",
        "description": "Digital supply for I/Os and core, 2.0 to 3.6 V application supply."
      },
      {
        "number": "E6",
        "name": "VDD_1",
        "type": "power_in",
        "description": "Digital supply for I/Os and core, 2.0 to 3.6 V application supply."
      },
      {
        "number": "E7",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function TIM3_CH2."
      },
      {
        "number": "E8",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function TIM3_CH3."
      },
      {
        "number": "F1",
        "name": "VSSA",
        "type": "power_in",
        "description": "Dedicated analog ground for the ADC."
      },
      {
        "number": "F2",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Standard I/O with ADC input ADC12_IN12."
      },
      {
        "number": "F3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions USART2_TX, ADC12_IN2 and TIM2_CH3."
      },
      {
        "number": "F4",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions SPI1_SCK and ADC12_IN5."
      },
      {
        "number": "F5",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions ADC12_IN8, TIM3_CH3 and TIM1_CH2N."
      },
      {
        "number": "F6",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate function TIM3_CH1."
      },
      {
        "number": "F7",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions SPI2_MOSI and TIM1_CH3N."
      },
      {
        "number": "F8",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions SPI2_MISO, USART3_RTS and TIM1_CH2N."
      },
      {
        "number": "G1",
        "name": "VREF+",
        "type": "power_in",
        "description": "Positive reference voltage input for the ADC, provided on this package in place of PC3."
      },
      {
        "number": "G2",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "Standard I/O with wake-up function WKUP and alternate functions USART2_CTS, ADC12_IN0 and TIM2_CH1_ETR."
      },
      {
        "number": "G3",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions USART2_RX, ADC12_IN3 and TIM2_CH4."
      },
      {
        "number": "G4",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions SPI1_MISO, ADC12_IN6, TIM3_CH1 and TIM1_BKIN."
      },
      {
        "number": "G5",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions ADC12_IN9, TIM3_CH4 and TIM1_CH3N."
      },
      {
        "number": "G6",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O, also serving as BOOT1 (PB2/BOOT1)."
      },
      {
        "number": "G7",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions I2C2_SCL, USART3_TX and TIM2_CH3."
      },
      {
        "number": "G8",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions SPI2_SCK, USART3_CTS and TIM1_CH1N."
      },
      {
        "number": "H1",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply for the ADC, with a conversion range of 0 to 3.6 V."
      },
      {
        "number": "H2",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions USART2_RTS, ADC12_IN1 and TIM2_CH2."
      },
      {
        "number": "H3",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions SPI1_NSS, USART2_CK and ADC12_IN4."
      },
      {
        "number": "H4",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Standard I/O with alternate functions SPI1_MOSI, ADC12_IN7, TIM3_CH2 and TIM1_CH1N."
      },
      {
        "number": "H5",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Standard I/O with ADC input ADC12_IN14."
      },
      {
        "number": "H6",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Standard I/O with ADC input ADC12_IN15."
      },
      {
        "number": "H7",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions I2C2_SDA, USART3_RX and TIM2_CH4."
      },
      {
        "number": "H8",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with alternate functions SPI2_NSS, I2C2_SMBAl, USART3_CK and TIM1_BKIN."
      }
    ],
    "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: Footnote 7 of Table 5 names C1 and C2 as the OSC_IN/OSC_OUT balls on TFBGA64, but the table column p; PD0 and PD1 share the OSC balls C1 and D1 on TFBGA64. Only the default OSC_IN/OSC_OUT function is li; Figure 7 (TFBGA64 ballout) text layer is garbled, so the ball map was built from the TFBGA64 column "
        ],
        "pages_sent": 66,
        "cost_usd": 0.3051,
        "at": "2026-10-10T23:53:15"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588952257265721344",
        "pages": 117,
        "sha256": "4741c03c5793745c",
        "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": "stm32f103r8h7.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-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32f103r8h7-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": "293c571964a69a3b8cb0e952cafb762369b55e76c7f52f3bf234edd19202f7e8",
        "checked": "2026-10-10",
        "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": [
    "stm32f103r8h7"
  ],
  "discovery_pitch": "STM32F103R8H7 (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",
    "stm32f103r8h7.kicad_sym",
    "stm32f103r8h7.kicad_mod",
    "stm32f103r8h7.glb",
    "stm32f103r8h7.step",
    "stm32f103r8h7.lbr",
    "docs/hero.png",
    "docs/stm32f103r8h7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32f103r8h7-hero.glb",
    "stm32f103r8h7-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}