main
Ray Publish 0.1.0 782d9a1 16d ago
{
  "slug": "stm32l412r8t6",
  "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",
    "stm32l412r8t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l412r8t6.kicad_sym",
    "stm32l412r8t6.kicad_mod",
    "stm32l412r8t6.glb",
    "stm32l412r8t6.step",
    "stm32l412r8t6.lbr",
    "docs/hero.png",
    "docs/stm32l412r8t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l412r8t6-hero.glb",
    "stm32l412r8t6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L412R8T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-64(10x10)",
    "pin_count": 64,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886205781970944",
    "parts": {
      "symbol": "stm32l412r8t6.kicad_sym",
      "footprint": "stm32l412r8t6.kicad_mod",
      "model_3d": "stm32l412r8t6-hero.glb",
      "model_3d_plain": "stm32l412r8t6.glb",
      "model_3d_step": "stm32l412r8t6-etched.step",
      "model_3d_step_plain": "stm32l412r8t6.step",
      "lbr": "stm32l412r8t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C529440",
      "digikey": "STM32L412R8T6-ND",
      "mouser": "511-STM32L412R8T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T18:49:14Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "STM32L412R8T6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L412R8T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup-domain supply for the RTC and backup registers, specified from 1.55 V to 3.6 V."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "5 V tolerant FT I/O (GPIO PC13) with EVENTOUT, also RTC_TAMP1/RTC_TS/RTC_OUT1/WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN (PC14)",
        "type": "bidirectional",
        "description": "5 V tolerant FT I/O (GPIO PC14), also used as OSC32_IN input of the 32.768 kHz LSE crystal oscillator."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT (PC15)",
        "type": "bidirectional",
        "description": "5 V tolerant FT I/O (GPIO PC15), also used as OSC32_OUT output of the 32.768 kHz LSE crystal oscillator."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN (PH0)",
        "type": "bidirectional",
        "description": "5 V tolerant FT I/O (GPIO PH0), also used as OSC_IN input of the HSE (4 to 48 MHz) crystal oscillator."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT (PH1)",
        "type": "bidirectional",
        "description": "5 V tolerant FT I/O (GPIO PH1), also used as OSC_OUT output of the HSE crystal oscillator."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up resistor (RST I/O structure)."
      },
      {
        "number": "8",
        "name": "PC0",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; also ADC12_IN1, TRACECK, LPTIM1_IN1, I2C3_SCL, LPUART1_RX, LPTIM2_IN1."
      },
      {
        "number": "9",
        "name": "PC1",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; also ADC12_IN2, TRACED0, LPTIM1_OUT, I2C3_SDA, LPUART1_TX."
      },
      {
        "number": "10",
        "name": "PC2",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN3, LPTIM1_IN2, SPI2_MISO."
      },
      {
        "number": "11",
        "name": "PC3",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN4, LPTIM1_ETR, SPI2_MOSI, LPTIM2_ETR."
      },
      {
        "number": "12",
        "name": "VSSA/VREF-",
        "type": "power_in",
        "description": "Analog ground and ADC negative reference voltage (VREF-), which must be within 50 mV of VSS."
      },
      {
        "number": "13",
        "name": "VDDA/VREF+",
        "type": "power_in",
        "description": "Analog supply, 1.62 V to 3.6 V when ADC or COMP is used (1.8 V to 3.6 V for OPAMP); on this package it also serves as the ADC positive reference VREF+."
      },
      {
        "number": "14",
        "name": "PA0",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also OPAMP1_VINP, COMP1_INM, ADC1_IN5, RTC_TAMP2/WKUP1, TIM2_CH1, USART2_CTS, COMP1_OUT, TIM2_ETR."
      },
      {
        "number": "15",
        "name": "PA1",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also OPAMP1_VINM, COMP1_INP, ADC1_IN6, TIM2_CH2, I2C1_SMBA, SPI1_SCK, USART2_RTS_DE, TIM15_CH1N."
      },
      {
        "number": "16",
        "name": "PA2",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN7, WKUP4/LSCO, TIM2_CH3, USART2_TX, LPUART1_TX, QUADSPI_BK1_NCS, TIM15_CH1."
      },
      {
        "number": "17",
        "name": "PA3",
        "type": "bidirectional",
        "description": "TT_a I/O: 3.6 V tolerant, analog switch supplied by VDDA; also OPAMP1_VOUT, ADC12_IN8, TIM2_CH4, USART2_RX, LPUART1_RX, QUADSPI_CLK, TIM15_CH2."
      },
      {
        "number": "18",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital core and I/Os; it must be within 50 mV of all other VSS/VSSA pins."
      },
      {
        "number": "19",
        "name": "VDD",
        "type": "power_in",
        "description": "Main digital and I/O supply, 1.71 V to 3.6 V standard operating voltage."
      },
      {
        "number": "20",
        "name": "PA4",
        "type": "bidirectional",
        "description": "TT_a I/O: 3.6 V tolerant, analog switch supplied by VDDA; also SPI1_NSS, USART2_CK, LPTIM2_OUT, COMP1_INM, ADC12_IN9; injected current limited to -5/0 mA."
      },
      {
        "number": "21",
        "name": "PA5",
        "type": "bidirectional",
        "description": "TT_a I/O: 3.6 V tolerant, analog switch supplied by VDDA; also TIM2_CH1, TIM2_ETR, SPI1_SCK, LPTIM2_ETR, COMP1_INM, ADC12_IN10; injected current limited to -5/0 mA."
      },
      {
        "number": "22",
        "name": "PA6",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN11, TIM1_BKIN, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, QUADSPI_BK1_IO3, TIM16_CH1."
      },
      {
        "number": "23",
        "name": "PA7",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; also ADC12_IN12, TIM1_CH1N, I2C3_SCL, SPI1_MOSI, QUADSPI_BK1_IO2."
      },
      {
        "number": "24",
        "name": "PC4",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also COMP1_INM, ADC12_IN13, USART3_TX."
      },
      {
        "number": "25",
        "name": "PC5",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also COMP1_INP, ADC12_IN14, USART3_RX, WKUP5."
      },
      {
        "number": "26",
        "name": "PB0",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN15, TRACED0, TIM1_CH2N, SPI1_NSS, USART3_CK, QUADSPI_BK1_IO1, COMP1_OUT."
      },
      {
        "number": "27",
        "name": "PB1",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also ADC12_IN16, COMP1_INM, TRACED1, TIM1_CH3N, USART3_RTS_DE, LPUART1_RTS_DE, QUADSPI_BK1_IO0, LPTIM2_IN1."
      },
      {
        "number": "28",
        "name": "PB2",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; also COMP1_INP, RTC_OUT2, LPTIM1_OUT, I2C3_SMBA."
      },
      {
        "number": "29",
        "name": "PB10",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM2_CH3, I2C2_SCL, SPI2_SCK, USART3_TX, LPUART1_RX, TSC_SYNC, QUADSPI_CLK, COMP1_OUT."
      },
      {
        "number": "30",
        "name": "PB11",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM2_CH4, I2C2_SDA, USART3_RX, LPUART1_TX, QUADSPI_BK1_NCS."
      },
      {
        "number": "31",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital core and I/Os; it must be within 50 mV of all other VSS/VSSA pins."
      },
      {
        "number": "32",
        "name": "VDD",
        "type": "power_in",
        "description": "Main digital and I/O supply, 1.71 V to 3.6 V standard operating voltage."
      },
      {
        "number": "33",
        "name": "PB12",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TIM1_BKIN, I2C2_SMBA, SPI2_NSS, USART3_CK, LPUART1_RTS_DE, TSC_G1_IO1, TIM15_BKIN."
      },
      {
        "number": "34",
        "name": "PB13",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM1_CH1N, I2C2_SCL, SPI2_SCK, USART3_CTS, LPUART1_CTS, TSC_G1_IO2, TIM15_CH1N."
      },
      {
        "number": "35",
        "name": "PB14",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM1_CH2N, I2C2_SDA, SPI2_MISO, USART3_RTS_DE, TSC_G1_IO3, TIM15_CH1."
      },
      {
        "number": "36",
        "name": "PB15",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also RTC_REFIN, TIM1_CH3N, SPI2_MOSI, TSC_G1_IO4, TIM15_CH2."
      },
      {
        "number": "37",
        "name": "PC6",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TSC_G4_IO1."
      },
      {
        "number": "38",
        "name": "PC7",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TSC_G4_IO2."
      },
      {
        "number": "39",
        "name": "PC8",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TSC_G4_IO3."
      },
      {
        "number": "40",
        "name": "PC9",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TSC_G4_IO4 and USB_NOE."
      },
      {
        "number": "41",
        "name": "PA8",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also MCO, TIM1_CH1, USART1_CK, LPTIM2_OUT."
      },
      {
        "number": "42",
        "name": "PA9",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM1_CH2, I2C1_SCL, USART1_TX, TIM15_BKIN."
      },
      {
        "number": "43",
        "name": "PA10",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also TIM1_CH3, I2C1_SDA, USART1_RX, USB_CRS_SYNC."
      },
      {
        "number": "44",
        "name": "PA11",
        "type": "bidirectional",
        "description": "FT_u I/O: 5 V tolerant, with USB function supplied by VDDUSB; also USB_DM, TIM1_CH4, TIM1_BKIN2, SPI1_MISO, COMP1_OUT, USART1_CTS."
      },
      {
        "number": "45",
        "name": "PA12",
        "type": "bidirectional",
        "description": "FT_u I/O: 5 V tolerant, with USB function supplied by VDDUSB; also USB_DP, TIM1_ETR, SPI1_MOSI, USART1_RTS_DE."
      },
      {
        "number": "46",
        "name": "PA13 (JTMS/SWDIO)",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; default function JTMS/SWDIO debug pin, also IR_OUT and USB_NOE."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital core and I/Os; it must be within 50 mV of all other VSS/VSSA pins."
      },
      {
        "number": "48",
        "name": "VDDUSB",
        "type": "power_in",
        "description": "USB supply, 3.0 V to 3.6 V when the USB is used."
      },
      {
        "number": "49",
        "name": "PA14 (JTCK/SWCLK)",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; default function JTCK/SWCLK debug pin, also LPTIM1_OUT and I2C1_SMBA."
      },
      {
        "number": "50",
        "name": "PA15 (JTDI)",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; default function JTDI debug pin, also TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS_DE, TSC_G3_IO1."
      },
      {
        "number": "51",
        "name": "PC10",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TRACED1, USART3_TX, TSC_G3_IO2."
      },
      {
        "number": "52",
        "name": "PC11",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also USART3_RX, TSC_G3_IO3."
      },
      {
        "number": "53",
        "name": "PC12",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TRACED3, USART3_CK, TSC_G3_IO4."
      },
      {
        "number": "54",
        "name": "PD2",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TRACED2, USART3_RTS_DE, TSC_SYNC."
      },
      {
        "number": "55",
        "name": "PB3 (JTDO/TRACESWO)",
        "type": "bidirectional",
        "description": "FT_a I/O: 5 V tolerant, analog switch supplied by VDDA; default function JTDO/TRACESWO, also TIM2_CH2, SPI1_SCK, USART1_RTS_DE."
      },
      {
        "number": "56",
        "name": "PB4 (NJTRST)",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; default function NJTRST, also I2C3_SDA, SPI1_MISO, USART1_CTS, TSC_G2_IO1."
      },
      {
        "number": "57",
        "name": "PB5",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also TRACED2, LPTIM1_IN1, I2C1_SMBA, SPI1_MOSI, USART1_CK, TSC_G2_IO2, TIM16_BKIN."
      },
      {
        "number": "58",
        "name": "PB6",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; also TRACED3, LPTIM1_ETR, I2C1_SCL, USART1_TX, TSC_G2_IO3, TIM16_CH1N."
      },
      {
        "number": "59",
        "name": "PB7",
        "type": "bidirectional",
        "description": "FT_fa I/O: 5 V tolerant, Fm+ capable, analog switch supplied by VDDA; also TRACECK, LPTIM1_IN2, I2C1_SDA, USART1_RX, TSC_G2_IO4, PVD_IN."
      },
      {
        "number": "60",
        "name": "PH3-BOOT0 (BOOT0)",
        "type": "bidirectional",
        "description": "FT I/O: 5 V tolerant; also serves as the BOOT0 boot-mode selection pin, with EVENTOUT as alternate function."
      },
      {
        "number": "61",
        "name": "PB8",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also I2C1_SCL, TIM16_CH1, EVENTOUT."
      },
      {
        "number": "62",
        "name": "PB9",
        "type": "bidirectional",
        "description": "FT_f I/O: 5 V tolerant and Fm+ capable; also IR_OUT, I2C1_SDA, SPI2_NSS, EVENTOUT."
      },
      {
        "number": "63",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin of the digital core and I/Os; it must be within 50 mV of all other VSS/VSSA pins."
      },
      {
        "number": "64",
        "name": "VDD",
        "type": "power_in",
        "description": "Main digital and I/O supply, 1.71 V to 3.6 V standard operating voltage."
      }
    ],
    "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: Variant selection: MPN STM32L412R8T6 (R = 64 pins, T = LQFP, 6 = -40 to 85 C, no 'P' option) maps to; Table 14 is a multi-column table whose text extraction is partly garbled. Pin numbers were assigned ; Pin types: the datasheet gives I/O structures (FT, TT, FT_a, FT_f, FT_fa, FT_u, RST) rather than KiC"
        ],
        "pages_sent": 74,
        "cost_usd": 0.3251,
        "at": "2026-10-11T18:48:48"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886205781970944",
        "pages": 193,
        "sha256": "5104ae3be2936485",
        "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": "stm32l412r8t6.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-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l412r8t6-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": "bf5afaeb01fc5dbe4309776a91bdd6113e8c72671e9a65d47fd8a39a12122a59",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}