Air724UG Software Guide: I2C Example

Air724UG Software Guide: I2C Example

Read the latest documentation and participate:【Find Errors in Documentation to Win Prizes】 Event For the latest documentation content, see: https://docs.openluat.com/air724ug/luatos/app/driver/i2c/ 1. Introduction The I2C bus (Inter-Integrated Circuit) is a simple, bidirectional, two-wire synchronous serial bus developed by Philips. It requires only two wires to transmit information between devices connected to the bus. The Air724UG module … Read more

Understanding I2C, SPI, and UART Serial Communication

Understanding I2C, SPI, and UART Serial Communication

1.I2C: Inter-Integrated Circuit, abbreviated as I2C Bus. I2C mainly distinguishes slave devices through addresses, and its communication principle is relatively simple. 2.SPI: Serial Peripheral Interface, a common serial synchronous communication protocol widely used in applications. 3.UART: Universal Asynchronous Receiver/Transmitter, a serial, asynchronous, full-duplex communication protocol. GIF source from https://www.parlezvoustech.com/en/comparaison-protocoles-communication-i2c-spi-uart/ Follow the WeChat public account “Embedded … Read more

Comprehensive Introduction to UART, SPI, and I2C Protocols

Comprehensive Introduction to UART, SPI, and I2C Protocols

I2C Communication Protocol Basics 3.1 Communication Overview I²C (Inter-Integrated Circuit) is a serial communication bus designed by Philips in the early 1980s. It facilitates communication between motherboards, embedded systems, or mobile phones and peripheral devices. Due to its simplicity, it is widely used for communication between microcontrollers and sensor arrays, displays, IoT devices, EEPROMs, etc. … Read more

Using I2C to Drive PCA9555 Expansion Chip

Using I2C to Drive PCA9555 Expansion Chip

To further study Linux I2C, after the previous I2C driver for BL24C04, I have prepared the PCA9555/TCA9555 expansion GPIO chip. Its specific function is to extend 16 GPIOs via the I2C bus and it has input interrupt capabilities. 1. Add PCA9555 Device Tree Node According to the PCA9555 circuit diagram above, the 7-bit I2C address … Read more

High-Speed I2C Driver for OLED Screen

High-Speed I2C Driver for OLED Screen

Write summaries, discuss careers, and win DJI drones, Redmi tablets, Huawei headphones, and JD cards! This article is from the Breadboard Community’s “Lingdong Mini-F5333 Development Board” free evaluation activity. 【Purpose of Experience】Light up the OLED screen and learn to use I2C peripherals. 【Experimental Equipment】 MIN-F5333 Development Board OLED Display Screen 【Implementation Steps】 1. Copy the … Read more

Understanding I2C Communication Methods

Understanding I2C Communication Methods

Overview:The I2C communication interface is the most commonly used MCU peripheral in our daily applications. Initially, before the MCU had hardware I2C, I2C communication was achieved by simulating the I2C timing through GPIO ports. Later, with the introduction of hardware I2C peripheral interfaces in MCUs, the use of hardware I2C became commonplace. More importantly, it … Read more

Understanding UART, I2C, SPI, and Other Communication Protocols

Understanding UART, I2C, SPI, and Other Communication Protocols

UART, I2C, RS485… These communication protocols are commonly used, but their explanations can be ambiguous. I feel it’s necessary to organize them to consolidate and differentiate. The article is a bit long, so I suggest saving it for later reference. UART stands for Universal Asynchronous Receiver-Transmitter. The UART port refers to a type of physical … Read more

I3C: The Next Generation Serial Communication Technology

I3C: The Next Generation Serial Communication Technology

The Electronic Enthusiast Network reports (by Li Ningyuan) that the I2C bus, a well-known simple, bidirectional two-wire synchronous serial bus technology developed by Philips, requires only two wires to transmit information between devices connected to the bus. It has been widely used to connect various sensors, LCD screens, and memory. Previously, the impression of I2C … Read more

Introduction and Comparison of CAN, I2S, I2C, SPI, and SSP Buses

Introduction and Comparison of CAN, I2S, I2C, SPI, and SSP Buses

1. SPI BusThe Serial Peripheral Interface (SPI) bus technology was introduced by Motorola and is a synchronous serial interface. Most MCUs (Microcontrollers) produced by Motorola, such as the 68 series MCUs, are equipped with SPI hardware interfaces. SPI is used for full-duplex, synchronous serial communication between the CPU and various peripheral devices. SPI can simultaneously … Read more