Advanced Techniques in Communication Protocol Transmission Principles

Advanced Techniques in Communication Protocol Transmission Principles

UART, SPI, I2C and other serial communications are very common methods in embedded development. The underlying communication principles are not difficult, but many beginners struggle to learn them. Today, I will share some common underlying data transmission principles of communication. 1UART Serial Port UART: Universal Asynchronous Receiver/Transmitter. The UART serial port is the most common … Read more

Basics of SPI Bus

Basics of SPI Bus

Introduction SPI (Serial Peripheral Interface) is a synchronous serial interface technology introduced by Motorola. The SPI bus is physically implemented through a module called Synchronous Serial Port (MCU) on the microcontroller (PICmicro) connected to peripheral devices, allowing the MCU to communicate with various peripheral devices at high speed in a full-duplex synchronous manner. SPI The … Read more

I2C and SPI Bus Analysis and Applications

I2C and SPI Bus Analysis and Applications

” KE CHUANG YANG FAN “ “I2C and SPI Bus Analysis and Applications” ——I2C and SPI Bus Analysis and Applications In order to inspire students’ enthusiasm for technology and help them better understand and learn about serial communication knowledge, the Student Science and Technology Association of the School of Automation and Information Engineering (hereinafter referred … Read more

Understanding the I²C Bus Timing in Embedded Systems

Understanding the I²C Bus Timing in Embedded Systems

The I²C bus is very common in embedded systems, but recently in a group (possibly a beginner group) communication, I was quite surprised that many people do not even understand the I²C bus basics. Today, I will explain the timing of the I²C bus. Many electronic engineers should know about the I²C bus from EEPROM … Read more

Basics of Bus – I2C Bus

Basics of Bus - I2C Bus

Introduction When it comes to driver development, we must mention the bus; the bus is the bridge for data transmission between devices. Computers categorize buses into three types: data bus, address bus, and control bus, which are collectively referred to as the system bus. Generally, the system bus, internal bus, and external bus are known … Read more

Understanding Serial Port Configuration in Embedded Development

Understanding Serial Port Configuration in Embedded Development

The serial port is a commonly used interface in computers, with the most common being the RS-232-C interface. It was established in 1970 by the Electronic Industries Alliance (EIA) in collaboration with Bell Systems, modem manufacturers, and computer terminal manufacturers as a standard for serial communication. Its full name is “serial binary data exchange interface … Read more

Introduction to 80C51 Microcontroller Pins and Functions

Introduction to 80C51 Microcontroller Pins and Functions

The 80C51 microcontroller is a classic 8-bit microcontroller released by Intel many years ago. It is widely used in various embedded systems and integrates multiple functions such as CPU, memory, and I/O interfaces. It can connect and communicate with external devices through specific pins. This article will introduce the pins and functions of the 80C51 … Read more

Microcontroller Chip Operation Summary

The operation of the chip mainly involves manipulating the registers within the chip. Each register has its own unique address mapped in memory, which is what we are operating on. To understand the chip, first look at the timing diagram, then understand the corresponding registers, how they operate, define the necessary ports (which the program … Read more

An Overview of UART Modes in STM32

An Overview of UART Modes in STM32

Click the blue text to follow us 0. Introduction: Computer communication is divided into serial communication and parallel communication. Parallel communication: Typically transmits data bytes simultaneously using multiple data lines. Serial communication: Transmits data bytes one bit at a time over a single transmission line. Each has its own advantages and disadvantages: Parallel communication: Simple … Read more

Understanding STM32 Serial Communication

Understanding STM32 Serial Communication

Introduction to Serial Communication Classification Based on Data Transmission Direction Simplex: Data transmission only supports data transfer in one direction. Half-Duplex: Allows data to be transmitted in both directions. However, at any given time, data can only be transmitted in one direction, which is essentially a switched direction simplex communication; it does not require separate … Read more