Detailed Explanation of SPI

Detailed Explanation of SPI

1 Introduction to SPI SPI, short for Serial Peripheral Interface, is a synchronous serial communication protocol. It was first defined by Motorola for its MC68HCXX series processors. The SPI interface is primarily used in EEPROM, FLASH, real-time clocks, ADCs, as well as between digital signal processors and digital signal decoders. SPI is a high-speed, full-duplex, … Read more

Understanding SPI Bus Hardware Protocol

Understanding SPI Bus Hardware Protocol

Some things can only be done alone. Some doors can only be passed alone. Some roads can only be walked alone. 1. Overview SPI: Serial Peripheral Interface. It is a synchronous serial bus interface specification developed by Motorola in the mid-1980s (with clock signal, controlled by clock polarity and clock phase for sampling, that is, … Read more

Detailed Explanation of SPI Protocol Using ADS1118

Detailed Explanation of SPI Protocol Using ADS1118

Recently, I needed to write a protocol, so I reviewed SPI again. (I have kept this draft for too long, if I don’t publish it now, I will forget it) First, I analyzed the characteristics of the SPI protocol, using the ADS1118 device as a carrier for analysis. Later, I used a logic analyzer to … Read more

Detailed Explanation of SPI

Detailed Explanation of SPI

1. Introduction to SPI SPI, short for Serial Peripheral Interface, is a serial communication interface defined by Motorola for its MC68HCXX series processors. The SPI interface is mainly used between EEPROM, FLASH, real-time clocks, AD converters, as well as digital signal processors and digital signal decoders. SPI is a high-speed, full-duplex, synchronous communication bus that … Read more

UART Communication Protocol Basics

UART Communication Protocol Basics

1. Introduction UART, full name Universal Asynchronous Receiver/Transmitter, translated as Universal Asynchronous Transceiver. The emergence of serial ports was around 1980, with data transmission rates of 115kbps~ 230kbps. Initially, serial ports were used to connect computer peripherals, typically connecting mice, external Modems, and old cameras and graphics tablets. Serial ports can also be used for … Read more

Embedded Development – Detailed Explanation and Application of CAN Protocol (Part 1)

Embedded Development - Detailed Explanation and Application of CAN Protocol (Part 1)

Click the blue words Follow us 1. Introduction to CAN Background of the CAN Protocol In the 1980s, the number of electronic control units (ECUs) in automobiles gradually increased, and traditional point-to-point electrical communication methods were becoming inadequate. The point-to-point connections between each electronic control unit and other devices made system wiring complex, costly, and … Read more

Embedded Development – Detailed Explanation and Application of CAN Protocol

Embedded Development - Detailed Explanation and Application of CAN Protocol

Click the blue text Follow us Bit Time and Bit Synchronization in CAN Communication In CAN communication, Bit Time refers to the time required to transmit one bit on the bus, which is the reciprocal of the CAN bus communication rate (baud rate). CAN communication ensures reliable data transmission by sampling and synchronizing the signal … Read more

UART Application Layer Protocol Design

UART Application Layer Protocol Design

The serial port enables reliable communication between two terminal devices, functioning as the transport layer in this process. This article focuses on the data protocol. Similar Scenarios Hey! Hey! This is Dong Guai! Please respond! Please respond! over! Such dialogues are often seen in war-themed films when calling teammates through walkie-talkies or related wireless devices. … Read more

Communication Protocol Design Principles for Embedded Devices

Communication Protocol Design Principles for Embedded Devices

Embedded devices need to set parameters during operation, which is often accomplished by a PC. A communication protocol must be designed for both parties, with three representative protocols as follows: As can be seen from the table above, embedded devices generally have limited memory and computational performance, so fixed binary is the preferred communication protocol. … Read more

Understanding the CANopen Communication Protocol

Understanding the CANopen Communication Protocol

‖ System Learning Life is like a marathon; sometimes you need to take a break to go fishing to go further. Hey! It’s time for a break again. A couple of days ago, I shared about Understanding a Communication Protocol: PROFINET Understanding a Communication Protocol: PROFIBUS Today, let’s learn about the new CANopen communication protocol. … Read more