← Commit history

Publish 0.1.1

Ray ·3fff3ceb18 · ·parent b548fbe
5 files changed +31−20
README.md+3−3
@@ -8,10 +8,10 @@ STM32F042F4P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin description  | Pin | Name | Type | Function | |---|---|---|---|-| 1 | PB8-BOOT0 | bidirectional | 5V-tolerant FM+-capable (FTf) I/O; doubles as BOOT0 boot-memory-selection input; alternate functions I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. |+| 1 | PB8 | bidirectional | 5V-tolerant FM+-capable (FTf) I/O; doubles as BOOT0 boot-memory-selection input; alternate functions I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. | | 2 | PF0-OSC_IN | bidirectional | 5V-tolerant FM+-capable (FTf) I/O; default GPIO PF0 after reset; additional function OSC_IN (HSE crystal input, 4-32 MHz); alternate functions CRS_SYNC (AF0), I2C1_SDA (AF1). | | 3 | PF1-OSC_OUT | bidirectional | 5V-tolerant FM+-capable (FTf) I/O; default GPIO PF1 after reset; additional function OSC_OUT (HSE crystal output); alternate function I2C1_SCL (AF1). |-| 4 | NRST | bidirectional | Active-low device reset input / internal reset output with embedded 25-55 kΩ pull-up resistor; input pulses shorter than 100 ns are filtered and not recognised as reset. |+| 4 | NRST | input | Active-low device reset input / internal reset output with embedded 25-55 kΩ pull-up resistor; input pulses shorter than 100 ns are filtered and not recognised as reset. | | 5 | VDDA | power_in | Analog power supply 2.0-3.6 V (minimum 2.4 V when ADC is used); must be ≥ VDD; powers ADC, internal oscillators, PLL, and voltage reference. | | 6 | PA0 | bidirectional | 3.3V-tolerant (TTa) analog-capable I/O; alternate functions USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1; additional functions WKUP1, RTC_TAMP2, ADC_IN0. | | 7 | PA1 | bidirectional | 3.3V-tolerant (TTa) analog-capable I/O; input range 0 V to VDDA; alternate functions USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT; additional function ADC_IN1. |@@ -22,7 +22,7 @@ STM32F042F4P6 from STMicroelectronics, in a TSSOP-20. Pinout and pin description | 12 | PA6 | bidirectional | 3.3V-tolerant (TTa) analog-capable I/O; alternate functions SPI1_MISO/I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT; additional function ADC_IN6. | | 13 | PA7 | bidirectional | 3.3V-tolerant (TTa) analog-capable I/O; alternate functions SPI1_MOSI/I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT; additional function ADC_IN7. | | 14 | PB1 | bidirectional | 3.3V-tolerant (TTa) analog-capable I/O; alternate functions TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3; additional function ADC_IN9. |-| 15 | VSS | power_in | Digital and analog ground (0 V reference); the VSSA pad of the silicon die is internally connected to this pin on all packages below 48 pins (no separate VSSA pin on TSSOP20). |+| 15 | VSSA | power_in |  | | 16 | VDD | power_in | 2.0-3.6 V main digital power supply; on TSSOP20 both VDD and VDDIO2 table entries map to this single pin, so VDDIO2-supplied I/Os (PA9, PA10, PA13, PA14) are also powered from here. | | 17 | PA9 | bidirectional | 5V-tolerant FM+-capable (FTf) I/O supplied by VDDIO2; default PA9 (USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL); remappable to PA11 (CAN_RX, USART1_CTS, TIM1_CH4, USB_DM) via SYSCFG_CFGR1. | | 18 | PA10 | bidirectional | 5V-tolerant FM+-capable (FTf) I/O supplied by VDDIO2; default PA10 (USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA); remappable to PA12 (CAN_TX, USART1_RTS, TIM1_ETR, USB_DP) via SYSCFG_CFGR1. |
package.json+2−2
@@ -1,6 +1,6 @@ {   "slug": "stm32f042f4p6",-  "version": "0.1.0",+  "version": "0.1.1",   "type": "component",   "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",   "tags": [@@ -220,4 +220,4 @@       "footprint": "viewers/footprint.html"     }   }-}\ No newline at end of file+}
page.json+4−4
@@ -4,7 +4,7 @@   "slug": "stm32f042f4p6",   "title": "STM32F042F4P6",   "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",-  "version": "0.1.0",+  "version": "0.1.1",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -247,7 +247,7 @@     "viewers/symbol.html",     "viewers/footprint.html"   ],-  "visibility": {-    "public": true-  }+  "visibility": "public",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "org": "adom" }\ No newline at end of file
stm32f042f4p6.kicad_sym+3−3
@@ -9,7 +9,7 @@     )     (symbol "STM32F042F4P6_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)
stm32f042f4p6.lbr+19−8
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST&apos;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,16 +94,17 @@ </packages> <symbols> <symbol name="STM32F042F4P6">+  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST&apos;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">&gt;NAME</text>   <text x="0.0000" y="-17.7800" size="1.27" layer="96" align="center">&gt;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"/>@@ -115,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"/>@@ -124,14 +125,14 @@ </symbols> <devicesets> <deviceset name="STM32F042F4P6" prefix="U">-  <description></description>+  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST&apos;s open pin data</description>   <gates>     <gate name="G$1" symbol="STM32F042F4P6" 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"/>@@ -146,13 +147,23 @@         <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"/>         <connect gate="G$1" pin="PA5" pad="11"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="STM32F042F4P6" constant="no"/>+          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+          <attribute name="DATASHEET" value="https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588882166306914304" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/stm32f042f4p6" constant="no"/>+          <attribute name="MOUSER_PN" value="511-STM32F042F4P6" constant="no"/>+          <attribute name="DIGIKEY_PN" value="497-17343-ND" constant="no"/>+          <attribute name="LCSC_PN" value="C81002" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>