component
STM32L052R8H6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TFBGA-64. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529
{
"slug": "stm32l052r8h6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TFBGA-64. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm32l052r8h6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32l052r8h6.kicad_sym",
"stm32l052r8h6.kicad_mod",
"stm32l052r8h6.glb",
"stm32l052r8h6.step",
"stm32l052r8h6.lbr",
"docs/hero.png",
"docs/stm32l052r8h6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm32l052r8h6-hero.glb",
"stm32l052r8h6-hero.overlay.json"
],
"component": {
"mpn": "STM32L052R8H6",
"manufacturer": "STMicroelectronics",
"package": "TFBGA-64",
"pin_count": 64,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588951983080820736",
"parts": {
"symbol": "stm32l052r8h6.kicad_sym",
"footprint": "stm32l052r8h6.kicad_mod",
"model_3d": "stm32l052r8h6-hero.glb",
"model_3d_plain": "stm32l052r8h6.glb",
"model_3d_step": "stm32l052r8h6-etched.step",
"model_3d_step_plain": "stm32l052r8h6.step",
"lbr": "stm32l052r8h6.lbr"
},
"distributor_links": {
"lcsc": "C1339809",
"digikey": "497-18574-ND",
"mouser": "511-STM32L052R8H6"
},
"distributor_check": {
"checked_at": "2026-10-10T21:44:23Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-18574-ND",
"status": "found"
},
"mouser": {
"pn": "511-STM32L052R8H6",
"status": "found"
}
},
"pins": [
{
"number": "A1",
"name": "PC14-OSC32_IN",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) whose additional function is OSC32_IN, the 32 kHz oscillator input."
},
{
"number": "A2",
"name": "PC13",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with additional functions RTC_TAMP1/RTC_TS/RTC_OUT/WKUP2."
},
{
"number": "A3",
"name": "PB9",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions EVENTOUT, I2C1_SDA and SPI2_NSS/I2S2_WS."
},
{
"number": "A4",
"name": "PB4",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_MISO, EVENTOUT, TSC_G5_IO2 and TIM22_CH1, and additional function COMP2_INP."
},
{
"number": "A5",
"name": "PB3",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_SCK, TIM2_CH2, TSC_G5I_O1 and EVENTOUT, and additional function COMP2_INN."
},
{
"number": "A6",
"name": "PA15",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_NSS, TIM2_ETR, EVENTOUT, USART2_RX and TIM2_CH1."
},
{
"number": "A7",
"name": "PA14",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SWCLK and USART2_TX."
},
{
"number": "A8",
"name": "PA13",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SWDIO and USB_NOE."
},
{
"number": "B1",
"name": "PC15-OSC32_OUT",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) whose additional function is OSC32_OUT, the 32 kHz oscillator output."
},
{
"number": "B2",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin."
},
{
"number": "B3",
"name": "PB8",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions TSC_SYNC and I2C1_SCL."
},
{
"number": "B4",
"name": "BOOT0",
"type": "input",
"description": "Dedicated BOOT0 pin (I/O structure B) with no alternate functions listed in the pin table."
},
{
"number": "B5",
"name": "PD2",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate function LPUART1_RTS/LPUART1_DE."
},
{
"number": "B6",
"name": "PC11",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate function LPUART1_RX."
},
{
"number": "B7",
"name": "PC10",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate function LPUART1_TX."
},
{
"number": "B8",
"name": "PA12",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) powered by VDD_USB (note 3), with alternate functions SPI1_MOSI, EVENTOUT, TSC_G4_IO4, USART1_RTS/USART1_DE and COMP2_OUT, and additional function USB_DP."
},
{
"number": "C1",
"name": "PH0-OSC_IN",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) with alternate function USB_CRS_SYNC and additional function OSC_IN."
},
{
"number": "C2",
"name": "VSS",
"type": "power_in",
"description": "Digital ground pin."
},
{
"number": "C3",
"name": "PB7",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions USART1_RX, I2C1_SDA, LPTIM1_IN2 and TSC_G5_IO4, and additional functions COMP2_INP and PVD_IN."
},
{
"number": "C4",
"name": "PB5",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_MOSI, LPTIM1_IN1, I2C1_SMBA and TIM22_CH2, and additional function COMP2_INP."
},
{
"number": "C5",
"name": "PC12",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with no alternate function listed in the pin table."
},
{
"number": "C6",
"name": "PA10",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TSC_G4_IO2 and USART1_RX."
},
{
"number": "C7",
"name": "PA9",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions MCO, TSC_G4_IO1 and USART1_TX."
},
{
"number": "C8",
"name": "PA11",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) powered by VDD_USB (note 3), with alternate functions SPI1_MISO, EVENTOUT, TSC_G4_IO3, USART1_CTS and COMP1_OUT, and additional function USB_DM."
},
{
"number": "D1",
"name": "PH1-OSC_OUT",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) whose additional function is OSC_OUT."
},
{
"number": "D2",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin."
},
{
"number": "D3",
"name": "PB6",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions USART1_TX, I2C1_SCL, LPTIM1_ETR and TSC_G5_IO3, and additional function COMP2_INP."
},
{
"number": "D4",
"name": "VSS",
"type": "power_in",
"description": "Digital ground pin."
},
{
"number": "D5",
"name": "VSS",
"type": "power_in",
"description": "Digital ground pin."
},
{
"number": "D6",
"name": "VSS",
"type": "power_in",
"description": "Digital ground pin."
},
{
"number": "D7",
"name": "PA8",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions MCO, USB_CRS_SYNC, EVENTOUT and USART1_CK."
},
{
"number": "D8",
"name": "PC9",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM21_ETR, USB_NOE and TSC_G8_IO4."
},
{
"number": "E1",
"name": "NRST",
"type": "bidirectional",
"description": "Bidirectional reset pin with embedded weak pull-up resistor."
},
{
"number": "E2",
"name": "PC1",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions LPTIM1_OUT, EVENTOUT and TSC_G7_IO2, and additional function ADC_IN11."
},
{
"number": "E3",
"name": "PC0",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions LPTIM1_IN1, EVENTOUT and TSC_G7_IO1, and additional function ADC_IN10."
},
{
"number": "E4",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin."
},
{
"number": "E5",
"name": "VDD",
"type": "power_in",
"description": "Digital supply pin."
},
{
"number": "E6",
"name": "VDD_USB",
"type": "power_in",
"description": "Supply pin for PA11 and PA12 (note 3); for characteristics that refer to VDD, VDD_USB must be used instead."
},
{
"number": "E7",
"name": "PC7",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM22_CH2 and TSC_G8_IO2."
},
{
"number": "E8",
"name": "PC8",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM22_ETR and TSC_G8_IO3."
},
{
"number": "F1",
"name": "VSSA",
"type": "power_in",
"description": "Analog ground pin."
},
{
"number": "F2",
"name": "PC2",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions LPTIM1_IN2, SPI2_MISO/I2S2_MCK and TSC_G7_IO3, and additional function ADC_IN12."
},
{
"number": "F3",
"name": "PA2",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM21_CH1, TIM2_CH3, TSC_G1_IO3, USART2_TX and COMP2_OUT, and additional functions COMP2_INM6 and ADC_IN2."
},
{
"number": "F4",
"name": "PA5",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) with alternate functions SPI1_SCK, TIM2_ETR, TSC_G2_IO2 and TIM2_CH1, and additional functions COMP1_INM5, COMP2_INM5 and ADC_IN5."
},
{
"number": "F5",
"name": "PB0",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions EVENTOUT and TSC_G3_IO2, and additional functions ADC_IN8 and VREF_OUT."
},
{
"number": "F6",
"name": "PC6",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM22_CH1 and TSC_G8_IO1."
},
{
"number": "F7",
"name": "PB15",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI2_MOSI/I2S2_SD and additional function RTC_REFIN."
},
{
"number": "F8",
"name": "PB14",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions SPI2_MISO/I2S2_MCK, RTC_OUT, TSC_G6_IO4, LPUART1_RTS/LPUART1_DE, I2C2_SDA and TIM21_CH2."
},
{
"number": "G1",
"name": "VREF+",
"type": "power_in",
"description": "Positive reference voltage pin, shown as a supply pin in the pin table; the ADC decoupling figures show it either not connected to VDDA or connected to VDDA."
},
{
"number": "G2",
"name": "PA0",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) with alternate functions TIM2_CH1, TSC_G1_IO1, USART2_CTS, TIM2_ETR and COMP1_OUT, and additional functions COMP1_INM6, ADC_IN0 and RTC_TAMP2/WKUP1."
},
{
"number": "G3",
"name": "PA3",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM21_CH2, TIM2_CH4, TSC_G1_IO4 and USART2_RX, and additional functions COMP2_INP and ADC_IN3."
},
{
"number": "G4",
"name": "PA6",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_MISO, TSC_G2_IO3, LPUART1_CTS, TIM22_CH1, EVENTOUT and COMP1_OUT, and additional function ADC_IN6."
},
{
"number": "G5",
"name": "PB1",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TSC_G3_IO3 and LPUART1_RTS/LPUART1_DE, and additional functions ADC_IN9 and VREF_OUT."
},
{
"number": "G6",
"name": "PB2",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions LPTIM1_OUT and TSC_G3_IO4."
},
{
"number": "G7",
"name": "PB10",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions TIM2_CH3, TSC_SYNC, LPUART1_TX, SPI2_SCK and I2C2_SCL."
},
{
"number": "G8",
"name": "PB13",
"type": "bidirectional",
"description": "5 V tolerant FM+ capable I/O (FTf) with alternate functions SPI2_SCK/I2S2_CK, TSC_G6_IO3, LPUART1_CTS, I2C2_SCL and TIM21_CH1."
},
{
"number": "H1",
"name": "VDDA",
"type": "power_in",
"description": "Analog supply pin."
},
{
"number": "H2",
"name": "PA1",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions EVENTOUT, TIM2_CH2, TSC_G1_IO2, USART2_RTS/USART2_DE and TIM21_ETR, and additional functions COMP1_INP and ADC_IN1."
},
{
"number": "H3",
"name": "PA4",
"type": "bidirectional",
"description": "Standard 3.3 V I/O (TC) with reduced touch sensing sensitivity (note 2), so it is recommended as a sampling capacitor I/O; alternate functions include SPI1_NSS, TSC_G2_IO1, USART2_CK and TIM22_ETR, and additional functions include COMP1_INM4, COMP2_INM4, ADC_IN4 and DAC_OUT."
},
{
"number": "H4",
"name": "PA7",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI1_MOSI, TSC_G2_IO4, TIM22_CH2, EVENTOUT and COMP2_OUT, and additional function ADC_IN7."
},
{
"number": "H5",
"name": "PC4",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions EVENTOUT and LPUART1_TX, and additional function ADC_IN14."
},
{
"number": "H6",
"name": "PC5",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions LPUART1_RX and TSC_G3_IO1, and additional function ADC_IN15."
},
{
"number": "H7",
"name": "PB11",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions EVENTOUT, TIM2_CH4, TSC_G6_IO1, LPUART1_RX and I2C2_SDA."
},
{
"number": "H8",
"name": "PB12",
"type": "bidirectional",
"description": "5 V tolerant I/O (FT) with alternate functions SPI2_NSS/I2S2_WS, LPUART1_RTS/LPUART1_DE, TSC_G6_IO2, I2C2_SMBA and EVENTOUT."
}
],
"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: Figure 4 (TFBGA64 ballout) text extraction is garbled, so ball positions were taken from the TFBGA64; Table 16 shows PC3 (LQFP64 pin 11) has no TFBGA64 ball ('-'), so it is not on this package and is om; VREF+ has no LQFP64 pin number; it is listed only for the TFBGA64 package at ball G1 and is included"
],
"pages_sent": 68,
"cost_usd": 0.3047,
"at": "2026-10-10T21:44:08"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588951983080820736",
"pages": 150,
"sha256": "ccec04f26ebfb036",
"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": "stm32l052r8h6.step",
"role": "plain",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
5.0,
5.0,
1.21
],
"zmin_mm": -0.008,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "7125823590a819a0f6fa72e42ba51148d58f5a55617c48349c05479572466de8",
"checked": "2026-10-10",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32l052r8h6-etched.step",
"role": "eda",
"up": "Z",
"units": "mm",
"origin": "footprint origin = pad-pattern centre",
"seat": "z = 0",
"extents_mm": [
5.0,
5.0,
1.21
],
"zmin_mm": -0.008,
"centre_offset_mm": 0.0,
"footprint_binding": "identity",
"sha256": "f3915b67481dd782014a215cb61980ed938fe7c450ae29c0fc04ae01e08a24dc",
"checked": "2026-10-10",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}