main
Ray Publish 0.1.0 b5f41d9
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578
{
  "slug": "stm32f103rgt6tr",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontroller Units (MCUs/MPUs/SOCs), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stm32f103rgt6tr",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32f103rgt6tr.kicad_sym",
    "stm32f103rgt6tr.kicad_mod",
    "stm32f103rgt6tr.glb",
    "stm32f103rgt6tr.step",
    "stm32f103rgt6tr.lbr",
    "docs/hero.png",
    "docs/stm32f103rgt6tr-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32f103rgt6tr-hero.glb",
    "stm32f103rgt6tr-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32F103RGT6TR",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32f103rgt6tr.pdf",
    "parts": {
      "symbol": "stm32f103rgt6tr.kicad_sym",
      "footprint": "stm32f103rgt6tr.kicad_mod",
      "model_3d": "stm32f103rgt6tr-hero.glb",
      "model_3d_plain": "stm32f103rgt6tr.glb",
      "model_3d_step": "stm32f103rgt6tr-etched.step",
      "model_3d_step_plain": "stm32f103rgt6tr.step",
      "lbr": "stm32f103rgt6tr.lbr"
    },
    "distributor_links": {
      "lcsc": "C2891418",
      "digikey": "497-17390-2-ND",
      "mouser": "511-STM32F103RGT6TR"
    },
    "distributor_check": {
      "checked_at": "2026-11-20T15:29:25Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-17390-2-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32F103RGT6TR",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup-domain supply of 1.8 to 3.6 V for the RTC, the 32 kHz oscillator and backup registers when VDD is not present."
      },
      {
        "number": "2",
        "name": "PC13-TAMPER-RTC",
        "type": "bidirectional",
        "description": "GPIO PC13 supplied through the power switch, limited to ±3 mA and to 2 MHz with a 30 pF load in output mode, and must not be used as a current source; also the TAMPER-RTC function."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "GPIO PC14 supplied through the power switch, limited to ±3 mA and to 2 MHz with a 30 pF load in output mode; also the OSC32_IN input for the 32.768 kHz LSE crystal."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "GPIO PC15 supplied through the power switch, limited to ±3 mA and to 2 MHz with a 30 pF load in output mode; also the OSC32_OUT output for the 32.768 kHz LSE crystal."
      },
      {
        "number": "5",
        "name": "OSC_IN",
        "type": "input",
        "description": "HSE oscillator input for a 4 to 16 MHz crystal or resonator (or an external clock of 1 to 25 MHz); on LQFP64 it is OSC_IN after reset, with PD0 remappable to this pin."
      },
      {
        "number": "6",
        "name": "OSC_OUT",
        "type": "output",
        "description": "HSE oscillator output for a 4 to 16 MHz crystal or resonator; on LQFP64 it is OSC_OUT after reset, with PD1 remappable to this pin."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low reset pin with a permanent internal pull-up of 30 to 50 kΩ, where input low level is at most 0.8 V and pulses shorter than 100 ns are filtered."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Standard I/O PC0 (not 5 V tolerant) that is also ADC123_IN10 analog input."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Standard I/O PC1 (not 5 V tolerant) that is also ADC123_IN11 analog input."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Standard I/O PC2 (not 5 V tolerant) that is also ADC123_IN12 analog input."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Standard I/O PC3 (not 5 V tolerant) that is also ADC123_IN13 analog input."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the ADC, DAC, reset blocks, RC oscillators and PLL, which must be connected to VSS."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply of 2.0 to 3.6 V for the ADC, DAC, reset blocks, RC oscillators and PLL, which must be connected to VDD, with a minimum of 2.4 V when the ADC or DAC is used."
      },
      {
        "number": "14",
        "name": "PA0-WKUP",
        "type": "bidirectional",
        "description": "Standard I/O PA0 (not 5 V tolerant) that is also the WKUP wakeup input, ADC123_IN0, USART2_CTS, TIM2_CH1_ETR, TIM5_CH1 and TIM8_ETR."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "Standard I/O PA1 (not 5 V tolerant) that is also USART2_RTS, ADC123_IN1, TIM5_CH2 and TIM2_CH2."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Standard I/O PA2 (not 5 V tolerant) that is also USART2_TX, TIM5_CH3, ADC123_IN2, TIM9_CH1 and TIM2_CH3."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Standard I/O PA3 (not 5 V tolerant) that is also USART2_RX, TIM5_CH4, ADC123_IN3, TIM2_CH4 and TIM9_CH2."
      },
      {
        "number": "18",
        "name": "VSS_4",
        "type": "power_in",
        "description": "Ground pin, which must be connected with all other VSS pins to the external ground within the 50 mV variation limit."
      },
      {
        "number": "19",
        "name": "VDD_4",
        "type": "power_in",
        "description": "I/O and internal regulator supply of 2.0 to 3.6 V, which must be connected to the same supply as the other VDD pins."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Standard I/O PA4 (not 5 V tolerant) that is also SPI1_NSS, USART2_CK, DAC_OUT1 and ADC12_IN4."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Standard I/O PA5 (not 5 V tolerant) that is also SPI1_SCK, DAC_OUT2 and ADC12_IN5."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Standard I/O PA6 (not 5 V tolerant) that is also SPI1_MISO, TIM8_BKIN, ADC12_IN6, TIM3_CH1 and TIM13_CH1, with TIM1_BKIN as a remap option."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Standard I/O PA7 (not 5 V tolerant) that is also SPI1_MOSI, TIM8_CH1N, ADC12_IN7, TIM3_CH2 and TIM14_CH1, with TIM1_CH1N as a remap option."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Standard I/O PC4 (not 5 V tolerant) that is also ADC12_IN14 analog input."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Standard I/O PC5 (not 5 V tolerant) that is also ADC12_IN15 analog input."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Standard I/O PB0 (not 5 V tolerant) that is also ADC12_IN8, TIM3_CH3 and TIM8_CH2N, with TIM1_CH2N as a remap option."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Standard I/O PB1 (not 5 V tolerant) that is also ADC12_IN9, TIM3_CH4 and TIM8_CH3N, with TIM1_CH3N as a remap option."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB2 that also serves as the BOOT1 pin sampled at startup to select the boot option."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB10 that is also I2C2_SCL, USART3_TX and TIM2_CH3."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB11 that is also I2C2_SDA, USART3_RX and TIM2_CH4."
      },
      {
        "number": "31",
        "name": "VSS_1",
        "type": "power_in",
        "description": "Ground pin, which must be connected with all other VSS pins to the external ground."
      },
      {
        "number": "32",
        "name": "VDD_1",
        "type": "power_in",
        "description": "I/O and internal regulator supply of 2.0 to 3.6 V, which must be connected to the same supply as the other VDD pins."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB12 that is also SPI2_NSS, I2S2_WS, I2C2_SMBA, USART3_CK and TIM1_BKIN."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB13 that is also SPI2_SCK, I2S2_CK, USART3_CTS and TIM1_CH1N."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB14 that is also SPI2_MISO, TIM1_CH2N, USART3_RTS and TIM12_CH1."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB15 that is also SPI2_MOSI, I2S2_SD, TIM1_CH3N and TIM12_CH2."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC6 that is also I2S2_MCK, TIM8_CH1, SDIO_D6, with TIM3_CH1 as a remap option."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC7 that is also I2S3_MCK, TIM8_CH2, SDIO_D7, with TIM3_CH2 as a remap option."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC8 that is also TIM8_CH3 and SDIO_D0, with TIM3_CH3 as a remap option."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC9 that is also TIM8_CH4 and SDIO_D1, with TIM3_CH4 as a remap option."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA8 that is also USART1_CK, TIM1_CH1 and MCO."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA9 that is also USART1_TX and TIM1_CH2."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA10 that is also USART1_RX and TIM1_CH3."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA11 that is also USART1_CTS, USB_DM, CAN_RX and TIM1_CH4."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA12 that is also USART1_RTS, USB_DP, CAN_TX and TIM1_ETR."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA13 that carries the JTMS/SWDIO serial-wire debug function after reset."
      },
      {
        "number": "47",
        "name": "VSS_2",
        "type": "power_in",
        "description": "Ground pin, which must be connected with all other VSS pins to the external ground."
      },
      {
        "number": "48",
        "name": "VDD_2",
        "type": "power_in",
        "description": "I/O and internal regulator supply of 2.0 to 3.6 V, which must be connected to the same supply as the other VDD pins."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA14 that carries the JTCK/SWCLK serial-wire debug clock function after reset."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PA15 that carries the JTDI debug function after reset, with SPI3_NSS, I2S3_WS and TIM2_CH1_ETR as alternates."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC10 that is also UART4_TX and SDIO_D2, with USART3_TX as a remap option."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC11 that is also UART4_RX and SDIO_D3, with USART3_RX as a remap option."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PC12 that is also UART5_TX and SDIO_CK, with USART3_CK as a remap option."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PD2 that is also TIM3_ETR, UART5_RX and SDIO_CMD."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB3 that carries the JTDO/TRACESWO function, with SPI3_SCK, I2S3_CK, TIM2_CH2 and SPI1_SCK as alternates."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB4 that carries the NJTRST debug function, with SPI3_MISO, TIM3_CH1 and SPI1_MISO as alternates."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Standard I/O PB5 (not 5 V tolerant) that is also I2C1_SMBA, SPI3_MOSI, I2S3_SD, TIM3_CH2 and SPI1_MOSI."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB6 that is also I2C1_SCL, TIM4_CH1 and USART1_TX."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB7 that is also I2C1_SDA, TIM4_CH2 and USART1_RX."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Boot pin sampled at startup, together with BOOT1, to select user Flash, system memory or embedded SRAM boot."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB8 that is also TIM4_CH3, SDIO_D4, TIM10_CH1, I2C1_SCL and CAN_RX."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O PB9 that is also TIM4_CH4, SDIO_D5, TIM11_CH1, I2C1_SDA and CAN_TX."
      },
      {
        "number": "63",
        "name": "VSS_3",
        "type": "power_in",
        "description": "Ground pin, which must be connected with all other VSS pins to the external ground."
      },
      {
        "number": "64",
        "name": "VDD_3",
        "type": "power_in",
        "description": "I/O and internal regulator supply of 2.0 to 3.6 V, which must be connected to the same supply as the other VDD pins."
      }
    ],
    "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 LQFP64 column of Table 5 (pages 29-34) was used to map all 64 pins. The Figure 6 pinout text is ; Pins 5 and 6 are OSC_IN and OSC_OUT after reset on LQFP64. PD0 and PD1 can be remapped onto them by ; PC13, PC14 and PC15 are supplied through the backup power switch and are limited to about 3 mA. Tabl"
        ],
        "pages_sent": 136,
        "cost_usd": 0.6445,
        "at": "2026-11-20T15:29:12"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32f103rgt6tr.pdf",
        "pages": 136,
        "sha256": "69897f9cf77df3f0",
        "source_tier": "mfr",
        "citation": "STMicroelectronics datasheet"
      },
      "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": "stm32f103rgt6tr.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
        "checked": "2026-11-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32f103rgt6tr-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          12.0,
          12.0,
          1.5
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "b779a2df8a183f7bc981566e3e7066c7a290102393dcda3ab752fc10bc194f44",
        "checked": "2026-11-20",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP64",
      "source_page": 126,
      "D": {
        "nom_mm": 10.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E1": {
        "nom_mm": 10.0,
        "range_mm": [
          null,
          null
        ]
      },
      "E": {
        "nom_mm": 12.0,
        "range_mm": [
          null,
          null
        ]
      },
      "e": {
        "nom_mm": 0.5,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.6,
        "range_mm": [
          null,
          1.6
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stm32f103rgt6tr.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}