main
Ray Publish 0.1.0 59475a9 17d ago
{
  "slug": "stm8af6246tdsssx",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontroller Units (MCUs/MPUs/SOCs), LQFP-32(7x7). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "single chip microcomputer-microcontroller",
    "stm8af6246tdsssx",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8af6246tdsssx.kicad_sym",
    "stm8af6246tdsssx.kicad_mod",
    "stm8af6246tdsssx.glb",
    "stm8af6246tdsssx.step",
    "stm8af6246tdsssx.lbr",
    "docs/hero.png",
    "docs/stm8af6246tdsssx-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8af6246tdsssx-hero.glb",
    "stm8af6246tdsssx-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM8AF6246TDSSSX",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Single Chip Microcomputer/Microcontroller",
    "subcategory": "Microcontroller Units (MCUs/MPUs/SOCs)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588943008925929472",
    "parts": {
      "symbol": "stm8af6246tdsssx.kicad_sym",
      "footprint": "stm8af6246tdsssx.kicad_mod",
      "model_3d": "stm8af6246tdsssx-hero.glb",
      "model_3d_plain": "stm8af6246tdsssx.glb",
      "model_3d_step": "stm8af6246tdsssx-etched.step",
      "model_3d_step_plain": "stm8af6246tdsssx.step",
      "lbr": "stm8af6246tdsssx.lbr"
    },
    "distributor_links": {
      "lcsc": "C2054989",
      "digikey": "STM8AF6246TDSSSX-ND",
      "mouser": "511-STM8AF6246TDSSSX"
    },
    "distributor_check": {
      "checked_at": "2026-10-11T05:18:02Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "STM8AF6246TDSSSX-ND",
        "status": "found",
        "lifecycle": "Active"
      },
      "mouser": {
        "pn": "511-STM8AF6246TDSSSX",
        "status": "found",
        "lifecycle": "End of Life"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin (I/O) used to reset the device; its reset-pin characteristics (filtering, pull-up, input levels) are specified separately in the NRST pin characteristics section."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 I/O that doubles as the resonator/crystal input (OSCIN); in Halt/Active-halt the input/output path is disabled and the pad must not be left floating."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 I/O that doubles as the resonator/crystal output (OSCOUT); in Halt/Active-halt the input/output path is disabled and the pad must not be left floating."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground of the device."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "Connection for the 1.8 V regulator capacitor; the external capacitor value is given in the VCAP external capacitor section."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply of the device."
      },
      {
        "number": "7",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply for the first group of I/O pins."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F4 I/O and ADC analog input 12; a pull-up from the I/O static characteristics is enabled during reset, and AIN12 is not selectable in ADC scan mode or with the analog watchdog."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply for the ADC."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the ADC."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B5 I/O and ADC analog input 5; I2C_SDA is available on this pin when the AFR6 remap option is active."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B4 I/O and ADC analog input 4; I2C_SCL is available on this pin when the AFR6 remap option is active."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B3 I/O and ADC analog input 3; TIM1_ETR is available on this pin when the AFR5 remap option is active."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B2 I/O and ADC analog input 2; TIM1_CH3N is available on this pin when the AFR5 remap option is active."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B1 I/O and ADC analog input 1; TIM1_CH2N is available on this pin when the AFR5 remap option is active."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B0 I/O and ADC analog input 0; TIM1_CH1N is available on this pin when the AFR5 remap option is active."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 I/O used as the SPI master/slave select (NSS) signal."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1",
        "type": "bidirectional",
        "description": "Port C1 high-sink (8 mA) I/O used as Timer 1 channel 1."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 high-sink (8 mA) I/O used as Timer 1 channel 2."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 high-sink (8 mA) I/O used as Timer 1 channel 3."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 high-sink (8 mA) I/O used as Timer 1 channel 4."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 I/O used as the SPI clock."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 I/O used as the SPI master out / slave in data line."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 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 (8 mA) I/O used as Timer 3 channel 2; TIM1_BKIN (AFR3) and CLK_CCO (AFR2) are available as remap options."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 high-sink (8 mA) I/O used as the SWIM data interface; the pin is input pull-up during reset and after reset release."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D2 high-sink (8 mA) I/O used as Timer 3 channel 1; TIM2_CH3 is available as the AFR1 remap option."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D3 high-sink (8 mA) I/O used as Timer 2 channel 2; ADC_ETR is available as the AFR0 remap option."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1/BEEP",
        "type": "bidirectional",
        "description": "Port D4 high-sink (8 mA) I/O used as Timer 2 channel 1 or the BEEP output."
      },
      {
        "number": "30",
        "name": "PD5/LINUART_TX",
        "type": "bidirectional",
        "description": "Port D5 I/O used as the LINUART data transmit output."
      },
      {
        "number": "31",
        "name": "PD6/LINUART_RX",
        "type": "bidirectional",
        "description": "Port D6 I/O used as the LINUART data receive input."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "bidirectional",
        "description": "Port D7 I/O used as the top-level interrupt (TLI); if configured as an interrupt pin it triggers the TLI."
      }
    ],
    "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 decoding: STM8AF6246TDSSSX reads as STM8A, F (Flash+EEPROM), 62 family, 4 = 16 Kbyte Flash, 6 = ; The ordering scheme says 'SSS' marks a super-set silicon part that may have bigger memory and more I; Pin 14 (PB2) is printed in Table 8 as 'TIM1_NCC3'. It is read as TIM1_CH3N, which matches Figure 3 a"
        ],
        "pages_sent": 39,
        "cost_usd": 0.1693,
        "at": "2026-10-11T05:17:42"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588943008925929472",
        "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": "stm8af6246tdsssx.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-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8af6246tdsssx-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": "de39ef54026c1b11812baab9e32997d6d203f23ad94be5fcfcbcaa4f5d8a1908",
        "checked": "2026-10-11",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}