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

I2C bus realization method for point-to-point communication

A technology of point-to-point communication and implementation method, which is applied in the direction of bus network and data exchange through path configuration, which can solve the problems of complex I2C bus operation and achieve the effects of simplifying operation, improving efficiency and ensuring reliability

Inactive Publication Date: 2009-08-19
NANJING ZHONGXING XIN SOFTWARE CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Nevertheless, the I2C bus has the drawback of complex operation

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 bus realization method for point-to-point communication
  • I2C bus realization method for point-to-point communication
  • I2C bus realization method for point-to-point communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0025] First refer to figure 2 , figure 2 Shows the flow chart of the bus implementation method according to the present invention; includes the following steps:

[0026] Step S102, the master device sends a start signal; step S104, the master device sends a byte containing the address of the slave device and a read / write bit indicating the direction of data transfer; step S106, the master device sends a data byte; step S108, the master device sends an approval bit; Step S110, the master device continues to send in the order of data bytes, acknowledge bits, until the stop bit is sent, wherein before sending each data byte, a read / write bit is sent to indicate the next data byte direction of transmission; and step S112, the master device sends a stop bit. Among them, the slave device address is set to a fixed value in the sent by...

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 present invention provides a bus implementation method for point-to-point communication, which is used for communication between a master device and a slave device, comprising the following steps: step S102, the master device sends a start signal; step S104, the master device sends a signal containing the address of the slave device and Indicate the byte of the read / write bit of the data transmission direction; step S106, the master device sends the data byte; step S108, the master device sends the approval bit; step S110, the master device continues to send in the order of the data byte and the approval bit, Until the stop bit is sent; step S112, the master device sends a stop bit; wherein in step S110, it also includes: step S110-2, before sending each data byte, all send a read / write bit, which is used to represent the next data word The transfer direction of the section. The technical scheme of the invention can simplify the operation of the main device, improve the efficiency of data transmission, and at the same time ensure the reliability of the transmitted data.

Description

technical field [0001] The invention relates to the field of communication, in particular to a method for establishing a private serial channel in hardware circuit design, and is especially suitable for occasions where data real-time performance is not high in point-to-point communication. Background technique [0002] I2C (Inter IC Bus) is a two-wire serial expansion bus introduced by Philips for the connection between IC devices. Compared with the parallel expansion bus, it has the advantages of simple circuit structure, convenient programming and easy realization of modularization. At present, the I2C bus is widely used in industrial electronics, consumer electronics and communication equipment. The data transmission rate on the I2C bus can reach 100kbit / s in standard mode, 400kbit / s in fast mode, and even 3.4Mbit / s in high-speed mode. [0003] Unlike the traditional computer serial interface, which uses one line for sending and receiving (RxD and TxD), the hardware fea...

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): H04L12/40
Inventor 党媛媛徐宏毅
Owner NANJING ZHONGXING XIN SOFTWARE CO LTD