main
Ray Set visibility: public 7a94136 1d ago
{
  "schema_version": 1,
  "type": "component",
  "slug": "stm8al3168tcy",
  "title": "STM8AL3168TCY",
  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "version": "0.1.0",
  "license": "CC-BY-SA-4.0",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8al3168tcy",
    "factory-2.0.0",
    "extractor-text"
  ],
  "component": {
    "mpn": "STM8AL3168TCY",
    "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/8588923687596658688",
    "parts": {
      "symbol": "stm8al3168tcy.kicad_sym",
      "footprint": "stm8al3168tcy.kicad_mod",
      "model_3d": "stm8al3168tcy-hero.glb",
      "model_3d_plain": "stm8al3168tcy.glb",
      "model_3d_step": "stm8al3168tcy-etched.step",
      "model_3d_step_plain": "stm8al3168tcy.step",
      "lbr": "stm8al3168tcy.lbr"
    },
    "distributor_links": {
      "lcsc": "C1341797",
      "digikey": "497-15822-ND",
      "mouser": "511-STM8AL3168TCY"
    },
    "distributor_check": {
      "checked_at": "2026-10-08T04:54:01Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-15822-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM8AL3168TCY",
        "status": "found",
        "lifecycle": "End of Life"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "PA0",
        "type": "bidirectional",
        "description": "Port A0 is a high-sink I/O with high-sink LED driver capability, input pull-up during reset and after reset release, and alternate functions USART1_CK, SWIM input/output, BEEP output and infrared timer output."
      },
      {
        "number": "2",
        "name": "NRST/PA1",
        "type": "bidirectional",
        "description": "Reset input with pull-up (RPU typ 45 kΩ, 30 to 60 kΩ) and VIL max 0.8 V / VIH min 1.4 V; as PA1 it can only be configured as push-pull output, not open-drain or general-purpose input."
      },
      {
        "number": "3",
        "name": "PA2",
        "type": "bidirectional",
        "description": "Port A2 I/O with HSE oscillator input, USART1 transmit and SPI1 master-in/slave-out alternate functions."
      },
      {
        "number": "4",
        "name": "PA3",
        "type": "bidirectional",
        "description": "Port A3 I/O with HSE oscillator output, USART1 receive and SPI1 master-out/slave-in alternate functions."
      },
      {
        "number": "5",
        "name": "PA4",
        "type": "bidirectional",
        "description": "Port A4 is a 3.6 V tolerant I/O with timer 2 break input, ADC1 input 2 and comparator 1 positive input (LCD_COM0 is available only on STM8AL3Lxx)."
      },
      {
        "number": "6",
        "name": "PA5",
        "type": "bidirectional",
        "description": "Port A5 is a 3.6 V tolerant I/O with timer 3 break input, ADC1 input 1 and comparator 1 positive input (LCD_COM1 is available only on STM8AL3Lxx)."
      },
      {
        "number": "7",
        "name": "PA6",
        "type": "bidirectional",
        "description": "Port A6 is a 3.6 V tolerant I/O with ADC1 input 0 and comparator 1 positive input, and ADC1 trigger as a remappable alternate function."
      },
      {
        "number": "8",
        "name": "PA7",
        "type": "bidirectional",
        "description": "Port A7 is a 5 V tolerant (FT) I/O; the LCD segment 0 function is available only on STM8AL3Lxx."
      },
      {
        "number": "9",
        "name": "VSS1/VSSA/VREF-",
        "type": "power_in",
        "description": "I/O ground, analog ground voltage and ADC1 negative voltage reference."
      },
      {
        "number": "10",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply; the device operates from 1.8 V to 3.6 V."
      },
      {
        "number": "11",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog supply voltage."
      },
      {
        "number": "12",
        "name": "VREF+",
        "type": "power_in",
        "description": "ADC1 and DAC positive voltage reference."
      },
      {
        "number": "13",
        "name": "Reserved",
        "type": "passive",
        "description": "Reserved pin on STM8AL31xx devices; it must be tied to VDD."
      },
      {
        "number": "14",
        "name": "PE0",
        "type": "bidirectional",
        "description": "Port E0 is a 5 V tolerant (FT) I/O; LCD segment 1 is available only on STM8AL3Lxx."
      },
      {
        "number": "15",
        "name": "PE1",
        "type": "bidirectional",
        "description": "Port E1 is a 3.6 V tolerant I/O with timer 1 inverted channel 2; LCD segment 2 is available only on STM8AL3Lxx."
      },
      {
        "number": "16",
        "name": "PE2",
        "type": "bidirectional",
        "description": "Port E2 is a 3.6 V tolerant I/O with timer 1 inverted channel 3; LCD segment 3 is available only on STM8AL3Lxx."
      },
      {
        "number": "17",
        "name": "PE3",
        "type": "bidirectional",
        "description": "Port E3 is a 3.6 V tolerant I/O; LCD segment 4 is available only on STM8AL3Lxx."
      },
      {
        "number": "18",
        "name": "PE4",
        "type": "bidirectional",
        "description": "Port E4 is a 3.6 V tolerant I/O; LCD segment 5 is available only on STM8AL3Lxx."
      },
      {
        "number": "19",
        "name": "PE5",
        "type": "bidirectional",
        "description": "Port E5 is a 3.6 V tolerant I/O with ADC1 input 23, comparator 2 positive input and comparator 1 positive input; LCD segment 6 is available only on STM8AL3Lxx."
      },
      {
        "number": "20",
        "name": "PD0",
        "type": "bidirectional",
        "description": "Port D0 is a 3.6 V tolerant I/O with timer 3 channel 2, ADC1 trigger (remap), ADC1 input 22, comparator 2 positive input and comparator 1 positive input."
      },
      {
        "number": "21",
        "name": "PD1",
        "type": "bidirectional",
        "description": "Port D1 is a 3.6 V tolerant I/O with timer 3 trigger, ADC1 input 21, comparator 2 positive input and comparator 1 positive input."
      },
      {
        "number": "22",
        "name": "PD2",
        "type": "bidirectional",
        "description": "Port D2 is a 3.6 V tolerant I/O with timer 1 channel 1, ADC1 input 20 and comparator 1 positive input."
      },
      {
        "number": "23",
        "name": "PD3",
        "type": "bidirectional",
        "description": "Port D3 is a 3.6 V tolerant I/O with timer 1 trigger, ADC1 input 19 and comparator 1 positive input."
      },
      {
        "number": "24",
        "name": "PB0",
        "type": "bidirectional",
        "description": "Port B0 is a 3.6 V tolerant I/O with timer 2 channel 1, ADC1 input 18 and comparator 1 positive input; a pull-up is applied during reset and the pin is floating after reset release."
      },
      {
        "number": "25",
        "name": "PB1",
        "type": "bidirectional",
        "description": "Port B1 is a 3.6 V tolerant I/O with timer 3 channel 1, ADC1 input 17 and comparator 1 positive input."
      },
      {
        "number": "26",
        "name": "PB2",
        "type": "bidirectional",
        "description": "Port B2 is a 3.6 V tolerant I/O with timer 2 channel 2, ADC1 input 16 and comparator 1 positive input."
      },
      {
        "number": "27",
        "name": "PB3",
        "type": "bidirectional",
        "description": "Port B3 is a 3.6 V tolerant I/O with timer 2 trigger, ADC1 input 15 and comparator 1 positive input."
      },
      {
        "number": "28",
        "name": "PB4",
        "type": "bidirectional",
        "description": "Port B4 is a 3.6 V tolerant I/O with SPI1 master/slave select, ADC1 input 14 and comparator 1 positive input; a pull-up is applied during reset and the pin is floating after reset release."
      },
      {
        "number": "29",
        "name": "PB5",
        "type": "bidirectional",
        "description": "Port B5 is a 3.6 V tolerant I/O with SPI1 clock, ADC1 input 13 and comparator 1 positive input."
      },
      {
        "number": "30",
        "name": "PB6",
        "type": "bidirectional",
        "description": "Port B6 is a 3.6 V tolerant I/O with SPI1 master-out/slave-in, ADC1 input 12 and comparator 1 positive input."
      },
      {
        "number": "31",
        "name": "PB7",
        "type": "bidirectional",
        "description": "Port B7 is a 3.6 V tolerant I/O with SPI1 master-in/slave-out, ADC1 input 11 and comparator 1 positive input."
      },
      {
        "number": "32",
        "name": "PF0",
        "type": "bidirectional",
        "description": "Port F0 is a 3.6 V tolerant I/O with ADC1 input 24 and DAC output."
      },
      {
        "number": "33",
        "name": "PD4",
        "type": "bidirectional",
        "description": "Port D4 is a 3.6 V tolerant I/O with timer 1 channel 2, ADC1 input 10 and comparator 1 positive input."
      },
      {
        "number": "34",
        "name": "PD5",
        "type": "bidirectional",
        "description": "Port D5 is a 3.6 V tolerant I/O with timer 1 channel 3, ADC1 input 9 and comparator 1 positive input."
      },
      {
        "number": "35",
        "name": "PD6",
        "type": "bidirectional",
        "description": "Port D6 is a 3.6 V tolerant I/O with timer 1 break input, ADC1 input 8, RTC calibration output, internal voltage reference output and comparator 1 positive input."
      },
      {
        "number": "36",
        "name": "PD7",
        "type": "bidirectional",
        "description": "Port D7 is a 3.6 V tolerant I/O with timer 1 inverted channel 1, ADC1 input 7, RTC alarm output, internal voltage reference output and comparator 1 positive input."
      },
      {
        "number": "37",
        "name": "PC0",
        "type": "bidirectional",
        "description": "Port C0 is a 5 V tolerant (FT) true open-drain I/O (no protection diode to VDD or weak pull-up) carrying the I2C1 data line SDA."
      },
      {
        "number": "38",
        "name": "PC1",
        "type": "bidirectional",
        "description": "Port C1 is a 5 V tolerant (FT) true open-drain I/O (no protection diode to VDD or weak pull-up) carrying the I2C1 clock line SCL."
      },
      {
        "number": "39",
        "name": "VDD2",
        "type": "power_in",
        "description": "I/Os supply voltage."
      },
      {
        "number": "40",
        "name": "VSS2",
        "type": "power_in",
        "description": "I/Os ground voltage."
      },
      {
        "number": "41",
        "name": "PC2",
        "type": "bidirectional",
        "description": "Port C2 is a 3.6 V tolerant I/O with USART1 receive, ADC1 input 6, comparator 1 positive input and internal voltage reference output."
      },
      {
        "number": "42",
        "name": "PC3",
        "type": "bidirectional",
        "description": "Port C3 is a 3.6 V tolerant I/O with USART1 transmit, ADC1 input 5, comparator 1 positive input and comparator 2 negative input."
      },
      {
        "number": "43",
        "name": "PC4",
        "type": "bidirectional",
        "description": "Port C4 is a 3.6 V tolerant I/O with USART1 synchronous clock, I2C1 SMBus, configurable clock output (CCO), ADC1 input 4, comparator 2 negative input and comparator 1 positive input."
      },
      {
        "number": "44",
        "name": "PC5",
        "type": "bidirectional",
        "description": "Port C5 is a 3.6 V tolerant I/O that also serves as LSE oscillator input (OSC32_IN), with SPI1 select and USART1 transmit as remappable alternate functions."
      },
      {
        "number": "45",
        "name": "PC6",
        "type": "bidirectional",
        "description": "Port C6 is a 3.6 V tolerant I/O that also serves as LSE oscillator output (OSC32_OUT), with SPI1 clock and USART1 receive as remappable alternate functions."
      },
      {
        "number": "46",
        "name": "PC7",
        "type": "bidirectional",
        "description": "Port C7 is a 3.6 V tolerant I/O with ADC1 input 3, comparator 2 negative input and comparator 1 positive input; LCD segment 25 is available only on STM8AL3Lxx."
      },
      {
        "number": "47",
        "name": "PE6",
        "type": "bidirectional",
        "description": "Port E6 is a 3.6 V tolerant I/O with PVD input (PVD_IN); LCD segment 26 is available only on STM8AL3Lxx."
      },
      {
        "number": "48",
        "name": "PE7",
        "type": "bidirectional",
        "description": "Port E7 is a 3.6 V tolerant I/O; LCD segment 27 is available only on STM8AL3Lxx."
      }
    ],
    "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 decode: STM8AL3168TCY = STM8AL 31 6 8 T C Y → 'STM8AL31x8T' (standard, no LCD), 32 Kbyte Flash, ; Pin 13 is listed as 'Reserved' (footnote 8: available on STM8AL31xx only; footnote 1 of Figure 3: mu; Table 5 lists LCD alternate functions (LCD_SEG/LCD_COM, marked (2)) for pins 5-8, 14-19, 20-21, 22-2"
        ],
        "pages_sent": 44,
        "cost_usd": 0.2247,
        "at": "2026-10-08T04:53:39"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923687596658688",
        "pages": 123,
        "sha256": "c556f7a6ad75fcd6",
        "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": "stm8al3168tcy.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": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8al3168tcy-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": "b7b2b06a0bc025616c11b1ad16dce41abc650824260cb2a5691c2b335fb5304e",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-48(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "48"
    }
  },
  "variants": [],
  "sections": [
    "hero",
    "viewers",
    "readme",
    "breadcrumbs",
    "info"
  ],
  "discovery_triggers": [
    "stm8al3168tcy"
  ],
  "discovery_pitch": "STM8AL3168TCY (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",
    "stm8al3168tcy.kicad_sym",
    "stm8al3168tcy.kicad_mod",
    "stm8al3168tcy.glb",
    "stm8al3168tcy.step",
    "stm8al3168tcy.lbr",
    "docs/hero.png",
    "docs/stm8al3168tcy-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8al3168tcy-hero.glb",
    "stm8al3168tcy-hero.overlay.json"
  ],
  "visibility": {
    "public": true
  }
}