component
STM32F042C6U7
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), UFQFPN-48(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
← Commit history
README.mdadded+85@@ -0,0 +1,85 @@+# STM32F042C6U7++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · UFQFPN-48(7x7)++STM32F042C6U7 from STMicroelectronics, in a UFQFPN-48(7x7). Pinout and pin descriptions extracted from the manufacturer datasheet (extract_pins, cross-checked by a second model, then checked against ST open pin data); symbol, footprint, and 3D from KiCad-official CAD.++## Pinout++| Pin | Name | Type | Function |+|---|---|---|---|+| 1 | VBAT | power_in | 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. |+| 2 | PC13 | bidirectional | 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. |+| 3 | PC14-OSC32_IN | bidirectional | 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. |+| 4 | PC15-OSC32_OUT | bidirectional | 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. |+| 5 | PF0-OSC_IN | bidirectional | 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. |+| 6 | PF1-OSC_OUT | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate function I2C1_SCL; also OSC_OUT for the high-speed crystal oscillator. |+| 7 | NRST | bidirectional | Bidirectional reset pin with embedded weak pull-up; active-low device reset input or internal reset output. |+| 8 | VSSA | power_in | Analog ground; a distinct VSSA pin exists only on 48-pin packages. |+| 9 | VDDA | power_in | 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. |+| 10 | PA0 | bidirectional | 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. |+| 11 | PA1 | bidirectional | 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. |+| 12 | PA2 | bidirectional | 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. |+| 13 | PA3 | bidirectional | 3.3 V-tolerant I/O directly connected to the ADC (TTa); alternate functions USART2_RX, TIM2_CH4, TSC_G1_IO4; also ADC_IN3. |+| 14 | PA4 | bidirectional | 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. |+| 15 | PA5 | bidirectional | 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. |+| 16 | PA6 | bidirectional | 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. |+| 17 | PA7 | bidirectional | 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. |+| 18 | PB0 | bidirectional | 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. |+| 19 | PB1 | bidirectional | 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. |+| 20 | PB2 | bidirectional | 5 V-tolerant I/O (FT); alternate function TSC_G3_IO4. |+| 21 | PB10 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_SCK, CEC, TSC_SYNC, TIM2_CH3, I2C1_SCL. |+| 22 | PB11 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions TIM2_CH4, EVENTOUT, I2C1_SDA. |+| 23 | VSS | power_in | Ground pin. |+| 24 | VDD | power_in | Digital power supply, 2.0 to 3.6 V for I/Os and the internal regulator. |+| 25 | PB12 | bidirectional | 5 V-tolerant I/O (FT); alternate functions TIM1_BKIN, SPI2_NSS, EVENTOUT. |+| 26 | PB13 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_SCK, TIM1_CH1N, I2C1_SCL. |+| 27 | PB14 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_MISO, TIM1_CH2N, I2C1_SDA. |+| 28 | PB15 | bidirectional | 5 V-tolerant I/O (FT); alternate functions SPI2_MOSI, TIM1_CH3N; also WKUP7, RTC_REFIN. |+| 29 | PA8 | bidirectional | 5 V-tolerant I/O (FT) supplied by VDDIO2; alternate functions USART1_CK, TIM1_CH1, EVENTOUT, MCO, CRS_SYNC. |+| 30 | PA9 | bidirectional | 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. |+| 31 | PA10 | bidirectional | 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. |+| 32 | PA11 | bidirectional | 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. |+| 33 | PA12 | bidirectional | 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. |+| 34 | PA13 | bidirectional | 5 V-tolerant I/O (FT) supplied by VDDIO2; after reset it is SWDIO with internal pull-up enabled; also IR_OUT, USB_NOE. |+| 35 | VSS | power_in | Ground pin. |+| 36 | VDDIO2 | power_in | 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. |+| 37 | PA14 | bidirectional | 5 V-tolerant I/O (FT) supplied by VDDIO2; after reset it is SWCLK with internal pull-down enabled; also USART2_TX. |+| 38 | PA15 | bidirectional | 5 V-tolerant I/O (FT) supplied by VDDIO2; alternate functions SPI1_NSS, I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT, USB_NOE. |+| 39 | PB3 | bidirectional | 5 V-tolerant I/O (FT); alternate functions SPI1_SCK, I2S1_CK, TIM2_CH2, TSC_G5_IO1, EVENTOUT. |+| 40 | PB4 | bidirectional | 5 V-tolerant I/O (FT); alternate functions SPI1_MISO, I2S1_MCK, TIM17_BKIN, TIM3_CH1, TSC_G5_IO2, EVENTOUT. |+| 41 | PB5 | bidirectional | 5 V-tolerant I/O (FT); alternate functions SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN, TIM3_CH2; also WKUP6. |+| 42 | PB6 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SCL, USART1_TX, TIM16_CH1N, TSC_G5_IO3. |+| 43 | PB7 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SDA, USART1_RX, TIM17_CH1N, TSC_G5_IO4. |+| 44 | PF11-BOOT0 | bidirectional | 5 V-tolerant I/O (FT) used as the boot memory selection pin BOOT0 at startup. |+| 45 | PB8 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. |+| 46 | PB9 | bidirectional | 5 V-tolerant I/O with FM+ capability (FTf); alternate functions SPI2_NSS, I2C1_SDA, IR_OUT, TIM17_CH1, EVENTOUT, CAN_TX. |+| 47 | VSS | power_in | Ground pin. |+| 48 | VDD | power_in | Digital power supply, 2.0 to 3.6 V for I/Os and the internal regulator. |+| 49 | EP | passive | Exposed pad (from the footprint; not named in the datasheet pin table). |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | UFQFPN-48(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 49 |++## CAD (KiCad official)++- Symbol: `STM32F042C6U7`+- Footprint: `Package_DFN_QFN:QFN-48-1EP_7x7mm_P0.5mm_EP5.15x5.15mm`+- 3D model: UFQFPN-48(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32f042c6u7-etched.step` / `stm32f042c6u7-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32f042c6u7.step` / `stm32f042c6u7.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/8588922429012127744) (117 pp, sha256 `7af7ec8f5a596b23`, retrieved 2026-10-08, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-5-5` (text), consensus `claude-sonnet-5-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/stm32f042c6u7-datasheet.pdf)
page.jsonadded+446@@ -0,0 +1,446 @@+{+ "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,+ 7,+ 0.77+ ],+ "zmin_mm": 0,+ "centre_offset_mm": 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,+ 7,+ 0.77+ ],+ "zmin_mm": 0,+ "centre_offset_mm": 0,+ "footprint_binding": "identity",+ "sha256": "57fffb5efd50d9dd2c8f29c159f82c93f41e08d1ca248142be39a605b1af5e08",+ "checked": "2026-10-08",+ "checked_by": "factory/step_pose.py (Z-up, origin, seat, binding)"+ }+ ]+ },+ "visibility": "public",+ "org": "adom",+ "author": {+ "name": "Ray",+ "email": "[email protected]"+ }+}