How to Self-Learn STM32 Microcontrollers

How to Self-Learn STM32 Microcontrollers

Continuing to post my answer. First, you need a development board. If you are just starting in the field of microcontrollers, I recommend starting with videos. At the very least, you should have a book on C programming for reference on C language concepts. When you first start learning, focus on videos. For concepts that … Read more

Understanding Zero Division Operations in STM32 Microcontrollers

Understanding Zero Division Operations in STM32 Microcontrollers

This issue’s topic: As is well known, in C language, dividing a number by 0 will lead to a division operation exception, causing the program to crash. To avoid program crashes, we need to include checks for 0 in the code. However, when running C program code that performs division by zero on STM32 microcontrollers, … Read more

Mastering STM32: A Comprehensive Guide for Beginners

Mastering STM32: A Comprehensive Guide for Beginners

Learning microcontrollers just for the sake of it is not the correct approach. You may ask: How to systematically start learning STM32? This is fundamentally a wrong question. If you know how to use the 8051 and can write C, then there is no need to deliberately learn STM32. What you should consider is what … Read more

Pros and Cons of Popular Development Environments for STM32

Pros and Cons of Popular Development Environments for STM32

Many beginners are asking: Which development tool should I use to learn STM32? First, let me share my opinion: 1. There is no best, only what is suitable; what suits you is the best. 2. There are many development tools, each with its own characteristics, and with advantages, there are also disadvantages. Today, let’s talk … Read more

Detailed Process of Porting Modbus on STM32 Bare Metal

Detailed Process of Porting Modbus on STM32 Bare Metal

Follow+Star public number, don’t miss wonderful content Source | Wenxin Yiyan Modbus has many application scenarios and is an essential skill for embedded practitioners. We don’t need to understand it in depth, but it’s necessary to grasp the basic principles. Today, I would like to share the detailed process of porting Modbus on STM32 bare … Read more

Will ESP32 Replace STM32 in the Embedded Market?

Will ESP32 Replace STM32 in the Embedded Market?

Click the blue font above to follow us ESP32 and STM32 have significant differences in hardware characteristics, market positioning, and development ecosystems. STM32 has a strong position in the embedded control field due to its industrial control and real-time requirements, while ESP32 excels in the IoT field with its wireless communication capabilities and cost-effectiveness. In … Read more

Developing STM32 on Linux: Compiling BIN and HEX Files with GCC ARM None EABI Toolchain

Developing STM32 on Linux: Compiling BIN and HEX Files with GCC ARM None EABI Toolchain

1. Why Not GCC When developing STM32, the compilation toolchain must use gcc-arm-none-eabi. Why not GCC?This relates to cross-compilation in Linux, as we need to compile programs that can run on ARM from a PC. Using GCC will compile programs that run on the PC, so we need to use gcc-arm-none-eabi for cross-compilation~ 2. Introduction … Read more

Experience Sharing on Using ARM Cortex-M Series MCU Error Code Automatic Tracking Library

Experience Sharing on Using ARM Cortex-M Series MCU Error Code Automatic Tracking Library

Have you encountered the HardFault issue while using STM32? I was troubled by this issue for a long time, and here’s a brief summary of it. Phenomenon restoration: During simulation debugging in debug mode, when running at full speed and then stopping, the program jumps to the HardFault_Handler function, resulting in a HardFault, which is … Read more

Introduction to STM32H5 Development Board

Introduction to STM32H5 Development Board

Without clicking the blue text, how can we have a story? STM32H503 Power Supply Communication QQ group: 615061293 STM32H503RBTx_LQFP64 is an outstanding evaluation kit of the STM32H5 series microcontrollers, manufactured using advanced 40nm technology, providing developers with excellent performance and energy efficiency. With a main frequency of up to 250MHz, the Arm® Cortex®-M33 core offers … Read more

Choosing Between Arduino and STM32: Which is More Suitable for Beginners?

Choosing Between Arduino and STM32: Which is More Suitable for Beginners?

Click on the blue text above to follow us Arduino and STM32 are both popular microcontroller platforms, each with its unique advantages and disadvantages. The choice of which is more suitable for beginners mainly depends on your learning goals and background. 1 Development Environment Arduino: Arduino mainly relies on the Arduino IDE, which is a … Read more