Common communication methods of I2C bus

The I2C bus is a simple, bidirectional two-wire synchronous serial bus. The I2C communication protocol is widely used in the communication between multiple integrated circuits (ICs) in the system due to its few pins, simple hardware implementation, strong scalability, and no need for external transceiver devices such as USART and CAN communication protocols. .   […]

Read More

Zhongying chip hardware TWI support function

The I2C communication protocol has the advantages of reliable operation, low cost and less IO resources, and is widely used in multi-level communication; Zhongying chip hardware TWI (two-wire serial interface) interface is fully compatible with the I2C bus protocol. Zhongying chip hardware TWI support functions: Open-drain output, communication level is not affected by VDD; Support […]

Read More

In-depth understanding of IIC bus

1.IIC bus structure 2.IIC timing 3.IIC concept 1. Start condition (start condiTIon): To mark the official start of the transfer, the master device sets SCL high (both SDA and SCL are high when the bus is idle), and then pulls SDA low, so that all slave devices know that the transfer is about to start […]

Read More

Detailed explanation of the electrical characteristics of the I2C interface

Introduction to I2C I2C is used in consumer electronics, telecommunications, and industrial electronics. There are often many similarities in seemingly unrelated designs. For example, almost every system includes: (1) Some intelligent controls are usually a single-chip microcontroller. (2) General purpose circuits, such as LCD drivers, remote I/O ports, RAM EEPROM or data converters (3) Application-oriented […]

Read More

Design of UART communication based on FPGA/CPLD device and high-level language VB

introduction With the development and wide application of computer technology, especially in the field of industrial control, the application of computer communication is particularly important. Although serial communication greatly reduces the connection between devices, it brings problems such as serial/parallel conversion and bit counting, which makes serial communication technology more complicated than parallel communication technology. […]

Read More

Detailed I2C serial communication bus

Communication Protocol – I2C I2C (Inter-Integrated Circuit) is a serial communication bus that allows multiple hosts, but only one host can be online at the same time. I2C is composed of two open-drain signal lines, the wiring is simple, and the resistance is pulled up. The typical level is positive logic 3.3V or 5V. The […]

Read More

Design scheme of I2C SLAVE mode bus based on FPGA

 0 Preface As more and more applications are applied to FPGA in the development of embedded systems, some embedded CPUs, such as STM32, in order to reduce the cost and reduce the package size, do not have a dedicated CPU read and write bus, but only provide some such as SPI and I2C. Interface. And […]

Read More

Let the code help you understand I2C bus

I2C only uses two bidirectional lines, one serial data line (SDA) and the other 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: bidirectional data line, which is an OD gate, and forms a “line and” relationship with […]

Read More