main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs Publish 0.1.3 · Ray
viewers stm32g474ret6: footprint pads join the pin-hover bus with the symbol (64 pads) · Ray
package.json Publish 0.1.3 · Ray
page.json Set visibility: public · Ray
README.md Publish 0.1.3 · Ray
stm32g474ret6-etched.fit.json stm32g474ret6: re-etch, flat white mark read from pin 1 (service-occt 1.4.0) + chip hero · Ray
stm32g474ret6-etched.glb stm32g474ret6: one-pass backfill (re-etched, pushed with pre-existing FAIL: symbol_text) · Ray
stm32g474ret6-etched.step stm32g474ret6: factory component page (tier=mfr) · Ray
stm32g474ret6-hero.glb stm32g474ret6: hero GLB from the etched model (keeps the MPN mark) · Ray
stm32g474ret6-hero.overlay.json stm32g474ret6: hero GLB from the etched model (keeps the MPN mark) · Ray
stm32g474ret6.glb Publish 0.1.0 · Ray
stm32g474ret6.kicad_mod Publish 0.1.3 · Ray
stm32g474ret6.kicad_sym Publish 0.1.3 · Ray
stm32g474ret6.lbr Publish 0.1.3 · Ray
stm32g474ret6.step Publish 0.1.0 · Ray

STM32G474RET6

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · LQFP-64(10x10)

STM32G474RET6 from STMicroelectronics, in a LQFP-64(10x10). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data). Symbol, footprint, and 3D from KiCad-official CAD.

Pinout

