Why STM32 LL is More Efficient than HAL?

Why STM32 LL is More Efficient than HAL?

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column The standard peripheral library, HAL, and LL software library of STM32 all have many clever aspects worth learning from.Today, we will discuss how the STM32Cube LL library cleverly uses “static inline” to make the code more efficient. … Read more

Understanding Debugging in STM32 Development

Understanding Debugging in STM32 Development

When learning STM32 development, the step of DEBUG debugging is essential. This article will guide you through the knowledge related to debugging. Taking STM32F1 and Cortex-M3 as examples, the principles are similar for other series of chips or cores.01【Overview】 In STM32, there are many debugging components. Using them allows for various debugging functions, including breakpoints, … Read more

STM32 Practical Project: Dual-end Communication System Based on STM32 and Bluetooth (CRC8 Check)

STM32 Practical Project: Dual-end Communication System Based on STM32 and Bluetooth (CRC8 Check)

🎀 Article Author: Ertu Electronics🌸 Follow our public account for more resources!🐸 Looking forward to learning and exchanging ideas together! Article Cover 1. Project Overview This project designs a dual-end communication system for mobile phones and computers based on STM32 and a Bluetooth module, with the following main functions: • The computer can send messages … Read more

STM32 SPI Interface Tutorial: Achieving Efficient and Stable Data Transmission

STM32 SPI Interface Tutorial: Achieving Efficient and Stable Data Transmission

The SPI (Serial Peripheral Interface) is one of the most widely used synchronous serial communication protocols in embedded systems, playing a crucial role in STM32 development. Compared to I2C and UART, SPI is particularly suitable for high-speed data acquisition, memory expansion, and display driving due to its full-duplex communication, high transmission rates, and hardware slave … Read more

Mastering SPI Driver from Scratch: Practical Communication between STM32 and Sensors

Mastering SPI Driver from Scratch: Practical Communication between STM32 and Sensors

Implementing the SPI (Serial Peripheral Interface) driver on the STM32 microcontroller for communication with sensors. The content includes SPI initialization, data transmission, error handling, debugging techniques, and the use of logic analyzers. The code is based on the STM32Cube HAL library, suitable for the STM32F4 series (such as STM32F407), and uses a generic sensor (like … Read more

STM32 Microcontroller #16: FLASH Memory

STM32 Microcontroller #16: FLASH Memory

Main reference materials: Bilibili @ Jiangxie Technology STM32 Beginner Tutorial – 2023 Edition Detailed Explanation with Chinese Subtitles Development materials download link: https://pan.baidu.com/s/1h_UjuQKDX9IpP-U1Effbsw?pwd=dspb Microcontroller kit: STM32F103C8T6 development board microcontroller C6T6 core board experimental board minimum system board kit Article source file: https://github.com/INKEM/Knowledge_Base This chapter is the final chapter based on Jiangxie Technology’s STM32 beginner tutorial, … Read more

Comparing ESP32 and STM32: A Technical Perspective

Comparing ESP32 and STM32: A Technical Perspective

Hello everyone, recently I encountered a newcomer asking whether to learn ESP32 or STM32 first. First of all, these two devices are not aimed at the same direction. STM32 is an enhanced version of the STC51, which has very limited resources, including few registers and limited RAM and ROM. If you want to develop more … Read more

Sharing | My First STM32L552 Development Board

Sharing | My First STM32L552 Development Board

Original Author: STM32 Chinese Community User Sanjie Dog This is the third review post for the NUCLEO_L552ZE_Q development board. The previous post introduced how to set up the development environment on the Windows platform. Now that the environment is ready, we can start writing programs for testing (I won’t be writing programs myself, as I … Read more

Comprehensive Analysis of the STM32 Ecosystem: Introduction, Installation, and Usage Tutorials

Comprehensive Analysis of the STM32 Ecosystem: Introduction, Installation, and Usage Tutorials

Follow+Star Public Account Number, don’t miss out on exciting content Author: strongerHuang WeChat Public Account: strongerHuang The recognition of STM32 by numerous developers is largely attributed to its powerful ecosystem. This article describes various software tools within the STM32 ecosystem, including some technical details.1. Overview of the STM32 EcosystemSTM32 provides a complete set of development … Read more

Summary of Pitfalls in FreeRTOS Project Configuration

Summary of Pitfalls in FreeRTOS Project Configuration

If you haven’t tried other methods online, you can go directly to step four.1) After generating the project files from MX, open them in Keil5, compile, and you will encounter the following error: 01_FREETOS_my\01_FREETOS_my.sct(7): error: L6236E: No section matches selector – no section to be FIRST/LAST. There is a missing startup file, but when MX … Read more