main
Download ZIP Propose a change
Generated by kicad-footprint-generator · KiCad file format 20260206
Name Last commit message Last updated
docs stm32f042k6u6tr: one-pass backfill (re-etched) · Ray
viewers stm32f042k6u6tr: viewers · Ray
package.json Publish 0.2.1 · Ray
page.json Publish 0.2.1 · Ray
README.md Publish 0.2.0 · Ray
stm32f042k6u6tr-etched.fit.json stm32f042k6u6tr: one-pass backfill (re-etched) · Ray
stm32f042k6u6tr-etched.glb stm32f042k6u6tr: rebuilt as a full factory component page (was a placeholder) · Ray
stm32f042k6u6tr-etched.step stm32f042k6u6tr: one-pass backfill (re-etched) · Ray
stm32f042k6u6tr-hero.glb Publish 0.2.0 · Ray
stm32f042k6u6tr-hero.overlay.json stm32f042k6u6tr: one-pass backfill (re-etched) · Ray
stm32f042k6u6tr.glb Publish 0.2.0 · Ray
stm32f042k6u6tr.kicad_mod Publish 0.2.0 · Ray
stm32f042k6u6tr.kicad_sym Publish 0.2.0 · Ray
stm32f042k6u6tr.lbr Publish 0.2.0 · Ray
stm32f042k6u6tr.step Publish 0.2.0 · Ray

STM32F042K6U6TR

STMicroelectronics · Microcontrollers (MCU/MPU/SOC) · UFQFPN-32(5x5)

STM32F042K6U6TR from STMicroelectronics, in a UFQFPN-32(5x5). 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 and footprint from KiCad-official CAD; the 3D model is generated from the datasheet's package dimensions.

Pinout

Pin Name Type Function
1 VDD power_in Digital power supply, 2.0 to 3.6 V
2 PF0-OSC_IN bidirectional GPIO or external oscillator input for 4-32 MHz crystal with CRS_SYNC and I2C1_SDA alternate functions
3 PF1-OSC_OUT bidirectional GPIO or external oscillator output for crystal with I2C1_SCL alternate function
4 NRST input Device reset input / internal reset output (active low) with embedded weak pull-up resistor
5 VDDA power_in Analog power supply, from VDD to 3.6 V (2.4 V minimum if ADC is used), must be >= VDD
6 PA0 bidirectional TTa I/O with USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1, RTC_TAMP2, WKUP1, ADC_IN0 alternate functions
7 PA1 bidirectional TTa I/O with USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT, ADC_IN1 alternate functions
8 PA2 bidirectional TTa I/O with USART2_TX, TIM2_CH3, TSC_G1_IO3, ADC_IN2, WKUP4 alternate functions
9 PA3 bidirectional TTa I/O with USART2_RX, TIM2_CH4, TSC_G1_IO4, ADC_IN3 alternate functions
10 PA4 bidirectional TTa I/O with SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK, USB_NOE, ADC_IN4 alternate functions
11 PA5 bidirectional TTa I/O with SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2, ADC_IN5 alternate functions
12 PA6 bidirectional TTa I/O with SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT, ADC_IN6 alternate functions
13 PA7 bidirectional TTa I/O with SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT, ADC_IN7 alternate functions
14 PB0 bidirectional TTa I/O with TIM3_CH3, TIM1_CH2N, TSC_G3_IO2, EVENTOUT, ADC_IN8 alternate functions
15 PB1 bidirectional TTa I/O with TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3, ADC_IN9 alternate functions
16 PB2 bidirectional FT 5V-tolerant I/O with TSC_G3_IO4 alternate function for capacitive sensing
17 VDDIO2 power_in I/O power supply for high-performance I/Os, 1.65 to 3.6 V, independent from VDD but VDD must be present first
18 PA8 bidirectional FT I/O supplied by VDDIO2 with USART1_CK, TIM1_CH1, EVENTOUT, MCO, CRS_SYNC alternate functions
19 PA9 bidirectional FTf I/O supplied by VDDIO2 with USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL alternate functions
20 PA10 bidirectional FTf I/O supplied by VDDIO2 with USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA alternate functions
21 PA11 bidirectional FTf I/O supplied by VDDIO2 with CAN_RX, USART1_CTS, TIM1_CH4, TSC_G4_IO3, EVENTOUT, I2C1_SCL, USB_DM alternate functions; can be remapped to PA9 position using SYSCFG_CFGR1
22 PA12 bidirectional FTf I/O supplied by VDDIO2 with CAN_TX, USART1_RTS, TIM1_ETR, TSC_G4_IO4, EVENTOUT, I2C1_SDA, USB_DP alternate functions; can be remapped to PA10 position using SYSCFG_CFGR1
23 PA13 bidirectional FT I/O supplied by VDDIO2 configured as SWDIO at reset with IR_OUT, USB_NOE alternate functions
24 PA14 bidirectional FT I/O supplied by VDDIO2 configured as SWCLK at reset with USART2_TX alternate function
25 PA15 bidirectional FT I/O supplied by VDDIO2 with SPI1_NSS, I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT, USB_NOE alternate functions
26 PB3 bidirectional FT I/O with SPI1_SCK, I2S1_CK, TIM2_CH2, TSC_G5_IO1, EVENTOUT alternate functions
27 PB4 bidirectional FT I/O with SPI1_MISO, I2S1_MCK, TIM17_BKIN, TIM3_CH1, TSC_G5_IO2, EVENTOUT alternate functions
28 PB5 bidirectional FT I/O with SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN, TIM3_CH2, WKUP6 alternate functions
29 PB6 bidirectional FTf I/O with I2C1_SCL, USART1_TX, TIM16_CH1N, TSC_G5_IO3 alternate functions
30 PB7 bidirectional FTf I/O with I2C1_SDA, USART1_RX, TIM17_CH1N, TSC_G5_IO4 alternate functions
31 PF11 bidirectional
32 PB8 bidirectional
33 VSS power_in ST DocID025832 Rev 5 Table 13 STM32F042x pin definitions (p.33): VSS row, UFQFPN32 column '0'; package note 3 (p.93): 'There is an exposed die pad on the underside of the UFQFPN package. It is recommended to connect and solder this back-side pad to PCB ground.'

