FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion

A bus port and peripheral bus technology, which is applied in the field of multi-channel I2C bus port expansion based on FPGA, can solve the problems of reduced communication speed, waste of time, and I2C bus can not meet the communication between devices, and achieve the effect of improving communication speed.

Inactive Publication Date: 2011-11-16
TOEC TECH
View PDF4 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are still deficiencies in the prior art: first, because the main control MCU of a general communication device has only one I2C bus port, when the communication device needs to communicate with multiple slave devices of the I2C bus between systems at the same time, the main control device To connect with all slave devices or slave devices through a single I2C bus port, a master device with only one I2C bus port can only communicate with slave devices or slave devices in turn. When the master device commu

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion
  • FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion
  • FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] In order to understand the present invention more clearly, describe the present invention in detail in conjunction with accompanying drawing and embodiment:

[0021] When the FPGA extended I2C port is configured on the FPGA port, the level of the corresponding pin needs to be selected as the I2C level mode. The high-speed parallel port is used for communication between the MCU and the FPGA, and one Byte of data can be transmitted each time. The transfer rate depends on the system clock of the MCU.

[0022] The parallel ports of MCU and FPGA are defined as follows:

[0023] ADDR_BUS[15:0] : Address bus (represents the address of the register in the FPGA)

[0024] DATA_BUS[7:0] : bidirectional data bus

[0025] WRB: write control signal, active low

[0026] RDB: read control signal, active low

[0027] RD_IRQ: read interrupt signal, active low

[0028] Two types of registers are set in the FPGA to realize the interaction between the MCU and the FPGA.

[002...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to an FPGA (Field Programmable Gate Array)-based method for realizing multi-path I2C (Inter-Integrated Circuit) bus port expansion. The FPGA-based method is used for the communication between master equipment and slave equipment of a communication system, and a master control MCU (Micro Control Unit) of the master equipment is connected with one FPGA through a high-speed parallel port so as to form an FPGA interior circuit through programming, wherein the FPGA interior circuit comprises an MCU interface module and a multi-path I2C interface module. The I2C port formed by FPGA expansion completely accords with an I2C bus protocol; and by applying the method for communication port expansion in the invention to the master equipment in the I2C bus communication system, the speed of communication between the master equipment and the salve equipment or slave devices can be greatly increased.

Description

technical field [0001] The invention relates to communication, measurement and control equipment, in particular to a method for realizing multi-channel I2C bus port expansion based on FPGA. Background technique [0002] At present, with the development of communication technology, there are more and more communications between circuit boards and devices of communication and measurement and control equipment circuits, so the requirements for board-level communication speed are also getting higher and higher. However, there are still deficiencies in the prior art: first, because the main control MCU of a general communication device has only one I2C bus port, when the communication device needs to communicate with multiple slave devices of the I2C bus between systems at the same time, the main control device To connect with all slave devices or slave devices through a single I2C bus port, a master device with only one I2C bus port can only communicate with slave device...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F13/38
Inventor 王东锋杨林朱力陈伟峰张睿钱瑞杰张天晶
Owner TOEC TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products