main
Ray Publish 0.1.0 061b159 3h ago
{
  "slug": "stm32f302ret6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32f302ret6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32f302ret6.kicad_sym",
    "stm32f302ret6.kicad_mod",
    "stm32f302ret6.glb",
    "stm32f302ret6.step",
    "stm32f302ret6.lbr",
    "docs/hero.png",
    "docs/stm32f302ret6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32f302ret6-hero.glb",
    "stm32f302ret6-hero.overlay.json",
    "stm32f302ret6-etched.glb"
  ],
  "component": {
    "mpn": "STM32F302RET6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm32f302ret6.pdf",
    "parts": {
      "symbol": "stm32f302ret6.kicad_sym",
      "footprint": "stm32f302ret6.kicad_mod",
      "model_3d": "stm32f302ret6-hero.glb",
      "model_3d_plain": "stm32f302ret6-etched.glb",
      "model_3d_step": "stm32f302ret6-etched.step",
      "model_3d_step_plain": "stm32f302ret6.step",
      "lbr": "stm32f302ret6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1337374",
      "digikey": "497-17418-ND",
      "mouser": "511-STM32F302RET6"
    },
    "distributor_check": {
      "checked_at": "2026-11-06T00:46:21Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-17418-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32F302RET6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup domain supply for the RTC and backup registers."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) on the backup power switch, which sinks only 3 mA, so output speed is limited to 2 MHz at 30 pF and it must not be used as a current source; alternate functions EVENTOUT, TIM1_CH1N; additional functions WKUP2, RTC_TAMP1, RTC_TS, RTC_OUT."
      },
      {
        "number": "3",
        "name": "PC14",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) on the backup power switch, with the same 3 mA limit and 2 MHz at 30 pF output limit, also used as OSC32_IN."
      },
      {
        "number": "4",
        "name": "PC15",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) on the backup power switch, with the same 3 mA limit and 2 MHz at 30 pF output limit, also used as OSC32_OUT."
      },
      {
        "number": "5",
        "name": "PF0-OSC_IN",
        "type": "input",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option) used as OSC_IN for the external crystal oscillator; alternate functions EVENTOUT, I2C2_SDA, SPI2_NSS/I2S2_WS, TIM1_CH3N."
      },
      {
        "number": "6",
        "name": "PF1-OSC_OUT",
        "type": "output",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option) used as OSC_OUT for the external crystal oscillator; alternate functions EVENTOUT, I2C2_SCL, SPI2_SCK/I2S2_CK."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bi-directional reset pin with embedded weak pull-up resistor, acting as device reset input and internal reset output (active low)."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM1_CH1; additional function ADC12_IN6."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM1_CH2; additional function ADC12_IN7."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM1_CH3; additional function ADC12_IN8."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM1_CH4, TIM1_BKIN2; additional function ADC12_IN9."
      },
      {
        "number": "12",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground pin (VSSA)."
      },
      {
        "number": "13",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage, 2.0 V to 3.6 V; on the 64-pin package VREF+ is internally connected to VDDA."
      },
      {
        "number": "14",
        "name": "PA0",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM2_CH1/TIM2_ETR, TSC_G1_IO1, USART2_CTS, COMP1_OUT, EVENTOUT; additional functions ADC1_IN1, COMP1_INM, RTC_TAMP2, WKUP1."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions RTC_REFIN, TIM2_CH2, TSC_G1_IO2, USART2_RTS, TIM15_CH1N, EVENTOUT; additional functions ADC1_IN2, COMP1_INP, OPAMP1_VINP."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity, recommended as sampling capacitor I/O; alternate functions TIM2_CH3, TSC_G1_IO3, USART2_TX, COMP2_OUT, TIM15_CH1, EVENTOUT; additional functions ADC1_IN3, COMP2_INM, OPAMP1_VOUT."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM2_CH4, TSC_G1_IO4, USART2_RX, TIM15_CH2, EVENTOUT; additional functions ADC1_IN4, OPAMP1_VINM/OPAMP1_VINP."
      },
      {
        "number": "18",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (VSS)."
      },
      {
        "number": "19",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin, 2.0 V to 3.6 V."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity; alternate functions TIM3_CH2, TSC_G2_IO1, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_CK, EVENTOUT; additional functions ADC2_IN1, DAC1_OUT1, COMP1_INM, COMP2_INM, COMP4_INM, COMP6_INM."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity; alternate functions TIM2_CH1/TIM2_ETR, TSC_G2_IO2, SPI1_SCK, EVENTOUT; additional functions ADC2_IN2, COMP1_INM, COMP2_INM, COMP4_INM, COMP6_INM, OPAMP1_VINP, OPAMP2_VINM."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity; alternate functions TIM16_CH1, TIM3_CH1, TSC_G2_IO3, SPI1_MISO, TIM1_BKIN, COMP1_OUT, EVENTOUT; additional functions ADC2_IN3, OPAMP2_VOUT."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM17_CH1, TIM3_CH2, TSC_G2_IO4, SPI1_MOSI, TIM1_CH1N, EVENTOUT; additional functions ADC2_IN4, COMP2_INP, OPAMP1_VINP, OPAMP2_VINP."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM1_ETR, USART1_TX; additional function ADC2_IN5."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions EVENTOUT, TIM15_BKIN, TSC_G3_IO1, USART1_RX; additional functions ADC2_IN11, OPAMP1_VINM, OPAMP2_VINM."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM3_CH3, TSC_G3_IO2, TIM1_CH2N, EVENTOUT; additional functions COMP4_INP, OPAMP2_VINP."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity; alternate functions TIM3_CH4, TSC_G3_IO3, TIM1_CH3N, COMP4_OUT, EVENTOUT."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TSC_G3_IO4, EVENTOUT; additional functions ADC2_IN12, COMP4_INM."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM2_CH3, TSC_SYNC, USART3_TX, EVENTOUT."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM2_CH4, TSC_G6_IO1, USART3_RX, EVENTOUT; additional functions ADC12_IN14, COMP6_INP."
      },
      {
        "number": "31",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (VSS)."
      },
      {
        "number": "32",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin, 2.0 V to 3.6 V."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa) with reduced touch sensing sensitivity; alternate functions TSC_G6_IO2, I2C2_SMBAL, SPI2_NSS/I2S2_WS, TIM1_BKIN, USART3_CK, EVENTOUT."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TSC_G6_IO3, SPI2_SCK/I2S2_CK, TIM1_CH1N, USART3_CTS, EVENTOUT."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions TIM15_CH1, TSC_G6_IO4, SPI2_MISO/I2S2ext_SD, TIM1_CH2N, USART3_RTS, EVENTOUT; additional function OPAMP2_VINP."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O (TTa); alternate functions RTC_REFIN, TIM15_CH2, TIM15_CH1N, TIM1_CH3N, SPI2_MOSI/I2S2_SD, EVENTOUT; additional function COMP6_INM."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, TIM3_CH1, I2S2_MCK, COMP6_OUT."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, TIM3_CH2, I2S3_MCK."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, TIM3_CH3."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions EVENTOUT, TIM3_CH4, I2C3_SDA, I2SCKIN."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions MCO, I2C3_SCL, I2C2_SMBAL, I2S2_MCK, TIM1_CH1, USART1_CK, TIM4_ETR, EVENTOUT."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions I2C3_SMBAL, TSC_G4_IO1, I2C2_SCL, I2S3_MCK, TIM1_CH2, USART1_TX, TIM15_BKIN, TIM2_CH3, EVENTOUT."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM17_BKIN, TSC_G4_IO2, I2C2_SDA, SPI2_MISO/I2S2ext_SD, TIM1_CH3, USART1_RX, COMP6_OUT, TIM2_CH4, EVENTOUT."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions SPI2_MOSI/I2S2_SD, TIM1_CH1N, USART1_CTS, COMP1_OUT, CAN_RX, TIM4_CH1, TIM1_CH4, TIM1_BKIN2, EVENTOUT; additional function USB_DM."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions TIM16_CH1, I2SCKIN, TIM1_CH2N, USART1_RTS, COMP2_OUT, CAN_TX, TIM4_CH2, TIM1_ETR, EVENTOUT; additional function USB_DP."
      },
      {
        "number": "46",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions SWDIO-JTMS, TIM16_CH1N, TSC_G4_IO3, IR-OUT, USART3_CTS, TIM4_CH3, EVENTOUT."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (VSS)."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin, 2.0 V to 3.6 V."
      },
      {
        "number": "49",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions SWCLK-JTCK, TSC_G4_IO4, I2C1_SDA, TIM1_BKIN, USART2_TX, EVENTOUT."
      },
      {
        "number": "50",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions JTDI, TIM2_CH1/TIM2_ETR, TSC_SYNC, I2C1_SCL, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_RX, TIM1_BKIN, EVENTOUT."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, UART4_TX, SPI3_SCK/I2S3_CK, USART3_TX."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, UART4_RX, SPI3_MISO/I2S3ext_SD, USART3_RX."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, UART5_TX, SPI3_MOSI/I2S3_SD, USART3_CK."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions EVENTOUT, TIM3_ETR, UART5_RX."
      },
      {
        "number": "55",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions JTDO-TRACESWO, TIM2_CH2, TIM4_ETR, TSC_G5_IO1, SPI1_SCK, SPI3_SCK/I2S3_CK, USART2_TX, TIM3_ETR, EVENTOUT."
      },
      {
        "number": "56",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FT); alternate functions JTRST, TIM16_CH1, TIM3_CH1, TSC_G5_IO2, SPI1_MISO, SPI3_MISO/I2S3ext_SD, USART2_RX, TIM17_BKIN, EVENTOUT."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM16_BKIN, TIM3_CH2, I2C1_SMBAl, SPI1_MOSI, SPI3_MOSI/I2S3_SD, USART2_CK, I2C3_SDA, TIM17_CH1, EVENTOUT."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM16_CH1N, TIM4_CH1, TSC_G5_IO3, I2C1_SCL, USART1_TX, EVENTOUT."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM17_CH1N, TIM4_CH2, TSC_G5_IO4, I2C1_SDA, USART1_RX, TIM3_CH4, FMC_NADV, EVENTOUT."
      },
      {
        "number": "60",
        "name": "BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin, used for boot mode selection."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM16_CH1, TIM4_CH3, TSC_SYNC, I2C1_SCL, USART3_RX, COMP1_OUT, CAN_RX, TIM1_BKIN, EVENTOUT."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V tolerant I/O (FTf, I2C FM+ option); alternate functions TIM17_CH1, TIM4_CH4, I2C1_SDA, IR-OUT, USART3_TX, COMP2_OUT, CAN_TX, EVENTOUT."
      },
      {
        "number": "63",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin (VSS)."
      },
      {
        "number": "64",
        "name": "VDD",
        "type": "power_in",
        "description": "Power supply pin, 2.0 V to 3.6 V."
      }
    ],
    "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: STM32F302RET6 decodes to 64 pins (R), LQFP package (T), so the LQFP64 column of Table 13 (pages 39-4"
        ],
        "pages_sent": 68,
        "cost_usd": 0.1021,
        "at": "2026-11-06T00:42:12"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm32f302ret6.pdf",
        "pages": 168,
        "sha256": "9adaf87c56f80b2f",
        "source_tier": "mfr"
      },
      "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": "stm32f302ret6.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-06",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32f302ret6-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": "5e770be342756a4bf64914b8fe25798b3cd64acd4b3b3be225204a4db15bea98",
        "checked": "2026-11-06",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}