on
2021-09-14
3:20 AM
- edited on
2025-07-14
7:24 AM
by
Laurids_PETERSE
Selecting the right STM32 microcontroller for your application can be a challenging task, especially when faced with a wide range of part numbers and features. To simplify this process, this article helps users effectively compare different STM32 part numbers based on their specific needs by using the STM32CubeMX tool. This enables users to make the right decisions and optimize their development process.
Software: STM32CubeMX version 6.14.1
To begin, we create a new project using the STM32CubeMX tool. Select a part number that you want to compare with other part numbers to find the one that best meets your needs by following these steps:
A window opens. Select the [Cross Selector] button as shown in the screenshot below:
For the first field: We want to compare different STM32 part number, so select STMicroelectronics.
For the Second field: Insert the part number that you would like to compare.
In this example, we work on the STM32G071RBTx.
Here is a screenshot that explains this:
This is what is displayed directly once you enter the part number:
As you can see, there is a list of matching ST candidates.
There are three part numbers that are the closest to the part number we have chosen (highlighted in blue). Additionally, a comparison list between them in terms of parameters such as RAM, flash, GPIO etc.:
We continue our example by choosing a specific part number, such as STM32G0B1CBUx (you can add more if needed):
Step 3: Click on the part number that you want to compare from the list. For example, we choose STM32G0B1CBUx. A comparison list between the first part number and the one we have just chosen is displayed on the right side as shown in the screenshot:
If you want to add more than one part number, press the CTRL button on your keyboard and click on the part numbers you wish to add from the list at the same time. For example, we add the STM32G071CBUx.
We get two selected part numbers compared to my original part number, displayed on the right side as shown in the screenshot:
You can export the comparison analysis by clicking on [Copy to clipboard]:
A popup appears, click OK:
I copied this comparison into an email as an example:
By using the STM32CubeMX tool, the process of comparing STM32 microcontroller references becomes clear, well-organized, and straightforward. By following the described steps, users can efficiently identify the most suitable component for their application.