Pin Name Type Function
1 VBAT power_in Backup-domain supply for the RTC, backup registers and LSE, with a backup operating voltage of 1.55 V to 3.6 V.
2 PC13 bidirectional 5 V tolerant (FT) GPIO fed through the power switch, which sinks at most 3 mA, so output use is limited to 2 MHz with 30 pF maximum load and it must not source current to LEDs; alternates include TIM1_BKIN, TIM1_CH1N, TIM8_CH4N, with additional functions WKUP2, RTC_TAMP1, RTC_TS and RTC_OUT1.
3 PC14-OSC32_IN bidirectional 5 V tolerant (FT) GPIO on the backup domain that doubles as the 32 kHz oscillator input OSC32_IN, with the same output limits as PC13 (2 MHz, 30 pF, no current sourcing).
4 PC15-OSC32_OUT bidirectional 5 V tolerant (FT) GPIO on the backup domain that doubles as the 32 kHz oscillator output OSC32_OUT, with the same output limits as PC13 (2 MHz, 30 pF, no current sourcing).
5 PF0-OSC_IN bidirectional FT_fa I/O (Fm+ capable) that doubles as the HSE oscillator input OSC_IN, with additional function ADC1_IN10 and alternates I2C2_SDA, SPI2_NSS/I2S2_WS and TIM1_CH3N.
6 PF1-OSC_OUT bidirectional FT_a I/O that doubles as the HSE oscillator output OSC_OUT, with additional functions ADC2_IN10 and COMP3_INM and alternate SPI2_SCK/I2S2_CK.
7 PG10-NRST bidirectional Bidirectional reset pin with an embedded weak pull-up resistor (NRST), also usable as FT GPIO PG10 with MCO alternate function.
8 PC0 bidirectional FT_a I/O (5 V tolerant) with additional functions ADC12_IN6 and COMP3_INM and alternates LPTIM1_IN1, TIM1_CH1 and LPUART1_RX.
9 PC1 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC12_IN7 and COMP3_INP and alternates LPTIM1_OUT, TIM1_CH2, LPUART1_TX, QUADSPI1_BK2_IO0 and SAI1_SD_A.
10 PC2 bidirectional FT_a I/O (5 V tolerant) with additional function ADC12_IN8 and alternates LPTIM1_IN2, TIM1_CH3, COMP3_OUT, TIM20_CH2 and QUADSPI1_BK2_IO1.
11 PC3 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC12_IN9 and OPAMP5_VINP and alternates LPTIM1_ETR, TIM1_CH4, SAI1_D1, TIM1_BKIN2 and QUADSPI1_BK2_IO2.
12 PA0 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC12_IN1, COMP1_INM, COMP3_INP, RTC_TAMP2 and WKUP1, and alternates TIM2_CH1, TIM5_CH1, USART2_CTS, COMP1_OUT and TIM8_BKIN.
13 PA1 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC12_IN2, COMP1_INP, OPAMP1_VINP, OPAMP3_VINP and OPAMP6_VINM, and alternates RTC_REFIN, TIM2_CH2, TIM5_CH2, USART2_RTS_DE and TIM15_CH1N.
14 PA2 bidirectional FT_a I/O (5 V tolerant) with additional functions ADC1_IN3, COMP2_INM, OPAMP1_VOUT and WKUP4/LSCO, and alternates TIM2_CH3, TIM5_CH3, USART2_TX, COMP2_OUT, LPUART1_TX and UCPD1_FRSTX.
15 VSS power_in Ground pin that must always be connected to the external ground within the permitted range.
16 VDD power_in Digital supply pin; standard operating voltage is 1.71 V to 3.6 V and it must always be connected to the external supply.
17 PA3 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC1_IN4, COMP2_INP, OPAMP1_VINM/OPAMP1_VINP and OPAMP5_VINM, and alternates TIM2_CH4, TIM5_CH4, SAI1_CK1, USART2_RX and LPUART1_RX.
18 PA4 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN17, DAC1_OUT1 and COMP1_INM, and alternates TIM3_CH2, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_CK and SAI1_FS_B.
19 PA5 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN13, DAC1_OUT2, COMP2_INM and OPAMP2_VINM, and alternates TIM2_CH1, TIM2_ETR, SPI1_SCK and UCPD1_FRSTX.
20 PA6 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN3, DAC2_OUT1 and OPAMP2_VOUT, and alternates TIM16_CH1, TIM3_CH1, SPI1_MISO, COMP1_OUT and QUADSPI1_BK1_IO3.
21 PA7 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN4, COMP2_INP, OPAMP1_VINP and OPAMP2_VINP, and alternates TIM17_CH1, TIM3_CH2, SPI1_MOSI, TIM1_CH1N, COMP2_OUT and QUADSPI1_BK1_IO2.
22 PC4 bidirectional FT_fa I/O (5 V tolerant, Fm+ capable) with additional function ADC2_IN5 and alternates TIM1_ETR, I2C2_SCL, USART1_TX and QUADSPI1_BK2_IO3.
23 PC5 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN11, OPAMP1_VINM, OPAMP2_VINM and WKUP5, and alternates TIM15_BKIN, SAI1_D3, TIM1_CH4N, USART1_RX and HRTIM1_EEV10.
24 PB0 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC3_IN12/ADC1_IN15, COMP4_INP, OPAMP2_VINP and OPAMP3_VINP, and alternates TIM3_CH3, TIM1_CH2N, QUADSPI1_BK1_IO1, HRTIM1_FLT5 and UCPD1_FRSTX.
25 PB1 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC3_IN1/ADC1_IN12, COMP1_INP, OPAMP3_VOUT and OPAMP6_VINM, and alternates TIM3_CH4, TIM1_CH3N, COMP4_OUT, QUADSPI1_BK1_IO0 and LPUART1_RTS_DE.
26 PB2 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC2_IN12, COMP4_INM and OPAMP3_VINM, and alternates RTC_OUT2, LPTIM1_OUT, TIM5_CH1, TIM20_CH1, I2C3_SMBA, QUADSPI1_BK2_IO1 and HRTIM1_SCIN.
27 VSSA power_in Analog ground pin for the analog domain that supplies the ADCs, DACs, OPAMPs, COMPs and VREFBUF.
28 VREF+ power_in Positive reference voltage input for the ADCs and DACs (with VREFBUF_OUT as an additional function); VREF+ may exceed VDDA by no more than 0.4 V.
29 VDDA power_in Analog supply pin; ADC requires at least 1.62 V, DAC 1 MSPS/15 MSPS and OPAMP at least 1.8 V, VREFBUF used at least 2.4 V, with a maximum of 3.6 V.
30 PB10 bidirectional TT_a I/O (3.6 V tolerant) with additional functions COMP5_INM, OPAMP3_VINM and OPAMP4_VINM, and alternates TIM2_CH3, USART3_TX, LPUART1_RX, QUADSPI1_CLK, TIM1_BKIN and HRTIM1_FLT3.
31 VSS power_in Ground pin that must always be connected to the external ground within the permitted range.
32 VDD power_in Digital supply pin; standard operating voltage is 1.71 V to 3.6 V and it must always be connected to the external supply.
33 PB11 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC12_IN14, COMP6_INP, OPAMP4_VINP and OPAMP6_VOUT, and alternates TIM2_CH4, USART3_RX, LPUART1_TX, QUADSPI1_BK1_NCS and HRTIM1_FLT4.
34 PB12 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC4_IN3/ADC1_IN11, COMP7_INM, OPAMP4_VOUT and OPAMP6_VINP, and alternates TIM5_ETR, I2C2_SMBA, SPI2_NSS/I2S2_WS, TIM1_BKIN, USART3_CK, FDCAN2_RX and HRTIM1_CHC1.
35 PB13 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC3_IN5, COMP5_INP, OPAMP3_VINP, OPAMP4_VINP and OPAMP6_VINP, and alternates SPI2_SCK/I2S2_CK, TIM1_CH1N, USART3_CTS, FDCAN2_TX and HRTIM1_CHC2.
36 PB14 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC4_IN4/ADC1_IN5, COMP7_INP, OPAMP2_VINP and OPAMP5_VINP, and alternates TIM15_CH1, SPI2_MISO, TIM1_CH2N, USART3_RTS_DE, COMP4_OUT and HRTIM1_CHD1.
37 PB15 bidirectional TT_a I/O (3.6 V tolerant) with additional functions ADC4_IN5/ADC2_IN15, COMP6_INM and OPAMP5_VINM, and alternates RTC_REFIN, TIM15_CH2, TIM15_CH1N, TIM1_CH3N, SPI2_MOSI/I2S2_SD and HRTIM1_CHD2.
38 PC6 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM3_CH1, HRTIM1_EEV10, TIM8_CH1, I2S2_MCK, COMP6_OUT, I2C4_SCL and HRTIM1_CHF1.
39 PC7 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM3_CH2, HRTIM1_FLT5, TIM8_CH2, I2S3_MCK, COMP5_OUT, I2C4_SDA and HRTIM1_CHF2.
40 PC8 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM3_CH3, HRTIM1_CHE1, TIM8_CH3, TIM20_CH3, COMP7_OUT and I2C3_SCL.
41 PC9 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM3_CH4, HRTIM1_CHE2, TIM8_CH4, I2SCKIN, TIM8_BKIN2 and I2C3_SDA.
42 PA8 bidirectional FT_a I/O (5 V tolerant) with additional functions ADC5_IN1 and OPAMP5_VOUT, and alternates MCO, I2C3_SCL, I2C2_SDA, TIM1_CH1, USART1_CK, COMP7_OUT, FDCAN3_RX and HRTIM1_CHA1.
43 PA9 bidirectional FT_fda I/O (5 V tolerant, Fm+ capable, USB Type-C dead battery capable) with additional function UCPD1_DBCC1 and alternates I2C3_SMBA, I2C2_SCL, TIM1_CH2, USART1_TX, COMP5_OUT, TIM15_BKIN and HRTIM1_CHA2.
44 PA10 bidirectional FT_fda I/O (5 V tolerant, Fm+ capable, USB Type-C dead battery capable) with additional function UCPD1_DBCC2 and alternates TIM17_BKIN, USB_CRS_SYNC, I2C2_SMBA, SPI2_MISO, TIM1_CH3, USART1_RX and HRTIM1_CHB1.
45 PA11 bidirectional FT_u I/O (5 V tolerant, USB function) with additional function USB_DM and alternates SPI2_MOSI/I2S2_SD, TIM1_CH1N, USART1_CTS, COMP1_OUT, FDCAN1_RX and HRTIM1_CHB2.
46 PA12 bidirectional FT_u I/O (5 V tolerant, USB function) with additional function USB_DP and alternates TIM16_CH1, I2SCKIN, TIM1_CH2N, USART1_RTS_DE, COMP2_OUT, FDCAN1_TX and HRTIM1_FLT1.
47 VSS power_in Ground pin that must always be connected to the external ground within the permitted range.
48 VDD power_in Digital supply pin; standard operating voltage is 1.71 V to 3.6 V and it must always be connected to the external supply.
49 PA13 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) that defaults to the SWDIO-JTMS debug function after reset with its internal pull-up activated, and also has alternates TIM16_CH1N, I2C4_SCL, I2C1_SCL, IR_OUT, USART3_CTS and TIM4_CH3.
50 PA14 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) that defaults to the SWCLK-JTCK debug function after reset with its internal pull-down activated, and also has alternates LPTIM1_OUT, I2C4_SMBA, I2C1_SDA, TIM8_CH2, TIM1_BKIN and USART2_TX.
51 PA15 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) that defaults to the JTDI debug function after reset with its internal pull-up activated, and also has alternates TIM2_CH1, TIM8_CH1, I2C1_SCL, SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_RX, TIM1_BKIN and FDCAN3_TX.
52 PC10 bidirectional FT I/O (5 V tolerant) with alternates TIM8_CH1N, UART4_TX, SPI3_SCK/I2S3_CK, USART3_TX and HRTIM1_FLT6.
53 PC11 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates HRTIM1_EEV2, TIM8_CH2N, UART4_RX, SPI3_MISO, USART3_RX and I2C3_SDA.
54 PC12 bidirectional FT I/O (5 V tolerant) with alternates TIM5_CH2, HRTIM1_EEV1, TIM8_CH3N, UART5_TX, SPI3_MOSI/I2S3_SD, USART3_CK and UCPD1_FRSTX.
55 PD2 bidirectional FT I/O (5 V tolerant) with alternates TIM3_ETR, TIM8_BKIN and UART5_RX.
56 PB3 bidirectional FT I/O (5 V tolerant) that defaults to the JTDO-TRACESWO debug function after reset, with alternates TIM2_CH2, TIM4_ETR, USB_CRS_SYNC, SPI1_SCK, SPI3_SCK/I2S3_CK, USART2_TX, TIM3_ETR and FDCAN3_RX.
57 PB4 bidirectional FT_c I/O (5 V tolerant, USB Type-C PD capable) that defaults to the JTRST debug function after reset with its internal pull-up activated, with additional function UCPD1_CC2 and alternates TIM16_CH1, TIM3_CH1, SPI1_MISO, SPI3_MISO, USART2_RX and FDCAN3_TX.
58 PB5 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM16_BKIN, TIM3_CH2, TIM8_CH3N, I2C1_SMBA, SPI1_MOSI, SPI3_MOSI/I2S3_SD, USART2_CK, I2C3_SDA, FDCAN2_RX and TIM17_CH1.
59 PB6 bidirectional FT_c I/O (5 V tolerant, USB Type-C PD capable) with additional function UCPD1_CC1 and alternates TIM16_CH1N, TIM4_CH1, TIM8_CH1, USART1_TX, COMP4_OUT and FDCAN2_TX.
60 PB7 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with additional function PVD_IN and alternates TIM17_CH1N, TIM4_CH2, I2C4_SDA, I2C1_SDA, TIM8_BKIN, USART1_RX and COMP3_OUT.
61 PB8-BOOT0 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) that is also the BOOT0 pin; it is recommended to set PB8 to a mode other than analog after startup to limit consumption if left unconnected, with alternates TIM16_CH1, TIM4_CH3, I2C1_SCL, USART3_RX and FDCAN1_RX.
62 PB9 bidirectional FT_f I/O (5 V tolerant, Fm+ capable) with alternates TIM17_CH1, TIM4_CH4, SAI1_D2, I2C1_SDA, IR_OUT, USART3_TX, COMP2_OUT, FDCAN1_TX and TIM8_CH3.
63 VSS power_in Ground pin that must always be connected to the external ground within the permitted range.
64 VDD power_in Digital supply pin; standard operating voltage is 1.71 V to 3.6 V and it must always be connected to the external supply.

