← Commit history

Publish 0.2.2

Ray ·aa0c494347 · ·parent 52de153
4 files changed +806−10
package.json+272−3
@@ -1,6 +1,6 @@ {   "slug": "stm32f042f6p6",-  "version": "0.2.1",+  "version": "0.2.2",   "type": "component",   "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Datasheet-verified pinout, KiCad symbol/footprint/3D.",   "tags": [@@ -20,11 +20,280 @@     "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",-    "pads.json"-  ]+    "pads.json",+    "stm32f042f6p6-hero.glb",+    "stm32f042f6p6-hero.overlay.json"+  ],+  "component": {+    "mpn": "STM32F042F6P6",+    "manufacturer": "STMicroelectronics",+    "package": "TSSOP-20",+    "pin_count": 20,+    "category": "MCU",+    "subcategory": "Microcontrollers (MCU/MPU/SOC)",+    "datasheet": "https://www.st.com/resource/en/datasheet/stm32f042f6p6.pdf",+    "parts": {+      "symbol": "stm32f042f6p6.kicad_sym",+      "footprint": "stm32f042f6p6.kicad_mod",+      "model_3d": "stm32f042f6p6-hero.glb",+      "model_3d_plain": "stm32f042f6p6.glb",+      "model_3d_step": "stm32f042f6p6-etched.step",+      "model_3d_step_plain": "stm32f042f6p6.step",+      "lbr": "stm32f042f6p6.lbr"+    },+    "distributor_links": {+      "digikey": "497-17344-ND",+      "lcsc": "C81000"+    },+    "pins": [+      {+        "number": "1",+        "name": "PB8",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "2",+        "name": "PF0-OSC_IN",+        "type": "bidirectional",+        "description": "5V-tolerant, FM+ capable I/O. Additional function: HSE crystal oscillator input (OSC_IN). Alternate functions: CRS_SYNC, I2C1_SDA."+      },+      {+        "number": "3",+        "name": "PF1-OSC_OUT",+        "type": "bidirectional",+        "description": "5V-tolerant, FM+ capable I/O. Additional function: HSE crystal oscillator output (OSC_OUT). Alternate function: I2C1_SCL."+      },+      {+        "number": "4",+        "name": "NRST",+        "type": "input",+        "description": "Device reset input / internal reset output (active low). Bidirectional pin with embedded weak pull-up resistor (RST I/O structure)."+      },+      {+        "number": "5",+        "name": "VDDA",+        "type": "power_in",+        "description": "Analog power supply, 2.0 - 3.6 V. Powers the ADC, reset block, PLL and internal regulator analog sections."+      },+      {+        "number": "6",+        "name": "PA0",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "7",+        "name": "PA1",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN1. Alternate functions: EVENTOUT, USART2_RTS, TIM2_CH2, TSC_G1_IO2."+      },+      {+        "number": "8",+        "name": "PA2",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional functions: ADC_IN2, WKUP4. Alternate functions: USART2_TX, TIM2_CH3, TSC_G1_IO3."+      },+      {+        "number": "9",+        "name": "PA3",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN3. Alternate functions: USART2_RX, TIM2_CH4, TSC_G1_IO4."+      },+      {+        "number": "10",+        "name": "PA4",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN4. Alternate functions: SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK, USB_NOE."+      },+      {+        "number": "11",+        "name": "PA5",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN5. Alternate functions: SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2."+      },+      {+        "number": "12",+        "name": "PA6",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "13",+        "name": "PA7",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "14",+        "name": "PB1",+        "type": "bidirectional",+        "description": "TTa I/O (3.3 V-tolerant, ADC-connected). Additional function: ADC_IN9. Alternate functions: TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3."+      },+      {+        "number": "15",+        "name": "VSSA",+        "type": "power_in",+        "description": ""+      },+      {+        "number": "16",+        "name": "VDD",+        "type": "power_in",+        "description": "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."+      },+      {+        "number": "17",+        "name": "PA9",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "18",+        "name": "PA10",+        "type": "bidirectional",+        "description": "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."+      },+      {+        "number": "19",+        "name": "PA13",+        "type": "bidirectional",+        "description": "FT I/O (5V-tolerant), powered by VDDIO2. After reset configured as SWDIO with internal pull-up. Alternate functions: SWDIO, IR_OUT, USB_NOE."+      },+      {+        "number": "20",+        "name": "PA14",+        "type": "bidirectional",+        "description": "FT I/O (5V-tolerant), powered by VDDIO2. After reset configured as SWCLK with internal pull-down. Alternate functions: SWCLK, USART2_TX."+      }+    ],+    "provenance": {+      "extractor": "ds2sf",+      "datasheet": {+        "url": "https://www.st.com/resource/en/datasheet/stm32f042f6p6.pdf",+        "pages": 118,+        "sha256": "4c7b3ccc0428dbff",+        "source_tier": "mfr"+      },+      "cad": "KiCad official (CC-BY-SA 4.0)",+      "pins": {+        "total": 20,+        "described": 20,+        "cites_pages": true,+        "refuses_to_fabricate": true,+        "checked_against": "STMicroelectronics STM32_open_pin_data (STM32F042F6Px.xml, TSSOP20)"+      },+      "correction": {+        "at": "2026-10-01",+        "what": "1 of 20 pins corrected",+        "how": "pinout replaced from STMicroelectronics STM32_open_pin_data (STM32F042F6Px.xml, TSSOP20); the previous pinout came from an earlier extraction",+        "symbol": "regenerated from the corrected pinout"+      }+    },+    "viewers": {+      "symbol": "viewers/symbol.html",+      "footprint": "viewers/footprint.html"+    },+    "pin1": {+      "pad": "1",+      "at": [+        -2.8625,+        -2.925+      ],+      "corner": "top-left",+      "source": "silk-marker",+      "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+      "mark": "drawn"+    },+    "mcu": {+      "part_number": "STM32F042F6P6",+      "series": "STM32F0",+      "subfamily": "STM32F042",+      "core": "Arm Cortex-M0",+      "frequency_mhz": 48,+      "flash_kb": 32,+      "ram_kb": 6,+      "io_count": 16,+      "package": "TSSOP-20",+      "marketing_status": "Active",+      "fpu": null,+      "supply_v_min": 2,+      "supply_v_max": 3.6,+      "temp_min_c": -40,+      "temp_max_c": 85,+      "adc_count": 1,+      "timers": 5,+      "in_distributor_stock": true,+      "product_folder": "/en/microcontrollers-microprocessors/stm32f042f6.html",+      "source": "st.com portfolio grid CL1734"+    },+    "models_3d": [+      {+        "file": "stm32f042f6p6.step",+        "role": "plain",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          6.4,+          6.5,+          1.2+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "97339947f3a7196470ec2f1d9f9b92bb2fc2ab66ad53be0cf105192585ef3c9a",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      },+      {+        "file": "stm32f042f6p6-etched.step",+        "role": "eda",+        "up": "Z",+        "units": "mm",+        "origin": "footprint origin = pad-pattern centre",+        "seat": "z = 0",+        "extents_mm": [+          6.4,+          6.5,+          1.2+        ],+        "zmin_mm": 0,+        "centre_offset_mm": 0,+        "footprint_binding": "identity",+        "sha256": "c79c19e605735f28a260e4a4a7ddf02ff6819fe5830dc0a407a6eb9d93cd2128",+        "checked": "2026-10-07",+        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+      }+    ]+  },+  "title": "STM32F042F6P6",+  "brief": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+  "metadata": {+    "specs": {+      "Core": "Arm Cortex-M0",+      "Max clock": "48 MHz",+      "Flash": "32 kB",+      "RAM": "6 kB",+      "I/O pins": 16,+      "ADC units": 1,+      "ST status": "Active",+      "Manufacturer": "STMicroelectronics",+      "Package": "TSSOP-20",+      "Category": "MCU",+      "Pins": "20"+    }+  },+  "discovery_triggers": [+    "stm32f042f6p6"+  ],+  "discovery_pitch": "STM32F042F6P6 (STMicroelectronics) component page with datasheet-verified CAD.",+  "visibility": "public" }
page.json+10−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.1",+  "version": "0.2.2",   "license": "CC-BY-SA-4.0",   "tags": [     "component",@@ -301,11 +301,12 @@     "docs/hero.png",     "docs/stm32f042f6p6-datasheet.pdf",     "viewers/symbol.html",-    "viewers/footprint.html"+    "viewers/footprint.html",+    "pads.json",+    "stm32f042f6p6-hero.glb",+    "stm32f042f6p6-hero.overlay.json"   ],-  "visibility": {-    "public": true-  },+  "visibility": "public",   "variants": [     {       "mpn": "STM32F042F6P6",@@ -372,5 +373,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"+}\ No newline at end of file
stm32f042f6p6-hero.glbadded
⋯ 1 unchanged line ⋯
stm32f042f6p6-hero.overlay.jsonadded+524
@@ -0,0 +1,524 @@+{+  "spec": "adom-hero 1.4",+  "mpn": "STM32F042F6P6",+  "kind": "component + footprint reference art",+  "board_use": false,+  "plane_z_mm": -0.02,+  "units": "metre",+  "upAxis": "Z",+  "layers": {+    "pad_outlines": {+      "material": "Footprint pads - teal dashed outlines - 50 percent opacity",+      "rgba": [+        0.0,+        0.902,+        0.863,+        0.5+      ],+      "pads": 20,+      "span_mm": 7.2,+      "dash_mm": 0.18,+      "gap_mm": 0.108,+      "pad_stroke_mm": 0.0432+    },+    "silkscreen": {+      "material": "Silkscreen reference lines - 30 percent opacity",+      "rgba": [+        0.92,+        0.96,+        1.0,+        0.3+      ],+      "footprint_items": 3,+      "pin1": {+        "source": "footprint silkscreen",+        "pad": "1"+      }+    },+    "signal_names": {+      "material": "Signal names - 50 percent opacity",+      "rgba": [+        0.92,+        0.96,+        1.0,+        0.5+      ],+      "font": "DejaVu Sans Mono",+      "labels": 20,+      "sides": "top + mirrored underside (single-sided)",+      "fallback_to_pad_number": 0+    }+  },+  "align": {+    "ok": true,+    "centre_offset_mm": 0.0,+    "tolerance_mm": 0.576,+    "orientation_flipped": false,+    "contacts_bbox_mm": [+      -3.2,+      3.2,+      -3.055,+      3.055+    ],+    "pads_bbox_mm": [+      -3.6,+      3.6,+      -3.125,+      3.125+    ],+    "seating_z_mm": 0.0+  },+  "sources": {+    "glb": "stm32f042f6p6-etched.glb",+    "glb_sha256": "fefd74180c3f4c08c7cc6d3c8a5ece3003fcc2d70d509982b8ba7bb6c82a2310",+    "footprint": "stm32f042f6p6.kicad_mod",+    "footprint_sha256": "b7ca3a31dd45c1225609f9b94e8ba1534bd16edd193628c8d67a8ea669b26b72",+    "pins": "page.json component.pins",+    "pins_sha256": "818d4f276383add659c10f6f33afac64f1d07ec4ce544badbe673cb10f83f970"+  },+  "generator": "adom-wiki 1.8.31 (component_hero)",+  "labels": [+    {+      "pad": "1",+      "text": "PB8",+      "x": -4.29,+      "y": -2.925,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "2",+      "text": "PF0-OSC_IN",+      "x": -3.7,+      "y": -2.275,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "3",+      "text": "PF1-OSC_OUT",+      "x": -3.7,+      "y": -1.625,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "4",+      "text": "NRST",+      "x": -3.7,+      "y": -0.975,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "5",+      "text": "VDDA",+      "x": -3.7,+      "y": -0.325,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "6",+      "text": "PA0",+      "x": -3.7,+      "y": 0.325,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "7",+      "text": "PA1",+      "x": -3.7,+      "y": 0.975,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "8",+      "text": "PA2",+      "x": -3.7,+      "y": 1.625,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "9",+      "text": "PA3",+      "x": -3.7,+      "y": 2.275,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "10",+      "text": "PA4",+      "x": -3.7,+      "y": 2.925,+      "align": "right",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "11",+      "text": "PA5",+      "x": 3.7,+      "y": 2.925,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "12",+      "text": "PA6",+      "x": 3.7,+      "y": 2.275,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "13",+      "text": "PA7",+      "x": 3.7,+      "y": 1.625,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "14",+      "text": "PB1",+      "x": 3.7,+      "y": 0.975,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "15",+      "text": "VSSA",+      "x": 3.7,+      "y": 0.325,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "16",+      "text": "VDD",+      "x": 3.7,+      "y": -0.325,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "17",+      "text": "PA9",+      "x": 3.7,+      "y": -0.975,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "18",+      "text": "PA10",+      "x": 3.7,+      "y": -1.625,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "19",+      "text": "PA13",+      "x": 3.7,+      "y": -2.275,+      "align": "left",+      "vertical": false,+      "h": 0.325+    },+    {+      "pad": "20",+      "text": "PA14",+      "x": 3.7,+      "y": -2.925,+      "align": "left",+      "vertical": false,+      "h": 0.325+    }+  ],+  "pads": [+    {+      "number": "1",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        -2.925+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "2",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        -2.275+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "3",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        -1.625+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "4",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        -0.975+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "5",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        -0.325+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "6",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        0.325+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "7",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        0.975+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "8",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        1.625+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "9",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        2.275+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "10",+      "shape": "roundrect",+      "center_mm": [+        -2.8625,+        2.925+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "11",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        2.925+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "12",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        2.275+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "13",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        1.625+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "14",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        0.975+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "15",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        0.325+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "16",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        -0.325+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "17",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        -0.975+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "18",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        -1.625+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "19",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        -2.275+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    },+    {+      "number": "20",+      "shape": "roundrect",+      "center_mm": [+        2.8625,+        -2.925+      ],+      "size_mm": [+        1.475,+        0.4+      ],+      "rot": 0.0+    }+  ]+}