A Comprehensive Overview of the STM32 Ecosystem

A Comprehensive Overview of the STM32 Ecosystem

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 tools and software packages necessary for development. Below is an image that gives a global view … Read more

C++ Embedded System Upgrade: Collaboration Between Hardware and Software

C++ Embedded System Upgrade: Collaboration Between Hardware and Software

C++ Embedded System Upgrade: Collaboration Between Hardware and Software In the development process of embedded systems, as technology continues to evolve and demands change, both the software and hardware of devices need to be updated regularly. This article will introduce how to implement a simple embedded system upgrade solution in C++, focusing on how to … Read more

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32

Efficient UART Reception Programming Example with DMA and IDLE Based on STM32 The goal of this article: A FreeRTOS programming example based on STM32_H5 According to the description in this article, experiments should be able to be conducted on the corresponding hardware, and similar applications can be derived. Prerequisites: Basic knowledge of C language, and … Read more

Edge AI Tool – NanoEdge AI Studio Installation Guide

Edge AI Tool - NanoEdge AI Studio Installation Guide

Recently, STMicroelectronics’ artificial intelligence tool – NanoEdge AI Studio has become available for free use. Taking this opportunity, I have worked on some projects and accumulated some experience, which I have organized into this article for everyone to reference. 1. Introduction NanoEdge AI Studio is an artificial intelligence development tool launched by STMicroelectronics, specifically designed … Read more

Embedded Programming (24) – How to Use the #ifndef Directive?

Embedded Programming (24) - How to Use the #ifndef Directive?

Lifetime Technical Support:186 3636 9649 Author Introduction: Fan Shengmin (186 3636 9649), Member of the Science Writers Association of Yuncheng City, Member of the Science Writers Association of Shanxi Province. Author of maker education. Published “Playing with Electronics” in 2016, “Super Fun Electronic Production” in 2017, “Electrical Experiments in Life” in 2018, “Arduino Programming and … Read more

Analyzing MCU Stack Space with STM32 and Keil MDK

Analyzing MCU Stack Space with STM32 and Keil MDK

Follow+Star Public Account Number, don’t miss out on exciting content Author | strongerHuang WeChat Public Account | Embedded Column The stack is very important for programs; it plays a significant role in enabling programs to run quickly. But do you understand the stack? 1Introduction We all know that the stack is located in RAM, and … Read more

Discussion on LPUART Waking Up MCU from STOP Mode

Discussion on LPUART Waking Up MCU from STOP Mode

Introduction In low-power applications, it is sometimes necessary to put the MCU into STOP mode to save power. In some chip architectures, to achieve this, the serial port pins are often configured as general I/O pins with external interrupt mode before entering low-power mode. While this can achieve the desired effect, it inevitably leads to … Read more

An In-Depth Look at the SPI Communication Protocol and Practical Applications with STM32 (W25Q128 Driver) – Theoretical Part

An In-Depth Look at the SPI Communication Protocol and Practical Applications with STM32 (W25Q128 Driver) - Theoretical Part

1. SPI Communication Protocol: The High-Speed Dialogue of Electronic Devices SPI (Serial Peripheral Interface) is a commonly used synchronous serial communication protocol between electronic devices. Due to its high speed and full-duplex characteristics, it is widely used for communication with peripherals such as memory and sensors. 1.1 Basic Principles (Four-Wire Interaction) SCK: Clock signal line … Read more

SPI Communication (STM32 vs GD32)

SPI Communication (STM32 vs GD32)

This article summarizes the learning process of STM32 and GD32, and I hope it serves as a reference for you. 1. Characteristics of SPI Communication SPI is a full-duplex, synchronous, serial communication protocol. Full-duplex: Simultaneous data transmission and reception (Half-duplex transmits and receives data in a time-shared manner) Synchronous: All tasks must be completed before … Read more

Embedded Development in C: I2C Communication Protocol

Embedded Development in C: I2C Communication Protocol

Embedded Development in C: I2C Communication Protocol Introduction I2C (Inter-Integrated Circuit) is a widely used serial communication protocol, commonly utilized for communication between microcontrollers and various peripherals. It was developed by Philips in the early 1980s, primarily for short-distance, low-speed data transmission. I2C offers advantages such as simplicity, flexibility, and multi-master support, making it well-suited … Read more