component
STM8AF52A9TDY
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
{
"slug": "stm8af52a9tdy",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout cross-checked by two models against the datasheet, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm8af52a9tdy",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm8af52a9tdy.kicad_sym",
"stm8af52a9tdy.kicad_mod",
"stm8af52a9tdy.glb",
"stm8af52a9tdy.step",
"stm8af52a9tdy.lbr",
"docs/hero.png",
"docs/stm8af52a9tdy-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm8af52a9tdy-hero.glb",
"stm8af52a9tdy-hero.overlay.json"
],
"component": {
"mpn": "STM8AF52A9TDY",
"manufacturer": "STMicroelectronics",
"package": "LQFP-64(10x10)",
"pin_count": 64,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923305608404992",
"parts": {
"symbol": "stm8af52a9tdy.kicad_sym",
"footprint": "stm8af52a9tdy.kicad_mod",
"model_3d": "stm8af52a9tdy-hero.glb",
"model_3d_plain": "stm8af52a9tdy.glb",
"model_3d_step": "stm8af52a9tdy-etched.step",
"model_3d_step_plain": "stm8af52a9tdy.step",
"lbr": "stm8af52a9tdy.lbr"
},
"distributor_links": {
"lcsc": "C1338466",
"digikey": "497-18967-ND",
"mouser": "511-STM8AF52A9TDY"
},
"distributor_check": {
"checked_at": "2026-10-11T15:20:36Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-18967-ND",
"status": "found",
"lifecycle": "Active"
},
"mouser": {
"pn": "511-STM8AF52A9TDY",
"status": "found",
"lifecycle": "End of Life"
}
},
"pins": [
{
"number": "1",
"name": "NRST",
"type": "bidirectional",
"description": "Reset pin with an internal weak pull-up; its electrical characteristics are given in Table 39 (NRST pin characteristics)."
},
{
"number": "2",
"name": "PA1/OSCIN",
"type": "bidirectional",
"description": "Port A1 I/O (standard speed up to 2 MHz, CMOS input, weak pull-up option) that doubles as the resonator/crystal oscillator input OSCIN."
},
{
"number": "3",
"name": "PA2/OSCOUT",
"type": "bidirectional",
"description": "Port A2 I/O (standard speed up to 2 MHz, CMOS input, weak pull-up option) that doubles as the resonator/crystal oscillator output OSCOUT."
},
{
"number": "4",
"name": "VSSIO_1",
"type": "power_in",
"description": "I/O ground for the I/O power domain."
},
{
"number": "5",
"name": "VSS",
"type": "power_in",
"description": "Digital ground."
},
{
"number": "6",
"name": "VCAP",
"type": "passive",
"description": "1.8 V regulator capacitor pin, which requires the external VCAP capacitor described in section 10.3.1."
},
{
"number": "7",
"name": "VDD",
"type": "power_in",
"description": "Digital power supply."
},
{
"number": "8",
"name": "VDDIO_1",
"type": "power_in",
"description": "I/O power supply."
},
{
"number": "9",
"name": "PA3/TIM2_CH3",
"type": "bidirectional",
"description": "Port A3 I/O (standard speed up to 2 MHz) whose default alternate function is Timer 2 channel 3; TIM3_CH1 is available after AFR1 remap."
},
{
"number": "10",
"name": "PA4/USART_RX",
"type": "bidirectional",
"description": "Port A4 I/O (fast/slow programmable speed, slow by default) with USART receive function."
},
{
"number": "11",
"name": "PA5/USART_TX",
"type": "bidirectional",
"description": "Port A5 I/O (fast/slow programmable speed, slow by default) with USART transmit function."
},
{
"number": "12",
"name": "PA6/USART_CK",
"type": "bidirectional",
"description": "Port A6 I/O (fast/slow programmable speed, slow by default) with USART synchronous clock function."
},
{
"number": "13",
"name": "PF7/AIN15",
"type": "bidirectional",
"description": "Port F7 I/O (standard speed up to 2 MHz) with ADC analog input 15."
},
{
"number": "14",
"name": "PF6/AIN14",
"type": "bidirectional",
"description": "Port F6 I/O (standard speed up to 2 MHz) with ADC analog input 14."
},
{
"number": "15",
"name": "PF5/AIN13",
"type": "bidirectional",
"description": "Port F5 I/O (standard speed up to 2 MHz) with ADC analog input 13."
},
{
"number": "16",
"name": "PF4/AIN12",
"type": "bidirectional",
"description": "Port F4 I/O (standard speed up to 2 MHz) with ADC analog input 12."
},
{
"number": "17",
"name": "PF3/AIN11",
"type": "bidirectional",
"description": "Port F3 I/O (standard speed up to 2 MHz) with ADC analog input 11."
},
{
"number": "18",
"name": "VREF+",
"type": "power_in",
"description": "ADC positive reference voltage."
},
{
"number": "19",
"name": "VDDA",
"type": "power_in",
"description": "Analog power supply."
},
{
"number": "20",
"name": "VSSA",
"type": "power_in",
"description": "Analog ground."
},
{
"number": "21",
"name": "VREF-",
"type": "power_in",
"description": "ADC negative reference voltage."
},
{
"number": "22",
"name": "PF0/AIN10",
"type": "bidirectional",
"description": "Port F0 I/O (standard speed up to 2 MHz) with ADC analog input 10."
},
{
"number": "23",
"name": "PB7/AIN7",
"type": "bidirectional",
"description": "Port B7 I/O (standard speed up to 2 MHz) with ADC analog input 7."
},
{
"number": "24",
"name": "PB6/AIN6",
"type": "bidirectional",
"description": "Port B6 I/O (standard speed up to 2 MHz) with ADC analog input 6."
},
{
"number": "25",
"name": "PB5/AIN5",
"type": "bidirectional",
"description": "Port B5 I/O (standard speed up to 2 MHz) with ADC analog input 5; I2C_SDA is available after AFR6 remap."
},
{
"number": "26",
"name": "PB4/AIN4",
"type": "bidirectional",
"description": "Port B4 I/O (standard speed up to 2 MHz) with ADC analog input 4; I2C_SCL is available after AFR6 remap."
},
{
"number": "27",
"name": "PB3/AIN3",
"type": "bidirectional",
"description": "Port B3 I/O (standard speed up to 2 MHz) with ADC analog input 3; TIM1_ETR is available after AFR5 remap."
},
{
"number": "28",
"name": "PB2/AIN2",
"type": "bidirectional",
"description": "Port B2 I/O (standard speed up to 2 MHz) with ADC analog input 2; TIM1_CH3N is available after AFR5 remap."
},
{
"number": "29",
"name": "PB1/AIN1",
"type": "bidirectional",
"description": "Port B1 I/O (standard speed up to 2 MHz) with ADC analog input 1; TIM1_CH2N is available after AFR5 remap."
},
{
"number": "30",
"name": "PB0/AIN0",
"type": "bidirectional",
"description": "Port B0 I/O (standard speed up to 2 MHz) with ADC analog input 0; TIM1_CH1N is available after AFR5 remap."
},
{
"number": "31",
"name": "PE7/AIN8",
"type": "bidirectional",
"description": "Port E7 I/O (standard speed up to 2 MHz) with ADC analog input 8."
},
{
"number": "32",
"name": "PE6/AIN9",
"type": "bidirectional",
"description": "Port E6 I/O (standard speed up to 2 MHz) with ADC analog input 9."
},
{
"number": "33",
"name": "PE5/SPI_NSS",
"type": "bidirectional",
"description": "Port E5 I/O (standard speed up to 2 MHz) with SPI master/slave select function."
},
{
"number": "34",
"name": "PC1/TIM1_CH1",
"type": "bidirectional",
"description": "Port C1 high sink I/O (8 mA, fast/slow programmable speed) with Timer 1 channel 1."
},
{
"number": "35",
"name": "PC2/TIM1_CH2",
"type": "bidirectional",
"description": "Port C2 high sink I/O (8 mA, fast/slow programmable speed) with Timer 1 channel 2."
},
{
"number": "36",
"name": "PC3/TIM1_CH3",
"type": "bidirectional",
"description": "Port C3 high sink I/O (8 mA, fast/slow programmable speed) with Timer 1 channel 3."
},
{
"number": "37",
"name": "PC4/TIM1_CH4",
"type": "bidirectional",
"description": "Port C4 high sink I/O (8 mA, fast/slow programmable speed) with Timer 1 channel 4."
},
{
"number": "38",
"name": "PC5/SPI_SCK",
"type": "bidirectional",
"description": "Port C5 I/O (fast/slow programmable speed, slow by default) with SPI clock function."
},
{
"number": "39",
"name": "VSSIO_2",
"type": "power_in",
"description": "I/O ground for the second I/O power domain."
},
{
"number": "40",
"name": "VDDIO_2",
"type": "power_in",
"description": "I/O power supply for the second I/O power domain."
},
{
"number": "41",
"name": "PC6/SPI_MOSI",
"type": "bidirectional",
"description": "Port C6 I/O (fast/slow programmable speed, slow by default) with SPI master out / slave in function."
},
{
"number": "42",
"name": "PC7/SPI_MISO",
"type": "bidirectional",
"description": "Port C7 I/O (fast/slow programmable speed, slow by default) with SPI master in / slave out function."
},
{
"number": "43",
"name": "PG0/CAN_TX",
"type": "bidirectional",
"description": "Port G0 I/O (standard speed up to 2 MHz) with CAN transmit function, available on STM8AF52xx devices."
},
{
"number": "44",
"name": "PG1/CAN_RX",
"type": "bidirectional",
"description": "Port G1 I/O (standard speed up to 2 MHz) with CAN receive function, available on STM8AF52xx devices."
},
{
"number": "45",
"name": "PG2",
"type": "bidirectional",
"description": "Port G2 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "46",
"name": "PG3",
"type": "bidirectional",
"description": "Port G3 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "47",
"name": "PG4",
"type": "bidirectional",
"description": "Port G4 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "48",
"name": "PI0",
"type": "bidirectional",
"description": "Port I0 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "49",
"name": "PG5",
"type": "bidirectional",
"description": "Port G5 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "50",
"name": "PG6",
"type": "bidirectional",
"description": "Port G6 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "51",
"name": "PG7",
"type": "bidirectional",
"description": "Port G7 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "52",
"name": "PE4",
"type": "bidirectional",
"description": "Port E4 general-purpose I/O (standard speed up to 2 MHz) with no alternate function listed in Table 11."
},
{
"number": "53",
"name": "PE3/TIM1_BKIN",
"type": "bidirectional",
"description": "Port E3 I/O (standard speed up to 2 MHz) with Timer 1 break input function."
},
{
"number": "54",
"name": "PE2/I2C_SDA",
"type": "bidirectional",
"description": "Port E2 true open-drain I/O (no weak pull-up and no protection diode to VDD) carrying the I2C data line I2C_SDA."
},
{
"number": "55",
"name": "PE1/I2C_SCL",
"type": "bidirectional",
"description": "Port E1 true open-drain I/O (no weak pull-up and no protection diode to VDD) carrying the I2C clock line I2C_SCL."
},
{
"number": "56",
"name": "PE0/CLK_CCO",
"type": "bidirectional",
"description": "Port E0 I/O (fast/slow programmable speed, slow by default) with configurable clock output CLK_CCO."
},
{
"number": "57",
"name": "PD0/TIM3_CH2",
"type": "bidirectional",
"description": "Port D0 high sink I/O (8 mA, fast/slow programmable speed) with Timer 3 channel 2; TIM1_BKIN (AFR3) and CLK_CCO (AFR2) are available after remap."
},
{
"number": "58",
"name": "PD1/SWIM",
"type": "bidirectional",
"description": "Port D1 high sink I/O (8 mA) used as the SWIM data interface, held in input pull-up during reset phase and after reset release."
},
{
"number": "59",
"name": "PD2/TIM3_CH1",
"type": "bidirectional",
"description": "Port D2 high sink I/O (8 mA, fast/slow programmable speed) with Timer 3 channel 1; TIM2_CH3 is available after AFR1 remap."
},
{
"number": "60",
"name": "PD3/TIM2_CH2",
"type": "bidirectional",
"description": "Port D3 high sink I/O (8 mA, fast/slow programmable speed) with Timer 2 channel 2; ADC_ETR is available after AFR0 remap."
},
{
"number": "61",
"name": "PD4/TIM2_CH1/BEEP",
"type": "bidirectional",
"description": "Port D4 high sink I/O (8 mA, fast/slow programmable speed) with Timer 2 channel 1; BEEP output is available after AFR7 remap."
},
{
"number": "62",
"name": "PD5/LINUART_TX",
"type": "bidirectional",
"description": "Port D5 I/O (standard speed up to 2 MHz) with LINUART data transmit function."
},
{
"number": "63",
"name": "PD6/LINUART_RX",
"type": "bidirectional",
"description": "Port D6 I/O (standard speed up to 2 MHz) with LINUART data receive function."
},
{
"number": "64",
"name": "PD7/TLI",
"type": "bidirectional",
"description": "Port D7 I/O (standard speed up to 2 MHz) with 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: Package selection: the MPN STM8AF52A9 is listed in Table 2 as an LQFP64 (10x10) device with CAN, so ; Pin numbers were taken from the Table 11 LQFP64 column rather than the Figure 4 drawing, because the; Type choice: Table 11 labels VCAP as 'S' (supply) only. It was typed passive because it is a regulat"
],
"pages_sent": 60,
"cost_usd": 0.2651,
"at": "2026-10-11T15:20:08"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923305608404992",
"pages": 125,
"sha256": "3f11cfe069d4bf98",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 64,
"described": 64,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stm8af52a9tdy.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
12.0,
12.0,
1.5
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "b0c827bc5c05552175d28affe44a5bd2ab45c9c36efff6ff07a74cc449b13db4",
"checked": "2026-10-11",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm8af52a9tdy-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
12.0,
12.0,
1.5
],
"zmin_mm": 0.0,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "c960cdc0c7d8e308cf86327667b595edadaed344eccd72bee01ec189166524ab",
"checked": "2026-10-11",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}