Communication Protocols in Hardware: I2C, UART, and SPI

Communication Protocols in Hardware: I2C, UART, and SPI

My primary job is as an automotive electronics engineer. Previously, I have been working on the software side. Recently, I started learning about hardware. Here, I will document my learning content. Starting with the MCU collecting sensor data. After studying the pin configuration of the MCU, I decided to begin with communication methods. I²C, UART, … Read more

I2C Driver for FPGA Function Module

I2C Driver for FPGA Function Module

1. Introduction to I2C Reference Source https://blog.csdn.net/Teminator_/article/details/141224886 1.1 Overview of I2C Bus (1) The IIC protocol (Inter-Integrated Circuit, abbreviated as I2C) is a serial communication protocol used for communication and data exchange between various electronic devices. It was first proposed and promoted by Philips in 1982 as a simple, efficient, and low-cost communication protocol. (2) … Read more

Digital IC Design – In-Depth Understanding of the I2C Serial Bus (Part 1)

Digital IC Design - In-Depth Understanding of the I2C Serial Bus (Part 1)

Click the blue text to follow us The I2C (Inter-Integrated Circuit) bus is a two-wire serial expansion bus introduced by Philips for connecting IC devices. Devices connected to the I2C bus can transmit data via the Serial Data Line (SDA) and Serial Clock Line (SCL). I2C Bus Structure Both SCL and SDA of the I2C … Read more

Why I²C is One of the Most Common Communication Protocols in Embedded Systems?

Why I²C is One of the Most Common Communication Protocols in Embedded Systems?

Why I²C is one of the most commonly used communication protocols in embedded systems?1. Background and Importance of I²C Communication The I²C (Inter-Integrated Circuit) communication protocol was developed in the 1980s by Philips (now NXP Semiconductors) to simplify communication between various integrated circuits within electronic devices. It is particularly suitable for scenarios requiring low-speed interconnection … Read more

ESP32 | Sensor 09 – OLED Display

ESP32 | Sensor 09 - OLED Display

01 Overview The OLED screen has advantages such as high contrast, low power consumption, wide viewing angles, and self-emissive pixels, making it suitable for small display applications like wearable devices and desktop widgets. This OLED display has a size of 0.96 inches, with a resolution of 128×64 pixels, and uses I2C communication, driven by the … Read more

Communication Methods Between Multiple Microcontrollers: A Detailed Overview

Communication Methods Between Multiple Microcontrollers: A Detailed Overview

Overview of Common Communication Methods Between Microcontrollers 1. Asynchronous Serial Communication Using Hardware UART. This is a communication method that occupies fewer pins, is effective, and reliable; however, many small microcontrollers lack hardware UART, and some only have one UART. If the system also needs to communicate with a host computer, the hardware resources are … Read more

Comprehensive STM32 Learning Notes from Jiangsu University of Science and Technology (Completed)

Comprehensive STM32 Learning Notes from Jiangsu University of Science and Technology (Completed)

This document details various technical knowledge points of STM32, including GPIO operations, timer applications, ADC analog-to-digital conversion, serial communication, I2C/SPI communication, power management, watchdog, and Flash programming, making it suitable for both beginners and advanced learners of STM32. 01. Summary of STM32 Learning Notes STM32 Learning Notes – Course Introduction (01) Link:https://blog.csdn.net/u010249597/article/details/134758736 STM32 Learning Notes … Read more

Understanding the I2C Bus Protocol

Understanding the I2C Bus Protocol

The Linux driver introductory course is now online and will be continuously updated! https://www.bilibili.com/cheese/play/ss635583370 01 Introduction to the I2C Bus The I2C bus protocol (Inter-Integrated Circuit) is a serial communication bus protocol proposed by Philips (now NXP), primarily used for low-speed, short-distance communication between a master chip and various peripherals (such as EEPROMs, sensors, RTCs, … Read more

MCU Micro Classroom | CKS32K148 LPI2C

MCU Micro Classroom | CKS32K148 LPI2C

MCUMicro Classroom CKS32K148 LPI2C Issue 60 2025.09.16 LPI2C (Low Power Inter-Integrated Circuit) is a low-power I2C interface module in the CKS32K148 microcontroller. The CKS32K148 MCU features two LPI2C modules, LPI2C0 and LPI2C1, supporting communication rates of standard mode (100 kbps), fast mode (400 kbps), fast+ mode (1 Mbps), and high-speed mode (3.4 Mbps). Main Features … Read more

I2C Communication Protocol Q&A Collection for Self-Assessment — Part 2

I2C Communication Protocol Q&A Collection for Self-Assessment -- Part 2

1. What is the basic principle of I2C communication?A: I2C adopts a master-slave communication mechanism. The master device initiates and controls the communication, while the slave device responds to the master’s requests. 2. What are the key features of I2C communication?A: Supports multi-master and multi-slave architecture; requires only two communication lines; supports different transmission rates. … Read more