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]
MCU / processor core
Arm Cortex-M0 [a] [b]
Clock speed / maximum
48 MHz [a] [b]
Internal RAM / system RAM
6 KB SRAM [a] [b]
Program Flash / storage
32 KB Flash [a] [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)

STM32F042K6T6: every pin in physical order with its type, functions and warnings
PhysicalPin nameTypeFunctionsNotes and warningsSource
01VDDPower——[1]
02PF0General-purpose I/OCRS_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]
03PF1General-purpose I/OI2C1_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]
04NRSTSystem——[1]
05VDDAPower——[1]
06PA0General-purpose I/OADC_IN0RTC_TAMP2SYS_WKUP1TIM2_CH1 AF2TIM2_ETR AF2TSC_G1_IO1 AF3USART2_CTS AF1—[1]
07PA1General-purpose I/OADC_IN1TIM2_CH2 AF2TSC_G1_IO2 AF3USART2_DE AF1USART2_RTS AF1—[1]
08PA2General-purpose I/OADC_IN2SYS_WKUP4TIM2_CH3 AF2TSC_G1_IO3 AF3USART2_TX AF1—[1]
09PA3General-purpose I/OADC_IN3TIM2_CH4 AF2TSC_G1_IO4 AF3USART2_RX AF1—[1]
10PA4General-purpose I/OADC_IN4I2S1_WS AF0SPI1_NSS AF0TIM14_CH1 AF4TSC_G2_IO1 AF3USART2_CK AF1USB_NOE AF2—[1]
11PA5General-purpose I/OADC_IN5CEC AF1I2S1_CK AF0SPI1_SCK AF0TIM2_CH1 AF2TIM2_ETR AF2TSC_G2_IO2 AF3—[1]
12PA6General-purpose I/OADC_IN6I2S1_MCK AF0SPI1_MISO AF0TIM16_CH1 AF5TIM1_BKIN AF2TIM3_CH1 AF1TSC_G2_IO3 AF3—[1]
13PA7General-purpose I/OADC_IN7I2S1_SD AF0SPI1_MOSI AF0TIM14_CH1 AF4TIM17_CH1 AF5TIM1_CH1N AF2TIM3_CH2 AF1TSC_G2_IO4 AF3—[1]
14PB0General-purpose I/OADC_IN8TIM1_CH2N AF2TIM3_CH3 AF1TSC_G3_IO2 AF3—[1]
15PB1General-purpose I/OADC_IN9TIM14_CH1 AF0TIM1_CH3N AF2TIM3_CH4 AF1TSC_G3_IO3 AF3—[1]
16VSSGround——[1]
17VDDIO2Power——[1]
18PA8General-purpose I/OCRS_SYNC AF4RCC_MCO AF0TIM1_CH1 AF2USART1_CK AF1—[1]
19PA9General-purpose I/OI2C1_SCL AF4TIM1_CH2 AF2TSC_G4_IO1 AF3USART1_TX AF1—[1]
20PA10General-purpose I/OI2C1_SDA AF4TIM17_BKIN AF0TIM1_CH3 AF2TSC_G4_IO2 AF3USART1_RX AF1—[1]
21PA11General-purpose I/OCAN_RX AF4I2C1_SCL AF5TIM1_CH4 AF2TSC_G4_IO3 AF3USART1_CTS AF1USB_DM—[1]
22PA12General-purpose I/OCAN_TX AF4I2C1_SDA AF5TIM1_ETR AF2TSC_G4_IO4 AF3USART1_DE AF1USART1_RTS AF1USB_DP—[1]
23PA13General-purpose I/OIR_OUT AF1SYS_SWDIO AF0USB_NOE AF2—[1]
24PA14General-purpose I/OSYS_SWCLK AF0USART2_TX AF1—[1]
25PA15General-purpose I/OI2S1_WS AF0SPI1_NSS AF0TIM2_CH1 AF2TIM2_ETR AF2USART2_RX AF1USB_NOE AF5—[1]
26PB3General-purpose I/OI2S1_CK AF0SPI1_SCK AF0TIM2_CH2 AF2TSC_G5_IO1 AF3—[1]
27PB4General-purpose I/OI2S1_MCK AF0SPI1_MISO AF0TIM17_BKIN AF5TIM3_CH1 AF1TSC_G5_IO2 AF3—[1]
28PB5General-purpose I/OI2C1_SMBA AF3I2S1_SD AF0SPI1_MOSI AF0SYS_WKUP6TIM16_BKIN AF2TIM3_CH2 AF1—[1]
29PB6General-purpose I/OI2C1_SCL AF1TIM16_CH1N AF2TSC_G5_IO3 AF3USART1_TX AF0—[1]
30PB7General-purpose I/OI2C1_SDA AF1TIM17_CH1N AF2TSC_G5_IO4 AF3USART1_RX AF0—[1]
31PB8General-purpose I/OCAN_RX AF4CEC AF0I2C1_SCL AF1TIM16_CH1 AF2TSC_SYNC AF3—[1]
32VSSAGround——[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

Sources

Pin and warning references

  1. F042K6 CubeMX package dataLQFP32 numbered package pins and physical signals

Technical sources (2)

  1. F042K6 specificationsSTMicroelectronics · Product overview · exact part; memory and core features
  2. F042K6 datasheetSTMicroelectronics · Features; device summary / ordering code; memory map; revision history; revision history: initial release 2014-02-25

Locked source documents

Pin reference · Datasheet