| Pin | Symbol | Type | Function (EN) |
|---|---|---|---|
| 1 | PB8BOOT0 - | I/O | Multiplexed I/O & Peripheral Pin PB8BOOT0 - (I2C, CAN) |
| 2 | PF0OSC IN -_ (PF0) | I/O | Multiplexed I/O & Peripheral Pin PF0OSC IN -_ (PF0) (I2C, RTC/CLK) |
| 3 | PF1OSC OUT -_ (PF1) | I/O | Multiplexed I/O & Peripheral Pin PF1OSC OUT -_ (PF1) (I2C, RTC/CLK) |
| 4 | NRST | I | System Enable & Hardware Reset (NRST) |
| 5 | VDDA | Power | Power Supply Input (VDDA — 3.3V VDD (Max 4.0V)) |
| 6 | PA0 | I/O | Multiplexed I/O & Peripheral Pin PA0 (UART, ADC, PWM, RTC/CLK) |
| 7 | PA1 | I/O | Multiplexed I/O & Peripheral Pin PA1 (UART, ADC, PWM) |
| 8 | PA2 | I/O | Multiplexed I/O & Peripheral Pin PA2 (UART, ADC, PWM) |
| 9 | PA3 | I/O | Multiplexed I/O & Peripheral Pin PA3 (UART, ADC, PWM) |
| 10 | PA4 | I/O | Multiplexed I/O & Peripheral Pin PA4 (USB, UART, SPI, ADC) |
| 11 | PA5 | I/O | Multiplexed I/O & Peripheral Pin PA5 (SPI, ADC, PWM) |
| 12 | PA6 | I/O | Multiplexed I/O & Peripheral Pin PA6 (SPI, ADC, PWM) |
| 13 | PA7 | I/O | Multiplexed I/O & Peripheral Pin PA7 (SPI, ADC, PWM) |
| 14 | PB1 | I/O | Multiplexed I/O & Peripheral Pin PB1 (ADC, PWM) |
| 15 | VSS | GND | Ground Reference Pin (VSS) |
| 16 | VDDIO2 | Power | Power Supply Input (VDDIO2 — 3.3V VDD (Max 4.0V)) |
| 17 | PA9 | I/O | Multiplexed I/O & Peripheral Pin PA9 (UART, I2C, PWM) |
| 18 | PA10 | I/O | Multiplexed I/O & Peripheral Pin PA10 (UART, I2C, PWM) |
| 19 | PA13 | I/O | Multiplexed I/O & Peripheral Pin PA13 (USB) |
| 20 | PA14 | I/O | Multiplexed I/O & Peripheral Pin PA14 (UART) |
STM32F042 (TSSOP-20(4.4x6.4))
STM32F042 (TSSOP-20(4.4x6.5))
STM32F042 (LQFP-48-EP(7x7))
| Designator / Replacement MPN | Value / Package | Function & PCB Layout Rule |
|---|---|---|
| N/A BOM | Per application circuit TSSOP-20 | Size power & signal trace widths for rated load current following IPC-2221 clearance rules. |
Manufactured by ST, the STM32F042F6P6 is housed in a TSSOP-20 package with 20 pins and a 0.65 mm lead pitch, supporting a VCC supply range of 2 V to 3.6 V. Key pins include: 1 (PB8BOOT0 -: Multiplexed I/O & Peripheral Pin PB8BOOT0 - (I2C, CAN)), 2 (PF0OSC IN -_ (PF0): Multiplexed I/O & Peripheral Pin PF0OSC IN -_ (PF0) (I2C, RTC/CLK)), 3 (PF1OSC OUT -_ (PF1): Multiplexed I/O & Peripheral Pin PF1OSC OUT -_ (PF1) (I2C, RTC/CLK)), 4 (NRST: System Enable & Hardware Reset (NRST)), 5 (VDDA: Power Supply Input (VDDA — 3.3V VDD (Max 4.0V))), 6 (PA0: Multiplexed I/O & Peripheral Pin PA0 (UART, ADC, PWM, RTC/CLK)).
Normalized from the official datasheet mechanical drawing per IPC-7351B (Density Level B Nominal), STM32F042F6P6 (TSSOP-20) has a nominal body envelope of 4.40 × 6.50 mm, pitch e = 0.65 mm, and 20 copper pads.
You can download the verified open-hardware (CERN-OHL-P-2.0) CAD library bundle for STM32F042F6P6 (ST, TSSOP-20) directly on this page, including KiCad 8 Footprints (.kicad_mod), Schematic Symbols (.kicad_sym), Autodesk Fusion 360 / Eagle (.lbr), and 3D STEP AP214 / WebGL GLB models.
| Pin # | Signal Name | Electrical Type | Functional Description & Design Notes |
|---|---|---|---|
| 1 | PB8BOOT0 - | Digital_IO | Signal terminal PB8BOOT0 - (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: I2C1_SCLCEC. Supported peripheral buses: I2C, CAN. |
| 2 | PF0OSC IN -_ (PF0) | Digital_IO | Signal terminal PF0OSC IN -_ (PF0) (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: I2C1_SDA. Supported peripheral buses: I2C, RTC/CLK. |
| 3 | PF1OSC OUT -_ (PF1) | Digital_IO | Signal terminal PF1OSC OUT -_ (PF1) (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: I2C1_SCL. Supported peripheral buses: I2C, RTC/CLK. |
| 4 | NRST | Digital_IO | Active-low hardware reset terminal (NRST): pulling this pin Low resets the processor core and peripherals. |
| 5 | VDDA | Power_In | Primary positive power supply input (VDDA) operating in the 3.3V VDD (Max 4.0V) domain (Max rating: 4.0V). |
| 6 | PA0 | Digital_IO | Signal terminal PA0 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: PA0. Supported peripheral buses: UART, ADC, PWM, RTC/CLK. |
| 7 | PA1 | Digital_IO | Signal terminal PA1 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: PA1. Supported peripheral buses: UART, ADC, PWM. |
| 8 | PA2 | Digital_IO | Signal terminal PA2 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: PA2. Supported peripheral buses: UART, ADC, PWM. |
| 9 | PA3 | Digital_IO | Signal terminal PA3 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: PA3. Supported peripheral buses: UART, ADC, PWM. |
| 10 | PA4 | Digital_IO | Signal terminal PA4 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: SPI1_NSSI2S1WS. Supported peripheral buses: USB, UART, SPI, ADC. |
| 11 | PA5 | Digital_IO | Signal terminal PA5 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: SPI1_SCKI2S1CK. Supported peripheral buses: SPI, ADC, PWM. |
| 12 | PA6 | Digital_IO | Signal terminal PA6 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: SPI1_MISOI2S1MCK. Supported peripheral buses: SPI, ADC, PWM. |
| 13 | PA7 | Digital_IO | Signal terminal PA7 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: SPI1_MOSII2S1SD. Supported peripheral buses: SPI, ADC, PWM. |
| 14 | PB1 | Digital_IO | Signal terminal PB1 (I/O, 3.3V VDD (Max 4.0V) domain). Multiplexed alternate functions: PB1. Supported peripheral buses: ADC, PWM. |
| 15 | VSS | GND | 0V electrical ground return terminal (VSS) for internal core logic, I/O drivers, and analog sub-blocks. |
| 16 | VDDIO2 | Power_In | Primary positive power supply input (VDDIO2) operating in the 3.3V VDD (Max 4.0V) domain (Max rating: 4.0V). |
| 17 | PA9 | Digital_IO | Signal terminal PA9 (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: I2C1_SCL. Supported peripheral buses: UART, I2C, PWM. |
| 18 | PA10 | Digital_IO | Signal terminal PA10 (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: I2C1_SDA. Supported peripheral buses: UART, I2C, PWM. |
| 19 | PA13 | Digital_IO | Signal terminal PA13 (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: PA13. Supported peripheral buses: USB. |
| 20 | PA14 | Digital_IO | Signal terminal PA14 (I/O, 3.3V VDD (5V-Tolerant FT) domain). Multiplexed alternate functions: PA14. Supported peripheral buses: UART. |