设计实现了一种支持多模式传输的I^2C主从控制器,不仅完全支持I^2C标准协议,而且在传输方向、地址呼叫、数据传输控制等多个方面进行了扩展,使用更加方便灵活.重点对设计实现中有限状态机状态设计,发送和接收的对接控制做了详细的阐述,并且对重要的时序参数在逻辑设计阶段进行了设计保证.RTL级模拟和FPGA仿真验证了功能和时序的正确性.
This paper presents an I^2C controller supporting multi - mode transfer. It not only implemented the standard I^2C bus specification, but also had some extension. It can support both master and slave, can select 5 transmission directions, and has several ways of address calling, etc. This paper emphasizes the design of the finite state machine and the controller of sending and receiving. All of functions and timing parameters were verified by RTL simulation and FPGA simulation.