Coincidentally, before I received the NUCLEO-L452RE development board, I happened to get an STM32G431 development board at an event. After putting the two together, I felt that the overall difference was not very big, so I wanted to compare them in terms of performance.
If you remove the labels on the board, can you tell who is who?
The one on the left is our evaluation object NUCLEO-L452RE , and the one on the right is STM32G431 . The two are almost the same in size. From the dividing line on the board, we can see that the debugger of NUCLEO-L452RE can be separated from the board and used separately, while STM32G431 cannot. In addition, the USB interface used by the two can also be identified at a glance. In fact, the main difference is in the debugger. NUCLEO-L452RE uses the conventional ST-LINK/2-1 , while STM32G431 uses ST-LINK/V3 . The intuitive difference is reflected in the chip used by the debugger, one large and one small.
This also leads to differences in the construction of the development environment. STM32G431 must use a newer version of KEIL , while the version requirements for NUCLEO-L452RE are not very high.
In terms of the layout of the development board, the two are not very different. The peripheral configurations of the two are basically the same, and both support the Arduino interface.
Development board appearance
After comparing the appearance, let's compare the kernel:
1. STM32G431
The STM32G4x1 is the entry-level device of the STM32G4 series. It is a mixed-signal microcontroller embedded with an Arm Cortex-M4 core running at 170 MHz ( supporting FPU and DSP instructions ).
This family of devices features:
2 high-speed 12 -bit ADCs (sampling rate 4 M/ s)
4 12 - bit DACs (sampling rate 15 M/ s)
4 high-speed comparators ( 17 ns)
3 high-speed op amps (with programmable gain)
ART , CCM SRAM and math accelerators
Single-bank Flash memory capacity ranges from 32 to 128 KB , and packages range from 32 to 100 pins.
2. STM32L452
The STM32L4 32- bit MCU+FPU is an ultra-low-power microcontroller based on the high-performance ARMCortex-M4 32- bit RISC core with an operating frequency of up to 80MHz . The Cortex-M4 core has a single floating-point unit ( SFPU ) precision and supports all ARM single-precision data processing instructions and data types. It also executes a full set of DSP instructions and a memory protection unit ( MPU ) to enhance application security.
This family of devices features:
16 -bit ADC
12 -bit DAC
Single bank Flash memory capacity up to 512 KB in 100 -pin package.
In summary, although both are based on Cortex-M4 cores , they have their own advantages. The operating frequency of STM32G431 is 170 MHz , which is higher than 80MHz of STM32L452 , and the Flash storage capacity of STM32L452 is 512 KB, which is higher than 128 KB of STM32G431 . In addition, STM32L452 also has a 16 -bit ADC, which is higher than the 12 -bit ADC of STM32G431 .
If you want me to say which one is better and which one is worse, then I can only tell you that the most applicable one is the best. It depends on what your design goal is. Only by using the right products according to their capabilities can you achieve the best cost-effectiveness!