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

Method and device for data transmission between master and slave devices on I2C bus

A technology for transmitting data and main equipment, applied in the field of communication, can solve the problems of hidden dangers of system reliability, erroneous communication, and the system cannot know the data transmission error, etc., to increase the error detection function, increase the transmission rate, and improve the system reliability. Effect

Inactive Publication Date: 2016-07-20
PHICOMM (SHANGHAI) CO LTD
View PDF6 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There is no check digit in the I2C protocol transmission in the existing technology, so once the data is transmitted or the slave device address is sent incorrectly, it will lead to erroneous communication, and the system cannot know the data transmission error, which will bring a negative impact on the reliability of the system. serious danger

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 and device for data transmission between master and slave devices on I2C bus
  • Method and device for data transmission between master and slave devices on I2C bus
  • Method and device for data transmission between master and slave devices on I2C bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation manners of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention, and those skilled in the art can obtain other accompanying drawings based on these drawings and obtain other implementations.

[0051] In order to make the drawing concise, each drawing only schematically shows the parts related to the present invention, and they do not represent the actual structure of the product. In addition, to make the drawings concise and easy to understand, in some drawings, only one of the components having the same structure or function is schematically shown, or only one of them is marked. Herein, "a" not only means "only one", but also means "more than one".

[0052] refer to fi...

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 data transmission between master and slave devices on an I2C bus.The method includes the steps that the master device sends a start bit for marking starting of data transmission to the I2C bus; the master device sends a slave device address and an address check code of data to be transmitted to the I2C bus; the master device sends a read / or write command of the data to be transmitted to the I2C bus; the slave device receives the start bit, the slave device address, the address check code and the read / or write command from the I2C bus; the slave device checks whether the received slave device address is correct or not according to the address check code; when the received slave device address is correct, the slave device judges whether the slave device address conforms to an address of the slave device or not; when the address of the slave device conforms to the received slave device address, the slave device sends a response command of readiness to the master device; the data to be transmitted is transmitted between the master device and the slave device through the I2C bus; the master device sends a stop bit marking ending of data transmission to the slave device; transmission is completed.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method and device for transmitting data between master and slave devices on an I2C bus. Background technique [0002] I2C communication interface, because its physical interface and protocol are concise, flexible, and scalable, it is widely used in various devices for data transmission or command control. [0003] The external physical interface of I2C uses two logical signal lines, one for transmitting data (SDA) and one for transmitting clock (SCL), and realizes communication between multiple devices through the protocol. When initiating communication, one of the two devices is an I2C master device, and the other is an I2C slave device. The I2C master device initiates communication. At this time, the clock (SCL) is sent by the master device, and the data (SDA) is a two-way control signal. According to the protocol Time-sharing control by the master device and the slave device. ...

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/42
CPCG06F13/4282G06F2213/0016
Inventor 吴夕周
Owner PHICOMM (SHANGHAI) CO LTD