Understanding Serial Communication in Embedded Systems

Understanding Serial Communication in Embedded Systems

Embedded electronic devices are collections of various circuits (processors or other integrated circuits). In order to exchange information between these independent circuits, they must follow the same communication protocol. To accommodate different needs, engineers have defined hundreds of thousands of communication protocols, which can generally be divided into two categories: parallel or serial. 1. Parallel … Read more

Methods for RTOS Multi-Task Access to the Same UART

Methods for RTOS Multi-Task Access to the Same UART

Author | strongerHuang WeChat Official Account | Embedded Column In RTOS multi-task programming, it is common for multiple tasks to access the same hardware (such as UART, I2C, etc.). If not handled properly, it can lead to a “chaotic” situation. There are many methods to handle the “chaotic” situation. Below, based on FreeRTOS, I will … Read more

Understanding the Principle of Automatic Baud Rate Detection in STM32

Understanding the Principle of Automatic Baud Rate Detection in STM32

Your device connects to the other device. If it can automatically detect the baud rate without knowing the other party’s serial port baud rate, wouldn’t it be very convenient? 1 Overview Regarding the issue of automatic detection of UART serial port baud rate, those with project experience or who have studied serial communication should know … Read more

How to Connect Raspberry Pi 5 Using USB to UART Serial Cable

How to Connect Raspberry Pi 5 Using USB to UART Serial Cable

When using the Raspberry Pi, most of the time there is no monitor and keyboard/mouse available, and you may find that you cannot connect via WiFi or wired Ethernet. In these cases, there is still a way to connect, which is through the Raspberry Pi’s serial console connected to a computer without using a monitor, … Read more

×