component
STM32G474RBT6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
3D Model
Open in new tab ↗
Loads on click. Unloads only if this page sits in the background.
Symbol & Footprint
Schematic Symbol
Open full view ↗Loads on click. Unloads only if this page sits in the background.
PCB Footprint
Open full view ↗Loads on click. Unloads only if this page sits in the background.
Datasheet
Open in new tab ↗Loads on click. Unloads only if this page sits in the background.
README
markdownSTM32G474RBT6
STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-64(10x10)
STM32G474RBT6 from STMicroelectronics, in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.
Pinout
| Pin | Name | Type | Function |
|---|---|---|---|
| 1 | VBAT | power_in | Backup supply pin for RTC, LSE oscillator and backup registers, operating range 1.55 V to 3.6 V, to be connected to VDD if no external battery is used. |
| 2 | PC13 | bidirectional | 5V-tolerant (FT) GPIO with alternate functions TIM1_BKIN/TIM1_CH1N/TIM8_CH4N/EVENTOUT and additional functions WKUP2/RTC_TAMP1/RTC_TS/RTC_OUT1; supplied through an internal power switch limited to 3 mA so output speed must not exceed 2 MHz (30 pF load) and it must not be used as a current source. |
| 3 | PC14-OSC32_IN | bidirectional | 5V-tolerant (FT) GPIO, alternate function EVENTOUT, additional function OSC32_IN for the 32.768 kHz LSE crystal oscillator input; supplied through the same limited power switch as PC13/PC15. |
| 4 | PC15-OSC32_OUT | bidirectional | 5V-tolerant (FT) GPIO, alternate function EVENTOUT, additional function OSC32_OUT for the 32.768 kHz LSE crystal oscillator output; supplied through the same limited power switch as PC13/PC14. |
| 5 | PF0-OSC_IN | bidirectional | FT_fa GPIO with alternate functions I2C2_SDA, SPI2_NSS/I2S2_WS, TIM1_CH3N, EVENTOUT and additional functions ADC1_IN10 and OSC_IN (4-48 MHz HSE crystal oscillator input). |
| 6 | PF1-OSC_OUT | bidirectional | FT_a GPIO with alternate function SPI2_SCK/I2S2_CK, EVENTOUT and additional functions ADC2_IN10, COMP3_INM and OSC_OUT (HSE crystal oscillator output). |
| 7 | PG10-NRST | bidirectional | Bidirectional reset I/O (FT) with embedded weak pull-up, alternate functions MCO/EVENTOUT, additional function NRST; driving this pin low resets the device (note: figure-confirmed pin number 7; the pin-definition table lists an inconsistent value of 8, see review notes). |
| 8 | PC0 | bidirectional | FT_a GPIO with alternate functions LPTIM1_IN1, TIM1_CH1, LPUART1_RX, EVENTOUT and additional functions ADC12_IN6 and COMP3_INM. |
| 9 | PC1 | bidirectional | TT_a GPIO with alternate functions LPTIM1_OUT, TIM1_CH2, LPUART1_TX, QUADSPI1_BK2_IO0, SAI1_SD_A, EVENTOUT and additional functions ADC12_IN7 and COMP3_INP. |
| 10 | PC2 | bidirectional | FT_a GPIO with alternate functions LPTIM1_IN2, TIM1_CH3, COMP3_OUT, TIM20_CH2, QUADSPI1_BK2_IO1, EVENTOUT and additional function ADC12_IN8. |
| 11 | PC3 | bidirectional | TT_a GPIO with alternate functions LPTIM1_ETR, TIM1_CH4, SAI1_D1, TIM1_BKIN2, QUADSPI1_BK2_IO2, SAI1_SD_A, EVENTOUT and additional functions ADC12_IN9 and OPAMP5_VINP. |
| 12 | PA0 | bidirectional | TT_a GPIO with alternate functions TIM2_CH1, TIM5_CH1, USART2_CTS, COMP1_OUT, TIM8_BKIN, TIM8_ETR, TIM2_ETR, EVENTOUT and additional functions ADC12_IN1, COMP1_INM, COMP3_INP, RTC_TAMP2, WKUP1. |
| 13 | PA1 | bidirectional | TT_a GPIO with alternate functions RTC_REFIN, TIM2_CH2, TIM5_CH2, USART2_RTS_DE, TIM15_CH1N, EVENTOUT and additional functions ADC12_IN2, COMP1_INP, OPAMP1_VINP, OPAMP3_VINP, OPAMP6_VINM. |
| 14 | PA2 | bidirectional | FT_a GPIO with alternate functions TIM2_CH3, TIM5_CH3, USART2_TX, COMP2_OUT, TIM15_CH1, QUADSPI1_BK1_NCS, LPUART1_TX, UCPD1_FRSTX, EVENTOUT and additional functions ADC1_IN3, COMP2_INM, OPAMP1_VOUT, WKUP4/LSCO. |
| 15 | VSS | power_in | Digital ground pin. |
| 16 | VDD | power_in | Digital supply voltage pin, operating range 1.71 V to 3.6 V. |
| 17 | PA3 | bidirectional | TT_a GPIO with alternate functions TIM2_CH4, TIM5_CH4, SAI1_CK1, USART2_RX, TIM15_CH2, QUADSPI1_CLK, LPUART1_RX, SAI1_MCLK_A, EVENTOUT and additional functions ADC1_IN4, COMP2_INP, OPAMP1_VINM/OPAMP1_VINP, OPAMP5_VINM. |
| 18 | PA4 | bidirectional | TT_a GPIO with alternate functions TIM3_CH2, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_CK, SAI1_FS_B, EVENTOUT and additional functions ADC2_IN17, DAC1_OUT1, COMP1_INM. |
| 19 | PA5 | bidirectional | TT_a GPIO with alternate functions TIM2_CH1, TIM2_ETR, SPI1_SCK, UCPD1_FRSTX, EVENTOUT and additional functions ADC2_IN13, DAC1_OUT2, COMP2_INM, OPAMP2_VINM. |
| 20 | PA6 | bidirectional | TT_a GPIO with alternate functions TIM16_CH1, TIM3_CH1, TIM8_BKIN, SPI1_MISO, TIM1_BKIN, COMP1_OUT, QUADSPI1_BK1_IO3, LPUART1_CTS, EVENTOUT and additional functions ADC2_IN3, DAC2_OUT1, OPAMP2_VOUT. |
| 21 | PA7 | bidirectional | TT_a GPIO with alternate functions TIM17_CH1, TIM3_CH2, TIM8_CH1N, SPI1_MOSI, TIM1_CH1N, COMP2_OUT, QUADSPI1_BK1_IO2, UCPD1_FRSTX, EVENTOUT and additional functions ADC2_IN4, COMP2_INP, OPAMP1_VINP, OPAMP2_VINP. |
| 22 | PC4 | bidirectional | FT_fa GPIO with alternate functions TIM1_ETR, I2C2_SCL, USART1_TX, QUADSPI1_BK2_IO3, EVENTOUT and additional function ADC2_IN5. |
| 23 | PC5 | bidirectional | TT_a GPIO with alternate functions TIM15_BKIN, SAI1_D3, TIM1_CH4N, USART1_RX, HRTIM1_EEV10, EVENTOUT and additional functions ADC2_IN11, OPAMP1_VINM, OPAMP2_VINM, WKUP5. |
| 24 | PB0 | bidirectional | TT_a GPIO with alternate functions TIM3_CH3, TIM8_CH2N, TIM1_CH2N, QUADSPI1_BK1_IO1, HRTIM1_FLT5, UCPD1_FRSTX, EVENTOUT and additional functions ADC3_IN12/ADC1_IN15, COMP4_INP, OPAMP2_VINP, OPAMP3_VINP. |
| 25 | PB1 | bidirectional | TT_a GPIO with alternate functions TIM3_CH4, TIM8_CH3N, TIM1_CH3N, COMP4_OUT, QUADSPI1_BK1_IO0, LPUART1_RTS_DE, HRTIM1_SCOUT, EVENTOUT and additional functions ADC3_IN1/ADC1_IN12, COMP1_INP, OPAMP3_VOUT, OPAMP6_VINM. |
| 26 | PB2 | bidirectional | TT_a GPIO with alternate functions RTC_OUT2, LPTIM1_OUT, TIM5_CH1, TIM20_CH1, I2C3_SMBA, QUADSPI1_BK2_IO1, HRTIM1_SCIN, EVENTOUT and additional functions ADC2_IN12, COMP4_INM, OPAMP3_VINM. |
| 27 | VSSA | power_in | Analog ground pin. |
| 28 | VREF+ | power_in | Positive reference voltage supply for the ADC/DAC and VREFBUF output pin. |
| 29 | VDDA | power_in | Analog supply voltage pin, range 1.62 V (ADC) to 3.6 V; 1.8 V minimum when DAC/OPAMP used, 2.4 V minimum when VREFBUF used. |
| 30 | PB10 | bidirectional | TT_a GPIO with alternate functions TIM2_CH3, USART3_TX, LPUART1_RX, QUADSPI1_CLK, TIM1_BKIN, HRTIM1_FLT3, SAI1_SCK_A, EVENTOUT and additional functions COMP5_INM, OPAMP3_VINM, OPAMP4_VINM. |
| 31 | VSS | power_in | Digital ground pin. |
| 32 | VDD | power_in | Digital supply voltage pin, operating range 1.71 V to 3.6 V. |
| 33 | PB11 | bidirectional | TT_a GPIO with alternate functions TIM2_CH4, USART3_RX, LPUART1_TX, QUADSPI1_BK1_NCS, HRTIM1_FLT4, EVENTOUT and additional functions ADC12_IN14, COMP6_INP, OPAMP4_VINP, OPAMP6_VOUT. |
| 34 | PB12 | bidirectional | TT_a GPIO with alternate functions TIM5_ETR, I2C2_SMBA, SPI2_NSS/I2S2_WS, TIM1_BKIN, USART3_CK, LPUART1_RTS_DE, FDCAN2_RX, HRTIM1_CHC1, EVENTOUT and additional functions ADC4_IN3/ADC1_IN11, COMP7_INM, OPAMP4_VOUT, OPAMP6_VINP. |
| 35 | PB13 | bidirectional | TT_a GPIO with alternate functions SPI2_SCK/I2S2_CK, TIM1_CH1N, USART3_CTS, LPUART1_CTS, FDCAN2_TX, HRTIM1_CHC2, EVENTOUT and additional functions ADC3_IN5, COMP5_INP, OPAMP3_VINP, OPAMP4_VINP, OPAMP6_VINP. |
| 36 | PB14 | bidirectional | TT_a GPIO with alternate functions TIM15_CH1, SPI2_MISO, TIM1_CH2N, USART3_RTS_DE, COMP4_OUT, HRTIM1_CHD1, EVENTOUT and additional functions ADC4_IN4/ADC1_IN5, COMP7_INP, OPAMP2_VINP, OPAMP5_VINP. |
| 37 | PB15 | bidirectional | TT_a GPIO with alternate functions RTC_REFIN, TIM15_CH2, TIM15_CH1N, COMP3_OUT, TIM1_CH3N, SPI2_MOSI/I2S2_SD, HRTIM1_CHD2, EVENTOUT and additional functions ADC4_IN5/ADC2_IN15, COMP6_INM, OPAMP5_VINM. |
| 38 | PC6 | bidirectional | FT_f GPIO with alternate functions TIM3_CH1, HRTIM1_EEV10, TIM8_CH1, I2S2_MCK, COMP6_OUT, I2C4_SCL, HRTIM1_CHF1, EVENTOUT. |
| 39 | PC7 | bidirectional | FT_f GPIO with alternate functions TIM3_CH2, HRTIM1_FLT5, TIM8_CH2, I2S3_MCK, COMP5_OUT, I2C4_SDA, HRTIM1_CHF2, EVENTOUT. |
| 40 | PC8 | bidirectional | FT_f GPIO with alternate functions TIM3_CH3, HRTIM1_CHE1, TIM8_CH3, TIM20_CH3, COMP7_OUT, I2C3_SCL, EVENTOUT. |
| 41 | PC9 | bidirectional | FT_f GPIO with alternate functions TIM3_CH4, HRTIM1_CHE2, TIM8_CH4, I2SCKIN, TIM8_BKIN2, I2C3_SDA, EVENTOUT. |
| 42 | PA8 | bidirectional | FT_a GPIO with alternate functions MCO, I2C3_SCL, I2C2_SDA, I2S2_MCK, TIM1_CH1, USART1_CK, COMP7_OUT, TIM4_ETR, FDCAN3_RX, SAI1_CK2, HRTIM1_CHA1, SAI1_SCK_A, EVENTOUT and additional functions ADC5_IN1, OPAMP5_VOUT. |
| 43 | PA9 | bidirectional | FT_fda GPIO with alternate functions I2C3_SMBA, I2C2_SCL, I2S3_MCK, TIM1_CH2, USART1_TX, COMP5_OUT, TIM15_BKIN, TIM2_CH3, HRTIM1_CHA2, SAI1_FS_A, EVENTOUT and additional functions ADC5_IN2, UCPD1_DBCC1. |
| 44 | PA10 | bidirectional | FT_fda GPIO with alternate functions TIM17_BKIN, USB_CRS_SYNC, I2C2_SMBA, SPI2_MISO, TIM1_CH3, USART1_RX, COMP6_OUT, TIM2_CH4, TIM8_BKIN, SAI1_D1, HRTIM1_CHB1, SAI1_SD_A, EVENTOUT and additional function UCPD1_DBCC2. |
| 45 | PA11 | bidirectional | FT_u GPIO with alternate functions SPI2_MOSI/I2S2_SD, TIM1_CH1N, USART1_CTS, COMP1_OUT, FDCAN1_RX, TIM4_CH1, TIM1_CH4, TIM1_BKIN2, HRTIM1_CHB2, EVENTOUT and additional function USB_DM. |
| 46 | PA12 | bidirectional | FT_u GPIO with alternate functions TIM16_CH1, I2SCKIN, TIM1_CH2N, USART1_RTS_DE, COMP2_OUT, FDCAN1_TX, TIM4_CH2, TIM1_ETR, HRTIM1_FLT1, EVENTOUT and additional function USB_DP. |
| 47 | VSS | power_in | Digital ground pin. |
| 48 | VDD | power_in | Digital supply voltage pin, operating range 1.71 V to 3.6 V. |
| 49 | PA13 | bidirectional | FT_f GPIO, default SWDIO-JTMS debug function with internal pull-up activated after reset, alternate functions TIM16_CH1N, I2C4_SCL, I2C1_SCL, IR_OUT, USART3_CTS, TIM4_CH3, SAI1_SD_B, EVENTOUT. |
| 50 | PA14 | bidirectional | FT_f GPIO, default SWCLK-JTCK debug function with internal pull-down activated after reset, alternate functions LPTIM1_OUT, I2C4_SMBA, I2C1_SDA, TIM8_CH2, TIM1_BKIN, USART2_TX, SAI1_FS_B, EVENTOUT. |
| 51 | PA15 | bidirectional | FT_f GPIO, default JTDI debug function with internal pull-up activated after reset, alternate functions TIM2_CH1, TIM8_CH1, I2C1_SCL, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_RX, UART4_RTS_DE, TIM1_BKIN, FDCAN3_TX, HRTIM1_FLT2, TIM2_ETR, EVENTOUT. |
| 52 | PC10 | bidirectional | FT GPIO with alternate functions TIM8_CH1N, UART4_TX, SPI3_SCK/I2S3_CK, USART3_TX, HRTIM1_FLT6, EVENTOUT. |
| 53 | PC11 | bidirectional | FT_f GPIO with alternate functions HRTIM1_EEV2, TIM8_CH2N, UART4_RX, SPI3_MISO, USART3_RX, I2C3_SDA, EVENTOUT. |
| 54 | PC12 | bidirectional | FT GPIO with alternate functions TIM5_CH2, HRTIM1_EEV1, TIM8_CH3N, UART5_TX, SPI3_MOSI/I2S3_SD, USART3_CK, UCPD1_FRSTX, EVENTOUT. |
| 55 | PD2 | bidirectional | FT GPIO with alternate functions TIM3_ETR, TIM8_BKIN, UART5_RX, EVENTOUT. |
| 56 | PB3 | bidirectional | FT GPIO, default JTDO-TRACESWO debug function with internal pull-up activated after reset, alternate functions TIM2_CH2, TIM4_ETR, UCPD1_CRS_SYNC, TIM8_CH1N, SPI1_SCK, SPI3_SCK/I2S3_CK, USART2_TX, TIM3_ETR, FDCAN3_RX, HRTIM1_SCOUT, HRTIM1_EEV9, SAI1_SCK_B, EVENTOUT. |
| 57 | PB4 | bidirectional | FT_c GPIO, default JTRST debug function with internal pull-up activated after reset, alternate functions TIM16_CH1, TIM3_CH1, TIM8_CH2N, SPI1_MISO, SPI3_MISO, USART2_RX, UART5_RTS_DE, TIM17_BKIN, FDCAN3_TX, HRTIM1_EEV7, SAI1_MCLK_B, EVENTOUT and additional function UCPD1_CC2 (USB Type-C PD capable pin). |
| 58 | PB5 | bidirectional | FT_f GPIO with alternate functions TIM16_BKIN, TIM3_CH2, TIM8_CH3N, I2C1_SMBA, SPI1_MOSI, SPI3_MOSI/I2S3_SD, USART2_CK, I2C3_SDA, FDCAN2_RX, TIM17_CH1, LPTIM1_IN1, SAI1_SD_B, HRTIM1_EEV6, UART5_CTS, EVENTOUT. |
| 59 | PB6 | bidirectional | FT_c GPIO with alternate functions TIM16_CH1N, TIM4_CH1, TIM8_CH1, TIM8_ETR, USART1_TX, COMP4_OUT, FDCAN2_TX, TIM8_BKIN2, LPTIM1_ETR, HRTIM1_SCIN, HRTIM1_EEV4, SAI1_FS_B, EVENTOUT and additional function UCPD1_CC1 (USB Type-C PD capable pin). |
| 60 | PB7 | bidirectional | FT_f GPIO with alternate functions TIM17_CH1N, TIM4_CH2, I2C4_SDA, I2C1_SDA, TIM8_BKIN, USART1_RX, COMP3_OUT, TIM3_CH4, LPTIM1_IN2, FMC_NL, HRTIM1_EEV3, UART4_CTS, EVENTOUT and additional function PVD_IN. |
| 61 | PB8-BOOT0 | bidirectional | FT_f dual-function GPIO/BOOT0 pin sampled at reset to select the boot mode, alternate functions TIM16_CH1, TIM4_CH3, SAI1_CK1, I2C1_SCL, USART3_RX, COMP1_OUT, FDCAN1_RX, TIM8_CH2, TIM1_BKIN, HRTIM1_EEV8, SAI1_MCLK_A, EVENTOUT; recommended to configure in non-analog mode after startup to limit consumption if left unconnected. |
| 62 | PB9 | bidirectional | FT_f GPIO with alternate functions TIM17_CH1, TIM4_CH4, SAI1_D2, I2C1_SDA, IR_OUT, USART3_TX, COMP2_OUT, FDCAN1_TX, TIM8_CH3, TIM1_CH3N, HRTIM1_EEV5, SAI1_FS_A, EVENTOUT. |
| 63 | VSS | power_in | Digital ground pin. |
| 64 | VDD | power_in | Digital supply voltage pin, operating range 1.71 V to 3.6 V. |
Key specifications
| Parameter | Value |
|---|---|
| Manufacturer | STMicroelectronics |
| Package | LQFP-64(10x10) |
| Category | Embedded Processors & Controllers |
| Pins | 64 |
CAD (KiCad official)
- Symbol:
STM32G474RBT6 - Footprint:
Package_QFP:LQFP-64_10x10mm_P0.5mm - 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
- 3D model files:
stm32g474rbt6-etched.step/stm32g474rbt6-etched.glbcarry the MPN laser-etched on the die in a toggleableAdom.LaserEtchgroup (Fusion-ready);stm32g474rbt6.step/stm32g474rbt6.glbare the bare package body.
Provenance
Data extracted from the manufacturer datasheet, not a distributor listing:
- Datasheet: STMicroelectronics datasheet (241 pp, sha256
fc2b93c56927c804, retrieved 2026-09-23, tier: lcsc) - Extractor: parts-factory
2.0.0/extract_pins 0.2, primaryclaude-haiku-4-5-20251001(text), consensusclaude-sonnet-5(agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish. - CAD: KiCad official libraries (CC-BY-SA 4.0).