Key specifications

Parameter Value
Manufacturer STMicroelectronics
Package UFQFPN-32(5x5)
Category Embedded Processors & Controllers
Pins 33

Electrical characteristics

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

Parameter Symbol Min Typ Max Unit Conditions Page
External main supply voltage VDD-VSS -0.3 4 V 45
External I/O supply voltage VDDIO2-VSS -0.3 4 V 45
External analog supply voltage VDDA-VSS -0.3 4 V 45
Allowed voltage difference for VDD > VDDA VDD-VDDA 0.4 V 45
External backup supply voltage VBAT-VSS -0.3 4 V 45
Input voltage on FT and FTf pins VIN -0.3 V Max printed as VDDIOx + 4.0; valid only with internal pull-up/pull-down disabled (4 V max otherwise) 45
Input voltage on TTa pins VIN -0.3 4 V 45
Input voltage on any other pin VIN -0.3 4 V 45
Variations between different VDD power pins /ΔVDDx/ 50 mV 45
Variations between all the different ground pins /VSSx - VSS/ 50 mV 45
Total current into sum of all VDD power lines (source) ΣIVDD 120 mA 46
Total current out of sum of all VSS ground lines (sink) ΣIVSS -120 mA 46
Maximum current into each VDD power pin (source) IVDD(PIN) 100 mA 46
Maximum current out of each VSS ground pin (sink) IVSS(PIN) -100 mA 46
Output current sunk by any I/O and control pin IIO(PIN) 25 mA 46
Output current sourced by any I/O and control pin IIO(PIN) -25 mA 46
Total output current sunk by sum of all I/Os and control pins ΣIIO(PIN) 80 mA 46
Total output current sourced by sum of all I/Os and control pins ΣIIO(PIN) -80 mA 46
Total output current sourced by sum of all I/Os supplied by VDDIO2 ΣIIO(PIN) -40 mA 46
Injected current on FT and FTf pins IINJ(PIN) -5 0 mA Positive injection not possible on these I/Os 46
Injected current on TC and RST pin IINJ(PIN) -5 5 mA 46
Injected current on TTa pins IINJ(PIN) -5 5 mA 46
Total injected current (sum of all I/O and control pins) ΣIINJ(PIN) -25 25 mA 46
Storage temperature range TSTG -65 150 °C 46
Maximum junction temperature TJ 150 °C 46
Internal AHB clock frequency fHCLK 0 48 MHz 47
Internal APB clock frequency fPCLK 0 48 MHz 47
Standard operating voltage VDD 2 3.6 V 47
I/O supply voltage VDDIO2 1.65 3.6 V Must not be supplied if VDD is not present 47
Analog operating voltage (ADC not used) VDDA 3.6 V Must have a potential equal to or higher than VDD (min printed as VDD) 47
Analog operating voltage (ADC used) VDDA 2.4 3.6 V ADC used 47
Backup operating voltage VBAT 1.65 3.6 V 47
I/O input voltage, TC and RST I/O VIN -0.3 V Max printed as VDDIOx + 0.3 47
I/O input voltage, TTa I/O VIN -0.3 V Max printed as VDDA + 0.3 47
I/O input voltage, FT and FTf I/O VIN -0.3 5.5 V Internal pull-up must be disabled for operation above VDDIOx + 0.3 V 47
Power dissipation at TA = 85 °C for suffix 6 PD 526 mW UFQFPN32 package 47
Ambient temperature, suffix 6 version, maximum power dissipation TA -40 85 °C Suffix 6 47
Ambient temperature, suffix 6 version, low power dissipation TA -40 105 °C Suffix 6; low power dissipation 47
Junction temperature range, suffix 6 version TJ -40 105 °C Suffix 6 version 47
Power on/power down reset threshold VPOR/PDR 1.8 1.88 1.96 V Falling edge 48
Power on/power down reset threshold VPOR/PDR 1.84 1.92 2 V Rising edge 48
Reset temporization tRSTTEMPO 1.5 2.5 4.5 ms 48
PVD current consumption IDD(PVD) 0.15 0.26 µA 49
Internal reference voltage VREFINT 1.2 1.23 1.25 V -40 °C < TA < +105 °C 49
ADC_IN17 buffer startup time tSTART 10 µs 49
ADC sampling time when reading the internal reference voltage tS_vrefint 4 µs 49
Internal reference voltage spread over the temperature range ΔVREFINT 10 mV VDDA = 3 V 49
Temperature coefficient TCoeff -100 100 ppm/°C 49
Weak pull-up equivalent resistor RPU 25 40 55 kΩ VIN = VSS 72
Input leakage current, TC, FT and FTf I/O, TTa in digital mode Ilkg -0.1 0.1 µA VSS ≤ VIN ≤ VDDIOx 72
Input leakage current, FT and FTf I/O Ilkg 10 µA VDDIOx ≤ VIN ≤ 5 V 72
Weak pull-down equivalent resistor RPD 25 40 55 kΩ VIN = -VDDIOx 73
I/O pin capacitance CIO 5 pF 73
Supply current in Run mode, Flash, HSI48 48 MHz, all peripherals enabled, max at 25 °C IDD 20.3 23.2 mA VDD = 3.6 V; Max @ TA = 25 °C 50
Supply current in Run mode, Flash, HSI48 48 MHz, all peripherals enabled, max at 105 °C IDD 20.3 24.6 mA VDD = 3.6 V; Max @ TA = 105 °C 50
Supply current in Run mode, Flash, HSI48 48 MHz, all peripherals disabled, max at 25 °C IDD 12.7 14.4 mA VDD = 3.6 V; Max @ TA = 25 °C 50
Supply current in Run mode, Flash, HSI48 48 MHz, all peripherals disabled, max at 105 °C IDD 12.7 14.7 mA VDD = 3.6 V; Max @ TA = 105 °C 50

