A design of I/O configurable I2C bus interface with DMA function
Qiang Xiaoyan1,,Wang Jiayao2,Xing Mengfei1
(1.The 58th Research Institute of China Electronics Technology Corporation,, Wuxi 214072,, China;2.Hangzhou Research Institute of Xidian University,, Hangzhou 311231,, China)
Abstract: In order to make use of DMA to move data quickly, no CPU operation is required to reduce the workload of MCU, and each pin of the interface module can be programmed as I2C pin or universal I/O pin according to the demand, this paper introduces an I/O configurable I2C bus interface design with DMA function. The basic principle of I2C bus, the overall structure of I2C module, the design and implementation of DMA function and I/O configurable function are introduced. The function simulation of the interface design shows that the data transmission under the two modes of DMA function and I/O configurable function of I2C interface is realized, which fully meets the design requirements.
Key words : I2C bus;DMA function,;I/O configurable,;interface design