← Commit history

Initial commit: component/stm32f042f6p6tr

Ray ·93cd53a8d3 ·
2 files changed +269
README.mdadded+56
@@ -0,0 +1,56 @@+# STM32F042F6P6TR++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · TSSOP-20(4.4x6.5)++STM32F042F6P6TR from STMicroelectronics, in a TSSOP-20(4.4x6.5). Pinout and pin descriptions extracted from the manufacturer datasheet by ds2sf; symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | PB8-BOOT0 | bidirectional | General-purpose input/output port B pin 8 supporting boot memory selection; configurable for I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, or CAN_RX alternate functions. |+| 2 | PF0-OSC_IN | bidirectional | General-purpose input/output port F pin 0 for high-speed oscillator input; supports CRS_SYNC, I2C1_SDA, and OSC_IN functions. |+| 3 | PF1-OSC_OUT | bidirectional | General-purpose input/output port F pin 1 for high-speed oscillator output; supports I2C1_SCL and OSC_OUT functions. |+| 4 | NRST | bidirectional | Device reset input/output (active low) with embedded weak pull-up resistor and internal reset output generation. |+| 5 | VDDA | power_in | Analog power supply operating range 2.4 to 3.6 V (when ADC is used) or VDD to 3.6 V; must be established before or equal to VDD. |+| 6 | PA0 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 0; supports USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1 alternate functions and ADC_IN0, WKUP1, RTC_TAMP2. |+| 7 | PA1 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 1; supports USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT alternate functions and ADC_IN1. |+| 8 | PA2 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 2; supports USART2_TX, TIM2_CH3, TSC_G1_IO3 alternate functions and ADC_IN2, WKUP4. |+| 9 | PA3 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 3; supports USART2_RX, TIM2_CH4, TSC_G1_IO4 alternate functions and ADC_IN3. |+| 10 | PA4 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 4; supports SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK alternate functions and USB_NOE, ADC_IN4. |+| 11 | PA5 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 5; supports SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2 alternate functions and ADC_IN5. |+| 12 | PA6 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 6; supports SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT alternate functions and ADC_IN6. |+| 13 | PA7 | bidirectional | 3.3 V tolerant general-purpose input/output port A pin 7; supports SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT alternate functions and ADC_IN7. |+| 14 | PB1 | bidirectional | 3.3 V tolerant general-purpose input/output port B pin 1; supports TIM14_CH1, TIM3_CH4, TIM1_CH3N, TSC_G3_IO3 alternate functions and ADC_IN9. |+| 15 | VSSA | power_in | Analog ground providing return path for analog power supply and ADC reference circuits. |+| 16 | VDDIO2 | power_in | Independent digital power supply for designated I/Os, operating range 1.65 to 3.6 V; must be supplied when VDD is present and is monitored against VREFINT. |+| 17 | PA9 | bidirectional | 5 V tolerant general-purpose input/output port A pin 9 (VDDIO2-supplied); supports USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL alternate functions. |+| 18 | PA10 | bidirectional | 5 V tolerant general-purpose input/output port A pin 10 (VDDIO2-supplied); supports USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA alternate functions. |+| 19 | PA13 | bidirectional | 5 V tolerant general-purpose input/output port A pin 13 (VDDIO2-supplied) configured as SWDIO on reset; supports IR_OUT, USB_NOE alternate functions. |+| 20 | PA14 | bidirectional | 5 V tolerant general-purpose input/output port A pin 14 (VDDIO2-supplied) configured as SWCLK on reset; supports USART2_TX alternate function. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | TSSOP-20(4.4x6.5) |+| Category | Embedded Processors & Controllers |+| Pins | 20 |++## CAD (KiCad official)++- Symbol: `STM32F042F6P6TR`+- Footprint: `Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm`+- 3D model: TSSOP-20(4.4x6.5) (KiCad packages3D, STEP)+- 3D model files: `stm32f042f6p6tr-etched.step` / `stm32f042f6p6tr-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32f042f6p6tr.step` / `stm32f042f6p6tr.glb` are the bare package body.++## Provenance++Data extracted from the manufacturer datasheet, not a distributor listing:++- **Datasheet:** [STMicroelectronics datasheet](https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590902529650089984) (117 pp, sha256 `7af7ec8f5a596b23`, retrieved 2026-09-23, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.2`, primary `claude-haiku-4-5-20251001` (text), consensus `claude-sonnet-5` (agreed), guards: pin_guards 0.1: passed. Pins are checked against the footprint pad set and their cited datasheet pages before publish.+- **CAD:** KiCad official libraries (CC-BY-SA 4.0).++[Datasheet PDF](docs/stm32f042f6p6tr-datasheet.pdf)
page.jsonadded+213
@@ -0,0 +1,213 @@+{+  "slug": "stm32f042f6p6tr",+  "version": "0.1.0",+  "type": "component",+  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20(4.4x6.5). Datasheet-verified pinout, KiCad symbol/footprint/3D.",+  "tags": [+    "component",+    "embedded processors & controllers",+    "stm32f042f6p6tr",+    "factory-2.0.0",+    "extractor-text"+  ],+  "dependencies": {},+  "hero": {+    "type": "image",+    "path": "docs/hero.png"+  },+  "files": [+    "page.json",+    "README.md",+    "stm32f042f6p6tr.kicad_sym",+    "stm32f042f6p6tr.kicad_mod",+    "stm32f042f6p6tr.glb",+    "stm32f042f6p6tr.step",+    "stm32f042f6p6tr.lbr",+    "docs/hero.png",+    "docs/stm32f042f6p6tr-datasheet.pdf",+    "viewers/symbol.html",+    "viewers/footprint.html"+  ],+  "component": {+    "mpn": "STM32F042F6P6TR",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20(4.4x6.5)",+    "pin_count": 20,+    "category": "Embedded Processors & Controllers",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590902529650089984",+    "parts": {+      "symbol": "stm32f042f6p6tr.kicad_sym",+      "footprint": "stm32f042f6p6tr.kicad_mod",+      "model_3d": "stm32f042f6p6tr-etched.glb",+      "model_3d_plain": "stm32f042f6p6tr.glb",+      "model_3d_step": "stm32f042f6p6tr-etched.step",+      "model_3d_step_plain": "stm32f042f6p6tr.step",+      "lbr": "stm32f042f6p6tr.lbr"+    },+    "distributor_links": {+      "lcsc": "C2969989"+    },+    "pins": [+      {+        "number": "1",+        "name": "PB8-BOOT0",+        "type": "bidirectional",+        "description": "General-purpose input/output port B pin 8 supporting boot memory selection; configurable for I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, or CAN_RX alternate functions."+      },+      {+        "number": "2",+        "name": "PF0-OSC_IN",+        "type": "bidirectional",+        "description": "General-purpose input/output port F pin 0 for high-speed oscillator input; supports CRS_SYNC, I2C1_SDA, and OSC_IN functions."+      },+      {+        "number": "3",+        "name": "PF1-OSC_OUT",+        "type": "bidirectional",+        "description": "General-purpose input/output port F pin 1 for high-speed oscillator output; supports I2C1_SCL and OSC_OUT functions."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "bidirectional",+        "description": "Device reset input/output (active low) with embedded weak pull-up resistor and internal reset output generation."+      },+      {+        "number": "5",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply operating range 2.4 to 3.6 V (when ADC is used) or VDD to 3.6 V; must be established before or equal to VDD."+      },+      {+        "number": "6",+        "name": "PA0",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 0; supports USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1 alternate functions and ADC_IN0, WKUP1, RTC_TAMP2."+      },+      {+        "number": "7",+        "name": "PA1",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 1; supports USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT alternate functions and ADC_IN1."+      },+      {+        "number": "8",+        "name": "PA2",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 2; supports USART2_TX, TIM2_CH3, TSC_G1_IO3 alternate functions and ADC_IN2, WKUP4."+      },+      {+        "number": "9",+        "name": "PA3",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 3; supports USART2_RX, TIM2_CH4, TSC_G1_IO4 alternate functions and ADC_IN3."+      },+      {+        "number": "10",+        "name": "PA4",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 4; supports SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK alternate functions and USB_NOE, ADC_IN4."+      },+      {+        "number": "11",+        "name": "PA5",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 5; supports SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2 alternate functions and ADC_IN5."+      },+      {+        "number": "12",+        "name": "PA6",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 6; supports SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT alternate functions and ADC_IN6."+      },+      {+        "number": "13",+        "name": "PA7",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port A pin 7; supports SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT alternate functions and ADC_IN7."+      },+      {+        "number": "14",+        "name": "PB1",+        "type": "bidirectional",+        "description": "3.3 V tolerant general-purpose input/output port B pin 1; supports TIM14_CH1, TIM3_CH4, TIM1_CH3N, TSC_G3_IO3 alternate functions and ADC_IN9."+      },+      {+        "number": "15",+        "name": "VSSA",+        "type": "power_in",+        "description": "Analog ground providing return path for analog power supply and ADC reference circuits."+      },+      {+        "number": "16",+        "name": "VDDIO2",+        "type": "power_in",+        "description": "Independent digital power supply for designated I/Os, operating range 1.65 to 3.6 V; must be supplied when VDD is present and is monitored against VREFINT."+      },+      {+        "number": "17",+        "name": "PA9",+        "type": "bidirectional",+        "description": "5 V tolerant general-purpose input/output port A pin 9 (VDDIO2-supplied); supports USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL alternate functions."+      },+      {+        "number": "18",+        "name": "PA10",+        "type": "bidirectional",+        "description": "5 V tolerant general-purpose input/output port A pin 10 (VDDIO2-supplied); supports USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA alternate functions."+      },+      {+        "number": "19",+        "name": "PA13",+        "type": "bidirectional",+        "description": "5 V tolerant general-purpose input/output port A pin 13 (VDDIO2-supplied) configured as SWDIO on reset; supports IR_OUT, USB_NOE alternate functions."+      },+      {+        "number": "20",+        "name": "PA14",+        "type": "bidirectional",+        "description": "5 V tolerant general-purpose input/output port A pin 14 (VDDIO2-supplied) configured as SWCLK on reset; supports USART2_TX alternate function."+      }+    ],+    "provenance": {+      "extractor": "extract_pins 0.2",+      "factory_chain": {+        "factory": "2.0.0",+        "extractor": "extract_pins 0.2",+        "primary_model": "claude-haiku-4-5-20251001",+        "primary_mode": "text",+        "consensus_model": "claude-sonnet-5",+        "consensus": "agreed",+        "guards": "pin_guards 0.1: passed",+        "guard_notes": [],+        "pages_sent": 117,+        "cost_usd": 1.3796,+        "at": "2026-09-23T01:20:14"+      },+      "datasheet": {+        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8590902529650089984",+        "pages": 117,+        "sha256": "7af7ec8f5a596b23",+        "source_tier": "lcsc"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 20,+        "described": 20,+        "cites_pages": true,+        "refuses_to_fabricate": true+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    }+  },+  "visibility": "public",+  "org": "adom",+  "author": {+    "name": "Ray",+    "email": "[email protected]"+  }+}\ No newline at end of file