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

Detailed Explanation of STM32 Serial Communication Basics

Detailed Explanation of STM32 Serial Communication Basics

Communication Methods Between Devices Generally, the communication methods between devices can be divided into two types: 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 data transmission direction, it can be divided into: Simplex: Data transmission only supports … Read more

OTA Online Upgrade Process via UART for MCU

OTA Online Upgrade Process via UART for MCU

Follow+Star Public Account, Don’t Miss Exciting Content Source Material | Network OTA upgrades are no longer a novelty; most IoT terminal devices now have this capability. Today, we will share the detailed process of OTA upgrades using the AT32 as an example. Overview The OTA (Over-the-Air Technology) allows users to write to specific areas of … Read more

Firmware Upgrade Process for Microcontroller UART

Firmware Upgrade Process for Microcontroller UART

OTA upgrades are no longer a novelty; most IoT terminal devices now have this capability. I previously shared an article on the principles of OTA upgrades: Dry Goods | Principles of Embedded OTA Upgrade Implementation. Today, I will share the detailed process of OTA upgrades using the AT32 as an example. . Overview Over-the-Air Technology … Read more

How to Swap UART Rx and Tx Pins and Invert Levels

How to Swap UART Rx and Tx Pins and Invert Levels

Follow+Star Public Account, don’t miss wonderful content Source | AI Electronics Today I will share with you some features of UART in STM32, mainly targeting newer series of STM32 (such as: STM32H7, G0, G4, etc.), which allows changes to the Rx and Tx pins, level inversion, high-low order, and introduces timeout, etc. Embedded Column 1 … Read more

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Why UART Is Preferred for Embedded Debugging Over SPI and I2C

Follow the blue text and reply “entry materials” to get a comprehensive tutorial from beginner to advanced on microcontrollers The development board will guide you, we will help you fly Written by | Wuji (WeChat: 2777492857) The full text is about1507 words, reading will take about 5 minutes I have been doing microcontroller development, but … Read more

Detailed Explanation of UART Protocol Based on Z20k11X

Detailed Explanation of UART Protocol Based on Z20k11X

Click the blue words Follow us 1. Introduction 1. Concept USART (Universal Synchronous Asynchronous Receiver Transmitter) is a serial communication device that can flexibly perform full-duplex information exchange with external devices. UART (Universal Asynchronous Receiver/Transmitter) is a bidirectional, serial, asynchronous communication bus that can achieve full-duplex communication using only one data receiving line (RXD) and … Read more

Understanding UART: A Comprehensive Guide

Understanding UART: A Comprehensive Guide

If you want to learn more related knowledge, please follow us for more knowledge sharing. 1. What is UART UART (Universal Asynchronous Receiver/Transmitter) is a type of asynchronous serial communication protocol that transmits each character of data one bit at a time. It is the most frequently used data bus in application development. The characteristics … 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

Detailed Explanation of STM32 Serial Communication

Detailed Explanation of STM32 Serial Communication

1. Data Communication Methods 1. Serial and Parallel Communication According to the method of data transmission, communication can be divided into serial communication and parallel communication. Serial Communication: This refers to the communication method where devices transmit data one bit at a time through a single data signal line, ground line, and control signal line. … Read more