main
Ray Publish 0.1.0 1582144 1d ago
{
  "slug": "stm32f042c6u7",
  "version": "0.1.0",
  "type": "component",
  "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",
  "tags": [
    "component",
    "embedded processors & controllers",
    "stm32f042c6u7",
    "factory-2.0.0",
    "extractor-text"
  ],
  "dependencies": {},
  "hero": {
    "type": "image",
    "path": "docs/hero.png"
  },
  "files": [
    "page.json",
    "README.md",
    "stm32f042c6u7.kicad_sym",
    "stm32f042c6u7.kicad_mod",
    "stm32f042c6u7.glb",
    "stm32f042c6u7.step",
    "stm32f042c6u7.lbr",
    "docs/hero.png",
    "docs/stm32f042c6u7-datasheet.pdf",
    "viewers/symbol.html",
    "viewers/footprint.html",
    "stm32f042c6u7-hero.glb",
    "stm32f042c6u7-hero.overlay.json"
  ],
  "component": {
    "mpn": "STM32F042C6U7",
    "manufacturer": "STMicroelectronics",
    "package": "UFQFPN-48(7x7)",
    "pin_count": 49,
    "category": "Embedded Processors & Controllers",
    "subcategory": "Microcontrollers (MCU/MPU/SOC)",
    "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922429012127744",
    "parts": {
      "symbol": "stm32f042c6u7.kicad_sym",
      "footprint": "stm32f042c6u7.kicad_mod",
      "model_3d": "stm32f042c6u7-hero.glb",
      "model_3d_plain": "stm32f042c6u7.glb",
      "model_3d_step": "stm32f042c6u7-etched.step",
      "model_3d_step_plain": "stm32f042c6u7.step",
      "lbr": "stm32f042c6u7.lbr"
    },
    "distributor_links": {
      "lcsc": "C1341226",
      "digikey": "497-STM32F042C6U7-ND",
      "mouser": "511-STM32F042C6U7"
    },
    "distributor_check": {
      "checked_at": "2026-10-08T04:53:37Z",
      "source": "Component Ocean /api/assign-pns",
      "digikey": {
        "pn": "497-STM32F042C6U7-ND",
        "status": "found"
      },
      "mouser": {
        "pn": "511-STM32F042C6U7",
        "status": "found"
      }
    },
    "pins": [
      {
        "number": "1",
        "name": "VBAT",
        "type": "power_in",
        "description": "Backup power supply for the RTC, the 32 kHz oscillator and backup registers when VDD is not present, specified 1.65 to 3.6 V."
      },
      {
        "number": "2",
        "name": "PC13",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) supplied through the power switch, which sinks at most 3 mA so output use is limited to 2 MHz with 30 pF and it must not drive LEDs; also WKUP2, RTC_TAMP1, RTC_TS, RTC_OUT."
      },
      {
        "number": "3",
        "name": "PC14-OSC32_IN",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) supplied through the power switch with the same 3 mA limit as PC13; also OSC32_IN for the 32 kHz oscillator input."
      },
      {
        "number": "4",
        "name": "PC15-OSC32_OUT",
        "type": "bidirectional",
        "description": "Standard 3.3 V I/O (TC) supplied through the power switch with the same 3 mA limit as PC13; also OSC32_OUT for the 32 kHz oscillator output."
      },
      {
        "number": "5",
        "name": "PF0-OSC_IN",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions CRS_SYNC and I2C1_SDA; also OSC_IN for the high-speed crystal oscillator."
      },
      {
        "number": "6",
        "name": "PF1-OSC_OUT",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate function I2C1_SCL; also OSC_OUT for the high-speed crystal oscillator."
      },
      {
        "number": "7",
        "name": "NRST",
        "type": "bidirectional",
        "description": "Bidirectional reset pin with embedded weak pull-up; active-low device reset input or internal reset output."
      },
      {
        "number": "8",
        "name": "VSSA",
        "type": "power_in",
        "description": "Analog ground; a distinct VSSA pin exists only on 48-pin packages."
      },
      {
        "number": "9",
        "name": "VDDA",
        "type": "power_in",
        "description": "Analog power supply for ADC, reset blocks, RCs and PLL; must be greater than or equal to VDD and 2.4 V minimum when the ADC is used, up to 3.6 V."
      },
      {
        "number": "10",
        "name": "PA0",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1; also RTC_TAMP2, WKUP1, ADC_IN0."
      },
      {
        "number": "11",
        "name": "PA1",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT; also ADC_IN1."
      },
      {
        "number": "12",
        "name": "PA2",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions USART2_TX, TIM2_CH3, TSC_G1_IO3; also ADC_IN2, WKUP4."
      },
      {
        "number": "13",
        "name": "PA3",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions USART2_RX, TIM2_CH4, TSC_G1_IO4; also ADC_IN3."
      },
      {
        "number": "14",
        "name": "PA4",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions SPI1_NSS, I2S1_WS, USART2_CK, USB_NOE, TIM14_CH1, TSC_G2_IO1; also ADC_IN4."
      },
      {
        "number": "15",
        "name": "PA5",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2; also ADC_IN5."
      },
      {
        "number": "16",
        "name": "PA6",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT; also ADC_IN6."
      },
      {
        "number": "17",
        "name": "PA7",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT; also ADC_IN7."
      },
      {
        "number": "18",
        "name": "PB0",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions TIM3_CH3, TIM1_CH2N, TSC_G3_IO2, EVENTOUT; also ADC_IN8."
      },
      {
        "number": "19",
        "name": "PB1",
        "type": "bidirectional",
        "description": "3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3; also ADC_IN9."
      },
      {
        "number": "20",
        "name": "PB2",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate function TSC_G3_IO4."
      },
      {
        "number": "21",
        "name": "PB10",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_SCK, CEC, TSC_SYNC, TIM2_CH3, I2C1_SCL."
      },
      {
        "number": "22",
        "name": "PB11",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions TIM2_CH4, EVENTOUT, I2C1_SDA."
      },
      {
        "number": "23",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "24",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, 2.0 to 3.6 V for I/Os and the internal regulator."
      },
      {
        "number": "25",
        "name": "PB12",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions TIM1_BKIN, SPI2_NSS, EVENTOUT."
      },
      {
        "number": "26",
        "name": "PB13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_SCK, TIM1_CH1N, I2C1_SCL."
      },
      {
        "number": "27",
        "name": "PB14",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_MISO, TIM1_CH2N, I2C1_SDA."
      },
      {
        "number": "28",
        "name": "PB15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions SPI2_MOSI, TIM1_CH3N; also WKUP7, RTC_REFIN."
      },
      {
        "number": "29",
        "name": "PA8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied by VDDIO2; alternate functions USART1_CK, TIM1_CH1, EVENTOUT, MCO, CRS_SYNC."
      },
      {
        "number": "30",
        "name": "PA9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf) supplied by VDDIO2; alternate functions USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL; can be remapped with PA11/PA12 via SYSCFG_CFGR1."
      },
      {
        "number": "31",
        "name": "PA10",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf) supplied by VDDIO2; alternate functions USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA; can be remapped with PA11/PA12 via SYSCFG_CFGR1."
      },
      {
        "number": "32",
        "name": "PA11",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf) supplied by VDDIO2; alternate functions CAN_RX, USART1_CTS, TIM1_CH4, TSC_G4_IO3, EVENTOUT, I2C1_SCL; also USB_DM."
      },
      {
        "number": "33",
        "name": "PA12",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf) supplied by VDDIO2; alternate functions CAN_TX, USART1_RTS, TIM1_ETR, TSC_G4_IO4, EVENTOUT, I2C1_SDA; also USB_DP."
      },
      {
        "number": "34",
        "name": "PA13",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied by VDDIO2; after reset it is SWDIO with internal pull-up enabled; also IR_OUT, USB_NOE."
      },
      {
        "number": "35",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "36",
        "name": "VDDIO2",
        "type": "power_in",
        "description": "Digital power supply for the marked I/Os (PA8 to PA15), 1.65 to 3.6 V, independent of VDD but requires a valid VDD supply."
      },
      {
        "number": "37",
        "name": "PA14",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied by VDDIO2; after reset it is SWCLK with internal pull-down enabled; also USART2_TX."
      },
      {
        "number": "38",
        "name": "PA15",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) supplied by VDDIO2; alternate functions SPI1_NSS, I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT, USB_NOE."
      },
      {
        "number": "39",
        "name": "PB3",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions SPI1_SCK, I2S1_CK, TIM2_CH2, TSC_G5_IO1, EVENTOUT."
      },
      {
        "number": "40",
        "name": "PB4",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions SPI1_MISO, I2S1_MCK, TIM17_BKIN, TIM3_CH1, TSC_G5_IO2, EVENTOUT."
      },
      {
        "number": "41",
        "name": "PB5",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT); alternate functions SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN, TIM3_CH2; also WKUP6."
      },
      {
        "number": "42",
        "name": "PB6",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SCL, USART1_TX, TIM16_CH1N, TSC_G5_IO3."
      },
      {
        "number": "43",
        "name": "PB7",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SDA, USART1_RX, TIM17_CH1N, TSC_G5_IO4."
      },
      {
        "number": "44",
        "name": "PF11-BOOT0",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O (FT) used as the boot memory selection pin BOOT0 at startup."
      },
      {
        "number": "45",
        "name": "PB8",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX."
      },
      {
        "number": "46",
        "name": "PB9",
        "type": "bidirectional",
        "description": "5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_NSS, I2C1_SDA, IR_OUT, TIM17_CH1, EVENTOUT, CAN_TX."
      },
      {
        "number": "47",
        "name": "VSS",
        "type": "power_in",
        "description": "Ground pin."
      },
      {
        "number": "48",
        "name": "VDD",
        "type": "power_in",
        "description": "Digital power supply, 2.0 to 3.6 V for I/Os and the internal regulator."
      },
      {
        "number": "49",
        "name": "EP",
        "type": "passive",
        "description": "Exposed pad (from the footprint; not named in the datasheet pin table)."
      }
    ],
    "provenance": {
      "extractor": "extract_pins 0.3",
      "factory_chain": {
        "factory": "2.0.0",
        "extractor": "extract_pins 0.3",
        "primary_model": "claude-haiku-5-5",
        "primary_mode": "text",
        "consensus_model": "claude-sonnet-5-5",
        "consensus": "agreed",
        "guards": "pin_guards 0.1: passed",
        "guard_notes": [
          "extractor flagged: The UFQFPN48 package has an exposed die pad on its underside. Table 13 does not give it a pin number; The UFQFPN48 pinout figure text is garbled in extraction, so the pin-to-name mapping was taken from ; Pin 44 is PF11-BOOT0 on the 48-pin packages per Table 13, while PB8-BOOT0 is a different option on t",
          "exposed pad 49 added from the footprint"
        ],
        "pages_sent": 57,
        "cost_usd": 0.2515,
        "at": "2026-10-08T04:53:18"
      },
      "datasheet": {
        "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588922429012127744",
        "pages": 117,
        "sha256": "7af7ec8f5a596b23",
        "source_tier": "lcsc"
      },
      "cad": "KiCad official (CC-BY-SA 4.0)",
      "pins": {
        "total": 49,
        "described": 49,
        "cites_pages": true,
        "refuses_to_fabricate": true
      }
    },
    "viewers": {
      "symbol": "viewers/symbol.html",
      "footprint": "viewers/footprint.html"
    },
    "models_3d": [
      {
        "file": "stm32f042c6u7.step",
        "role": "plain",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "f2b38b0b4bf967c77e683e8d4599608b9f0503055ec535b93c4ebb5d0163e916",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      },
      {
        "file": "stm32f042c6u7-etched.step",
        "role": "eda",
        "up": "Z",
        "units": "mm",
        "origin": "footprint origin = pad-pattern centre",
        "seat": "z = 0",
        "extents_mm": [
          7.0,
          7.0,
          0.77
        ],
        "zmin_mm": 0.0,
        "centre_offset_mm": 0.0,
        "footprint_binding": "identity",
        "sha256": "57fffb5efd50d9dd2c8f29c159f82c93f41e08d1ca248142be39a605b1af5e08",
        "checked": "2026-10-08",
        "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"
      }
    ]
  }
}