Comprehensive STM32 Learning Notes from Jiangsu University of Science and Technology (Completed)

Comprehensive STM32 Learning Notes from Jiangsu University of Science and Technology (Completed)

This document details various technical knowledge points of STM32, including GPIO operations, timer applications, ADC analog-to-digital conversion, serial communication, I2C/SPI communication, power management, watchdog, and Flash programming, making it suitable for both beginners and advanced learners of STM32. 01. Summary of STM32 Learning Notes STM32 Learning Notes – Course Introduction (01) Link:https://blog.csdn.net/u010249597/article/details/134758736 STM32 Learning Notes … Read more

Adding Driver Files and Compilation Paths in STM32F103 Using CubeIDE

Adding Driver Files and Compilation Paths in STM32F103 Using CubeIDE

When adding driver files for peripherals such as the MPU6050 sensor and TOF sensor, it is necessary to include the corresponding onboard driver support package and add the compilation path. The steps are as follows:1. Create a new project and complete the basic configuration. You can refer to the STM32F103 microcontroller programming environment setup, the … Read more

Downloading and Debugging Programs in Keli MDK5

Downloading and Debugging Programs in Keli MDK5

Scan to follow Chip Dynamics , say goodbye to “chip” blockage! Search WeChatChip Dynamics Previously, we learned how to create an STM32F4 project under MDK. In this section, we will introduce readers to the code downloading and debugging for STM32F4. The debugging here includes software simulation and hardware debugging (online debugging). Through this chapter, you … Read more

PID Control Algorithm Based on STM32

PID Control Algorithm Based on STM32

Click the blue text above to follow us Embedded Training – Choose Jufeng Zhilian Implementation of a PID temperature control system based onSTM32, integrating hardware configuration, PID algorithm optimization, and display module design: 1. System Architecture Design 2. Hardware Selection and Circuit Design 1. Core Component List Module Recommended Model Key Parameters Temperature Sensor DS18B20 … Read more

Choosing Between MCU Register Manipulation and Library Functions

Choosing Between MCU Register Manipulation and Library Functions

“ Developers who are new to microcontroller (MCU) development often find themselves confused: should they manipulate registers directly or use library functions? This is akin to choosing between manual and automatic transmission — the former offers precision but is complex, while the latter is simple but lacks a sense of control. This article uses STM32 … Read more

Optimizing Microcontroller Memory Usage with Map Files

Optimizing Microcontroller Memory Usage with Map Files

The company asked me to interface a visibility detection instrument with a product from a few years ago. The mainboard uses the STM32L051C6 microcontroller to communicate with the visibility detection instrument via RS485. In theory, this should just involve implementing a serial port data reception processing logic. However, after adding the code and compiling, it … Read more

Summary of 28 Key Points on Embedded STM32

Summary of 28 Key Points on Embedded STM32

1. What are the differences between STM32F1 and F4? Answer: Reference: STM32 Development – Introduction to STM32Different cores: F1 uses Cortex-M3 core, while F4 uses Cortex-M4 core;Different clock speeds: F1 has a clock speed of 72MHz, while F4 has a clock speed of 168MHz;Floating-point operations: F1 lacks a floating-point unit, while F4 has one;Functional performance: … Read more

Keil5 STM32 Installation Guide with Latest Software Package in Chinese

Keil5 STM32 Installation Guide with Latest Software Package in Chinese

Keil5 STM32 version is an integrated development environment (IDE) specifically designed for STM32 series microcontrollers, launched by ARM. It integrates code editing, compiling, debugging, and simulation functions, supports C/C++ programming languages, and provides a rich set of library functions and hardware debugging tools. The software has a user-friendly interface, suitable for embedded system development, and … Read more

Understanding SPI Communication Between STM32 and ESP32 (Using Two Different Chips for Inter-Board SPI Implementation)

Understanding SPI Communication Between STM32 and ESP32 (Using Two Different Chips for Inter-Board SPI Implementation)

Friends, recently I needed to use SPI communication, so I used two boards, the STM32F03C8T6 and the ESP32, to implement SPI communication between them. Here, the STM32 acts as the SPI master, using the STM32 standard library functions. The ESP32 acts as the SPI slave, using the ESP-IDF spi_slave driver.P.S. I searched online for a … Read more