STM32F042F6

Active
Design Win Education

Mainstream Arm Cortex-M0 USB line MCU with 32 Kbytes of Flash memory, 48 MHz CPU, USB, CAN and CEC functions

Download datasheet Order Direct

Product overview

Description

The STM32F042x4/x6 microcontrollers incorporate the high-performance ARM®Cortex®-M0 32-bit RISC core operating at up to 48 MHz frequency, high-speed embedded memories (up to 32 Kbytes of Flash memory and 6 Kbytes of SRAM), and an extensive range of enhanced peripherals and I/Os. All devices offer standard communication interfaces (one I2C, two SPIs/one I2S, one HDMI CEC and two USARTs), one USB Full-speed device (crystal-less), one CAN, one 12-bit ADC, four 16-bit timers, one 32-bit timer and an advanced-control PWM timer.

The STM32F042x4/x6 microcontrollers operate in the -40 to +85 °C and -40 to +105 °C temperature ranges, from a 2.0 to 3.6 V power supply. A comprehensive set of power-saving modes allows the design of low-power applications.

The STM32F042x4/x6 microcontrollers include devices in seven different packages ranging from 20 pins to 48 pins with a die form also available upon request. Depending on the device chosen, different sets of peripherals are included.

These features make the STM32F042x4/x6 microcontrollers suitable for a wide range of applications such as application control and user interfaces, hand-held equipment, A/V receivers and digital TV, PC peripherals, gaming and GPS platforms, industrial applications, PLCs, inverters, printers, scanners, alarm systems, video intercoms and HVACs.

  • All features

    • Core: ARM®32-bit Cortex®-M0 CPU, frequency up to 48 MHz
    • Memories
      • 16 to 32 Kbytes of Flash memory
      • 6 Kbytes of SRAM with HW parity
    • CRC calculation unit
    • Reset and power management
      • Digital and I/Os supply: VDD= 2 V to 3.6 V
      • Analog supply: VDDA= from VDDto 3.6 V
      • Selected I/Os: VDDIO2= 1.65 V to 3.6 V
      • Power-on/Power down reset (POR/PDR)
      • Programmable voltage detector (PVD)
      • Low power modes: Sleep, Stop, Standby
      • VBATsupply for RTC and backup registers
    • Clock management
      • 4 to 32 MHz crystal oscillator
      • 32 kHz oscillator for RTC with calibration
      • Internal 8 MHz RC with x6 PLL option
      • Internal 40 kHz RC oscillator
      • Internal 48 MHz oscillator with automatic trimming based on ext. synchronization
    • Up to 38 fast I/Os
      • All mappable on external interrupt vectors
      • Up to 24 I/Os with 5 V tolerant capability and 8 with independent supply VDDIO2
    • 5-channel DMA controller
    • One 12-bit, 1.0 μs ADC (up to 10 channels)
      • Conversion range: 0 to 3.6 V
      • Separate analog supply: 2.4 V to 3.6 V
    • Up to 14 capacitive sensing channels for touchkey, linear and rotary touch sensors
    • Calendar RTC with alarm and periodic wakeup from Stop/Standby
    • Nine timers
      • One 16-bit advanced-control timer for six channel PWM output
      • One 32-bit and four 16-bit timers, with up to four IC/OC, OCN, usable for IR control decoding
      • Independent and system watchdog timers
      • SysTick timer
    • Communication interfaces
      • One I2C interface supporting Fast Mode Plus (1 Mbit/s) with 20 mA current sink, SMBus/PMBus and wakeup
      • Two USARTs supporting master synchronous SPI and modem control, one with ISO7816 interface, LIN, IrDA, auto baud rate detection and wakeup feature
      • Two SPIs (18 Mbit/s) with 4 to 16 programmable bit frames, one with I2S interface multiplexed
      • CAN interface
      • USB 2.0 full-speed interface, able to run from internal 48 MHz oscillator and with BCD and LPM support
    • HDMI CEC, wakeup on header reception
    • Serial wire debug (SWD)
    • 96-bit unique ID
    • All packages ECOPACK®2

Circuit Diagram

eDesignSuite

eDesignSuite is a comprehensive set of easy-to-use design-aid utilities ready to help you streamline the system development process with a wide range of ST products.

Power Management Design Center

Thermal-electrical Simulators for Components

Signal Conditioning Design Tool

NFC/RFID Calculators

Choose design tool:
Power Management Design Center

Power Supply Design Tool

SMPS design, by topology, by type and by product
PFC design with analog and digitial control
Supports various PCB configurations
Choose type:
DC/DC
AC/DC
Solar Battery Charger
Power Management Design Center

LED Lighting Design Tool

Handles AC-DC and DC-DC design in common topologies
Displays interactive and annotated schematic
Provides current/voltage graphs, Bode plots, efficiency curves and power-loss data
Choose type:
DC/DC
AC/DC
Power Management Design Center

Digital Power Workbench

