Is CAN Bus More Difficult Than UART Serial?

Is CAN Bus More Difficult Than UART Serial?

Recently, I saw some netizens discussing whether ‘CAN is more difficult than UART’ in a technical group. Some netizens said CAN is very simple, while others said CAN is very difficult. In fact, whether it is difficult or not mainly depends on your perspective. Some netizens may have a good foundation and have studied CAN, … Read more

Understanding UART Protocol Frame Format

Understanding UART Protocol Frame Format

Look at the image below; you probably guessed that today’s protagonist is UART. The serial port we commonly refer to includes both TTL level and RS-232 level, and in embedded systems, the serial port of microcontrollers is usually TTL level. Today’s content is about the frame format of UART, which is quite simple; those who … Read more

Automatic Baud Rate Detection for STM32 Serial Ports

Automatic Baud Rate Detection for STM32 Serial Ports

1Introduction Regarding the issue of automatically identifying the UART serial port baud rate, those with project experience or who have studied serial ports should know a little about the methods for automatic identification. Most likely, the common knowledge is to achieve this through baud rate matching, which is the most common and effective method. The … Read more

Exploring the Secrets of Arduino Serial Communication

Exploring the Secrets of Arduino Serial Communication

Basic Principles of Arduino Serial Communication Communication Methods and Implementation Serial communication is a method of transmitting data in a bit-wise order. In Arduino, serial communication is mainly achieved through UART (Universal Asynchronous Receiver-Transmitter). UART utilizes two pins, TX (transmit) and RX (receive), to complete the data sending and receiving tasks. Data is transmitted in … Read more

How to Modify Serial Port Baud Rate on Linux for Rockchip RK3562 Development Board

How to Modify Serial Port Baud Rate on Linux for Rockchip RK3562 Development Board

Some serial port tools do not support a baud rate of 1500000. In this case, it is necessary to make modifications. This article takes the Rockchip RK3562 Development Board as an example to introduce how to modify the system serial port baud rate on Linux. Note: The serial port baud rate of the Rockchip solution … 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