Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for reading and writing i2c bus equipment

A bus device and bus technology, applied in the field of reading and writing of I2C bus devices, can solve the problems that the device cannot initiate transmission, cannot read and write on the bus, and achieves the effect of convenient testing and simple operation

Active Publication Date: 2022-06-03
SUZHOU METABRAIN INTELLIGENT TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Both can transmit data, but the slave device cannot initiate the transfer, and the transfer is controlled by the master device
However, due to the limitation of the data structure in the specification, this command cannot read and write devices on buses with an ID greater than 7. In order to read and write devices on these I2C buses, additional tools such as I2C test are required.

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 method and device for reading and writing i2c bus equipment
  • A method and device for reading and writing i2c bus equipment
  • A method and device for reading and writing i2c bus equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] While the invention may be embodied in various forms, some exemplary and non-limiting embodiments are shown in the drawings and will be described hereinafter, it being understood that this disclosure is to be considered as an example of the invention and not The intention is to limit the invention to the specific embodiments described.

[0045] figure 1 A schematic block diagram of an embodiment of a method for reading and writing an I2C bus device according to the present invention is shown. In the embodiment shown in the figure, the method includes at least the following steps:

[0046] S1: Establish extended specifications based on specific bits in the standard specification of multiplexing I2C bus read and write commands;

[0047]S2: Set the extended flag bit, and assign a value to the extended flag bit according to the bus ID of the receiving device;

[0048] S3: Based on the bus ID, the read and write commands of the receiving device are generated according to ...

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 a method and device for reading and writing I2C bus devices, wherein the method includes: establishing an extended specification based on specific bits in the standard specification of the multiplexed I2C bus read and write commands; The bus ID assigns a value to the extended flag bit; based on the bus ID, the read and write commands of the receiving device are generated according to the standard specification or the extended specification, and the read and write commands are sent to the I2C bus; in response to monitoring that there are read and write commands on the I2C bus, check the extension The flag bit, and according to the value of the extended flag bit, choose to parse the read and write commands according to the standard specification or the extended specification to determine the receiving device corresponding to the read and write command; the receiving device receives and executes the read and write command. The present invention only expands based on standard IPMI commands without using other tools, and realizes the use of IPMI commands to read and write I2C bus devices with a bus ID greater than 7, which is simple and easy to operate, convenient for users to use and test personnel to test .

Description

technical field [0001] The present invention relates to the technical field of server bus. The invention further relates to a method and device for reading and writing I2C bus devices. Background technique [0002] A baseboard management controller (Baseboard Management Controller, BMC for short) is a server-specific management controller. One of the main functions of BMC is to automatically monitor the running status of the server, including the health status of each hardware. The BMC monitors the health status of each hardware and obtains the information of each hardware, which helps the operation and maintenance personnel to know the running status of the server in time and ensure the normal operation of the server. [0003] The communication between the BMC and other components is usually carried out through the I2C bus. The I2C bus has only two bidirectional signal lines. One is the data line SDA, and the other is the clock line SCL. The rising edge of the SCL data...

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 Patents(China)
IPC IPC(8): G06F13/20
CPCG06F13/20G06F2213/0016
Inventor 刘海洋
Owner SUZHOU METABRAIN INTELLIGENT TECH CO LTD