Method for implementing communication by means of interruption I2C (inter to integrated circuit) devices and I2C system

A communication method and device technology, applied in the field of communication, can solve the problems of high error rate of I2C devices, process problems, data loss, etc.

Active Publication Date: 2012-07-11
GUANGZHOU VIDEO STAR ELECTRONICS
View PDF5 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of sending data from the I2C master device to the I2C slave device, the data may be lost for some reason, but the I2C slave device receives and processes the wrong data, and the I2C slave device will return the wrong data to the I2C master device, which causes problems in the whole process, so the existing I2C device has a high error rate in the data communication process

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
  • Method for implementing communication by means of interruption I2C (inter to integrated circuit) devices and I2C system
  • Method for implementing communication by means of interruption I2C (inter to integrated circuit) devices and I2C system
  • Method for implementing communication by means of interruption I2C (inter to integrated circuit) devices and I2C system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0047] Embodiments of the present invention provide a communication method through interruption, an I2C device and an I2C system, so as to solve the problem of high error rate in the data communication process existing in the prior art.

[0048] Since there are many ways to implement the communication method, the I2C device and the I2C system by interrupting, the following will be described in detail through specific embodiments:

[0049] See figure 1 as show...

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 implementing communication by means of interruption, I2C (inter to integrated circuit) devices and an I2C system. In the technical scheme, the method includes the steps: utilizing the master I2C device to compute data information required to be transmitted in a preset manner to obtain verification information and then to transmit an instruction comprising the data information and the verification information to the slave I2C device; and utilizing the slave I2C device to receive the data information and the verification information transmitted by the master I2C device, compute the data information to obtain validation information in a preset manner and judge whether the validation information is as same as the verification information, performing subsequent processing operations for the data information if the validation information is as same as the verification information, otherwise, marking the data information as error information and storing the data information into a cache. By means of a process of setting information validation on the master I2C device and the slave I2C device, subsequent processing errors due to data loss during data transmission are avoided, so that error rate during data processing is decreased.

Description

technical field [0001] The invention relates to the technical field of communication, more specifically, to a method for realizing communication through interruption, an I2C device and an I2C system. Background technique [0002] The I2C (Inter-Integrated Circuit) bus is a two-wire serial bus developed by PHILIPS for connecting microcontrollers and their peripherals. I2C masters and I2C slaves are controllers based on the I2C bus, and I2C masters and I2C slaves are widely used. [0003] The existing I2C slave device is only provided with device address and response signal. When an I2C master device sends data to the I2C slave device, the I2C slave device can know which I2C master device made the request through the device address; the I2C slave device After the device finishes processing the data sent by the I2C master device, it will send a response signal to notify the I2C master device that the processing is complete, and wait for the I2C master device to obtain the proc...

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): G06F11/10
Inventor罗前锋朱湘军
OwnerGUANGZHOU VIDEO STAR ELECTRONICS