component
STM32F042K6T7
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.
← Commit history
README.mdadded+68@@ -0,0 +1,68 @@+# STM32F042K6T7++**STMicroelectronics** · Microcontrollers (MCU/MPU/SOC) · LQFP-32(7x7)++STM32F042K6T7 from STMicroelectronics, in a LQFP-32(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 | VDD | power_in | Digital power supply, VDD = VDDIO1 = 2.0 to 3.6 V, for I/Os and the internal regulator. |+| 2 | PF0-OSC_IN | bidirectional | 5 V-tolerant FM+ capable I/O (FTf) that is the HSE oscillator input after reset; alternate functions CRS_SYNC and I2C1_SDA. |+| 3 | PF1-OSC_OUT | bidirectional | 5 V-tolerant FM+ capable I/O (FTf) that is the HSE oscillator output after reset; alternate function I2C1_SCL. |+| 4 | NRST | bidirectional | Device reset input / internal reset output (active low), bidirectional with embedded weak pull-up resistor. |+| 5 | VDDA | power_in | Analog power supply, from VDD to 3.6 V (minimum 2.4 V when the ADC is used), must be established first and be at least VDD. |+| 6 | PA0 | bidirectional | TTa I/O with USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1; additional functions RTC_TAMP2, WKUP1, ADC_IN0. |+| 7 | PA1 | bidirectional | TTa I/O with USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT; additional function ADC_IN1. |+| 8 | PA2 | bidirectional | TTa I/O with USART2_TX, TIM2_CH3, TSC_G1_IO3; additional functions ADC_IN2, WKUP4. |+| 9 | PA3 | bidirectional | TTa I/O with USART2_RX, TIM2_CH4, TSC_G1_IO4; additional function ADC_IN3. |+| 10 | PA4 | bidirectional | TTa I/O with SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK, USB_NOE; additional function ADC_IN4. |+| 11 | PA5 | bidirectional | TTa I/O with SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2; additional function ADC_IN5. |+| 12 | PA6 | bidirectional | TTa I/O with SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT; additional function ADC_IN6. |+| 13 | PA7 | bidirectional | TTa I/O with SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT; additional function ADC_IN7. |+| 14 | PB0 | bidirectional | TTa I/O with TIM3_CH3, TIM1_CH2N, TSC_G3_IO2, EVENTOUT; additional function ADC_IN8. |+| 15 | PB1 | bidirectional | TTa I/O with TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3; additional function ADC_IN9. |+| 16 | VSS | power_in | Ground. |+| 17 | VDDIO2 | power_in | Independent digital supply of 1.65 to 3.6 V for PA8-PA15; must not be provided without a valid supply on VDD. |+| 18 | PA8 | bidirectional | 5 V-tolerant I/O supplied by VDDIO2 with USART1_CK, TIM1_CH1, EVENTOUT, MCO, CRS_SYNC. |+| 19 | PA9 | bidirectional | 5 V-tolerant FM+ I/O supplied by VDDIO2 with USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL. |+| 20 | PA10 | bidirectional | 5 V-tolerant FM+ I/O supplied by VDDIO2 with USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA. |+| 21 | PA11 | bidirectional | 5 V-tolerant FM+ I/O supplied by VDDIO2 with CAN_RX, USART1_CTS, TIM1_CH4, TSC_G4_IO3, EVENTOUT, I2C1_SCL; additional function USB_DM. |+| 22 | PA12 | bidirectional | 5 V-tolerant FM+ I/O supplied by VDDIO2 with CAN_TX, USART1_RTS, TIM1_ETR, TSC_G4_IO4, EVENTOUT, I2C1_SDA; additional function USB_DP. |+| 23 | PA13 | bidirectional | 5 V-tolerant I/O supplied by VDDIO2, SWDIO after reset with internal pull-up activated; also IR_OUT, USB_NOE. |+| 24 | PA14 | bidirectional | 5 V-tolerant I/O supplied by VDDIO2, SWCLK after reset with internal pull-down activated; also USART2_TX. |+| 25 | PA15 | bidirectional | 5 V-tolerant I/O supplied by VDDIO2 with SPI1_NSS, I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT, USB_NOE. |+| 26 | PB3 | bidirectional | 5 V-tolerant I/O with SPI1_SCK, I2S1_CK, TIM2_CH2, TSC_G5_IO1, EVENTOUT. |+| 27 | PB4 | bidirectional | 5 V-tolerant I/O with SPI1_MISO, I2S1_MCK, TIM17_BKIN, TIM3_CH1, TSC_G5_IO2, EVENTOUT. |+| 28 | PB5 | bidirectional | 5 V-tolerant I/O with SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN, TIM3_CH2; additional function WKUP6. |+| 29 | PB6 | bidirectional | 5 V-tolerant FM+ I/O with I2C1_SCL, USART1_TX, TIM16_CH1N, TSC_G5_IO3. |+| 30 | PB7 | bidirectional | 5 V-tolerant FM+ I/O with I2C1_SDA, USART1_RX, TIM17_CH1N, TSC_G5_IO4. |+| 31 | PB8-BOOT0 | bidirectional | 5 V-tolerant FM+ I/O used for boot memory selection (BOOT0), with I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX. |+| 32 | VSS/VSSA | power_in | Ground; the VSSA pad of the die is connected to this VSS pin as there is no distinct VSSA pin on this package. |++## Key specifications++| Parameter | Value |+|---|---|+| Manufacturer | STMicroelectronics |+| Package | LQFP-32(7x7) |+| Category | Embedded Processors & Controllers |+| Pins | 32 |++## CAD (KiCad official)++- Symbol: `STM32F042K6T7`+- Footprint: `Package_QFP:LQFP-32_7x7mm_P0.8mm`+- 3D model: LQFP-32(7x7) (KiCad packages3D, STEP)+- 3D model files: `stm32f042k6t7-etched.step` / `stm32f042k6t7-etched.glb` carry the MPN laser-etched on the die in a toggleable `Adom.LaserEtch` group (Fusion-ready); `stm32f042k6t7.step` / `stm32f042k6t7.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/8588923305117671424) (117 pp, sha256 `7af7ec8f5a596b23`, retrieved 2026-10-03, tier: lcsc)+- **Extractor:** parts-factory `2.0.0` / `extract_pins 0.3`, primary `claude-haiku-4-5-20251001` (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/stm32f042k6t7-datasheet.pdf)
page.jsonadded+304@@ -0,0 +1,304 @@+{+ "slug": "stm32f042k6t7",+ "version": "0.1.0",+ "type": "component",+ "description": "STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-32(7x7). Pinout checked against ST's open pin data, KiCad symbol/footprint/3D.",+ "tags": [+ "component",+ "embedded processors & controllers",+ "stm32f042k6t7",+ "factory-2.0.0",+ "extractor-text"+ ],+ "dependencies": {},+ "hero": {+ "type": "image",+ "path": "docs/hero.png"+ },+ "files": [+ "page.json",+ "README.md",+ "stm32f042k6t7.kicad_sym",+ "stm32f042k6t7.kicad_mod",+ "stm32f042k6t7.glb",+ "stm32f042k6t7.step",+ "stm32f042k6t7.lbr",+ "docs/hero.png",+ "docs/stm32f042k6t7-datasheet.pdf",+ "viewers/symbol.html",+ "viewers/footprint.html",+ "stm32f042k6t7-hero.glb",+ "stm32f042k6t7-hero.overlay.json"+ ],+ "component": {+ "mpn": "STM32F042K6T7",+ "manufacturer": "STMicroelectronics",+ "package": "LQFP-32(7x7)",+ "pin_count": 32,+ "category": "Embedded Processors & Controllers",+ "subcategory": "Microcontrollers (MCU/MPU/SOC)",+ "datasheet": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923305117671424",+ "parts": {+ "symbol": "stm32f042k6t7.kicad_sym",+ "footprint": "stm32f042k6t7.kicad_mod",+ "model_3d": "stm32f042k6t7-hero.glb",+ "model_3d_plain": "stm32f042k6t7.glb",+ "model_3d_step": "stm32f042k6t7-etched.step",+ "model_3d_step_plain": "stm32f042k6t7.step",+ "lbr": "stm32f042k6t7.lbr"+ },+ "distributor_links": {+ "lcsc": 1337340,+ "digikey": "497-18516-ND",+ "mouser": "511-STM32F042K6T7"+ },+ "distributor_check": {+ "checked_at": "2026-10-03T07:10:05Z",+ "source": "Component Ocean /api/assign-pns",+ "digikey": {+ "pn": "497-18516-ND",+ "status": "found"+ },+ "mouser": {+ "pn": "511-STM32F042K6T7",+ "status": "found"+ }+ },+ "pins": [+ {+ "number": "1",+ "name": "VDD",+ "type": "power_in",+ "description": "Digital power supply, VDD = VDDIO1 = 2.0 to 3.6 V, for I/Os and the internal regulator."+ },+ {+ "number": "2",+ "name": "PF0-OSC_IN",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ capable I/O (FTf) that is the HSE oscillator input after reset; alternate functions CRS_SYNC and I2C1_SDA."+ },+ {+ "number": "3",+ "name": "PF1-OSC_OUT",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ capable I/O (FTf) that is the HSE oscillator output after reset; alternate function I2C1_SCL."+ },+ {+ "number": "4",+ "name": "NRST",+ "type": "bidirectional",+ "description": "Device reset input / internal reset output (active low), bidirectional with embedded weak pull-up resistor."+ },+ {+ "number": "5",+ "name": "VDDA",+ "type": "power_in",+ "description": "Analog power supply, from VDD to 3.6 V (minimum 2.4 V when the ADC is used), must be established first and be at least VDD."+ },+ {+ "number": "6",+ "name": "PA0",+ "type": "bidirectional",+ "description": "TTa I/O with USART2_CTS, TIM2_CH1_ETR, TSC_G1_IO1; additional functions RTC_TAMP2, WKUP1, ADC_IN0."+ },+ {+ "number": "7",+ "name": "PA1",+ "type": "bidirectional",+ "description": "TTa I/O with USART2_RTS, TIM2_CH2, TSC_G1_IO2, EVENTOUT; additional function ADC_IN1."+ },+ {+ "number": "8",+ "name": "PA2",+ "type": "bidirectional",+ "description": "TTa I/O with USART2_TX, TIM2_CH3, TSC_G1_IO3; additional functions ADC_IN2, WKUP4."+ },+ {+ "number": "9",+ "name": "PA3",+ "type": "bidirectional",+ "description": "TTa I/O with USART2_RX, TIM2_CH4, TSC_G1_IO4; additional function ADC_IN3."+ },+ {+ "number": "10",+ "name": "PA4",+ "type": "bidirectional",+ "description": "TTa I/O with SPI1_NSS, I2S1_WS, TIM14_CH1, TSC_G2_IO1, USART2_CK, USB_NOE; additional function ADC_IN4."+ },+ {+ "number": "11",+ "name": "PA5",+ "type": "bidirectional",+ "description": "TTa I/O with SPI1_SCK, I2S1_CK, CEC, TIM2_CH1_ETR, TSC_G2_IO2; additional function ADC_IN5."+ },+ {+ "number": "12",+ "name": "PA6",+ "type": "bidirectional",+ "description": "TTa I/O with SPI1_MISO, I2S1_MCK, TIM3_CH1, TIM1_BKIN, TIM16_CH1, TSC_G2_IO3, EVENTOUT; additional function ADC_IN6."+ },+ {+ "number": "13",+ "name": "PA7",+ "type": "bidirectional",+ "description": "TTa I/O with SPI1_MOSI, I2S1_SD, TIM3_CH2, TIM14_CH1, TIM1_CH1N, TIM17_CH1, TSC_G2_IO4, EVENTOUT; additional function ADC_IN7."+ },+ {+ "number": "14",+ "name": "PB0",+ "type": "bidirectional",+ "description": "TTa I/O with TIM3_CH3, TIM1_CH2N, TSC_G3_IO2, EVENTOUT; additional function ADC_IN8."+ },+ {+ "number": "15",+ "name": "PB1",+ "type": "bidirectional",+ "description": "TTa I/O with TIM3_CH4, TIM14_CH1, TIM1_CH3N, TSC_G3_IO3; additional function ADC_IN9."+ },+ {+ "number": "16",+ "name": "VSS",+ "type": "power_in",+ "description": "Ground."+ },+ {+ "number": "17",+ "name": "VDDIO2",+ "type": "power_in",+ "description": "Independent digital supply of 1.65 to 3.6 V for PA8-PA15; must not be provided without a valid supply on VDD."+ },+ {+ "number": "18",+ "name": "PA8",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O supplied by VDDIO2 with USART1_CK, TIM1_CH1, EVENTOUT, MCO, CRS_SYNC."+ },+ {+ "number": "19",+ "name": "PA9",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O supplied by VDDIO2 with USART1_TX, TIM1_CH2, TSC_G4_IO1, I2C1_SCL."+ },+ {+ "number": "20",+ "name": "PA10",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O supplied by VDDIO2 with USART1_RX, TIM1_CH3, TIM17_BKIN, TSC_G4_IO2, I2C1_SDA."+ },+ {+ "number": "21",+ "name": "PA11",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O supplied by VDDIO2 with CAN_RX, USART1_CTS, TIM1_CH4, TSC_G4_IO3, EVENTOUT, I2C1_SCL; additional function USB_DM."+ },+ {+ "number": "22",+ "name": "PA12",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O supplied by VDDIO2 with CAN_TX, USART1_RTS, TIM1_ETR, TSC_G4_IO4, EVENTOUT, I2C1_SDA; additional function USB_DP."+ },+ {+ "number": "23",+ "name": "PA13",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O supplied by VDDIO2, SWDIO after reset with internal pull-up activated; also IR_OUT, USB_NOE."+ },+ {+ "number": "24",+ "name": "PA14",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O supplied by VDDIO2, SWCLK after reset with internal pull-down activated; also USART2_TX."+ },+ {+ "number": "25",+ "name": "PA15",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O supplied by VDDIO2 with SPI1_NSS, I2S1_WS, USART2_RX, TIM2_CH1_ETR, EVENTOUT, USB_NOE."+ },+ {+ "number": "26",+ "name": "PB3",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O with SPI1_SCK, I2S1_CK, TIM2_CH2, TSC_G5_IO1, EVENTOUT."+ },+ {+ "number": "27",+ "name": "PB4",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O with SPI1_MISO, I2S1_MCK, TIM17_BKIN, TIM3_CH1, TSC_G5_IO2, EVENTOUT."+ },+ {+ "number": "28",+ "name": "PB5",+ "type": "bidirectional",+ "description": "5 V-tolerant I/O with SPI1_MOSI, I2S1_SD, I2C1_SMBA, TIM16_BKIN, TIM3_CH2; additional function WKUP6."+ },+ {+ "number": "29",+ "name": "PB6",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O with I2C1_SCL, USART1_TX, TIM16_CH1N, TSC_G5_IO3."+ },+ {+ "number": "30",+ "name": "PB7",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O with I2C1_SDA, USART1_RX, TIM17_CH1N, TSC_G5_IO4."+ },+ {+ "number": "31",+ "name": "PB8-BOOT0",+ "type": "bidirectional",+ "description": "5 V-tolerant FM+ I/O used for boot memory selection (BOOT0), with I2C1_SCL, CEC, TIM16_CH1, TSC_SYNC, CAN_RX."+ },+ {+ "number": "32",+ "name": "VSS/VSSA",+ "type": "power_in",+ "description": "Ground; the VSSA pad of the die is connected to this VSS pin as there is no distinct VSSA pin on this package."+ }+ ],+ "provenance": {+ "extractor": "extract_pins 0.3",+ "factory_chain": {+ "factory": "2.0.0",+ "extractor": "extract_pins 0.3",+ "primary_model": "claude-haiku-4-5-20251001",+ "primary_mode": "text",+ "consensus_model": "claude-sonnet-5-5",+ "consensus": "agreed",+ "guards": "pin_guards 0.1: passed",+ "guard_notes": [+ "extractor flagged: Pin PA11 and PA12 are documented as remappable with PA9/PA10 using SYSCFG_CFGR1 register per note 5;; Pins PA8-PA15 are supplied from VDDIO2 (independent supply) rather than VDD; this affects their oper; PB8 has alternate boot function PB8-BOOT0 which may conflict with normal GPIO usage during device st",+ "1/32 pins cited to the wrong page (name found elsewhere): ['25:PA15@p32']"+ ],+ "pages_sent": 57,+ "cost_usd": 0.3877,+ "at": "2026-10-03T07:09:25"+ },+ "datasheet": {+ "url": "https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588923305117671424",+ "pages": 117,+ "sha256": "7af7ec8f5a596b23",+ "source_tier": "lcsc"+ },+ "cad": "KiCad official (CC-BY-SA 4.0)",+ "pins": {+ "total": 32,+ "described": 32,+ "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]"+ }+}