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

I2C communication method, system and device, and storage medium

A communication method and equipment technology, applied in the storage field, can solve problems such as inconvenient use, and achieve the effect of I2C communication

Pending Publication Date: 2022-03-08
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is especially inconvenient for scenarios where there is no I2C driver or the I2C driver cannot be installed

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
  • I2C communication method, system and device, and storage medium
  • I2C communication method, system and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] The core of the present invention is to provide an I2C communication method, which can effectively realize the I2C communication without relying on the driver program of the I2C.

[0040] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0041] Please refer to figure 1 , figure 1 It is an implementation flowchart of an I2C communication method in the present invention, and the I2C communication method may include the following steps:

[0042] Step S101: Ma...

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 discloses an I2C communication method. The I2C communication method comprises the steps that a base address of target equipment is mapped into a memory in a memory mapping mode; establishing a one-to-one correspondence relationship between each register of the target equipment and the corresponding memory address; operating a first register of the target device through the memory to enable the target device; operating a second register of the target device through the memory to set the target device as a main device; operating a third register of the target equipment through the memory so as to fill the data information to be written; and operating a fourth register of the target device through the memory to determine the slave device based on the data information, and performing data writing through the I2C bus. By applying the scheme provided by the invention, I2C communication can be effectively realized under the condition of not depending on a driving program of I2C. The invention further discloses an I2C communication system and device and a storage medium, which have corresponding technical effects.

Description

technical field [0001] The present invention relates to the field of storage technology, in particular to an I2C communication method, system, equipment, and storage medium. Background technique [0002] In many fields, especially in the storage field, I2C (Inter-Integrated Circuit, two-wire serial bus) is widely used. For example, the communication link between the CPU processor and the battery backup unit adopts I2C communication, and the storage device The CPLD (Complex Programmable logic device, complex programmable logic device), BMC (Baseboard Management Controller, baseboard management controller) and so on can communicate based on I2C. [0003] At present, if you want to use I2C to communicate with the slave device in the Linux environment, the I2C driver must be installed in the master device. The current commonly used method is: when compiling the Linux kernel, compile the driver program of the corresponding I2C controller chip into the kernel, or compile it into ...

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/42G06F13/40
CPCG06F13/4282G06F13/4068G06F2213/0016Y02D10/00
Inventor 董强强
Owner ZHENGZHOU YUNHAI INFORMATION TECH CO LTD