Key specifications

Parameter Value
Core Arm Cortex-M4
Max clock 170 MHz
Flash 512 kB
RAM 128 kB
I/O pins 52
ADC units 5
Supply 1.71 to 3.6 V
Temperature -40 to 85 C
ST status Active
Manufacturer STMicroelectronics
Package LQFP-64(10x10)
Category MCU
Pins 64

Electrical characteristics

Limits as printed in the datasheet (page.json metadata.characteristics carries them as data).

Parameter Symbol Min Typ Max Unit Conditions Page
VDD supply voltage operating range VDD 1.71 3.6 V 23
VDDA analog supply voltage operating range VDDA 1.62 3.6 V Minimum VDDA for ADC/DAC/COMP/OPAMP/VREFBUF operation is given in Section 5 23
VBAT supply voltage range VBAT 1.55 3.6 V VBAT powers RTC, 32 kHz oscillator and backup registers when VDD is absent 24
Ambient operating temperature range (grade -40 to +85 °C) -40 85 °C Junction temperature up to +105 °C; family-level statement, grade for suffix 6 not confirmed 14
Ambient operating temperature range (grade -40 to +125 °C) -40 125 °C Junction temperature up to +130 °C; family-level statement, grade for suffix 6 not confirmed 14
Internal 16 MHz RC oscillator accuracy with PLL option -1 1 % Features list: internal 16 MHz RC with PLL option 1
Internal 32 kHz RC oscillator accuracy -5 5 % Features list: internal 32 kHz RC oscillator 1
I2C Fast-mode-plus current sink 20 mA 4 x I2C Fast mode plus (1 Mbit/s) with 20 mA current sink, features list 2
PC13/PC14/PC15 power switch sink current limit 3 mA Power switch sinks a limited amount of current, Table 12 note 2 58
PC13/PC14/PC15 GPIO output speed 2 MHz Output mode with maximum load 30 pF, Table 12 note 2 58
ADC conversion voltage range 0 3.6 V 0 to 3.6 V conversion range, features list 1

CAD (KiCad official)

  • Symbol: STM32G474RET6
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: stm32g474ret6-etched.step / stm32g474ret6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32g474ret6.step / stm32g474ret6.glb are the bare package body.

Provenance

Data extracted from the manufacturer datasheet, not a distributor listing:

  • Datasheet: STMicroelectronics datasheet (236 pp, sha256 d493fe0ab22e61ff, retrieved 2026-11-13, tier: manufacturer)
  • Extractor: parts-factory 2.0.0 / extract_pins 0.3, primary claude-haiku-5-5 (text), consensus claude-sonnet-5-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).

Datasheet PDF