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

I2C device control method, device and terminal

A control method and equipment technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve problems affecting system performance, occupation, and low access efficiency of I2C equipment, so as to improve system efficiency, solve the limited number of channel interfaces, and maximize flexibility and adaptive effects

Active Publication Date: 2018-06-19
湖州帷幄知识产权运营有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a control method, device and terminal of an I2C device, which solves the technical problems that the existing I2C devices have low access efficiency and occupy a large amount of CPU resources and affect system performance

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 device control method, device and terminal
  • I2C device control method, device and terminal
  • I2C device control method, device and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] The technical solutions of the present invention will be further described in more detail in conjunction with the accompanying drawings and specific embodiments. Apparently, the described embodiments are only some of the embodiments of the present invention, 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 creative efforts shall fall within the protection scope of the present invention.

[0027] In order to realize independent access to each I2C slave device, the concept of the present invention is: using the characteristics of the I2C protocol, in the idle state of the I2C bus, the first choice is to transmit the preset pulse width signal on the I2C clock bus SCK by sending a pulse width signal with a preset width. Set the control information of the preset channel, and then use the programmable device to decode the control information, and correspondingly switch on or off ...

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 a method for controlling an I2C device. The method includes the steps of detecting the pulse width of a pulse signal of an I2C clock bus; judging whether the pulse signal is a clock signal or a command pulse signal; when the pulse signal is judged to be the command pulse signal, decoding the command pulse signal to obtain a corresponding channel control command; when the pulse signal is judged to be the clock signal, returning to continuously detect the pulse width of the pulse signal of the I2C clock bus; opening or closing a corresponding I2C auxiliary device channel according to the channel control command. Correspondingly, the invention further discloses a device for controlling the I2C device and a terminal. According to the technical scheme, the system efficiency of the I2C device is improved, the occupied CPU resource is reduced, and the method and device and the terminal can be applied to the application scene that the I2C auxiliary device is frequently accessed.

Description

technical field [0001] The present invention relates to the field of I2C communication, in particular to a control method, device and terminal of I2C equipment. Background technique [0002] Because the I2C (Inter-Integrated Circuit) bus has the advantages of fewer signal lines and simple and convenient control, in today's computer network communication equipment, more and more devices use the I2C bus to realize communication between devices. The I2C bus consists of a serial clock bus (SCK) and a serial data bus (SDA). The existing I2C slave device is connected under the same I2C master device, and its access address is the same fixed address. Since it cannot be directly mounted under the I2C master device, it cannot directly access multiple devices with the same device address. I2C slave devices, and additional schemes must be added to achieve separate access to each I2C slave device. [0003] see figure 1 , in the prior art, an I2C multiplexer chip is mainly used as a s...

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/42
CPCG06F13/4291
Inventor 吴夕周
Owner 湖州帷幄知识产权运营有限公司