STM32F042F4P6

STMicroelectronics · STM32F0 Series

STMicroelectronics STM32F0 series, STM32F042F4P6, ARM Cortex-M0, 32-Bit Single-Core, 48MHz, 16KB (16K x 8) FLASH, 6K x 8 RAM, 20-TSSOP, -40°C ~ 85°C.

STMicroelectronics STM32F042F4P6
Download datasheet (PDF)
[IN STOCK] In Stock: 5,000 pcs
$2.60/ pc

Volume pricing

Buy Now

MOQ 1 · Tube · RoHS · EIA-481 · DAP/DDP · T/T

Technical specifications

STM32F042F4P6 specifications
Parameter / AttributeSpecification / Value
SeriesSTM32F0
MountingSurface Mount
Oscillator typeInternal
Program memory typeFLASH
Voltage - supply (Vcc (Vdd))1.65V ~ 3.6V
Operating temperature-40°C ~ 85°C (TA)
Speed48MHz
PackageTube
RAM size6K x 8
Core size32-Bit Single-Core
PeripheralsDMA, I²S, POR, PWM, WDT
ConnectivityCANbus, HDMI-CEC, I²C, IrDA, LINbus, SPI, UART/USART, USB
Number of i (O)16
Core processorARM® Cortex®-M0
Case20-TSSOP (0.173\", 4.40mm Width)
Data convertersA/D 12x12b
Program memory size16KB (16K x 8)

Technical details

The STM32F042F4P6: The 16 available I/O lines and a peripheral set that includes CAN, USB, I²C, SPI, and multiple UARTs give it more connectivity than the pin count suggests — useful for compact sensor nodes, USB dongles, or simple control panels where board area is the constraint, not the feature list.

With 16 KB of Flash and 6 KB of RAM, this MCU targets applications where the firmware fits in a modest footprint — think bootloader plus a single application loop, not a full RTOS with multiple stacks. The 48 MHz Cortex-M0 core can handle real-time control tasks like brushless DC motor commutation or basic sensor fusion, but the memory ceiling means the developer needs to watch stack depth and buffer allocation. The 12-channel 12-bit ADC adds analog input capability without external converters, saving board space and BOM cost.

Industrial temperature range and active lifecycle

The lifecycle status is Active, meaning ST continues to manufacture and support this part with no announced end-of-life. For procurement, this removes the urgency of a last-time-buy and makes the part a safe choice for production programs that will run for several years. The base product number is STM32F042, which shares the same die and peripheral set across the F042x4/x6 density options — a pin-compatible migration path if firmware grows beyond 16 KB.

STM32F042F4P6
[ALLOC] verified
Quote