When Not to Use I2C

When Not to Use I2C

I2C, as the most convenient and simplest onboard communication method, has certain scenarios where it is not suitable, and there are timing considerations to be aware of. Hardware Interface • Simple hardware interface with only two wires • SCL (Serial Clock) / SDA (Serial Data) • Low communication speed and low communication requirements • Fast: … Read more

Embedded Development in C: I2C Communication Protocol

Embedded Development in C: I2C Communication Protocol

Embedded Development in C: I2C Communication Protocol Introduction I2C (Inter-Integrated Circuit) is a widely used serial communication protocol, commonly utilized for communication between microcontrollers and various peripherals. It was developed by Philips in the early 1980s, primarily for short-distance, low-speed data transmission. I2C offers advantages such as simplicity, flexibility, and multi-master support, making it well-suited … Read more

RS-485 Communication Protocol

RS-485 Communication Protocol

RS-485 Communication Protocol Overview The typical serial communication standards are RS-232 and RS-485, which define voltage, impedance, etc., but do not specify software protocols. The RS-485 bus standard defines the electrical characteristics of the bus interface, specifically the definitions for two logic states: a positive level between +2V and +6V represents one logic state, while … Read more

Introduction to UART

Introduction to UART

1 UART UART is an asynchronous serial communication protocol, with the full English name Universal Asynchronous Receiver/Transmitter. Unlike communication protocols such as SPI and I2C, it is also a commonly used IP in SoCs. Its greatest advantage is that it uses only two wires for communication, supporting full-duplex, meaning one wire (UTx) is used for … Read more

RS-485 Protocol Overview

RS-485 Protocol Overview

: Recently, I modified an old device that required communication control applications, from which I derived some insights: 1. FX2N-485-BD is economical to use; A./ (ASCII communication mode, operation, and frequency register address can be easily mistaken, but LRC checksum is easy to obtain)/ B../ (RTU communication mode, operation, and frequency register address is less … Read more

Application of PROFIBUS in Electric Control of Oil Drilling Rigs

Application of PROFIBUS in Electric Control of Oil Drilling Rigs

In the electric control system of oil drilling rigs, PROFIBUS serves as an advanced industrial communication protocol, providing a stable and reliable communication platform for the automation control of drilling rigs. PROFIBUS has been widely used in electric drive systems due to its mature technology, high reliability, and modular functionality. It can connect various sensors, … Read more

I2C Bus Communication Protocol

I2C Bus Communication Protocol

I2C Bus (Inter-Integrated Circuit)is a two-wire serial bus developed by PHILIPS for connecting microcontrollers and their peripherals. It is a widely adopted bus standard in the field of microelectronics control. It is a special form of synchronous communication, characterized by fewer interfaces, simple control methods, fewer device packaging forms, and high communication rates. The I2C … Read more

Understanding UART Communication Protocol

Understanding UART Communication Protocol

UART, or Universal Asynchronous Receiver/Transmitter, is one of the most commonly used communication protocols between devices. When configured correctly, UART can work with many different types of serial protocols that involve sending and receiving serial data. In serial communication, data is transmitted bit by bit over a single line or wire. In bidirectional communication, we … Read more

Embedded Communication Protocol: How Many CAN Interview Questions Can You Answer?

Embedded Communication Protocol: How Many CAN Interview Questions Can You Answer?

1. What is the basic working principle of the CAN bus? The CAN bus is a multi-master serial communication protocol primarily used in automotive and industrial control. It transmits data through differential signals (CAN_H and CAN_L) and has a high anti-interference capability. The CAN bus employs a non-destructive bit arbitration mechanism to ensure that high-priority … Read more

Embedded Communication Principles – SPI Bus Communication Principles and Applications

Embedded Communication Principles - SPI Bus Communication Principles and Applications

Click the Blue Text Follow Us Introduction to SPI SPI (Serial Peripheral Interface) is a synchronous serial communication protocol used for data transmission between devices over short distances. It is commonly used for communication between microcontrollers and external devices such as sensors, flash memory, displays, etc. SPI has the following main characteristics: Basic Principles SPI … Read more