A system and a method for realizing I2C bus expansion by using a CPLD

A bus and one-way technology, applied in the field of I2C bus extension using CPLD, can solve the problems of idle waste of I2C interface, complex circuit structure, address conflict, etc., and achieve the effect of reducing occupied PCB area, simplifying circuit structure and reducing hardware cost

Inactive Publication Date: 2019-05-10
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF3 Cites 22 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In most cases, the required number of I2C extensions cannot be obtained by combining 4-way or 8-way chips. In order to meet the functional requirements, a combination of I2C-way switch chips larger than the required number of expansions will be used, which will cause partial expansion. The I2C interface that comes out is idle and wasteful
At the same time, each switch chip requires a separate power supply, address configuration, enable signal, etc., resulting in a complex circuit structure and occupying more PCB space; the I2C address of the switch chip itself is set using an external pull-down resistor, and only 3 bits can be set , the configurable range is low, and address conflicts between chips are prone to occur
Use the hardware I2C switch chip to realize the expansion function of I2C, and the cost is relatively high

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
  • A system and a method for realizing I2C bus expansion by using a CPLD
  • A system and a method for realizing I2C bus expansion by using a CPLD
  • A system and a method for realizing I2C bus expansion by using a CPLD

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0029] Embodiment 1 of the present invention provides a system using CPLD to realize I2C bus expansion, such as figure 1 Shown is a system block diagram of implementing I2C bus expansion by using CPLD in Embodiment 1 of the present invention. Including BMC, CPLD and slave devices.

[0030] The BMC communicates with the CPLD through the front-end I2C bus, configures the internal registers of the CPLD through the addressing action of the CPLD, and is used to select one of the back-end I2C buses to communicate with and obtain the corresponding server peripheral information collected from the device; The front-end I2C bus is the I2C bus before being expanded by CPLD, and the number of front-end I2C buses is one; the back-end I2C bus is the I2C bus after being expanded by CPLD, and the number of back-end I2C buses is several.

[0031] CPLD itself acts as I2C Slave, with 7bit configurable Slave address; BMC acts as I2C Master. When the CPLD monitors the information on the I2C bus,...

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 provides a system and method for realizing I2C bus expansion by using a CPLD. The system comprises a BMC, a CPLD and a slave device. The method comprises the steps that firstly, the BMCcommunicates with the CPLD through a front-end I2C bus, and an internal register of the CPLD is configured through addressing action of the CPLD; Then, the configuration logic module analyzes the configuration data of the front-end I2C and outputs a control signal and a channel selection signal; and the channel control logic module establishes mapping between the front-end I2C wire and the rear-end I2C bus according to the control signal and the channel selection signal output by the configuration logic module. And finally, the BMC accesses the slave device connected with the rear-end I2C bus.Through the method, the device and the system, The CPLD is used for expanding the I2C bus, the hardware cost is reduced, the occupied PCB area is reduced, the circuit structure is simplified, the number of the expanded I2C paths can be configured according to the number of slave devices, no waste idle channel exists, the I2C address of the CPLD is 7-bit configurable, and the I2C address conflictis reduced.

Description

technical field [0001] The invention relates to the technical field of server I2C bus expansion, and specifically provides a system and method for implementing I2C bus expansion by using CPLD. Background technique [0002] In the server, BMC reads the alarm, voltage, temperature, hard disk information and firmware version number of each part through the I2C bus. There are many peripheral devices required to read information. However, the number of I2C interfaces of the BMC itself is small, which is not enough to meet the needs of the BMC to read all peripheral information. Therefore, it is necessary to add an expansion scheme of the I2C bus. In order to realize the I2C bus extension, a dedicated I2C switch chip is usually used to realize this function. [0003] The number of I2C extensions of existing I2C switch chips is fixed at 4 or 8 channels. In most cases, the required number of I2C extensions cannot be obtained by combining 4-way or 8-way chips. In order to meet th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/42
Inventor 葛志华
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
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