Basics of UART Communication

Basics of UART Communication

Introduction Previously, we introduced the basic knowledge of I2C and SPI. In this chapter, we will discuss UART (Universal Asynchronous Receiver/Transmitter), which is used for communication between internal and external devices of a computer. Data transmission within a computer is parallel, while data transmission with external devices is often serial. Therefore, a chip is needed … Read more

Understanding the Differences Between RS-232, RS-422, and RS-485

Understanding the Differences Between RS-232, RS-422, and RS-485

Serial Communication My Diary 2024 Is the most basic communication method faced by electrical engineers, with RS-232 being the simplest among them. Many beginners often struggle to understand the relationship and differences between UART and RS-232, RS-422, RS-485. This article will discuss these concepts to help clarify their relationships. If we compare serial communication to … Read more

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