main
Ray Publish 0.1.0 700f4d1 16d ago
{
  "slug": "stm32l4q5cgt6",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32l4q5cgt6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32l4q5cgt6.kicad_sym",
    "stm32l4q5cgt6.kicad_mod",
    "stm32l4q5cgt6.glb",
    "stm32l4q5cgt6.step",
    "stm32l4q5cgt6.lbr",
    "docs/hero.png",
    "docs/stm32l4q5cgt6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l4q5cgt6-hero.glb",
    "stm32l4q5cgt6-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32L4Q5CGT6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-48(7x7)",
    "pin_count": 48,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588939776607469568",
    "parts": {
      "symbol": "stm32l4q5cgt6.kicad_sym",
      "footprint": "stm32l4q5cgt6.kicad_mod",
      "model_3d": "stm32l4q5cgt6-hero.glb",
      "model_3d_plain": "stm32l4q5cgt6.glb",
      "model_3d_step": "stm32l4q5cgt6-etched.step",
      "model_3d_step_plain": "stm32l4q5cgt6.step",
      "lbr": "stm32l4q5cgt6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1236662",
      "digikey": "497-STM32L4Q5CGT6-ND",
      "mouser": "511-STM32L4Q5CGT6"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T20:58:10Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32L4Q5CGT6-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L4Q5CGT6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup-domain supply for the RTC, 32 kHz oscillator and backup registers, specified from 1.55 V to 3.6 V and used when VDD is not present."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "GPIO supplied through the power switch that sinks only 3 mA, so output use is limited to 2 MHz with a 30 pF load and it must not be used as a current source; it also carries RTC_TAMP1/RTC_TS/RTC_OUT and WKUP2."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "GPIO supplied through the power switch with the same 3 mA and 2 MHz / 30 pF output limits, and it is the 32 kHz LSE oscillator input OSC32_IN."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "GPIO supplied through the power switch with the same 3 mA and 2 MHz / 30 pF output limits, and it is the 32 kHz LSE oscillator output OSC32_OUT."
      },
      {
        "number": "5",
        "name": "PH0-OSC_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) GPIO that doubles as the high-speed external oscillator input OSC_IN."
      },
      {
        "number": "6",
        "name": "PH1-OSC_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) GPIO that doubles as the high-speed external oscillator output OSC_OUT."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with an embedded weak pull-up resistor."
      },
      {
        "number": "8",
        "name": "VSSA/VREF-",
        "type": "power_in",
        "description": "Analog ground pin; on this package VREF- is bonded to VSSA and must always be equal to VSSA."
      },
      {
        "number": "9",
        "name": "VDDA/VREF+",
        "type": "power_in",
        "description": "Analog supply (VDDA, 1.62 V to 3.6 V for ADC/COMP, 1.8 V for DAC/OPAMP); VREF+ is double-bonded to VDDA on this package, so the internal voltage reference buffer is not available and must be kept disabled."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; additional functions are OPAMP1_VINP, ADC12_IN5, RTC_TAMP2 and WKUP1."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with analog switch function supplied by VDDA; additional functions are OPAMP1_VINM and ADC12_IN6."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with analog switch function supplied by VDDA; additional functions are ADC12_IN7 and WKUP4/LSCO."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "3.6 V-tolerant (TT) GPIO with analog switch function supplied by VDDA; additional functions are OPAMP1_VOUT and ADC12_IN8."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "3.6 V-tolerant (TT) GPIO with analog switch function supplied by VDDA; additional functions are ADC12_IN9 and DAC1_OUT1, and its injected current is limited to -5/0 mA."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "3.6 V-tolerant (TT) GPIO with analog switch function supplied by VDDA; additional functions are ADC12_IN10 and DAC1_OUT2, and its injected current is limited to -5/0 mA."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; additional functions are OPAMP2_VINP and ADC12_IN11, and it also carries TIM1_BKIN and TIM8_BKIN."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with analog switch function supplied by VDDA; additional functions are OPAMP2_VINM and ADC12_IN12."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "3.6 V-tolerant (TT) GPIO with analog switch function supplied by VDDA; additional functions are OPAMP2_VOUT and ADC12_IN15."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; additional functions are COMP1_INM and ADC12_IN16."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; additional function is COMP1_INP, and it also carries RTC_OUT2 and LPTIM1_OUT."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include TIM2_CH3, I2C2_SCL, SPI2_SCK, USART3_TX and LPUART1_RX."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include TIM2_CH4, I2C2_SDA, USART3_RX, LPUART1_TX and COMP2_OUT."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the board ground and their mutual difference kept within 50 mV."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Main digital supply pin, 1.71 V to 3.6 V, with variations between VDD pins kept within 50 mV."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO; alternate functions include TIM1_BKIN, I2C2_SMBA, SPI2_NSS, USART3_CK and LPUART1_RTS_DE."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include TIM1_CH1N, I2C2_SCL, SPI2_SCK, USART3_CTS_NSS and LPUART1_CTS."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include TIM1_CH2N, I2C2_SDA, SPI2_MISO, USART3_RTS_DE and SDMMC2_D0."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO; alternate functions include RTC_REFIN, TIM1_CH3N, SPI2_MOSI, SDMMC2_D1 and SAI2_SD_A."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include MCO, TIM1_CH1, USART1_CK and OTG_FS_SOF."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with USB function supplied by VDDUSB; alternate functions include TIM1_CH2, SPI2_SCK, USART1_TX and OTG_FS_VBUS."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with USB function supplied by VDDUSB; alternate functions include TIM1_CH3, SAI1_D1, USART1_RX and OTG_FS_ID."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with USB function supplied by VDDUSB; alternate functions include TIM1_CH4, SPI1_MISO, USART1_CTS_NSS, CAN1_RX and OTG_FS_DM."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with USB function supplied by VDDUSB; alternate functions include TIM1_ETR, SPI1_MOSI, USART1_RTS_DE, CAN1_TX and OTG_FS_DP."
      },
      {
        "number": "34",
        "name": "PA13 (JTMS/SWDIO)",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that after reset is the JTMS/SWDIO debug pin with its internal pull-up activated."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the board ground and their mutual difference kept within 50 mV."
      },
      {
        "number": "36",
        "name": "VDDUSB",
        "type": "power_in",
        "description": "USB transceiver supply, 3.0 V to 3.6 V when USB is used (may be 0 V to 3.6 V when USB is not used)."
      },
      {
        "number": "37",
        "name": "PA14 (JTCK/SWCLK)",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that after reset is the JTCK/SWCLK debug pin with its internal pull-down activated."
      },
      {
        "number": "38",
        "name": "PA15 (JTDI)",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO that after reset is the JTDI debug pin with its internal pull-up activated."
      },
      {
        "number": "39",
        "name": "PB3 (JTDO/TRACESWO)",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; alternate function JTDO/TRACESWO with additional function COMP2_INM."
      },
      {
        "number": "40",
        "name": "PB4 (NJTRST)",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO that after reset is the NJTRST debug pin with its internal pull-up activated; additional function COMP2_INP."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant GPIO with analog switch function supplied by VDDA; alternate functions include LPTIM1_IN1, TIM3_CH2, SPI1_MOSI, SPI3_MOSI and COMP2_OUT."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with analog switch function supplied by VDDA; additional function COMP2_INP, and alternate functions include I2C1_SCL and USART1_TX."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO with analog switch function supplied by VDDA; additional functions are COMP2_INM and PVD_IN, and alternate functions include I2C1_SDA and USART1_RX."
      },
      {
        "number": "44",
        "name": "PH3-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant (FT) GPIO used as the BOOT0 input; the BOOT0 value comes from this pin or from an option bit depending on a user option bit."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include TIM4_CH3, SAI1_CK1, I2C1_SCL, CAN1_RX and SDMMC1_D4."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant Fm+ capable GPIO; alternate functions include IR_OUT, TIM4_CH4, I2C1_SDA, CAN1_TX and SDMMC1_D5."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground pin; all VSS pins must be connected to the board ground and their mutual difference kept within 50 mV."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Main digital supply pin, 1.71 V to 3.6 V, with variations between VDD pins kept within 50 mV."
      }
    ],
    "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: Table 15 footnote 1: PC13, PC14 and PC15 are supplied through the power switch, which sinks only 3 m; On LQFP48 VREF- is bonded to VSSA (pin 8) and VREF+ is double-bonded to VDDA (pin 9). The datasheet ; Table 15 footnote 4: after reset these pins are JTAG/SWD debug functions and internal pull-ups/pull-"
        ],
        "pages_sent": 115,
        "cost_usd": 0.4566,
        "at": "2026-10-11T20:57:47"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588939776607469568",
        "pages": 285,
        "sha256": "614dc3c69063136f",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 48,
        "described": 48,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l4q5cgt6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l4q5cgt6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9.0,
          9.0,
          1.5
        ],
        "zmin_mm": -0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "93487c93c4d983db0ab163bb334445d0a40e172faded202c1c35f751e313bbf5",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}