![GigaDevice Semiconductor GD32E23 Series User Manual Download Page 467](http://html.mh-extra.com/html/gigadevice-semiconductor/gd32e23-series/gd32e23-series_user-manual_2225794467.webp)
GD32E23x User Manual
467
17.
Inter-integrated circuit interface (I2C)
17.1.
Overview
The I2C (inter-integrated circuit) module provides an I2C interface which is an industry
standard two-line serial interface for MCU to communicate with external I2C interface.I2C
bus uses two serial lines: a serial data line, SDA, and a serial clock line, SCL.
The I2C interface implements standard I2C protocol with standard mode, fast mode and fast
mode plus as well as CRC calculation and checking, SMBus (system management bus),
PMBus (power management bus) and SAM_V (secure access and control module for
validation) mode. It also supports multi-master I2C bus. The I2C interface provides DMA
mode for users to reduce CPU overload.
17.2.
Characteristics
Parallel-bus to I2C-bus protocol converter and interface.
Both master and slave functions with the same interface.
Bi-directional data transfer between master and slave.
Supports 7-bit and 10-bit addressing and General Call Addressing.
Multi-master capability.
Supports standard mode (up to 100 kHz), fast mode (up to 400 kHz) and fast mode plus
(up to 1MHz).
Configurable SCL stretching in slave mode.
Supports DMA mode.
SMBus 2.0 and PMBus compatible.
2 Interrupts: one for successful byte transmission and the other for error event.
Optional PEC (Packet Error Checking) generation and check.
Supports SAM_V mode.
17.3.
Function overview
Figure 17-1. I2C module block diagram
below provides details of the internal configuration
of the I2C interface.