STM32 Traffic Intersection Management System Simulation

STM32 Traffic Intersection Management System Simulation

This example demonstrates how to use the STM32 microcontroller to build a traffic intersection management system. Traffic intersection management refers to the system methods and strategies used to effectively control and regulate the traffic flow at multiple road intersections. It involves implementing various technologies, techniques, and traffic control measures to ensure the safe and efficient … Read more

Understanding the STM32 Watchdog Timers

Understanding the STM32 Watchdog Timers

1. Two Types of Watchdogs in STM32 The STM32F103C8T6 has two built-in watchdogs: the Independent Watchdog and the Window Watchdog. Independent Watchdog (IWDG) Uses an internal low-speed clock (LSI, typical value 40kHz) as the time base. It cannot be stopped and can operate independently even if the CPU hangs. It is commonly used for system-level … Read more

STM32 Beginner’s Notes: GPIO Usage Methods

STM32 Beginner's Notes: GPIO Usage Methods

This note can be skipped by experienced users. Everything before entering is an obstacle, but looking back after entering, everything seems simple. Introduction to GPIO GPIO stands for General Purpose Input/Output. All pins of the STM32, except for specific functions like power and ground, VBAT, etc., can be used as GPIO. STM32 categorizes them into … Read more

CLion Tutorial – STM32CubeMX Project

CLion Tutorial - STM32CubeMX Project

Operating System: Windows / Linux / macOS Required Tools: STM32CubeMX, GNU ARM Toolchain Project Format: CMake Compatible Configuration: OpenOCD Run and Debug / Embedded GDB Server For embedded projects targeting STM32 boards, CLion integrates with STM32CubeMX. You can open the .ioc file generated by CubeMX as a project, and CLion will automatically create the CMake … Read more

Is STM32 Hard to Learn? These Tools Can Help!

Is STM32 Hard to Learn? These Tools Can Help!

Table of Contents: 1. STM32Cube Ecosystem 2. CubeMX 3. CubeIDE 4. CubeProg 5. Developing with CubeIDE 5.1 STM32CubeIDE Home 5.2 Generating Projects 5.3 Program Download 6. Conclusion 1. STM32Cube Ecosystem I remember trying out CubeMX when ST first launched it, back then the automatically generated peripheral initialization code had some minor errors. Now, with the … Read more

Using STM32CubeMX to Generate Configuration Code Structure

Using STM32CubeMX to Generate Configuration Code Structure

Keywords: .extSettings, file structure, BSP Directory Preview 1. Introduction 2. The Role of .extSetting File 3. Usage Example 4. Summary 01Introduction While reading the UM1718 document, I found that CubeMX has a great feature that allows you to use the “.extSettings” file once, so that no matter which IDE you use later (as long as … Read more

Application Notes | Creating ClassB Project Based on STM32CubeIDE

Application Notes | Creating ClassB Project Based on STM32CubeIDE

Keywords: STM32CubeIDE, ClassB Table of Contents 1. Introduction 2. Preparation 3. Creating CubeMX Project 4. Possible Issues During Porting 5. Conclusion 01Introduction Everyone knows that ST’s ClassB functional safety software design package is free, and many customers develop based on the free IDE STM32CubeIDE. This document will show how to easily implement the porting of … Read more

First Experience with STM32Cube IDE

First Experience with STM32Cube IDE

Let’s not introduce the functions of CubeMX, as it is commonly used and most should have experienced it. Now let’s directly experience the IDE. This is my first time using it without looking at any tutorials, just trying it out; apologies for any mistakes. Multiple code projects arranged together. Split screens can be positioned anywhere. … Read more

Switching from Keil5 to STM32CubeIDE for C++ Development

Switching from Keil5 to STM32CubeIDE for C++ Development

Since learning about the 51 microcontroller, my programming software has always been Keil5. Whether it’s C51 or MDK, my programming has always been based on Keil, except for using TI’s CCS to program the MSP series, and I have hardly used any other programming IDEs (except for the Arduino IDE for programming the ESP32). However, … Read more

STM32CubeIDE Quick Start Guide

STM32CubeIDE Quick Start Guide

Keywords: LSM6DSO, MEMS, Unicleo-GUI Table of Contents 1. Information Center 2. Workspace and Project 3. Project Information 4. Debugging 0. Introduction This document is a concise guide to help users quickly familiarize themselves with STMicroelectronics STM32CubeIDE. STM32CubeIDE is an integrated development environment (IDE) based on the ECLIPSE™ framework. It is designed for users developing embedded … Read more