Communication method of I2C bus

A communication method and bus technology, applied in the direction of instrumentation, electrical digital data processing, etc., can solve the problems of long time consumption, I2C operation crash, etc., and achieve a simple effect

Inactive Publication Date: 2011-01-05
CHENGDU SUPERXON COMM TECH CO LTD
View PDF3 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because before sending data, you need to address to get the corresponding data. Before that, there is only one response signal time, and the addressing operation takes a very long time. If you want to increase the speed, the I2C operation will crash.

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
  • Communication method of I2C bus
  • Communication method of I2C bus
  • Communication method of I2C bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] All features disclosed in this specification, or steps in all methods or processes disclosed, may be combined in any manner, except for mutually exclusive features and / or steps.

[0024] Any feature disclosed in this specification (including any appended claims, abstract and drawings), unless expressly stated otherwise, may be replaced by alternative features which are equivalent or serve a similar purpose. That is, unless expressly stated otherwise, each feature is one example only of a series of equivalent or similar features.

[0025] The technical idea adopted by the present invention is: the addressing operation is executed immediately after the offset address is obtained, rather than after the "read" command operation, it is executed in the generated interrupt processing program, thereby saving a lot of time for sending data. time to achieve the purpose of speeding up.

[0026] Such as figure 2 Shown, is the flow chart of I2C bus communication of the present in...

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 communication method of an I2C bus, belonging to the technical field of embedded communication and being applied to the 'read' communication mode of the I2C bus. The communication method of the I2C bus comprises the following steps: a host sends down an equipment address and a 'write' operation instruction to all equipment to be accessed; the host sends down the offset address of access data to all the equipment to be accessed; the equipment receives the data to generate interruption and store the offset address, and instantly addresses to corresponding data according to the offset address; the host sends down the equipment address of the equipment to be accessed and a 'read' operation instruction; the equipment receives the data to generate interruption and send down the data; and the host sends down a 'stop' instruction to the equipment to be accessed. The addressing operation used by the invention is instantly executed after the offset address is obtained in the generated interruption programs, thereby saving time for the preparation of sending data and achieving the beneficial effect of speed acceleration.

Description

technical field [0001] The invention relates to the technical field of embedded communication, in particular to a "read" communication method of an I2C bus. Background technique [0002] The I2C (Inter-Integrated Circuit) bus is a two-wire bus developed by PHLIPS for connecting microcontrollers and their peripherals. Born in the 80s, the I2C bus was originally developed for audio and video equipment, and today it is mainly used in server management, including the communication of the status of individual components. Its main advantages are its simplicity and effectiveness. Because the interface is directly on the component, the space occupied by the I2C bus is very small, which reduces the space of the circuit board and the number of chip pins, and reduces the cost of interconnection. Another advantage is that it supports multi-master, where any device capable of sending and receiving can become the master bus. A master can control the transmission of signals and clock fr...

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 Applications(China)
IPC IPC(8): G06F13/38
Inventor 刘海
Owner CHENGDU SUPERXON COMM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products