Summary of Common Interfaces for ARM Microcontrollers

Summary of Common Interfaces for ARM Microcontrollers

1 I2C Bus The programming related to I2C mainly involves two situations: ARM chips with dedicated controllers and microcontroller chips without controllers. For ARM chips with controllers, operations are performed based on the data manual by setting the corresponding registers (control registers, status registers, etc.); however, for microcontroller chips without controllers, I2C protocol needs to … Read more

Detailed Explanation of SPI in Electronic Communication

Detailed Explanation of SPI in Electronic Communication

When connecting a microcontroller to sensors, displays, or other modules, have you ever considered how the two devices communicate? What exactly are they saying? How can they understand each other? Communication between electronic devices is like communication between humans; both parties need to speak the same language. In electronics, these languages are called communication protocols. … Read more

I2C and SPI Bus Analysis and Applications

I2C and SPI Bus Analysis and Applications

” KE CHUANG YANG FAN “ “I2C and SPI Bus Analysis and Applications” ——I2C and SPI Bus Analysis and Applications In order to inspire students’ enthusiasm for technology and help them better understand and learn about serial communication knowledge, the Student Science and Technology Association of the School of Automation and Information Engineering (hereinafter referred … Read more

Linux Tools i2c-tool and memtool32 for Register Operations

Linux Tools i2c-tool and memtool32 for Register Operations

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇Join our technical exchange QQ group with the remark 【Public Account】 for faster access 1. First, download the i2c-tool and memtool32 tools directly to the development board for use: 2. i2cdetect command: This command is used to scan for devices on the i2c bus … Read more

Differences of STM8 I2C Compared to Other Interfaces

Differences of STM8 I2C Compared to Other Interfaces

Compared to STM32, the STM8 series microcontrollers, although less well-known, hold a certain position in industrial control and embedded systems due to their efficient performance and rich peripheral interfaces, among which the I2C (Inter-Integrated Circuit) interface plays an important role. This article will analyze the characteristics of the STM8 I2C interface and explain its advantages … 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

Understanding the I²C Bus Timing in Embedded Systems

Understanding the I²C Bus Timing in Embedded Systems

The I²C bus is very common in embedded systems, but recently in a group (possibly a beginner group) communication, I was quite surprised that many people do not even understand the I²C bus basics. Today, I will explain the timing of the I²C bus. Many electronic engineers should know about the I²C bus from EEPROM … Read more

Basics of Bus – I2C Bus

Basics of Bus - I2C Bus

Introduction When it comes to driver development, we must mention the bus; the bus is the bridge for data transmission between devices. Computers categorize buses into three types: data bus, address bus, and control bus, which are collectively referred to as the system bus. Generally, the system bus, internal bus, and external bus are known … Read more

Understanding the I2C Bus

Understanding the I2C Bus

1. Overview The I2C bus is a very popular and powerful bus, commonly used for communication between one (or multiple) master devices and one or more slave devices. Figure 1 shows that various peripherals can share this bus, which only requires two wires to connect to the processor. This is one of the biggest advantages … 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