GD32F10x User Manual
454
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 and fast-mode as
well as CRC calculation and checking, SMBus (system management bus) and PMBus (power
management bus). 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 conversion 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).
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.
17.3.
Function overview
Figure 17-1. I2C module block diagram
below provides details of the internal configuration
of the I2C interface.
Summary of Contents for GD32F10 Series
Page 63: ...GD32F10x User Manual 63 programmed during the chip production ...
Page 117: ...GD32F10x User Manual 117 010 1 0 011 0 9 ...
Page 416: ...GD32F10x User Manual 416 shadow register updates every update event ...
Page 427: ...GD32F10x User Manual 427 value ...
Page 518: ...GD32F10x User Manual 518 These bits are not used in SPI mode ...