A Comprehensive Guide to SPI Communication!

A Comprehensive Guide to SPI Communication!

Hello everyone, welcome to <span>LiXin Embedded</span>. In the world of embedded development, SPI (Serial Peripheral Interface) is undoubtedly a well-known name. It acts like an efficient “courier,” quickly transferring data between microcontrollers, sensors, ADCs, DACs, and other devices. With its high speed, simplicity, and ease of implementation, SPI has become a favorite in countless embedded … Read more

Standard Communication Protocols for IoT

Standard Communication Protocols for IoT

Recently, I have been revising the control architecture for the company’s IoT devices (vending machines). The reason for this is that the new partner equipment manufacturer has adopted a completely different communication protocol (MQTT). To ensure compatibility between the old and new devices while minimizing the impact on existing operations, I decided to restructure the … Read more

In the Ethernet Era, Modbus Still Thrives!!!

In the Ethernet Era, Modbus Still Thrives!!!

As a classic communication protocol in industrial automation, Modbus has been widely used globally since its inception in 1979. From the initial serial communication to today’s high-speed Ethernet links, Modbus has undergone technological evolution and expansion, marking a milestone in the field of industrial communication. The Origin of the Protocol: The Beginning of Serial Communication … Read more

In-Depth Explanation of Modbus Communication: A Case Study of S7-200 SMART and Energy Meter Integration

In-Depth Explanation of Modbus Communication: A Case Study of S7-200 SMART and Energy Meter Integration

Connecting a PLC to an energy meter? It sounds quite sophisticated, but it’s similar to connecting a Bluetooth headset to a phone; it’s just two devices communicating with each other. Modbus is the “language” they use to chat, which simply means sending and receiving data in a specific format. The S7-200 SMART is a compact … Read more

Basics of UART Communication

Basics of UART Communication

Click the blue text above to follow us Embedded Training – Choose Jufeng Smart Link 1. Definition UART (Universal Asynchronous Receiver/Transmitter) is a widely used serial communication protocol for transmitting data asynchronously between devices. It does not require a shared clock signal but relies on pre-agreed parameters (such as baud rate) for communication. Functions and … Read more

Introduction to Modbus Protocol

Introduction to Modbus Protocol

Modbus is a serial communication protocol that was published by Modicon (now Schneider Electric) in 1979 for communication with programmable logic controllers (PLCs). Modbus has become the de facto industry standard for communication protocols in the industrial sector and is now a common method for connecting industrial electronic devices. The main reasons for the widespread … Read more

Understanding the Principles of the SPI Communication Protocol

Understanding the Principles of the SPI Communication Protocol

The full English name of SPI is Serial Peripheral Interface, which, as the name suggests, is a serial peripheral interface.SPI is a synchronous serial communication interface specification primarily used for short-distance communication in embedded systems.This interface was developed by Motorola in the mid-1980s and has since evolved into an industry standard.SPI is a high-speed, full-duplex, … Read more

Understanding the SPI Bus Interface

Understanding the SPI Bus Interface

The Serial Peripheral Interface (SPI) is one of the most widely used interfaces between microcontrollers and peripheral ICs (such as sensors, ADCs, DACs, shift registers, SRAM, etc.). SPI is a synchronous, full-duplex, master-slave interface. Data from the master or slave is synchronized on the rising or falling edge of the clock. Both the master and … Read more

Comprehensive Guide to STM32 I2C

Comprehensive Guide to STM32 I2C

Click the blue text Follow us 1. Introduction to I2C The I2C communication protocol (Inter-Integrated Circuit) was developed by Philips. Due to its fewer pins, simple hardware implementation, and strong scalability, it does not require external transceivers for communication protocols like USART or CAN, and is now widely used for communication between multiple integrated circuits … Read more