MCU packages
STM32F042K6T6 pinout
LQFP-32 · Arm Cortex-M0 · 48 MHz
Open in the interactive atlas →See the pin map, choose functions and save a wiring plan.Türkçe
Pinned manufacturer STM32 package and GPIO data. Package pin numbers are independent of Arduino numbering; AF selection requires firmware configuration.
At a glance
- Platform / manufacturer
- STM32
- Type
- MCU packages
- MCU
- STM32F042K6T6
- Package / connector
- LQFP-32
- Physical contacts
- 32
- GPIO
- 26
- I/O voltage
- 2–3.6 V
- Interfaces (pin count)
- I²C (10) · SPI (8) · UART (14) · CAN (3) · USB (5) · ADC (10) · PWM (21) · CLOCK (3) · I2S (8) · SWD (2) · SYSTEM (23) · TIMER (8)
- Documented by this date
- 2014-02-25 [b]
- Power and logic level
- Supply range and 5 V tolerance depend on pin type; check VDD, VDDA, VCAP and VBAT conditions in the datasheet. [a] [b]
- MCU datasheet initial publication
- 2014-02-25 [b]
- Pin sources checked
- 2026-11-05
- Technical details reviewed
- 2026-11-14
All pins (32)
| Physical | Pin name | Type | Functions | Notes and warnings | Source |
|---|---|---|---|---|---|
| 01 | VDD | Power | — | — | [1] |
| 02 | PF0 | General-purpose I/O | CRS_SYNC AF0I2C1_SDA AF1RCC_OSC_IN | This pad is shared with an oscillator. Release the corresponding clock source and circuit connection before using it as GPIO. | [1] |
| 03 | PF1 | General-purpose I/O | I2C1_SCL AF1RCC_OSC_OUT | This pad is shared with an oscillator. Release the corresponding clock source and circuit connection before using it as GPIO. | [1] |
| 04 | NRST | System | — | — | [1] |
| 05 | VDDA | Power | — | — | [1] |
| 06 | PA0 | General-purpose I/O | ADC_IN0RTC_TAMP2SYS_WKUP1TIM2_CH1 AF2TIM2_ETR AF2TSC_G1_IO1 AF3USART2_CTS AF1 | — | [1] |
| 07 | PA1 | General-purpose I/O | ADC_IN1TIM2_CH2 AF2TSC_G1_IO2 AF3USART2_DE AF1USART2_RTS AF1 | — | [1] |
| 08 | PA2 | General-purpose I/O | ADC_IN2SYS_WKUP4TIM2_CH3 AF2TSC_G1_IO3 AF3USART2_TX AF1 | — | [1] |
| 09 | PA3 | General-purpose I/O | ADC_IN3TIM2_CH4 AF2TSC_G1_IO4 AF3USART2_RX AF1 | — | [1] |
| 10 | PA4 | General-purpose I/O | ADC_IN4I2S1_WS AF0SPI1_NSS AF0TIM14_CH1 AF4TSC_G2_IO1 AF3USART2_CK AF1USB_NOE AF2 | — | [1] |
| 11 | PA5 | General-purpose I/O | ADC_IN5CEC AF1I2S1_CK AF0SPI1_SCK AF0TIM2_CH1 AF2TIM2_ETR AF2TSC_G2_IO2 AF3 | — | [1] |
| 12 | PA6 | General-purpose I/O | ADC_IN6I2S1_MCK AF0SPI1_MISO AF0TIM16_CH1 AF5TIM1_BKIN AF2TIM3_CH1 AF1TSC_G2_IO3 AF3 | — | [1] |
| 13 | PA7 | General-purpose I/O | ADC_IN7I2S1_SD AF0SPI1_MOSI AF0TIM14_CH1 AF4TIM17_CH1 AF5TIM1_CH1N AF2TIM3_CH2 AF1TSC_G2_IO4 AF3 | — | [1] |
| 14 | PB0 | General-purpose I/O | ADC_IN8TIM1_CH2N AF2TIM3_CH3 AF1TSC_G3_IO2 AF3 | — | [1] |
| 15 | PB1 | General-purpose I/O | ADC_IN9TIM14_CH1 AF0TIM1_CH3N AF2TIM3_CH4 AF1TSC_G3_IO3 AF3 | — | [1] |
| 16 | VSS | Ground | — | — | [1] |
| 17 | VDDIO2 | Power | — | — | [1] |
| 18 | PA8 | General-purpose I/O | CRS_SYNC AF4RCC_MCO AF0TIM1_CH1 AF2USART1_CK AF1 | — | [1] |
| 19 | PA9 | General-purpose I/O | I2C1_SCL AF4TIM1_CH2 AF2TSC_G4_IO1 AF3USART1_TX AF1 | — | [1] |
| 20 | PA10 | General-purpose I/O | I2C1_SDA AF4TIM17_BKIN AF0TIM1_CH3 AF2TSC_G4_IO2 AF3USART1_RX AF1 | — | [1] |
| 21 | PA11 | General-purpose I/O | CAN_RX AF4I2C1_SCL AF5TIM1_CH4 AF2TSC_G4_IO3 AF3USART1_CTS AF1USB_DM | — | [1] |
| 22 | PA12 | General-purpose I/O | CAN_TX AF4I2C1_SDA AF5TIM1_ETR AF2TSC_G4_IO4 AF3USART1_DE AF1USART1_RTS AF1USB_DP | — | [1] |
| 23 | PA13 | General-purpose I/O | IR_OUT AF1SYS_SWDIO AF0USB_NOE AF2 | — | [1] |
| 24 | PA14 | General-purpose I/O | SYS_SWCLK AF0USART2_TX AF1 | — | [1] |
| 25 | PA15 | General-purpose I/O | I2S1_WS AF0SPI1_NSS AF0TIM2_CH1 AF2TIM2_ETR AF2USART2_RX AF1USB_NOE AF5 | — | [1] |
| 26 | PB3 | General-purpose I/O | I2S1_CK AF0SPI1_SCK AF0TIM2_CH2 AF2TSC_G5_IO1 AF3 | — | [1] |
| 27 | PB4 | General-purpose I/O | I2S1_MCK AF0SPI1_MISO AF0TIM17_BKIN AF5TIM3_CH1 AF1TSC_G5_IO2 AF3 | — | [1] |
| 28 | PB5 | General-purpose I/O | I2C1_SMBA AF3I2S1_SD AF0SPI1_MOSI AF0SYS_WKUP6TIM16_BKIN AF2TIM3_CH2 AF1 | — | [1] |
| 29 | PB6 | General-purpose I/O | I2C1_SCL AF1TIM16_CH1N AF2TSC_G5_IO3 AF3USART1_TX AF0 | — | [1] |
| 30 | PB7 | General-purpose I/O | I2C1_SDA AF1TIM17_CH1N AF2TSC_G5_IO4 AF3USART1_RX AF0 | — | [1] |
| 31 | PB8 | General-purpose I/O | CAN_RX AF4CEC AF0I2C1_SCL AF1TIM16_CH1 AF2TSC_SYNC AF3 | — | [1] |
| 32 | VSSA | Ground | — | — | [1] |
General usage notes
GPIO pad in this package. Configure alternate functions, analog mode and peripherals in firmware; consult the manufacturer datasheet for electrical limits.
Model-specific features and connection notes
- Clock is the MCU maximum. Configure PLL, supply and Flash wait states accordingly. RAM banks do not have identical DMA accessibility. [b]
Sources
Pin and warning references
- F042K6 CubeMX package dataLQFP32 numbered package pins and physical signals
Technical sources (2)
- F042K6 specificationsSTMicroelectronics · Product overview · exact part; memory and core features
- F042K6 datasheetSTMicroelectronics · Features; device summary / ordering code; memory map; revision history; revision history: initial release 2014-02-25
Locked source documents
- F042K6 CubeMX package dataSTMicroelectronics · 7d1f1514ed5583ec5007ad91236b4e1d377295b1
- STM32F042_gpio_v1_0 GPIO alternate functionsSTMicroelectronics · 7d1f1514ed5583ec5007ad91236b4e1d377295b1
More STM32 profiles
- STM32 Blue Pill
- WeAct Black Pill F401CC v3.x
- WeAct Black Pill F411CE v3.x
- NUCLEO-F042K6
- NUCLEO-L432KC
- NUCLEO-F072RB
- NUCLEO-F103RB
- NUCLEO-F303RE
- NUCLEO-F401RE
- NUCLEO-F411RE
- NUCLEO-F446RE
- NUCLEO-G474RE
- NUCLEO-L053R8
- NUCLEO-L152RE
- NUCLEO-L476RG
- NUCLEO-F767ZI
- NUCLEO-H723ZG
- NUCLEO-H743ZI2
- STM32F401CCU6
- STM32F411CEU6
- STM32H743ZIT6
- STM32F767ZIT6
- STM32L432KCU6
- STM32F103C8T6
- STM32F103RBT6
- STM32F103VBT6
- STM32F401RET6
- STM32F411RET6
- STM32G474RET6
- STM32H723ZGT6
- STM32F446RET6
- STM32L476RGT6
- STM32F072RBT6
- STM32L053R8T6
- STM32L152RET6
- STM32F407VGT6
- STM32F405RGT6
- STM32F303RET6