main
Ray Publish 0.1.2 af05ec7
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069
{
  "slug": "stm8af6246tcsssx",
  "version": "0.1.2",
  "type": "component",
  "description": "STMicroelectronics ST Microelectronics, LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm8af6246tcsssx",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm8af6246tcsssx.kicad_sym",
    "stm8af6246tcsssx.kicad_mod",
    "stm8af6246tcsssx.glb",
    "stm8af6246tcsssx.step",
    "stm8af6246tcsssx.lbr",
    "docs/hero.png",
    "docs/stm8af6246tcsssx-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm8af6246tcsssx-hero.glb",
    "stm8af6246tcsssx-hero.overlay.json",
    "stm8af6246tcsssx-etched.glb",
    "stm8af6246tcsssx-etched.step"
  ],
  "component": {
    "mpn": "STM8AF6246TCSSSX",
    "manufacturer": "STMicroelectronics",
    "package": "LQFP-32(7x7)",
    "pin_count": 32,
    "category": "Embedded Processors & Controllers",
    "subcategory": "ST Microelectronics",
    "datasheet": "https://www.st.com/resource/en/datasheet/stm8af6246tcsssx.pdf",
    "parts": {
      "symbol": "stm8af6246tcsssx.kicad_sym",
      "footprint": "stm8af6246tcsssx.kicad_mod",
      "model_3d": "stm8af6246tcsssx-hero.glb",
      "model_3d_plain": "stm8af6246tcsssx.glb",
      "model_3d_step": "stm8af6246tcsssx-etched.step",
      "model_3d_step_plain": "stm8af6246tcsssx.step",
      "lbr": "stm8af6246tcsssx.lbr"
    },
    "distributor_links": {
      "lcsc": "C73621",
      "digikey": "497-17870-2-ND",
      "mouser": "511-STM8AF6246TCSSSX"
    },
    "distributor_check": {
      "checked_at": "2026-11-07T00:27:39Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-17870-2-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM8AF6246TCSSSX",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Reset input/output pin (main function after reset: Reset), with no alternate function."
      },
      {
        "number": "2",
        "name": "PA1/OSCIN",
        "type": "bidirectional",
        "description": "Port A1 (O1 speed, floating/wpu input, push-pull/open-drain output) whose default alternate function is resonator/crystal input OSCIN."
      },
      {
        "number": "3",
        "name": "PA2/OSCOUT",
        "type": "bidirectional",
        "description": "Port A2 (O1 speed, external interrupt capable) whose default alternate function is resonator/crystal output OSCOUT."
      },
      {
        "number": "4",
        "name": "VSS",
        "type": "power_in",
        "description": "Digital ground."
      },
      {
        "number": "5",
        "name": "VCAP",
        "type": "passive",
        "description": "1.8 V regulator capacitor pin for the external capacitor."
      },
      {
        "number": "6",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply."
      },
      {
        "number": "7",
        "name": "VDDIO_1",
        "type": "power_in",
        "description": "I/O power supply."
      },
      {
        "number": "8",
        "name": "PF4/AIN12",
        "type": "bidirectional",
        "description": "Port F4 (O1 speed) with analog input 12 as default alternate function; a pull-up 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."
      },
      {
        "number": "10",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground."
      },
      {
        "number": "11",
        "name": "PB5/AIN5",
        "type": "bidirectional",
        "description": "Port B5 (O1 speed, external interrupt capable) with analog input 5 as default alternate function and I2C_SDA after remap [AFR6]."
      },
      {
        "number": "12",
        "name": "PB4/AIN4",
        "type": "bidirectional",
        "description": "Port B4 (O1 speed, external interrupt capable) with analog input 4 as default alternate function and I2C_SCL after remap [AFR6]."
      },
      {
        "number": "13",
        "name": "PB3/AIN3",
        "type": "bidirectional",
        "description": "Port B3 (O1 speed, external interrupt capable) with analog input 3 as default alternate function and TIM1_ETR after remap [AFR5]."
      },
      {
        "number": "14",
        "name": "PB2/AIN2",
        "type": "bidirectional",
        "description": "Port B2 (O1 speed, external interrupt capable) with analog input 2 as default alternate function and TIM1_CH3N (listed as TIM1_NCC3) after remap [AFR5]."
      },
      {
        "number": "15",
        "name": "PB1/AIN1",
        "type": "bidirectional",
        "description": "Port B1 (O1 speed, external interrupt capable) with analog input 1 as default alternate function and TIM1_CH2N (listed as TIM1_NCC2) after remap [AFR5]."
      },
      {
        "number": "16",
        "name": "PB0/AIN0",
        "type": "bidirectional",
        "description": "Port B0 (O1 speed, external interrupt capable) with analog input 0 as default alternate function and TIM1_CH1N (listed as TIM1_NCC1) after remap [AFR5]."
      },
      {
        "number": "17",
        "name": "PE5/SPI_NSS",
        "type": "bidirectional",
        "description": "Port E5 (O1 speed, external interrupt capable) with SPI master/slave select as default alternate function."
      },
      {
        "number": "18",
        "name": "PC1/TIM1_CH1",
        "type": "bidirectional",
        "description": "Port C1 (high sink, O3 speed, external interrupt capable) with Timer 1 channel 1 as default alternate function."
      },
      {
        "number": "19",
        "name": "PC2/TIM1_CH2",
        "type": "bidirectional",
        "description": "Port C2 (high sink, O3 speed, external interrupt capable) with Timer 1 channel 2 as default alternate function."
      },
      {
        "number": "20",
        "name": "PC3/TIM1_CH3",
        "type": "bidirectional",
        "description": "Port C3 (high sink, O3 speed, external interrupt capable) with Timer 1 channel 3 as default alternate function."
      },
      {
        "number": "21",
        "name": "PC4/TIM1_CH4",
        "type": "bidirectional",
        "description": "Port C4 (high sink, O3 speed, external interrupt capable) with Timer 1 channel 4 as default alternate function."
      },
      {
        "number": "22",
        "name": "PC5/SPI_SCK",
        "type": "bidirectional",
        "description": "Port C5 (O3 speed, external interrupt capable) with SPI clock as default alternate function."
      },
      {
        "number": "23",
        "name": "PC6/SPI_MOSI",
        "type": "bidirectional",
        "description": "Port C6 (O3 speed, external interrupt capable) with SPI master out/slave in as default alternate function."
      },
      {
        "number": "24",
        "name": "PC7/SPI_MISO",
        "type": "bidirectional",
        "description": "Port C7 (O3 speed, external interrupt capable) with SPI master in/slave out as default alternate function."
      },
      {
        "number": "25",
        "name": "PD0/TIM3_CH2",
        "type": "bidirectional",
        "description": "Port D0 (high sink, O3 speed, external interrupt capable) with Timer 3 channel 2 as default alternate function, and TIM1_BKIN [AFR3] or CLK_CCO [AFR2] after remap."
      },
      {
        "number": "26",
        "name": "PD1/SWIM",
        "type": "bidirectional",
        "description": "Port D1 (high sink, O4 speed, external interrupt capable) used as SWIM data interface, held in input pull-up during and after reset."
      },
      {
        "number": "27",
        "name": "PD2/TIM3_CH1",
        "type": "bidirectional",
        "description": "Port D2 (high sink, O3 speed, external interrupt capable) with Timer 3 channel 1 as default alternate function and TIM2_CH3 after remap [AFR1]."
      },
      {
        "number": "28",
        "name": "PD3/TIM2_CH2",
        "type": "bidirectional",
        "description": "Port D3 (high sink, O3 speed, external interrupt capable) with Timer 2 channel 2 as default alternate function and ADC_ETR after remap [AFR0]."
      },
      {
        "number": "29",
        "name": "PD4/TIM2_CH1/BEEP",
        "type": "bidirectional",
        "description": "Port D4 (high sink, O3 speed, external interrupt capable) with Timer 2 channel 1 as default alternate function and BEEP output after remap [AFR7]."
      },
      {
        "number": "30",
        "name": "PD5/LINUART_TX",
        "type": "bidirectional",
        "description": "Port D5 (O1 speed, external interrupt capable) with LINUART data transmit as default alternate function."
      },
      {
        "number": "31",
        "name": "PD6/LINUART_RX",
        "type": "bidirectional",
        "description": "Port D6 (O1 speed, external interrupt capable) with LINUART data receive as default alternate function."
      },
      {
        "number": "32",
        "name": "PD7/TLI",
        "type": "bidirectional",
        "description": "Port D7 (O1 speed, external interrupt capable) with top level interrupt as default alternate function; if configured as 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-sonnet-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The Figure 3 (32-pin pinout) text extraction is garbled and its pin-name order does not give usable ; The MPN suffix 'SSS' marks a customer-specific superset silicon (Figure 51 footnote 3). Its pinout m; The datasheet labels VCAP as a power supply (type S), but it is an external capacitor pin for the 1."
        ],
        "pages_sent": 39,
        "cost_usd": 0.2173,
        "at": "2026-11-07T00:27:28"
      },
      "datasheet": {
        "url": "https://www.st.com/resource/en/datasheet/stm8af6246tcsssx.pdf",
        "pages": 99,
        "sha256": "b2515811c84033b5",
        "source_tier": "mfr"
      },
      "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": "stm8af6246tcsssx.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-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm8af6246tcsssx-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": "f609c283f37f6680555f8ed85f7210183418c0a533299b0d634738fc837f652b",
        "checked": "2026-11-07",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  },
  "title": "STM8AF6246TCSSSX",
  "brief": "STMicroelectronics ST Microelectronics, LQFP-32(7x7). Pinout read twice from the datasheet and the two reads agreed, KiCad symbol/footprint/3D.",
  "metadata": {
    "specs": {
      "Manufacturer": "STMicroelectronics",
      "Package": "LQFP-32(7x7)",
      "Category": "Embedded Processors & Controllers",
      "Pins": "32"
    },
    "characteristics": {
      "version": 1,
      "source": "datasheet",
      "datasheet_sha256": "b2515811c84033b554cb1dbea582e15a67d940141c0b9c6ef53e255c370a2c25",
      "rows": [
        {
          "name": "Standard operating voltage",
          "symbol": "VDD/VDDIO",
          "kind": "recommended_operating",
          "unit": "V",
          "min": 3,
          "typ": null,
          "max": 5.5,
          "conditions": "",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "Internal CPU clock frequency",
          "symbol": "fCPU",
          "kind": "recommended_operating",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 16,
          "conditions": "TA = -40 °C to 150 °C",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "Ambient temperature",
          "symbol": "TA",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 125,
          "conditions": "Suffix C",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "Junction temperature range",
          "symbol": "TJ",
          "kind": "recommended_operating",
          "unit": "°C",
          "min": null,
          "typ": null,
          "max": 130,
          "conditions": "Suffix C",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "CEXT: capacitance of external capacitor",
          "symbol": "VCAP",
          "kind": "recommended_operating",
          "unit": "nF",
          "min": 470,
          "typ": null,
          "max": 3300,
          "conditions": "",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "ESR of external capacitor",
          "symbol": "ESR",
          "kind": "recommended_operating",
          "unit": "Ω",
          "min": null,
          "typ": null,
          "max": 0.3,
          "conditions": "at 1 MHz",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "ESL of external capacitor",
          "symbol": "ESL",
          "kind": "recommended_operating",
          "unit": "nH",
          "min": null,
          "typ": null,
          "max": 15,
          "conditions": "",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "Power dissipation",
          "symbol": "PD",
          "kind": "recommended_operating",
          "unit": "mW",
          "min": null,
          "typ": null,
          "max": 85,
          "conditions": "LQFP32, all temperature ranges",
          "source_page": 52,
          "source": "datasheet"
        },
        {
          "name": "Supply voltage (including VDDA and VDDIO)",
          "symbol": "VDDx - VSS",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": -0.3,
          "typ": null,
          "max": 6.5,
          "conditions": "",
          "source_page": 50,
          "source": "datasheet"
        },
        {
          "name": "Input voltage on true open drain pins (PE1, PE2)",
          "symbol": "VIN",
          "kind": "absolute_maximum",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 6.5,
          "conditions": "referenced to VSS; minimum VSS - 0.3 V",
          "source_page": 50,
          "source": "datasheet"
        },
        {
          "name": "Variations between different power pins",
          "symbol": "|VDDx - VDD|",
          "kind": "absolute_maximum",
          "unit": "mV",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "",
          "source_page": 50,
          "source": "datasheet"
        },
        {
          "name": "Variations between all the different ground pins",
          "symbol": "|VSSx - VSS|",
          "kind": "absolute_maximum",
          "unit": "mV",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "",
          "source_page": 50,
          "source": "datasheet"
        },
        {
          "name": "Total current into VDDIO power lines (source)",
          "symbol": "IVDDIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 100,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Total current out of VSSIO ground lines (sink)",
          "symbol": "IVSSIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 100,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Output current sunk by any I/O and control pin",
          "symbol": "IIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 20,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Output current source by any I/Os and control pin",
          "symbol": "IIO",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -20,
          "typ": null,
          "max": null,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Injected current on any pin",
          "symbol": "IINJ(PIN)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": -10,
          "typ": null,
          "max": 10,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Sum of injected currents",
          "symbol": "IINJ(TOT)",
          "kind": "absolute_maximum",
          "unit": "mA",
          "min": null,
          "typ": null,
          "max": 50,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Storage temperature range",
          "symbol": "TSTG",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": -65,
          "typ": null,
          "max": 150,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Maximum junction temperature",
          "symbol": "TJ",
          "kind": "absolute_maximum",
          "unit": "°C",
          "min": null,
          "typ": null,
          "max": 160,
          "conditions": "",
          "source_page": 51,
          "source": "datasheet"
        },
        {
          "name": "Operating voltage (all modes, execution/write/erase)",
          "symbol": "VDD",
          "kind": "electrical",
          "unit": "V",
          "min": 3,
          "typ": null,
          "max": 5.5,
          "conditions": "fCPU 0 to 16 MHz with 0 ws",
          "source_page": 62,
          "source": "datasheet"
        },
        {
          "name": "Operating voltage (code execution)",
          "symbol": "VDD",
          "kind": "electrical",
          "unit": "V",
          "min": 2.6,
          "typ": null,
          "max": 5.5,
          "conditions": "fCPU 0 to 16 MHz with 0 ws",
          "source_page": 62,
          "source": "datasheet"
        },
        {
          "name": "Power-on reset threshold",
          "symbol": "VIT+",
          "kind": "electrical",
          "unit": "V",
          "min": 2.65,
          "typ": 2.8,
          "max": 2.95,
          "conditions": "",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset threshold",
          "symbol": "VIT-",
          "kind": "electrical",
          "unit": "V",
          "min": 2.58,
          "typ": 2.73,
          "max": 2.88,
          "conditions": "",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Brown-out reset hysteresis",
          "symbol": "VHYS(BOR)",
          "kind": "electrical",
          "unit": "mV",
          "min": null,
          "typ": 70,
          "max": null,
          "conditions": "guaranteed by design",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Reset release delay",
          "symbol": "tTEMP",
          "kind": "timing",
          "unit": "ms",
          "min": null,
          "typ": 1,
          "max": 1.7,
          "conditions": "VDD rising",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Reset generation delay",
          "symbol": "tTEMP",
          "kind": "timing",
          "unit": "µs",
          "min": null,
          "typ": 3,
          "max": null,
          "conditions": "VDD falling",
          "source_page": 53,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 7.4,
          "max": 14,
          "conditions": "fCPU = 16 MHz, code executed from Flash, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 4,
          "max": 7.4,
          "conditions": "fCPU = 8 MHz, code executed from Flash, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 2.4,
          "max": 4.1,
          "conditions": "fCPU = 4 MHz, code executed from Flash, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.5,
          "max": 2.5,
          "conditions": "fCPU = 2 MHz, code executed from Flash, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 3.7,
          "max": 5,
          "conditions": "fCPU = 16 MHz, code executed from RAM and EEPROM, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 2.2,
          "max": 3,
          "conditions": "fCPU = 8 MHz, code executed from RAM and EEPROM, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Run mode",
          "symbol": "IDD(RUN)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.4,
          "max": 2,
          "conditions": "fCPU = 4 MHz, code executed from RAM and EEPROM, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Wait mode",
          "symbol": "IDD(WFI)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.65,
          "max": 2.5,
          "conditions": "fCPU = 16 MHz, CPU stopped, all peripherals off, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Wait mode",
          "symbol": "IDD(WFI)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.15,
          "max": 1.9,
          "conditions": "fCPU = 8 MHz, CPU stopped, all peripherals off, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Wait mode",
          "symbol": "IDD(WFI)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 0.9,
          "max": 1.6,
          "conditions": "fCPU = 4 MHz, CPU stopped, all peripherals off, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Wait mode",
          "symbol": "IDD(WFI)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 0.8,
          "max": 1.5,
          "conditions": "fCPU = 2 MHz, CPU stopped, all peripherals off, HSE external clock",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Slow mode",
          "symbol": "IDD(SLOW)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.5,
          "max": 1.95,
          "conditions": "fCPU = 125 kHz, ext. clock 16 MHz, all peripherals off, code from RAM",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Slow mode",
          "symbol": "IDD(SLOW)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1.5,
          "max": 1.8,
          "conditions": "fCPU = 128 kHz, LSI internal RC, all peripherals off, code from RAM",
          "source_page": 54,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Halt mode",
          "symbol": "IDD(H)",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 5,
          "max": 35,
          "conditions": "clocks stopped, MVR off, Flash power-down, TA -40 to 55 °C",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Active-halt mode with regulator on",
          "symbol": "IDD(AH)",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 770,
          "max": 900,
          "conditions": "ext. clock 16 MHz, fMASTER = 125 kHz",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Active-halt mode with regulator on",
          "symbol": "IDD(AH)",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 150,
          "max": 230,
          "conditions": "LSI clock 128 kHz",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Supply current in Active-halt mode with regulator off",
          "symbol": "IDD(AH)",
          "kind": "electrical",
          "unit": "µA",
          "min": null,
          "typ": 25,
          "max": 42,
          "conditions": "LSI clock 128 kHz",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Wakeup time from Active-halt mode with regulator on",
          "symbol": "tWU(AH)",
          "kind": "timing",
          "unit": "µs",
          "min": null,
          "typ": 10,
          "max": 30,
          "conditions": "operating mode, TA = -40 to 150 °C",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Wakeup time from Active-halt mode with regulator off",
          "symbol": "tWU(AH)",
          "kind": "timing",
          "unit": "µs",
          "min": null,
          "typ": 50,
          "max": 80,
          "conditions": "regulator off",
          "source_page": 55,
          "source": "datasheet"
        },
        {
          "name": "Programming current",
          "symbol": "IDD(PROG)",
          "kind": "electrical",
          "unit": "mA",
          "min": null,
          "typ": 1,
          "max": 1.7,
          "conditions": "VDD = 5 V, -40 °C to 150 °C, erasing and programming",
          "source_page": 56,
          "source": "datasheet"
        },
        {
          "name": "User external clock source frequency",
          "symbol": "fHSE_ext",
          "kind": "electrical",
          "unit": "MHz",
          "min": 0,
          "typ": null,
          "max": 16,
          "conditions": "TA is -40 to 150 °C",
          "source_page": 57,
          "source": "datasheet"
        },
        {
          "name": "OSCIN input leakage current",
          "symbol": "ILEAK_HSE",
          "kind": "electrical",
          "unit": "µA",
          "min": -1,
          "typ": null,
          "max": 1,
          "conditions": "VSS < VIN < VDD",
          "source_page": 57,
          "source": "datasheet"
        },
        {
          "name": "Recommended load capacitance",
          "symbol": "CL1/CL2",
          "kind": "electrical",
          "unit": "pF",
          "min": null,
          "typ": null,
          "max": 20,
          "conditions": "",
          "source_page": 58,
          "source": "datasheet"
        },
        {
          "name": "Feedback resistor",
          "symbol": "RF",
          "kind": "electrical",
          "unit": "kΩ",
          "min": null,
          "typ": 220,
          "max": null,
          "conditions": "",
          "source_page": 58,
          "source": "datasheet"
        },
        {
          "name": "Frequency",
          "symbol": "fHSI",
          "kind": "electrical",
          "unit": "MHz",
          "min": null,
          "typ": 16,
          "max": null,
          "conditions": "",
          "source_page": 59,
          "source": "datasheet"
        },
        {
          "name": "HSI oscillator accuracy (factory calibrated)",
          "symbol": "ACCHS",
          "kind": "tolerance",
          "unit": "%",
          "min": -5,
          "typ": null,
          "max": 5,
          "conditions": "3.0 V ≤ VDD ≤ 5.5 V, -40 °C ≤ TA ≤ 150 °C",
          "source_page": 60,
          "source": "datasheet"
        },
        {
          "name": "LSI frequency",
          "symbol": "fLSI",
          "kind": "electrical",
          "unit": "kHz",
          "min": 112,
          "typ": 128,
          "max": 144,
          "conditions": "",
          "source_page": 60,
          "source": "datasheet"
        },
        {
          "name": "Temperature for writing and erasing",
          "symbol": "TWE",
          "kind": "electrical",
          "unit": "°C",
          "min": -40,
          "typ": null,
          "max": 150,
          "conditions": "Flash program memory",
          "source_page": 62,
          "source": "datasheet"
        },
        {
          "name": "Flash program memory endurance (erase/write cycles)",
          "symbol": "NWE",
          "kind": "electrical",
          "unit": "cycles",
          "min": 1000,
          "typ": null,
          "max": null,
          "conditions": "TA = 25 °C",
          "source_page": 62,
          "source": "datasheet"
        },
        {
          "name": "Output low level voltage",
          "symbol": "VOL",
          "kind": "electrical",
          "unit": "V",
          "min": null,
          "typ": null,
          "max": 0.5,
          "conditions": "High sink and true open drain I/O, VDD = 5 V, I = 8 mA",
          "source_page": 63,
          "source": "datasheet"
        },
        {
          "name": "Pull-up resistor",
          "symbol": "Rpu",
          "kind": "electrical",
          "unit": "kΩ",
          "min": 35,
          "typ": 50,
          "max": 65,
          "conditions": "VDD = 5 V, VIN = VSS",
          "source_page": 63,
          "source": "datasheet"
        },
        {
          "name": "Thermal resistance junction-ambient LQFP 32 - 7 x 7 mm",
          "symbol": "ΘJA",
          "kind": "thermal",
          "unit": "°C/W",
          "min": null,
          "typ": 59,
          "max": null,
          "conditions": "JEDEC JESD51-2, 4-layer PCB, natural convection",
          "source_page": 88,
          "source": "datasheet"
        }
      ]
    }
  },
  "discovery_triggers": [
    "stm8af6246tcsssx"
  ],
  "discovery_pitch": "STM8AF6246TCSSSX (STMicroelectronics) component page: datasheet pinout, KiCad symbol, footprint and 3D.",
  "visibility": "public"
}