main
History Download
Ray Initial commit: component/stm32f402rct6 23599d4

STM32F402RCT6

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

STM32F402RCT6 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 Battery backup supply (1.65 V to 3.6 V) for the RTC, 32 kHz external oscillator and backup registers when VDD is not present.
2 PC13 bidirectional 5V-tolerant GPIO port C pin 13 with alternate functions EVENTOUT, RTC_TAMP1, RTC_OUT, RTC_TS; powered through an internal switch limited to 3 mA sink current and 2 MHz output rate, unsuitable for driving LEDs.
3 PC14-OSC32_IN bidirectional 5V-tolerant GPIO port C pin 14 (except in oscillator mode) doubling as the 32.768 kHz low-speed external oscillator input OSC32_IN; alternate function EVENTOUT.
4 PC15-OSC32_OUT bidirectional 5V-tolerant GPIO port C pin 15 (except in oscillator mode) doubling as the 32.768 kHz low-speed external oscillator output OSC32_OUT; alternate function EVENTOUT.
5 PH0-OSC_IN bidirectional 5V-tolerant GPIO port H pin 0 (except in oscillator mode) doubling as the 4-26 MHz high-speed external oscillator input OSC_IN; alternate function EVENTOUT.
6 PH1-OSC_OUT bidirectional 5V-tolerant GPIO port H pin 1 (except in oscillator mode) doubling as the high-speed external oscillator output OSC_OUT; alternate function EVENTOUT.
7 NRST bidirectional Bidirectional reset pin with an internal weak pull-up resistor; driving it low resets the device; datasheet also lists EVENTOUT as an associated function.
8 PC0 bidirectional 5V-tolerant GPIO port C pin 0 with alternate function EVENTOUT and analog input ADC1_IN10.
9 PC1 bidirectional 5V-tolerant GPIO port C pin 1 with alternate function EVENTOUT and analog input ADC1_IN11.
10 PC2 bidirectional 5V-tolerant GPIO port C pin 2 with alternate functions SPI2_MISO/I2S2ext_SD, EVENTOUT, and analog input ADC1_IN12.
11 PC3 bidirectional 5V-tolerant GPIO port C pin 3 with alternate functions SPI2_MOSI/I2S2_SD, EVENTOUT, and analog input ADC1_IN13.
12 VSSA/VREF- power_in Analog ground and negative voltage reference input; must be decoupled and connected to VSS.
13 VDDA/VREF+ power_in Analog power supply and positive voltage reference input (1.7 V to 3.6 V) for the ADC, reset block, RC oscillators and PLL; must be decoupled and connected to VDD.
14 PA0 bidirectional 5V-tolerant GPIO port A pin 0 with alternate functions USART2_CTS, TIM2_CH1/TIM2_ETR, TIM5_CH1, EVENTOUT, analog input ADC1_IN0, and wakeup function WKUP.
15 PA1 bidirectional 5V-tolerant GPIO port A pin 1 with alternate functions USART2_RTS, TIM2_CH2, TIM5_CH2, EVENTOUT, and analog input ADC1_IN1.
16 PA2 bidirectional 5V-tolerant GPIO port A pin 2 with alternate functions USART2_TX, TIM2_CH3, TIM5_CH3, TIM9_CH1, EVENTOUT, and analog input ADC1_IN2.
17 PA3 bidirectional 5V-tolerant GPIO port A pin 3 with alternate functions USART2_RX, TIM2_CH4, TIM5_CH4, TIM9_CH2, EVENTOUT, and analog input ADC1_IN3.
18 VSS power_in Digital ground supply pin.
19 VDD power_in Digital power supply input, 1.8 V to 3.6 V, for I/O and the internal voltage regulator.
20 PA4 bidirectional 5V-tolerant GPIO port A pin 4 with alternate functions SPI1_NSS, SPI3_NSS/I2S3_WS, USART2_CK, EVENTOUT, and analog input ADC1_IN4.
21 PA5 bidirectional 5V-tolerant GPIO port A pin 5 with alternate functions SPI1_SCK, TIM2_CH1/TIM2_ETR, EVENTOUT, and analog input ADC1_IN5.
22 PA6 bidirectional 5V-tolerant GPIO port A pin 6 with alternate functions SPI1_MISO, TIM1_BKIN, TIM3_CH1, EVENTOUT, and analog input ADC1_IN6.
23 PA7 bidirectional 5V-tolerant GPIO port A pin 7 with alternate functions SPI1_MOSI, TIM1_CH1N, TIM3_CH2, EVENTOUT, and analog input ADC1_IN7.
24 PC4 bidirectional 5V-tolerant GPIO port C pin 4 with alternate function EVENTOUT and analog input ADC1_IN14.
25 PC5 bidirectional 5V-tolerant GPIO port C pin 5 with alternate function EVENTOUT and analog input ADC1_IN15.
26 PB0 bidirectional 5V-tolerant GPIO port B pin 0 with alternate functions TIM1_CH2N, TIM3_CH3, EVENTOUT, and analog input ADC1_IN8.
27 PB1 bidirectional 5V-tolerant GPIO port B pin 1 with alternate functions TIM1_CH3N, TIM3_CH4, EVENTOUT, and analog input ADC1_IN9.
28 PB2 bidirectional 5V-tolerant GPIO port B pin 2 with alternate function EVENTOUT; also serves as the BOOT1 boot-mode selection pin.
29 PB10 bidirectional 5V-tolerant GPIO port B pin 10 with alternate functions SPI2_SCK/I2S2_CK, I2C2_SCL, TIM2_CH3, EVENTOUT.
30 VCAP_1 power_out Internal voltage regulator output requiring an external ceramic decoupling capacitor (typ. 4.7 µF, ESR ≤ 1 Ω) to ground for the 1.2 V core domain.
31 VSS power_in Digital ground supply pin.
32 VDD power_in Digital power supply input, 1.8 V to 3.6 V.
33 PB12 bidirectional 5V-tolerant GPIO port B pin 12 with alternate functions SPI2_NSS/I2S2_WS, I2C2_SMBA, TIM1_BKIN, EVENTOUT.
34 PB13 bidirectional 5V-tolerant GPIO port B pin 13 with alternate functions SPI2_SCK/I2S2_CK, TIM1_CH1N, EVENTOUT.
35 PB14 bidirectional 5V-tolerant GPIO port B pin 14 with alternate functions SPI2_MISO/I2S2ext_SD, TIM1_CH2N, EVENTOUT.
36 PB15 bidirectional 5V-tolerant GPIO port B pin 15 with alternate functions SPI2_MOSI/I2S2_SD, TIM1_CH3N, EVENTOUT, and RTC_REFIN reference input.
37 PC6 bidirectional 5V-tolerant GPIO port C pin 6 with alternate functions I2S2_MCK, USART6_TX, TIM3_CH1, SDIO_D6, EVENTOUT.
38 PC7 bidirectional 5V-tolerant GPIO port C pin 7 with alternate functions I2S3_MCK, USART6_RX, TIM3_CH2, SDIO_D7, EVENTOUT.
39 PC8 bidirectional 5V-tolerant GPIO port C pin 8 with alternate functions USART6_CK, TIM3_CH3, SDIO_D0, EVENTOUT.
40 PC9 bidirectional 5V-tolerant GPIO port C pin 9 with alternate functions I2S_CKIN, I2C3_SDA, TIM3_CH4, SDIO_D1, MCO_2, EVENTOUT.
41 PA8 bidirectional 5V-tolerant GPIO port A pin 8 with alternate functions I2C3_SCL, USART1_CK, TIM1_CH1, OTG_FS_SOF, MCO_1, EVENTOUT.
42 PA9 bidirectional 5V-tolerant GPIO port A pin 9 with alternate functions I2C3_SMBA, USART1_TX, TIM1_CH2, EVENTOUT, and OTG_FS_VBUS sensing.
43 PA10 bidirectional 5V-tolerant GPIO port A pin 10 with alternate functions USART1_RX, TIM1_CH3, OTG_FS_ID, EVENTOUT.
44 PA11 bidirectional 5V-tolerant GPIO port A pin 11 with alternate functions USART1_CTS, USART6_TX, TIM1_CH4, OTG_FS_DM, EVENTOUT.
45 PA12 bidirectional 5V-tolerant GPIO port A pin 12 with alternate functions USART1_RTS, USART6_RX, TIM1_ETR, OTG_FS_DP, EVENTOUT.
46 PA13 bidirectional 5V-tolerant GPIO port A pin 13, default JTMS-SWDIO debug function, plus EVENTOUT alternate function.
47 VSS power_in Digital ground supply pin.
48 VDD power_in Digital power supply input, 1.8 V to 3.6 V.
49 PA14 bidirectional 5V-tolerant GPIO port A pin 14, default JTCK-SWCLK debug function, plus EVENTOUT alternate function.
50 PA15 bidirectional 5V-tolerant GPIO port A pin 15, default JTDI debug function, with alternate functions SPI1_NSS, SPI3_NSS/I2S3_WS, TIM2_CH1/TIM2_ETR, EVENTOUT.
51 PC10 bidirectional 5V-tolerant GPIO port C pin 10 with alternate functions SPI3_SCK/I2S3_CK, SDIO_D2, EVENTOUT.
52 PC11 bidirectional 5V-tolerant GPIO port C pin 11 with alternate functions I2S3ext_SD, SPI3_MISO, SDIO_D3, EVENTOUT.
53 PC12 bidirectional 5V-tolerant GPIO port C pin 12 with alternate functions SPI3_MOSI/I2S3_SD, SDIO_CK, EVENTOUT.
54 PD2 bidirectional 5V-tolerant GPIO port D pin 2 with alternate functions TIM3_ETR, SDIO_CMD, EVENTOUT.
55 PB3 bidirectional 5V-tolerant GPIO port B pin 3, default JTDO-SWO debug function, with alternate functions SPI1_SCK, SPI3_SCK/I2S3_CK, I2C2_SDA, TIM2_CH2, EVENTOUT.
56 PB4 bidirectional 5V-tolerant GPIO port B pin 4, default NJTRST debug function, with alternate functions SPI1_MISO, SPI3_MISO/I2S3ext_SD, I2C3_SDA, TIM3_CH1, EVENTOUT.
57 PB5 bidirectional 5V-tolerant GPIO port B pin 5 with alternate functions SPI1_MOSI, SPI3_MOSI/I2S3_SD, I2C1_SMBA, TIM3_CH2, EVENTOUT.
58 PB6 bidirectional 5V-tolerant GPIO port B pin 6 with alternate functions I2C1_SCL, USART1_TX, TIM4_CH1, EVENTOUT.
59 PB7 bidirectional 5V-tolerant GPIO port B pin 7 with alternate functions I2C1_SDA, USART1_RX, TIM4_CH2, EVENTOUT.
60 BOOT0 input Dedicated boot-mode selection input sampled at reset to choose booting from user Flash, system memory, or embedded SRAM; also labeled VPP.
61 PB8 bidirectional 5V-tolerant GPIO port B pin 8 with alternate functions I2C1_SCL, TIM4_CH3, TIM10_CH1, SDIO_D4, EVENTOUT.
62 PB9 bidirectional 5V-tolerant GPIO port B pin 9 with alternate functions SPI2_NSS/I2S2_WS, I2C1_SDA, TIM4_CH4, TIM11_CH1, SDIO_D5, EVENTOUT.
63 VSS power_in Digital ground supply pin.
64 VDD power_in Digital power supply input, 1.8 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: STM32F402RCT6
  • Footprint: Package_QFP:LQFP-64_10x10mm_P0.5mm
  • 3D model: LQFP-64(10x10) (KiCad packages3D, STEP)
  • 3D model files: stm32f402rct6-etched.step / stm32f402rct6-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32f402rct6.step / stm32f402rct6.glb are the bare package body.

Provenance

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

  • Datasheet: STMicroelectronics datasheet (51 pp, sha256 446178d3745d4a93, retrieved 2026-09-22, tier: lcsc)
  • Datasheet language: Chinese. Pin names, descriptions, and specs on this page were extracted and translated to English by ds2sf; the linked PDF is the manufacturer original.
  • Extractor: parts-factory 2.0.0 / extract_pins 0.2, primary claude-haiku-4-5-20251001 (text), consensus claude-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).

Datasheet PDF