CAD (land: KiCad; 3D: generated from the datasheet)

  • Symbol: STM32F042K6U6TR
  • Footprint: Package_DFN_QFN:UFQFPN-32-1EP_5x5mm_P0.5mm_EP3.5x3.5mm
  • 3D model: UFQFPN-32(5x5), generated on the KiCad land (body 5 x 5 mm, terminals on the pads, 0.55 mm tall, datasheet A, nominal). KiCad's stock model for this land is taller than the datasheet allows, so the model is generated from the datasheet drawing; the dimensions come from the datasheet drawing where it was read and are defaults otherwise (see provenance.model_3d_generated), not the manufacturer's CAD (STEP)
  • 3D model files: stm32f042k6u6tr-etched.step / stm32f042k6u6tr-etched.glb carry the MPN laser-etched on the die in a toggleable Adom.LaserEtch group (Fusion-ready); stm32f042k6u6tr.step / stm32f042k6u6tr.glb are the bare package body.

Provenance

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

  • Datasheet: STMicroelectronics datasheet (117 pp, sha256 7af7ec8f5a596b23, retrieved 2026-11-17, tier: manufacturer)
  • Extractor: ds2sf (Claude). Every pin and dimension is cited to a datasheet page; it refuses to fabricate.
  • CAD: land: KiCad official libraries (CC-BY-SA 4.0); 3D: generated from the datasheet's package dimensions (provenance.model_3d_generated).

Datasheet PDF