main
Ray Publish 0.1.0 bc760d1
{
  "slug": "stm8af6246tasssx",
  "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",
    "stm8af6246tasssx",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8af6246tasssx.kicad_sym",
    "stm8af6246tasssx.kicad_mod",
    "stm8af6246tasssx.glb",
    "stm8af6246tasssx.step",
    "stm8af6246tasssx.lbr",
    "docs/hero.png",
    "docs/stm8af6246tasssx-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8af6246tasssx-hero.glb",
    "stm8af6246tasssx-hero.overlay.json",
    "stm8af6246tasssx-etched.glb"
  ],
  "component": {
    "mpn": "STM8AF6246TASSSX",
    "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/8588941870579240960",
    "parts": {
      "symbol": "stm8af6246tasssx.kicad_sym",
      "footprint": "stm8af6246tasssx.kicad_mod",
      "model_3d": "stm8af6246tasssx-hero.glb",
      "model_3d_plain": "stm8af6246tasssx-etched.glb",
      "model_3d_step": "stm8af6246tasssx-etched.step",
      "model_3d_step_plain": "stm8af6246tasssx.step",
      "lbr": "stm8af6246tasssx.lbr"
    },
    "distributor_links": {
      "lcsc": "C2054695",
      "mouser": "511-STM8AF6246TASSSX"
    },
    "distributor_check": {
      "checked_at": "2026-11-10T08:16:46Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": null,
        "status": "deferred",
        "error": "shared DigiKey quota guard: 995 calls left today"
      },
      "mouser": {
        "pn": "511-STM8AF6246TASSSX",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset pin with an internal pull-up of 30 to 60 kΩ (Table 36), where pulses shorter than 85 ns are filtered and the external reset network must drive the level below VIL(NRST) max to be recognised."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 that serves as the resonator/crystal input (OSCIN) for the 1 to 16 MHz HSE oscillator or as the external clock input, with a frequency range of 0 to 16 MHz."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 that serves as the resonator/crystal output (OSCOUT) of the HSE oscillator."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground; all VDD, VDDIO, VDDA and VSS pins must always be connected to the external supply."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "power_out",
        "description": "1.8 V regulator capacitor pin that requires an external CEXT of 470 to 3300 nF with ESR of at most 0.3 Ω and ESL of at most 15 nH (Table 21)."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply with a standard operating voltage of 3.0 to 5.5 V (Table 21)."
      },
      {
        "number": "7",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply that must be connected to the same external supply as VDD (3.0 to 5.5 V operating range)."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F4 analog input 12 that is not selectable in ADC scan mode or with the analog watchdog and enables a pull-up during the reset phase."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply for the ADC, specified from 3 to 5.5 V (Table 40)."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground for the ADC reference and analog inputs."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B5 analog input 5 that becomes I2C_SDA when option bit AFR6 is set."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B4 analog input 4 that becomes I2C_SCL when option bit AFR6 is set."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B3 analog input 3 that becomes TIM1_ETR when option bit AFR5 is set."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B2 analog input 2 that becomes TIM1_CH3N when option bit AFR5 is set."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B1 analog input 1 that becomes TIM1_CH2N when option bit AFR5 is set."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B0 analog input 0 that becomes TIM1_CH1N when option bit AFR5 is set."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 that serves as the SPI master/slave select (NSS) with standard I/O speed of up to 2 MHz."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1",
        "type": "bidirectional",
        "description": "Port C1 with high-sink capability of 8 mA that serves as Timer 1 channel 1."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 with high-sink capability of 8 mA that serves as Timer 1 channel 2."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 with high-sink capability of 8 mA that serves as Timer 1 channel 3."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 with high-sink capability of 8 mA that serves as Timer 1 channel 4."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 that serves as the SPI clock."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 that serves as the SPI master out / slave in data line."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 that serves as the SPI master in / slave out data line."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2",
        "type": "bidirectional",
        "description": "Port D0 with high-sink capability of 8 mA that serves as Timer 3 channel 2, with alternate functions TIM1_BKIN (AFR3) or CLK_CCO (AFR2) selectable by option bits."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 with high-sink capability of 8 mA that serves as the SWIM data interface and is in input pull-up during reset and after reset release."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D2 with high-sink capability of 8 mA that serves as Timer 3 channel 1, remappable to TIM2_CH3 by option bit AFR1."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D3 with high-sink capability of 8 mA that serves as Timer 2 channel 2, remappable to ADC_ETR by option bit AFR0."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1/BEEP",
        "type": "bidirectional",
        "description": "Port D4 with high-sink capability of 8 mA that serves as Timer 2 channel 1, remappable to the BEEP output by option bit AFR7."
      },
      {
        "number": "30",
        "name": "PD5/LINUART_TX",
        "type": "bidirectional",
        "description": "Port D5 that serves as the LINUART data transmit output."
      },
      {
        "number": "31",
        "name": "PD6/LINUART_RX",
        "type": "bidirectional",
        "description": "Port D6 that serves as the LINUART data receive input."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "bidirectional",
        "description": "Port D7 that serves as the top level interrupt (TLI) input 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: The MPN STM8AF6246TASSSX decodes to 16 Kbyte Flash, 32 pins, package T = LQFP, so the LQFP32 (7x7) c; Table 8 has typos that were corrected from the pinout figure and other text: the 'TIM1_NCC' alternat; Pin 5 VCAP is a 1.8 V regulator output that the datasheet lists only as a supply (S); the type power"
        ],
        "pages_sent": 99,
        "cost_usd": 0.3517,
        "at": "2026-11-10T08:16:37"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588941870579240960",
        "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": "stm8af6246tasssx.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": "stm8af6246tasssx-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": "2fec999778c4c25cc27ef2777a59fddeb0fae63f1651f646aae3c3b204546b46",
        "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": "stm8af6246tasssx.step",
        "verdict": "PASS",
        "reasons": [
          "height and body within the datasheet's package drawing"
        ],
        "by": "factory/package_fit.py"
      }
    }
  }
}