main
Ray Set visibility: public 73ee221 16d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm32l021k4t6",
  "title": "STM32L021K4T6",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). 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",
    "stm32l021k4t6",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM32L021K4T6",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922426365792256",
    "parts": {
      "symbol": "stm32l021k4t6.kicad_sym",
      "footprint": "stm32l021k4t6.kicad_mod",
      "model_3d": "stm32l021k4t6-hero.glb",
      "model_3d_plain": "stm32l021k4t6.glb",
      "model_3d_step": "stm32l021k4t6-etched.step",
      "model_3d_step_plain": "stm32l021k4t6.step",
      "lbr": "stm32l021k4t6.lbr"
    },
    "distributor_links": {
      "lcsc": "C1338900",
      "digikey": "497-17903-ND",
      "mouser": "511-STM32L021K4T6"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T23:36:12Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-17903-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32L021K4T6",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply; the device operates from 1.65 V to 3.6 V according to the features list."
      },
      {
        "number": "2",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, default function PC14, with additional function OSC32_IN."
      },
      {
        "number": "3",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC structure), default function PC15, with additional function OSC32_OUT."
      },
      {
        "number": "4",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Active-low bidirectional reset pin with embedded weak pull-up; acts as device reset input and internal reset output."
      },
      {
        "number": "5",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply."
      },
      {
        "number": "6",
        "name": "PA0",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O directly connected to the ADC (TTa structure), with ADC_IN0, COMP1_INM and RTC_TAMP2/WKUP1 as additional functions."
      },
      {
        "number": "7",
        "name": "PA1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with ADC_IN1 and COMP1_INP as additional functions."
      },
      {
        "number": "8",
        "name": "PA2",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O directly connected to the ADC (TTa structure), with ADC_IN2, COMP2_INM and RTC_TAMP3/WKUP3 as additional functions."
      },
      {
        "number": "9",
        "name": "PA3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with COMP2_INP and ADC_IN3 as additional functions."
      },
      {
        "number": "10",
        "name": "PA4",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O directly connected to the ADC (TTa structure), with COMP1_INM, COMP2_INM and ADC_IN4 as additional functions."
      },
      {
        "number": "11",
        "name": "PA5",
        "type": "bidirectional",
        "description": "3.3 V tolerant I/O directly connected to the ADC (TTa structure), with COMP1_INM, COMP2_INM and ADC_IN5 as additional functions."
      },
      {
        "number": "12",
        "name": "PA6",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with ADC_IN6 as additional function."
      },
      {
        "number": "13",
        "name": "PA7",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with COMP2_INP and ADC_IN7 as additional functions."
      },
      {
        "number": "14",
        "name": "PB0",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with ADC_IN8 and VREF_OUT as additional functions."
      },
      {
        "number": "15",
        "name": "PB1",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with ADC_IN9 and VREF_OUT as additional functions."
      },
      {
        "number": "16",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital and analog ground."
      },
      {
        "number": "17",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply."
      },
      {
        "number": "18",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O with alternate functions MCO, LPTIM1_IN1, EVENTOUT, USART2_CK and TIM2_CH1."
      },
      {
        "number": "19",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V tolerant (FTf) I/O that is Fast Mode Plus capable, with alternate functions MCO, I2C1_SCL, LPTIM1_OUT, USART2_TX, TIM21_CH2 and COMP1_OUT."
      },
      {
        "number": "20",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V tolerant (FTf) I/O that is Fast Mode Plus capable, with alternate functions TIM21_CH1, I2C1_SDA, RTC_REFIN, USART2_RX, TIM2_CH3 and COMP1_OUT."
      },
      {
        "number": "21",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_MISO, LPTIM1_OUT, EVENTOUT, USART2_CTS, TIM21_CH2 and COMP1_OUT."
      },
      {
        "number": "22",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_MOSI, EVENTOUT, USART2_RTS_DE and COMP2_OUT."
      },
      {
        "number": "23",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V tolerant (FTf) I/O that is Fast Mode Plus capable, with alternate function SWDIO and others including LPTIM1_ETR, I2C1_SDA, SPI1_SCK, LPUART1_RX and COMP1_OUT."
      },
      {
        "number": "24",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate function SWCLK and others including LPTIM1_OUT, I2C1_SMBA, USART2_TX, SPI1_MISO, LPUART1_TX and COMP2_OUT."
      },
      {
        "number": "25",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
      },
      {
        "number": "26",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_SCK, TIM2_CH2, EVENTOUT and COMP2_INM."
      },
      {
        "number": "27",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_MISO and EVENTOUT, and COMP2_INP as additional function."
      },
      {
        "number": "28",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V tolerant (FT) I/O, with alternate functions SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA and TIM21_CH1, and COMP2_INP as additional function."
      },
      {
        "number": "29",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V tolerant (FTf) I/O that is Fast Mode Plus capable, with alternate functions USART2_TX, I2C1_SCL, LPTIM1_ETR, TIM2_CH3 and LPUART1_TX, and COMP2_INP as additional function."
      },
      {
        "number": "30",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V tolerant (FTf) I/O that is Fast Mode Plus capable, with alternate functions USART2_RX, I2C1_SDA, LPTIM1_IN2, TIM2_CH4 and LPUART1_RX, and COMP2_INP and VREF_PVD_IN as additional functions."
      },
      {
        "number": "31",
        "name": "PB9-BOOT0",
        "type": "input",
        "description": "Dedicated BOOT0 pin (B structure) used for boot memory selection."
      },
      {
        "number": "32",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital and analog ground."
      }
    ],
    "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: MPN check: STM32L021K4T6 decodes as K = 32 pins and T = LQFP, so the LQFP32 package is the correct v; Figure 3 (LQFP32 pinout drawing, page 33) is an image and its text could not be extracted; the pin-t; The LQFP32 pin numbers were read from flattened table text where all six package columns run togethe",
          "1/32 pins cited to the wrong page (name found elsewhere): ['1:VDD@p1']"
        ],
        "pages_sent": 47,
        "cost_usd": 0.204,
        "at": "2026-10-11T23:35:54"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922426365792256",
        "pages": 114,
        "sha256": "97b23667dad711b9",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 32,
        "described": 32,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32l021k4t6.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32l021k4t6-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          9,
          9,
          1.5
        ],
        "zmin_mm": 0,
        "centre_offset_mm": 0,
        "footprint_binding": "identity",
        "sha256": "9caa7cfbe09d7a5e51ef5d26993b92a8f7c92bd60b4fc36ab440f3167df8ec8d",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm32l021k4t6"
  ],
  "discovery_pitch": "STM32L021K4T6 (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",
    "stm32l021k4t6.kicad_sym",
    "stm32l021k4t6.kicad_mod",
    "stm32l021k4t6.glb",
    "stm32l021k4t6.step",
    "stm32l021k4t6.lbr",
    "docs/hero.png",
    "docs/stm32l021k4t6-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32l021k4t6-hero.glb",
    "stm32l021k4t6-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}