Understanding STM32 IIC Challenges and Common Mistakes

First, a little aside~ It is said online that the IIC of STM32F103 has flaws! Let’s just consider it as some shortcomings; personally, I think it can definitely be used, but it is not easy to use. Because ST Company considered patent issues, they did not follow Philips’s standards. This leads to the IIC of … Read more

Why Can’t You Do Projects After Learning Microcontrollers for So Long?

Why Can't You Do Projects After Learning Microcontrollers for So Long?

You may have been studying for a long time, but when your leader throws an STM32 project at you, are you still at a loss? A friend of mine started learning the 51 microcontroller and later switched to STM32. He mainly learned by following online courses, typing code along the way. He went through various … Read more

In-Depth Explanation of STM32 Serial Communication Principles

In-Depth Explanation of STM32 Serial Communication Principles

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: Simplex: Data transmission only supports … Read more

Embedded Microcontroller Teaching (Part One)

01 Introduction Hello everyone~ Long time no see. From the title, you should know that I, the novice, am about to start a new series of tutorials for everyone. Some might say my topics are quite broad, from ROS to neural networks and now to embedded teaching. Actually, these are just some knowledge I’ve learned … Read more

Beginner’s Guide to STM32 Microcontroller and Practical Tutorial

Beginner's Guide to STM32 Microcontroller and Practical Tutorial

Course Details: This course mainly introduces the development process, methods, techniques, and design concepts of STM32 microcontroller application systems through typical examples, focusing on the system design of STM32 microcontrollers, combining software and hardware, in a simple and easy-to-understand manner. This book comprehensively explains various technologies in microcontroller development through 30 module examples, including microcontroller … Read more

Do USB Interfaces Need Pull-Up Resistors?

Do USB Interfaces Need Pull-Up Resistors?

It is common to see pull-up and pull-down resistors connected to the D+/D- lines of USB interfaces on some development boards, while others do not connect anything at all. This can be quite confusing. On the official USB protocol website, http://www.usb.org/developers/docs/usb20_docs/#usb20spec I checked the resistor_ecn document. First, the USB bus can have both idle and … Read more

Redirecting printf() Function to UART in MDK5

Redirecting printf() Function to UART in MDK5

Introduction In embedded development, redirecting printf to the UART serial port is an important means of debugging and logging output. In the Keil environment, the printf function does not directly support UART output for STM32. This article will introduce how to redirect stdout (standard output) to the serial port in the Keil MCU environment, allowing … Read more

How to Import STM32CubeMX Projects into SES?

How to Import STM32CubeMX Projects into SES?

SEGGER Embedded Studio (SES) is an integrated development environment that supports application development and debugging for ARM and RISC-V architectures. It also allows for the quick import of projects created with other toolchains, such as Eclipse, CMSIS, Keil, IAR, and CMake. This article will introduce how to import STM32CubeMX projects into Embedded Studio. The example … Read more