component
STM32F042F6P6
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
← Commit history
Publish 0.2.1
5 files changed
+25−23
README.md+3−3@@ -8,10 +8,10 @@ STM32F042F6P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin description | Pin | Name | Type | Function | |---|---|---|---|-| 1 | PB8/BOOT0 | bidirectional | General-purpose I/O (FTf: 5V-tolerant, Fast-Mode+ I2C capable). Also serves as BOOT0 pin to select boot memory (main Flash / system memory / embedded SRAM). Alternate functions: I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. |+| 1 | PB8 | bidirectional | General-purpose I/O (FTf: 5V-tolerant, Fast-Mode+ I2C capable). Also serves as BOOT0 pin to select boot memory (main Flash / system memory / embedded SRAM). Alternate functions: I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. | | 2 | PF0-OSC_IN | bidirectional | 5V-tolerant, FM+ capable I/O. Additional function: HSE crystal oscillator input (OSC_IN). Alternate functions: CRS_SYNC, I2C1_SDA. | | 3 | PF1-OSC_OUT | bidirectional | 5V-tolerant, FM+ capable I/O. Additional function: HSE crystal oscillator output (OSC_OUT). Alternate function: I2C1_SCL. |-| 4 | NRST | bidirectional | Device reset input / internal reset output (active low). Bidirectional pin with embedded weak pull-up resistor (RST I/O structure). |+| 4 | NRST | input | Device reset input / internal reset output (active low). Bidirectional pin with embedded weak pull-up resistor (RST I/O structure). | | 5 | VDDA | power_in | Analog power supply, 2.0 - 3.6 V. Powers the ADC, reset block, PLL and internal regulator analog sections. | | 6 | PA0 | bidirectional | TTa I/O (3.3 V-tolerant, ADC-connected). Additional functions: RTC_TAMP2, WKUP1, ADC_IN0. Alternate functions: USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1. | | 7 | PA1 | bidirectional | TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN1. Alternate functions: EVENTOUT, USART2_RTS, TIM2_CH2, TSC_G1_IO2. |@@ -22,7 +22,7 @@ STM32F042F6P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin description | 12 | PA6 | bidirectional | TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN6. Alternate functions: SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT. | | 13 | PA7 | bidirectional | TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN7. Alternate functions: SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT. | | 14 | PB1 | bidirectional | TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN9. Alternate functions: TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3. |-| 15 | VSS | power_in | Digital ground. On TSSOP20 (and all non-48-pin packages) VSSA (analog ground) is bonded internally to this VSS pin; both digital and analog grounds must be connected here. |+| 15 | VSSA | power_in | | | 16 | VDD | power_in | Digital power supply, 2.0 - 3.6 V. On TSSOP20 this pin is shared with VDDIO2 (supply for PA8-PA15 I/Os); both are bonded to the same package pin. | | 17 | PA9 | bidirectional | FTf I/O (5V-tolerant, FM+ capable), powered by VDDIO2. Alternate functions: USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL, MCO. PA11 can be remapped to this pin via SYSCFG_CFGR1. | | 18 | PA10 | bidirectional | FTf I/O (5V-tolerant, FM+ capable), powered by VDDIO2. Alternate functions: USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA. PA12 can be remapped to this pin via SYSCFG_CFGR1. |
package.json+2−2@@ -1,6 +1,6 @@ { "slug": "stm32f042f6p6",- "version": "0.2.0",+ "version": "0.2.1", "type": "component", "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.", "tags": [@@ -27,4 +27,4 @@ "viewers/footprint.html", "pads.json" ]-}+}
page.json+7−7@@ -4,7 +4,7 @@ "slug": "stm32f042f6p6", "title": "STM32F042F6P6", "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",- "version": "0.2.0",+ "version": "0.2.1", "license": "CC-BY-SA-4.0", "tags": [ "component",@@ -250,16 +250,14 @@ "stm32f042f6p6.kicad_mod", "stm32f042f6p6.glb", "stm32f042f6p6.step",- "stm32f042f6p6-etched.step", "stm32f042f6p6.lbr", "docs/hero.png", "docs/stm32f042f6p6-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"+ "viewers/footprint.html",+ "pads.json" ],- "visibility": {- "public": true- },+ "visibility": "public", "variants": [ { "mpn": "STM32F042F6P6",@@ -326,5 +324,7 @@ "kind": "packaging" } ],- "updated_at": "2026-09-25T08:40:05.719Z"+ "updated_at": "2026-09-25T08:40:05.719Z",+ "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",+ "org": "adom" }
stm32f042f6p6.kicad_sym+3−3@@ -9,7 +9,7 @@ ) (symbol "STM32F042F6P6_1_1" (pin bidirectional line (at -17.78 10.16 0) (length 5.08)- (name "PB8/BOOT0" (effects (font (size 1.27 1.27))))+ (name "PB8" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at -17.78 7.62 0) (length 5.08)@@ -20,7 +20,7 @@ (name "PF1-OSC_OUT" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at -17.78 2.54 0) (length 5.08)+ (pin input line (at -17.78 2.54 0) (length 5.08) (name "NRST" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27)))) )@@ -69,7 +69,7 @@ (number "16" (effects (font (size 1.27 1.27)))) ) (pin power_in line (at 17.78 -2.54 180) (length 5.08)- (name "VSS" (effects (font (size 1.27 1.27))))+ (name "VSSA" (effects (font (size 1.27 1.27)))) (number "15" (effects (font (size 1.27 1.27)))) ) (pin bidirectional line (at 17.78 -5.08 180) (length 5.08)
stm32f042f6p6.lbr+10−8@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20</description>+<description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data</description> <packages> <package name="TSSOP-20_4.4x6.5mm_P0.65mm"> <description>TSSOP-20, 4.4 x 6.5 mm, 0.65 mm pitch</description>@@ -94,17 +94,17 @@ </packages> <symbols> <symbol name="STM32F042F6P6">- <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20</description>+ <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data</description> <wire x1="-12.7" y1="12.7" x2="12.7" y2="12.7" width="0.254" layer="94"/> <wire x1="12.7" y1="12.7" x2="12.7" y2="-15.24" width="0.254" layer="94"/> <wire x1="12.7" y1="-15.24" x2="-12.7" y2="-15.24" width="0.254" layer="94"/> <wire x1="-12.7" y1="-15.24" x2="-12.7" y2="12.7" width="0.254" layer="94"/> <text x="0.0000" y="15.2400" size="1.27" layer="95" align="center">>NAME</text> <text x="0.0000" y="-17.7800" size="1.27" layer="96" align="center">>VALUE</text>- <pin name="PB8/BOOT0" x="-17.78" y="10.16" length="middle" direction="io"/>+ <pin name="PB8" x="-17.78" y="10.16" length="middle" direction="io"/> <pin name="PF0-OSC_IN" x="-17.78" y="7.62" length="middle" direction="io"/> <pin name="PF1-OSC_OUT" x="-17.78" y="5.08" length="middle" direction="io"/>- <pin name="NRST" x="-17.78" y="2.54" length="middle" direction="io"/>+ <pin name="NRST" x="-17.78" y="2.54" length="middle" direction="in"/> <pin name="VDDA" x="-17.78" y="0" length="middle" direction="pwr"/> <pin name="PA0" x="-17.78" y="-2.54" length="middle" direction="io"/> <pin name="PA1" x="-17.78" y="-5.08" length="middle" direction="io"/>@@ -116,7 +116,7 @@ <pin name="PA10" x="17.78" y="5.08" length="middle" direction="io" rot="R180"/> <pin name="PA9" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/> <pin name="VDD" x="17.78" y="0" length="middle" direction="pwr" rot="R180"/>- <pin name="VSS" x="17.78" y="-2.54" length="middle" direction="pwr" rot="R180"/>+ <pin name="VSSA" x="17.78" y="-2.54" length="middle" direction="pwr" rot="R180"/> <pin name="PB1" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/> <pin name="PA7" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/> <pin name="PA6" x="17.78" y="-10.16" length="middle" direction="io" rot="R180"/>@@ -125,14 +125,14 @@ </symbols> <devicesets> <deviceset name="STM32F042F6P6" prefix="U">- <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20</description>+ <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data</description> <gates> <gate name="G$1" symbol="STM32F042F6P6" x="0" y="0"/> </gates> <devices> <device name="" package="TSSOP-20_4.4x6.5mm_P0.65mm"> <connects>- <connect gate="G$1" pin="PB8/BOOT0" pad="1"/>+ <connect gate="G$1" pin="PB8" pad="1"/> <connect gate="G$1" pin="PF0-OSC_IN" pad="2"/> <connect gate="G$1" pin="PF1-OSC_OUT" pad="3"/> <connect gate="G$1" pin="NRST" pad="4"/>@@ -147,7 +147,7 @@ <connect gate="G$1" pin="PA10" pad="18"/> <connect gate="G$1" pin="PA9" pad="17"/> <connect gate="G$1" pin="VDD" pad="16"/>- <connect gate="G$1" pin="VSS" pad="15"/>+ <connect gate="G$1" pin="VSSA" pad="15"/> <connect gate="G$1" pin="PB1" pad="14"/> <connect gate="G$1" pin="PA7" pad="13"/> <connect gate="G$1" pin="PA6" pad="12"/>@@ -157,6 +157,8 @@ <technology name=""> <attribute name="MPN" value="STM32F042F6P6" constant="no"/> <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+ <attribute name="DATASHEET" value="https://www.st.com/resource/en/datasheet/stm32f042f6p6.pdf" constant="no"/>+ <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/stm32f042f6p6" constant="no"/> <attribute name="DIGIKEY_PN" value="497-17344-ND" constant="no"/> <attribute name="LCSC_PN" value="C81000" constant="no"/> </technology>