Contents
Application Note
Application Note
Document No.: AN1102
APM32F103 Software I2C Reading and
Writing EEPROM
Version: V1.0
Document No.: AN1102
www.geehy.com Page 1
Introduction
This application note provides how to use the ordinary IO port of the APM32F103 series to
simulate I2C timing and achieve bidirectional communication with AT24C02.
APM32F103 has two built-in I2C bus interfaces, which can work in multi-master mode or slave
mode and support both standard and fast modes. The I2C interface supports 7-bit or 10-bit
addressing, and supports slave address addressing in 7-bit slave mode. It has built-in hardware
CRC generator and calibrator. DMA operation can be used and SMBus bus version 2.0/PMBus
bus is supported.