main
Ray Publish 0.1.0 93b1232
{
  "slug": "stm8af6246tcsssy",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8af6246tcsssy",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8af6246tcsssy.kicad_sym",
    "stm8af6246tcsssy.kicad_mod",
    "stm8af6246tcsssy.glb",
    "stm8af6246tcsssy.step",
    "stm8af6246tcsssy.lbr",
    "docs/hero.png",
    "docs/stm8af6246tcsssy-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8af6246tcsssy-hero.glb",
    "stm8af6246tcsssy-hero.overlay.json",
    "stm8af6246tcsssy-etched.glb"
  ],
  "component": {
    "mpn": "STM8AF6246TCSSSY",
    "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/8588923097718538240",
    "parts": {
      "symbol": "stm8af6246tcsssy.kicad_sym",
      "footprint": "stm8af6246tcsssy.kicad_mod",
      "model_3d": "stm8af6246tcsssy-hero.glb",
      "model_3d_plain": "stm8af6246tcsssy-etched.glb",
      "model_3d_step": "stm8af6246tcsssy-etched.step",
      "model_3d_step_plain": "stm8af6246tcsssy.step",
      "lbr": "stm8af6246tcsssy.lbr"
    },
    "distributor_links": {
      "lcsc": "C1338658",
      "mouser": "511-STM8AF6246TCSSSY"
    },
    "distributor_check": {
      "checked_at": "2026-11-10T08:22:01Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 987 calls left today"
      },
      "mouser": {
        "pn": "511-STM8AF6246TCSSSY",
        "status": "found",
        "lifecycle": "End of Life"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin with an on-chip pull-up of 30 to 60 kΩ; input low level is VSS to 0.3×VDD and input high level is 0.7×VDD to VDD."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 standard I/O (up to 2 MHz) that doubles as the HSE crystal input or external clock input OSCIN, with a 0 to 16 MHz external clock range."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 standard I/O (up to 2 MHz) that doubles as the HSE crystal/resonator output OSCOUT for 1 to 16 MHz crystals."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground; all power (VDD, VDDIO, VDDA) and ground (VSS, VSSIO, VSSA) pins must always be connected to the external supply."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "Connection for the 1.8 V main regulator external capacitor CEXT, which must be 470 nF to 3300 nF with ESR of 0.3 Ω max at 1 MHz and ESL of 15 nH max."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply with a standard operating range of 3.0 V to 5.5 V; the VDDx to VSS absolute maximum is 6.5 V."
      },
      {
        "number": "7",
        "name": "VDDIO",
        "type": "power_in",
        "description": "I/O power supply with a standard operating range of 3.0 V to 5.5 V."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F4 I/O (standard speed) that is also analog input AIN12, which is not selectable in ADC scan mode or with the analog watchdog; its pull-up is enabled during the reset phase."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply for the 10-bit ADC, specified from 3 V to 5.5 V."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the 10-bit ADC; it must be connected to the external ground."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B5 I/O with analog input AIN5; its alternate function is I2C_SDA when the AFR6 remap option is set."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B4 I/O with analog input AIN4; its alternate function is I2C_SCL when the AFR6 remap option is set."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B3 I/O with analog input AIN3; its alternate function is TIM1_ETR when the AFR5 remap option is set."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B2 I/O with analog input AIN2; its alternate function is TIM1_CH3N when the AFR5 remap option is set."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B1 I/O with analog input AIN1; its alternate function is TIM1_CH2N when the AFR5 remap option is set."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B0 I/O with analog input AIN0; its alternate function is TIM1_CH1N when the AFR5 remap option is set."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 standard I/O used as the SPI master/slave select (NSS) pin."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1",
        "type": "bidirectional",
        "description": "Port C1 high-sink I/O (8 mA) that carries the Timer 1 channel 1 signal."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 high-sink I/O (8 mA) that carries the Timer 1 channel 2 signal."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 high-sink I/O (8 mA) that carries the Timer 1 channel 3 signal."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 high-sink I/O (8 mA) that carries the Timer 1 channel 4 signal."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 standard I/O used as the SPI clock."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 standard I/O used as the SPI master out / slave in data line."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 standard I/O used as the SPI master in / slave out data line."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2",
        "type": "bidirectional",
        "description": "Port D0 high-sink I/O (8 mA) with Timer 3 channel 2; AFR3 remaps it to TIM1_BKIN and AFR2 to CLK_CCO, with AFR2 taking priority."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 high-sink I/O (8 mA) used as the SWIM data interface, which is in input pull-up during reset and after reset release."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D2 high-sink I/O (8 mA) with Timer 3 channel 1; AFR1 remaps it to TIM2_CH3."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D3 high-sink I/O (8 mA) with Timer 2 channel 2; AFR0 remaps it to ADC_ETR."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1/BEEP",
        "type": "bidirectional",
        "description": "Port D4 high-sink I/O (8 mA) with Timer 2 channel 1; AFR7 remaps it to the BEEP output (1, 2 or 4 kHz)."
      },
      {
        "number": "30",
        "name": "PD5/LINUART_TX",
        "type": "bidirectional",
        "description": "Port D5 standard I/O used as the LINUART data transmit pin."
      },
      {
        "number": "31",
        "name": "PD6/LINUART_RX",
        "type": "bidirectional",
        "description": "Port D6 standard I/O used as the LINUART data receive pin."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "bidirectional",
        "description": "Port D7 standard I/O that triggers the top level interrupt TLI when configured as an interrupt pin."
      }
    ],
    "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 STM8AF6246TCSSSY decodes per the ordering scheme (6246 = 16 Kbyte Flash, 6 = 32 pins, T = LQFP) ; Table 8 labels the remapped TIM1 outputs as TIM1_NCC1/2/3, while the AFR5 option description uses TI; VCAP is a regulator capacitor connection that the datasheet describes only as a power-supply pin (S)"
        ],
        "pages_sent": 99,
        "cost_usd": 0.3551,
        "at": "2026-11-10T08:21:52"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923097718538240",
        "pages": 99,
        "sha256": "b2515811c84033b5",
        "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": "stm8af6246tcsssy.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": "be0e412f1c66fee70039b0e109e0cc7c823161dda97593718afa97569bc61ce3",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8af6246tcsssy-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": "d021788a9867e3c659d70379766337a45ab24ee256b85ab9caf51859d272d0d0",
        "checked": "2026-11-10",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ],
    "package_dims": {
      "package_code": "LQFP32",
      "source_page": 86,
      "D": {
        "nom_mm": 7.0,
        "range_mm": [
          6.8,
          7.2
        ]
      },
      "E1": {
        "nom_mm": 7.0,
        "range_mm": [
          6.8,
          7.2
        ]
      },
      "E": {
        "nom_mm": 9.0,
        "range_mm": [
          8.8,
          9.2
        ]
      },
      "e": {
        "nom_mm": 0.8,
        "range_mm": [
          null,
          null
        ]
      },
      "A": {
        "nom_mm": 1.6,
        "range_mm": [
          null,
          1.6
        ]
      },
      "source": "datasheet package drawing, every number found on its page (extract_pins --task dims)",
      "model_check": {
        "file": "stm8af6246tcsssy.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}