Provides a step-by-step optimized design of power section and control loop
Generates the STM32Cube embedded software package for custom applications and allows firmware project generation, compatible with multiple STM32 IDEs
Power Management Design Center

Power Tree Designer

Specify input/output power for each node in the tree
Check for consistency
Design each individual node
Choose design tool:
Thermal-electrical Simulators for Components

AC Switches Simulator

Select ratings and application waveforms
Get junction temperature and blocking voltage graphs
Search and sort suitable devices
Thermal-electrical Simulators for Components

Rectifier Diodes Simulator

Select ratings and application waveforms
Estimate power losses
Search and sort suitable devices
Thermal-electrical Simulators for Components

STPOWER Studio

Supports long mission profiles
Provides power loss and temperature graphs
Helps define heatsink thermal properties
Thermal-electrical Simulators for Components

Twister Sim

Help select the right ViPOWER Automotive power device
Supports load-compatibility, wiring harness optimization, fault condition impact and diagnostic analysis
Supports various PCB configurations
Thermal-electrical Simulators for Components

TVS Simulator

Specify system ratings and surge waveform
Search and sort suitable devices
Thermal-electrical Simulators for Components

Estimate

Build simple schematics and firmware inputs in minutes
Quickly generate reliable estimates of battery life, system power consumption and bill of materials costs
Thermal-electrical Simulators for Components

PCB Thermal Simulator

Thermal analysis of a PCB from Gerber files.
Possibility to add heat sources, heat sinks, copper areas and thermal paths.
Powerful server-side engine for rendering and simulation.
Thermal results shown graphically via 2D table.
Choose design tool:
Signal Conditioning Design Tool

Active Filters

Handles multi-stage-designs and common topologies
Returns circuit component values
Provides gain, phase and group delay graphs
Low Pass, High Pass and Band Pass
Signal Conditioning Design Tool

Comparators

Handles most common configurations
Returns circuit components values
Provides I/O signal waveforms
Inverting, Non Inverting, Window
Signal Conditioning Design Tool

Low side Current Sensing

Returns circuit component values
Provides current error graphs
Signal Conditioning Design Tool

High side Current Sensing

Provides current error graphs.
Help to select the right High side current sensing and shunt devices.
Choose design tool:
NFC/RFID Calculators

NFC Inductance

Input geometry and substrate properties
Get antenna impedance
NFC/RFID Calculators

UHF Link Budget

Enter forward and reverse link characteristics
The tool returns link budget estimate
NFC/RFID Calculators

NFC Tuning Circuit

Enter antenna parameter and matching target
Select the topology of the matching network
The tool returns component values for the desired design targets

EDA Symbols, Footprints and 3D Models

STMicroelectronics - STM32F042F6

Speed up your design by downloading all the EDA symbols, footprints and 3D models for your application. You have access to a large number of CAD formats to fit with your design toolchain.

Please select one model supplier :

Symbols

Symbols

Footprints

Footprints

3D model

3D models

Quality and Reliability

Part Number Marketing Status Package Grade RoHS Compliance Grade Longevity Commitment Longevity Starting Date Material Declaration**
STM32F042F6P6
Active
TSSOP-20 Industrial Ecopack2 10 2025-01-01T00:00:00.000+01:00
STM32F042F6P6TR
Active
TSSOP-20 Industrial Ecopack2 10 2025-01-01T00:00:00.000+01:00
STM32F042F6P7
Active
TSSOP-20 Industrial Ecopack2 10 2025-01-01T00:00:00.000+01:00
STM32F042F6P7TR
Active
TSSOP-20 Industrial Ecopack2 10 2025-01-01T00:00:00.000+01:00

STM32F042F6P6

Package:

TSSOP-20

Material Declaration**:

PDF XML

Marketing Status

Active

Package

TSSOP-20

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM32F042F6P6TR

Package:

TSSOP-20

Material Declaration**:

PDF XML

Marketing Status

Active

Package

TSSOP-20

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM32F042F6P7

Package:

TSSOP-20

Material Declaration**:

PDF XML

Marketing Status

Active

Package

TSSOP-20

Grade

Industrial

RoHS Compliance Grade

Ecopack2

STM32F042F6P7TR

Package:

TSSOP-20

Material Declaration**:

PDF XML

Marketing Status

Active

Package

TSSOP-20

Grade

Industrial

RoHS Compliance Grade

Ecopack2

(**) The Material Declaration forms available on st.com may be generic documents based on the most commonly used package within a package family. For this reason, they may not be 100% accurate for a specific device. Please contact our sales support for information on specific devices.

Sample & Buy

