Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules

Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules

Integrating Wireless Communication Modules: Practical Guide to Connecting Microcontrollers with Bluetooth Modules In modern electronic projects, wireless communication has become an indispensable part, and Bluetooth modules are a popular choice for wireless communication due to their low power consumption, low cost, and ease of use. This article will focus on the integration of microcontrollers with … Read more

Embedded – Profibus Protocol Porting

Embedded - Profibus Protocol Porting

The following are detailed steps and technical points for porting the Profibus protocol based on UART, suitable for industrial automation device development scenarios: 1. Overview of Profibus Protocol 1.Protocol Types: ◦Profibus DP: Used for high-speed communication at the device level (12Mbps), master-slave architecture. ◦Profibus PA: Used for process automation, supports intrinsic safety and bus power … Read more

Troubleshooting SWD Connection Issues with Your Board

Troubleshooting SWD Connection Issues with Your Board

The board is ready, and the MCU is soldered, but the SWD cannot connect, and the program cannot be downloaded. What should I do? This issue seems to occur frequently, so I would like to share some recent cases I encountered. 1) Case 1: Engineer A made 5 boards, but none could connect. After confirming … Read more

Collection | UART Communication Protocol in Electronic Communication Protocols

Collection | UART Communication Protocol in Electronic Communication Protocols

Do you remember the era when printers, mice, and modems came with those bulky connectors and thick cables? Literally, those that had to be screwed into your computer? These devices might be using the UART protocol to communicate with your computer. Although USB has almost completely replaced those old cables and connectors, UART is by … 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

Design and Implementation of Automatic Baud Rate Recognition Program for UART

Design and Implementation of Automatic Baud Rate Recognition Program for UART

Hello everyone, I am Pi Zi Heng, a serious technical person. Today, I will share with you the design and implementation of an automatic baud rate recognition program for UART in embedded systems. The UART (Universal Asynchronous Receiver-Transmitter) is the most basic, commonly used, and simplest communication (data transmission) method in embedded systems. It can … Read more

Digital Power Software Interview: How to Answer UART Communication Questions for Microcontrollers?

Digital Power Software Interview: How to Answer UART Communication Questions for Microcontrollers?

Digital power modules utilize various communication protocols such as I2C, SPI, CAN, and UART, as well as interaction protocols based on these, such as CANopen, SAE 1939, SMbus, PMbus, and Modbus.This article simulates a Q&A regarding knowledge related to UART communication. Question 1: What are the characteristics of UART communication? Answer: Asynchronous communication, low cost, … Read more

5-Minute Tutorial: How to Gain Root Access via UART

5-Minute Tutorial: How to Gain Root Access via UART

Introduction Do you know how IoT devices and other hardware manufacturers debug and test their devices? That’s right, in most cases, they leave a serial interface, allowing them to read real-time debug logs or interact with the hardware through a shell. There are mainly two different types of serial interfaces, but the most common one … Read more

The SPI Protocol is Not as Simple as I Thought

The SPI Protocol is Not as Simple as I Thought

Hello everyone, I am Jide Cheng. Today I will share content related to the SPI protocol. Table of Contents Introduction Table of Contents First, let’s talk about UART SPI Communication Protocol Characteristics of SPI Mode Numbers Multi-Slave Mode Advantages and Disadvantages Programming Implementation First, Let’s Talk About UART I previously wrote an article on UART, … Read more