STM32 IoT Kit Basics 06 – Serial Communication

STM32 IoT Kit Basics 06 - Serial Communication

Click the blue text above: IoT Inn Serial communication plays a very important role in embedded development. It is often used to debug systems, print necessary debugging information, and help us analyze and locate problems. Many common peripherals also support serial protocols, such as WIFI modules, Bluetooth modules, 4G modules, fingerprint modules, PM2.5 sensors, formaldehyde … Read more

Introduction to Independent Key in STM32 IoT Kit

Introduction to Independent Key in STM32 IoT Kit

Click the blue text above: IoT Inn to follow us. In previous sections, we used the LED light, buzzer, and relay components, driven by the GPIO output function of STM32. In this section, we will learn about the GPIO input function. When an external button is pressed, the microcontroller can detect it in real-time. Buttons … Read more

Basics of STM32 IoT Kit Part 05 – External Interrupts

Basics of STM32 IoT Kit Part 05 - External Interrupts

Click the blue text above: IoT Inn In the previous section, we learned about the independent key operation of the microcontroller. In fact, we used a polling method, which consumes MCU resources as it constantly checks for key presses. In this section, we will use interrupts to implement key operations. 01 Basic Knowledge 1Introduction to … Read more

Powerful ITM Debugging Tool for STM32

Powerful ITM Debugging Tool for STM32

STM32 has a code tracing feature, known as ITM, which is a very powerful debugging function that can replace serial input/output functionality, requiring only one I/O line to implement. Of course, its benefits are not limited to this; when debugging embedded operating system code, you will find it quite convenient. However, the focus of this … Read more

How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

How to Solve Runaway Phenomenon During STM32 Upgrade with IAP?

During the firmware upgrade process of the STM32 microcontroller, many engineers choose the IAP technology, which allows firmware updates to the microcontroller via the host computer while the application is running. However, occasionally, there may be a low probability of encountering a runaway phenomenon. How to solve it? 1. Check Power Supply Voltage Ensure that … Read more

Designing the Minimal System for STM32 Microcontroller

Designing the Minimal System for STM32 Microcontroller

Foreword Most of us fall into a misconception while learning STM32 — we focus solely on the software code and neglect the hardware aspect. In simple terms, we only know how to use the development board, and when it comes to designing our own STM32 system, we are at a loss. This article aims to … Read more

Basic Principles of STM32 Serial Communication

Basic Principles of STM32 Serial Communication

Background Knowledge of Communication Interfaces Ways of Communication Between Devices Generally, the communication methods between devices can be divided into parallel communication and serial communication. The differences between parallel and serial communication are shown in the table below. Classification of Serial Communication 1. According to the direction of data transmission, it can be divided into: … Read more

Understanding the Interrupt System in STM32

Understanding the Interrupt System in STM32

Little Science Gas Station In embedded learning, the STM32 series chips are particularly favored due to their many excellent features, such as the STM32 MCU integrating a wealth of peripherals, including communication interfaces (like UART, SPI, I2C, CAN, etc.), analog and digital interfaces, timers, and interrupt controllers. Today, Little Science introduces the interrupt system of … Read more

Essential Knowledge for Embedded Engineers

Essential Knowledge for Embedded Engineers

1. The Engineer’s Perspective on “Embedded Systems” From an engineer’s point of view: focus on understanding the concept of “embedding” from three main aspects: 1. From the hardware perspective, integrating peripheral devices based on the CPU into the CPU chip itself. For example, early computers based on the X86 architecture only had arithmetic and accumulator … Read more

How to Learn Embedded Systems? Engineer Learning Pathways Explained!

How to Learn Embedded Systems? Engineer Learning Pathways Explained!

In the field of embedded systems, hardware and software engineers are indispensable pillars, each undertaking different responsibilities and roles, yet closely connected, forming the core of embedded systems. Today, this article will detail what engineers need to learn, hoping to be helpful to everyone. Learning Path and Growth Direction for Embedded Hardware Engineers1. Learning Path① … Read more