Loading...
Swipe or click the button to explore more details Don't show this again
Part Number
Marketing Status
Budgetary Price (US$)*/Qty
Order from ST
Order from distributors
Package
Packing Type
RoHS
Country of Origin
ECCN (US)
ECCN (EU)
Operating temperature (°C)
D/A Converters (typ) (12-bit)
Timers (typ) (16-bit)
Timers (typ) (32-bit)
Number of Channels (typ)
SMPS
Number of Channels (typ)
UART (typ)
I/Os (High Current)
Integrated op-amps
Comparator
SPI (typ)
USART (typ)
Number of Channels (typ)
I2S (typ)
Advanced Motor Control Timers
CAN (2.0)
CAN (FD)
min
max
STM32F042F6P6TR
Available at distributors

Distributor availability of STM32F042F6P6TR

Distributor Name
Region Stock Min. Order Third party link

Distributor reported inventory date:

No availability of distributors reported, please contact our sales office

STM32F042F6P7
Available at distributors

Distributor availability of STM32F042F6P7

Distributor Name
Region Stock Min. Order Third party link

Distributor reported inventory date:

No availability of distributors reported, please contact our sales office

STM32F042F6P7TR
Available at distributors

Distributor availability of STM32F042F6P7TR

Distributor Name
Region Stock Min. Order Third party link

Distributor reported inventory date:

No availability of distributors reported, please contact our sales office

STM32F042F6P6
Available at distributors

Distributor availability of STM32F042F6P6

Distributor Name
Region Stock Min. Order Third party link

Distributor reported inventory date:

No availability of distributors reported, please contact our sales office

STM32F042F6P6TR Active

Budgetary Price (US$)*/Qty:
-
Package:
Packing Type:
RoHS:
Country of Origin:
ECCN (US):
ECCN (EU):

Part Number:

STM32F042F6P6TR

Operating Temperature (°C)

Min:

Max:

D/A Converters (typ) (12-bit):

-

Timers (typ) (16-bit):

5

Timers (typ) (32-bit):

1

Number of Channels (typ):

-

SMPS:

-

Number of Channels (typ):

-

UART (typ):

-

I/Os (High Current):

16

Integrated op-amps:

-

Comparator:

-

SPI (typ):

1

USART (typ):

2

Number of Channels (typ):

9

I2S (typ):

1

Advanced Motor Control Timers:

-

CAN (2.0):

1

CAN (FD):

-

Distributor Name

Distributor reported inventory date:

STM32F042F6P7 Active

Budgetary Price (US$)*/Qty:
-
Package:
Packing Type:
RoHS:
Country of Origin:
ECCN (US):
ECCN (EU):

Part Number:

STM32F042F6P7

Operating Temperature (°C)

Min:

Max:

D/A Converters (typ) (12-bit):

-

Timers (typ) (16-bit):

5

Timers (typ) (32-bit):

1

Number of Channels (typ):

-

SMPS:

-

Number of Channels (typ):

-

UART (typ):

-

I/Os (High Current):

16

Integrated op-amps:

-

Comparator:

-

SPI (typ):

1

USART (typ):

2

Number of Channels (typ):

9

I2S (typ):

1

Advanced Motor Control Timers:

-

CAN (2.0):

1

CAN (FD):

-

Distributor Name

Distributor reported inventory date:

STM32F042F6P7TR Active

Budgetary Price (US$)*/Qty:
-
Package:
Packing Type:
RoHS:
Country of Origin:
ECCN (US):
ECCN (EU):

Part Number:

STM32F042F6P7TR

Operating Temperature (°C)

Min:

Max:

D/A Converters (typ) (12-bit):

-

Timers (typ) (16-bit):

5

Timers (typ) (32-bit):

1

Number of Channels (typ):

-

SMPS:

-

Number of Channels (typ):

-

UART (typ):

-

I/Os (High Current):

16

Integrated op-amps:

-

Comparator:

-

SPI (typ):

1

USART (typ):

2

Number of Channels (typ):

9

I2S (typ):

1

Advanced Motor Control Timers:

-

CAN (2.0):

1

CAN (FD):

-

Distributor Name

Distributor reported inventory date:

STM32F042F6P6 Active

Budgetary Price (US$)*/Qty:
-
Package:
Packing Type:
RoHS:
Country of Origin:
ECCN (US):
ECCN (EU):

Part Number:

STM32F042F6P6

Operating Temperature (°C)

Min:

Max:

D/A Converters (typ) (12-bit):

-

Timers (typ) (16-bit):

5

Timers (typ) (32-bit):

1

Number of Channels (typ):

-

SMPS:

-

Number of Channels (typ):

-

UART (typ):

-

I/Os (High Current):

16

Integrated op-amps:

-

Comparator:

-

SPI (typ):

1

USART (typ):

2

Number of Channels (typ):

9

I2S (typ):

1

Advanced Motor Control Timers:

-

CAN (2.0):

1

CAN (FD):

-

Distributor Name

Distributor reported inventory date:

Swipe or click the button to explore more details Don't show this again

(*) Suggested Resale Price (USD) per defined quantity for BUDGETARY USE ONLY. For quotes, prices in local currency, please contact your local ST Sales Office or our Distributors