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

IIC vs SPI: Which Communication Protocol Is Stronger?

IIC vs SPI: Which Communication Protocol Is Stronger?

In the field of electronic engineering, IIC and SPI are two common wireless communication protocols used in various communication devices, with a wide range of application scenarios. However, many beginners in electronics are unclear about the differences between these two protocols, so this article will elaborate on both protocols. 1. IIC IIC, short for Internet … Read more

Mastering I2C/SPI Communication Protocols

Mastering I2C/SPI Communication Protocols

Communication Protocol What are the differences between synchronous vs asynchronous and serial vs parallel? Communication protocols are fundamental skills that are applicable everywhere. However, very few people can confidently say they fully understand a specific communication protocol. Often, we only use part of the protocol. Hardware Engineer Growth Plan Phase IV: Hard Sound UP Master … Read more

Detailed Overview of I2C and SPI Communication Protocols

There are many serial communication protocols, among which I2C and SPI are very well-known.I2C and SPI are both bus protocols that allow users to perform short-distance serial data transmission. I2C is a two-wire communication protocol developed by Philips (now NXP), while SPI was developed by Motorola. These two protocols are commonly used in electronic devices … Read more

How Do MCUs With Different Voltage Levels Communicate?

How Do MCUs With Different Voltage Levels Communicate?

For a long time, communication between microcontrollers (MCUs) has been a learning challenge for many electronic engineers. Since different MCUs may use different voltage levels, many beginners are curious about how these MCUs can communicate. Let’s take a look! Generally speaking, communication between MCUs relies on digital signals, where the voltage level of the digital … Read more

Hands-On STM32 SPI Interface (Part 1)

Hands-On STM32 SPI Interface (Part 1)

●SPI Bus 1. What is SPI SPI is the abbreviation for Serial Peripheral Interface, which is a serial peripheral interface. SPI is a high-speed, full-duplex, synchronous communication bus that occupies only four pins on the chip, saving pin space and providing convenience for PCB layout. Due to its simplicity and ease of use, more and … Read more

Hands-On Guide to STM32 I2C Bus

Hands-On Guide to STM32 I2C Bus

●IIC Bus 1. Concept of IIC I²C stands for Inter-Integrated Circuit, using two bidirectional lines: one Serial Data Line (SDA) and one Serial Clock (SCL). SCL: The rising edge inputs data into each EEPROM device; the falling edge drives the EEPROM device to output data (edge-triggered). SDA: The bidirectional data line is an open-drain configuration, … Read more

Understanding Automotive CAN Bus Technology Principles

This article is reprinted from the Jishu Community Jishu Column: Shanghai Hangxin Author: C H E N Y I With the continuous development of the automotive industry, the number of automotive electronic control units has gradually increased, and the signal exchange between various control units has become more complex. The CAN bus connects the various … Read more

Can SPI Use UART Communication Protocol?

Can SPI Use UART Communication Protocol?

Follow+Star Public Account, don’t miss out on exciting content Author | strongerHuang WeChat Official Account | strongerHuang Recently, a reader asked this question: Can SPI use the UART custom communication protocol? In principle: as long as the communication protocol is not directly related to the underlying communication interface (hardware), it can be used. For example, … Read more

Microcontroller Communication Protocols: UART, SPI, I2C

Microcontroller Communication Protocols: UART, SPI, I2C

Today, let’s talk about the topic of microcontroller communication protocols. When microcontrollers interact with peripherals, there needs to be a common language, right? That’s what communication protocols are for! We will focus on three common protocols: UART, SPI, and I2C, and see how they allow devices to communicate with each other. UART: The Simplest Serial … Read more