component
STM32L412CBT6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
main
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
{
"slug": "stm32l412cbt6",
"version": "0.1.0",
"type": "component",
"description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
"tags": [
"component",
"embedded processors & controllers",
"stm32l412cbt6",
"factory-2.0.0",
"extractor-text"
],
"dependencies": {},
"hero": {
"type": "image",
"path": "docs/hero.png"
},
"files": [
"page.json",
"README.md",
"stm32l412cbt6.kicad_sym",
"stm32l412cbt6.kicad_mod",
"stm32l412cbt6.glb",
"stm32l412cbt6.step",
"stm32l412cbt6.lbr",
"docs/hero.png",
"docs/stm32l412cbt6-datasheet.pdf",
"viewers/symbol.html",
"viewers/footprint.html",
"stm32l412cbt6-hero.glb",
"stm32l412cbt6-hero.overlay.json"
],
"component": {
"mpn": "STM32L412CBT6",
"manufacturer": "STMicroelectronics",
"package": "LQFP-48(7x7)",
"pin_count": 48,
"category": "Embedded Processors & Controllers",
"subcategory": "Microcontrollers (MCU/MPU/SOC)",
"datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886204322623488",
"parts": {
"symbol": "stm32l412cbt6.kicad_sym",
"footprint": "stm32l412cbt6.kicad_mod",
"model_3d": "stm32l412cbt6-hero.glb",
"model_3d_plain": "stm32l412cbt6.glb",
"model_3d_step": "stm32l412cbt6-etched.step",
"model_3d_step_plain": "stm32l412cbt6.step",
"lbr": "stm32l412cbt6.lbr"
},
"distributor_links": {
"lcsc": "C529434",
"digikey": "497-18227-ND",
"mouser": "511-STM32L412CBT6"
},
"distributor_check": {
"checked_at": "2026-10-10T22:28:50Z",
"source": "Component Ocean /api/assign-pns",
"digikey": {
"pn": "497-18227-ND",
"status": "found"
},
"mouser": {
"pn": "511-STM32L412CBT6",
"status": "found"
}
},
"pins": [
{
"number": "1",
"name": "VBAT",
"type": "power_in",
"description": "Backup-domain supply for the RTC and 32x32-bit backup registers, specified from 1.55 V to 3.6 V."
},
{
"number": "2",
"name": "PC13",
"type": "bidirectional",
"description": "5 V-tolerant FT I/O with EVENTOUT alternate function and additional functions RTC_TAMP1/RTC_TS/RTC_OUT1/WKUP2."
},
{
"number": "3",
"name": "PC14-OSC32_IN (PC14)",
"type": "bidirectional",
"description": "5 V-tolerant FT I/O with EVENTOUT alternate function; additional function OSC32_IN is the 32 kHz crystal oscillator (LSE) input."
},
{
"number": "4",
"name": "PC15-OSC32_OUT (PC15)",
"type": "bidirectional",
"description": "5 V-tolerant FT I/O with EVENTOUT alternate function; additional function OSC32_OUT is the 32 kHz crystal oscillator (LSE) output."
},
{
"number": "5",
"name": "PH0-OSC_IN (PH0)",
"type": "bidirectional",
"description": "5 V-tolerant FT I/O with EVENTOUT alternate function; additional function OSC_IN is the high-speed crystal oscillator input (4 to 48 MHz crystal oscillator)."
},
{
"number": "6",
"name": "PH1-OSC_OUT (PH1)",
"type": "bidirectional",
"description": "5 V-tolerant FT I/O with EVENTOUT alternate function; additional function OSC_OUT is the high-speed crystal oscillator output (4 to 48 MHz crystal oscillator)."
},
{
"number": "7",
"name": "NRST",
"type": "bidirectional",
"description": "Reset pin (RST I/O structure) with an embedded weak pull-up resistor."
},
{
"number": "8",
"name": "VSSA/VREF-",
"type": "power_in",
"description": "Analog ground pin that also serves as the ADC negative reference VREF-; ground pins must stay within 50 mV of each other."
},
{
"number": "9",
"name": "VDDA/VREF+",
"type": "power_in",
"description": "Analog supply pin that also serves as the ADC/COMP positive reference VREF+; VDDA is 1.62 V minimum when ADC or COMP is used, 1.8 V minimum when OPAMP is used, and 3.6 V maximum."
},
{
"number": "10",
"name": "PA0",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TIM2_CH1, USART2_CTS, COMP1_OUT, TIM2_ETR and EVENTOUT; additional functions OPAMP1_VINP, COMP1_INM, ADC1_IN5 and RTC_TAMP2/WKUP1."
},
{
"number": "11",
"name": "PA1",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TIM2_CH2, I2C1_SMBA, SPI1_SCK, USART2_RTS_DE, TIM15_CH1N and EVENTOUT; additional functions OPAMP1_VINM, COMP1_INP and ADC1_IN6."
},
{
"number": "12",
"name": "PA2",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TIM2_CH3, USART2_TX, LPUART1_TX, QUADSPI_BK1_NCS, TIM15_CH1 and EVENTOUT; additional functions ADC12_IN7 and WKUP4/LSCO."
},
{
"number": "13",
"name": "PA3",
"type": "bidirectional",
"description": "3.6 V-tolerant I/O (TT_a) with analog switch supplied by VDDA; alternate functions TIM2_CH4, USART2_RX, LPUART1_RX, QUADSPI_CLK, TIM15_CH2 and EVENTOUT; additional functions OPAMP1_VOUT and ADC12_IN8."
},
{
"number": "14",
"name": "PA4",
"type": "bidirectional",
"description": "3.6 V-tolerant I/O (TT_a) with analog switch supplied by VDDA; alternate functions SPI1_NSS, USART2_CK, LPTIM2_OUT and EVENTOUT; additional functions COMP1_INM and ADC12_IN9."
},
{
"number": "15",
"name": "PA5",
"type": "bidirectional",
"description": "3.6 V-tolerant I/O (TT_a) with analog switch supplied by VDDA; alternate functions TIM2_CH1, TIM2_ETR, SPI1_SCK, LPTIM2_ETR and EVENTOUT; additional functions COMP1_INM and ADC12_IN10."
},
{
"number": "16",
"name": "PA6",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TIM1_BKIN, SPI1_MISO, COMP1_OUT, USART3_CTS, LPUART1_CTS, QUADSPI_BK1_IO3, TIM16_CH1 and EVENTOUT; additional function ADC12_IN11."
},
{
"number": "17",
"name": "PA7",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch supplied by VDDA; alternate functions TIM1_CH1N, I2C3_SCL, SPI1_MOSI, QUADSPI_BK1_IO2 and EVENTOUT; additional function ADC12_IN12."
},
{
"number": "18",
"name": "PB0",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TRACED0, TIM1_CH2N, SPI1_NSS, USART3_CK, QUADSPI_BK1_IO1, COMP1_OUT and EVENTOUT; additional function ADC12_IN15."
},
{
"number": "19",
"name": "PB1",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions TRACED1, TIM1_CH3N, USART3_RTS_DE, LPUART1_RTS_DE, QUADSPI_BK1_IO0, LPTIM2_IN1 and EVENTOUT; additional functions COMP1_INM and ADC12_IN16."
},
{
"number": "20",
"name": "PB2",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; alternate functions LPTIM1_OUT, I2C3_SMBA and EVENTOUT; additional functions COMP1_INP and RTC_OUT2."
},
{
"number": "21",
"name": "PB10",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM2_CH3, I2C2_SCL, SPI2_SCK, USART3_TX, LPUART1_RX, TSC_SYNC, QUADSPI_CLK, COMP1_OUT and EVENTOUT."
},
{
"number": "22",
"name": "PB11",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM2_CH4, I2C2_SDA, USART3_RX, LPUART1_TX, QUADSPI_BK1_NCS and EVENTOUT."
},
{
"number": "23",
"name": "VSS",
"type": "power_in",
"description": "Ground pin; all VSS pins must be connected to the external ground within the 50 mV variation limit."
},
{
"number": "24",
"name": "VDD",
"type": "power_in",
"description": "Main supply pin; standard operating voltage is 1.71 V to 3.6 V."
},
{
"number": "25",
"name": "PB12",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT); alternate functions TIM1_BKIN, I2C2_SMBA, SPI2_NSS, USART3_CK, LPUART1_RTS_DE, TSC_G1_IO1, TIM15_BKIN and EVENTOUT."
},
{
"number": "26",
"name": "PB13",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM1_CH1N, I2C2_SCL, SPI2_SCK, USART3_CTS, LPUART1_CTS, TSC_G1_IO2, TIM15_CH1N and EVENTOUT."
},
{
"number": "27",
"name": "PB14",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM1_CH2N, I2C2_SDA, SPI2_MISO, USART3_RTS_DE, TSC_G1_IO3, TIM15_CH1 and EVENTOUT."
},
{
"number": "28",
"name": "PB15",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT); alternate functions RTC_REFIN, TIM1_CH3N, SPI2_MOSI, TSC_G1_IO4, TIM15_CH2 and EVENTOUT."
},
{
"number": "29",
"name": "PA8",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT); alternate functions MCO, TIM1_CH1, USART1_CK, LPTIM2_OUT and EVENTOUT."
},
{
"number": "30",
"name": "PA9",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM1_CH2, I2C1_SCL, USART1_TX, TIM15_BKIN and EVENTOUT."
},
{
"number": "31",
"name": "PA10",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions TIM1_CH3, I2C1_SDA, USART1_RX, USB_CRS_SYNC and EVENTOUT."
},
{
"number": "32",
"name": "PA11",
"type": "bidirectional",
"description": "5 V-tolerant I/O with USB function supplied by VDDUSB (FT_u); alternate functions TIM1_CH4, TIM1_BKIN2, SPI1_MISO, COMP1_OUT, USART1_CTS, USB_DM, TIM1_BKIN2_COMP1 and EVENTOUT."
},
{
"number": "33",
"name": "PA12",
"type": "bidirectional",
"description": "5 V-tolerant I/O with USB function supplied by VDDUSB (FT_u); alternate functions TIM1_ETR, SPI1_MOSI, USART1_RTS_DE, USB_DP and EVENTOUT."
},
{
"number": "34",
"name": "PA13 (JTMS/SWDIO)",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) with JTMS/SWDIO as its function after reset; alternate functions IR_OUT, USB_NOE and EVENTOUT."
},
{
"number": "35",
"name": "VSS",
"type": "power_in",
"description": "Ground pin; all VSS pins must be connected to the external ground within the 50 mV variation limit."
},
{
"number": "36",
"name": "VDDUSB",
"type": "power_in",
"description": "USB supply pin; 3.0 V to 3.6 V when USB is used, and 0 to 3.6 V when USB is not used."
},
{
"number": "37",
"name": "PA14 (JTCK/SWCLK)",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) with JTCK/SWCLK as its function after reset; alternate functions LPTIM1_OUT, I2C1_SMBA and EVENTOUT."
},
{
"number": "38",
"name": "PA15 (JTDI)",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) with JTDI as its function after reset; alternate functions TIM2_CH1, TIM2_ETR, USART2_RX, SPI1_NSS, USART3_RTS_DE, TSC_G3_IO1 and EVENTOUT."
},
{
"number": "39",
"name": "PB3 (JTDO/TRACESWO)",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT_a) with analog switch supplied by VDDA; JTDO/TRACESWO as its function after reset; alternate functions TIM2_CH2, SPI1_SCK, USART1_RTS_DE and EVENTOUT."
},
{
"number": "40",
"name": "PB4 (NJTRST)",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch supplied by VDDA; NJTRST as its function after reset; alternate functions I2C3_SDA, SPI1_MISO, USART1_CTS, TSC_G2_IO1 and EVENTOUT."
},
{
"number": "41",
"name": "PB5",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT); alternate functions TRACED2, LPTIM1_IN1, I2C1_SMBA, SPI1_MOSI, USART1_CK, TSC_G2_IO2, TIM16_BKIN and EVENTOUT."
},
{
"number": "42",
"name": "PB6",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch supplied by VDDA; alternate functions TRACED3, LPTIM1_ETR, I2C1_SCL, USART1_TX, TSC_G2_IO3, TIM16_CH1N and EVENTOUT."
},
{
"number": "43",
"name": "PB7",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_fa) with analog switch supplied by VDDA; alternate functions TRACECK, LPTIM1_IN2, I2C1_SDA, USART1_RX, TSC_G2_IO4 and EVENTOUT; additional function PVD_IN."
},
{
"number": "44",
"name": "PH3-BOOT0 (BOOT0)",
"type": "bidirectional",
"description": "5 V-tolerant I/O (FT) with EVENTOUT alternate function; after reset it is the BOOT0 boot-mode configuration pin."
},
{
"number": "45",
"name": "PB8",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions I2C1_SCL, TIM16_CH1 and EVENTOUT."
},
{
"number": "46",
"name": "PB9",
"type": "bidirectional",
"description": "5 V-tolerant Fm+-capable I/O (FT_f); alternate functions IR_OUT, I2C1_SDA, SPI2_NSS and EVENTOUT."
},
{
"number": "47",
"name": "VSS",
"type": "power_in",
"description": "Ground pin; all VSS pins must be connected to the external ground within the 50 mV variation limit."
},
{
"number": "48",
"name": "VDD",
"type": "power_in",
"description": "Main supply pin; standard operating voltage is 1.71 V to 3.6 V."
}
],
"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 datasheet text extraction is jumbled. The LQFP48 pin numbers were taken from the LQFP48 column o; Some Table 14 rows (e.g. PA9, PA10, PB8) carry a stray leading '-' from the Notes column in the extr; NRST is typed as bidirectional because the datasheet classes it as I/O with RST structure. Some KiCa"
],
"pages_sent": 74,
"cost_usd": 0.3115,
"at": "2026-10-10T22:28:29"
},
"datasheet": {
"url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588886204322623488",
"pages": 193,
"sha256": "5104ae3be2936485",
"source_tier": "lcsc"
},
"cad": "KiCad official (CC-BY-SA 4.0)",
"pins": {
"total": 48,
"described": 48,
"cites_pages": true,
"refuses_to_fabricate": true
}
},
"viewers": {
"symbol": "viewers/symbol.html",
"footprint": "viewers/footprint.html"
},
"models_3d": [
{
"file": "stm32l412cbt6.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": "9dea352d93177c2904afd7d7b68ea8855ce1ab691f69f8b3e13655600514b6bf",
"checked": "2026-10-10",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
},
{
"file": "stm32l412cbt6-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": "8ee1bb365ed455259fce2d225bb4dfa169a045354f6e009ac8f0bbb2144ba539",
"checked": "2026-10-10",
"checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
}
]
}
}