CN103885910A - Method and system for multiple devices for IIC communication in main mode - Google Patents

Method and system for multiple devices for IIC communication in main mode Download PDF

Info

Publication number
CN103885910A
CN103885910A CN201210561022.6A CN201210561022A CN103885910A CN 103885910 A CN103885910 A CN 103885910A CN 201210561022 A CN201210561022 A CN 201210561022A CN 103885910 A CN103885910 A CN 103885910A
Authority
CN
China
Prior art keywords
data
main equipment
buffer area
transmission
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210561022.6A
Other languages
Chinese (zh)
Other versions
CN103885910B (en
Inventor
滕玮
李东明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen X&f Technology Co ltd
Original Assignee
Ambit Microsystems Shanghai Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ambit Microsystems Shanghai Ltd, Hon Hai Precision Industry Co Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201210561022.6A priority Critical patent/CN103885910B/en
Priority to CN201710597107.2A priority patent/CN107357756A/en
Publication of CN103885910A publication Critical patent/CN103885910A/en
Application granted granted Critical
Publication of CN103885910B publication Critical patent/CN103885910B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4072Drivers or receivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0016Inter-integrated circuit (I2C)

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Communication Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

A system for multiple devices for IIC communication in main mode comprises multiple main devices and an auxiliary device which are connected on one IIC bus, each main device only has a main mode in the IIC communication, the auxiliary device only has an auxiliary mode in the IIC communication, and each main device can read and write the auxiliary device through an IIC communication protocol. The main devices poll the auxiliary device; when one main device needs to end data to another main device, the main device transmits data to the auxiliary device through the IIC bus, data are stored in the auxiliary device temporarily, the other main device reads the data from the auxiliary device, and accordingly the data transmitted from the main device can be acquired. The invention further provides a corresponding communication method. The data are cached by the aid of the third-party IIC auxiliary device, data transmission among devices in the main mode can be realized, communication is safe and reliable, additional hardware is omitted, and developing is easy.

Description

Many equipment carries out the method and system of IIC communication under holotype
Technical field
The present invention relates to communication technique field, particularly relate to a kind of many equipment and under holotype, carry out IIC(Inter-Integrated Circuit) method of communication.
Background technology
IIC(also can be expressed as I2C or I 2c) bus is a kind of twin wire universal serial bus, for connecting microcontroller and peripherals thereof.The equipment that adopts iic bus management, is called IIC equipment.In IIC communication, the transmission of a secondary data is that transmitter sends the data to receiver, and completing this data transmission needs main equipments (main frame) and one from equipment (slave).According to IIC communication standard, in the same time, the equipment of two transmission data can not be simultaneously in holotype, two equipment only with holotype cannot Direct Communication, a necessary device is in holotype, another equipment is in from pattern, and can only there be an equipment sending data the same time, i.e. the transmission of a secondary data is: main equipment sends data, from equipment receiving data; Or from equipment sending data, main equipment receives data.
But, in actual applications, due to the restriction of soft and hardware resource, or in order to reduce development difficulty, sometimes need to make the IIC equipment of two whiles under holotype to realize data transmission, but this situation does not meet the communicating requirement of IIC, cannot carry out data transmission according to routine.
Summary of the invention
In view of this, be necessary to provide a kind of many equipment under holotype, to carry out the system of IIC communication, to address the above problem.
A kind of many equipment carries out the system of IIC communication under holotype, comprise and be connected to the multiple main equipments on an iic bus and at least one is from equipment, each main equipment only has holotype in IIC communication, only have from pattern IIC communication from equipment, and each main equipment all can be read and write this from equipment by IIC communication protocol.Each master polls should be from equipment, in the time that one of them main equipment need to send data to another main equipment, this one of them main equipment sends the data to this from equipment by iic bus, data will be temporary in this from equipment, this another main equipment is read from this data by iic bus from equipment again, thereby obtains the data that this one of them main equipment sends.
Also be necessary to provide a kind of many equipment under holotype, to carry out the method for IIC communication, to address the above problem.
A kind of many equipment carries out the method for IIC communication under holotype, be applied in a kind of IIC communication system, this system comprises that multiple main equipments of being connected on an iic bus and at least one are from equipment, and each main equipment all can be read and write this from equipment by IIC communication protocol.Should comprise a third party data buffer area from equipment, this third party data buffer area is for data cached.Each main equipment has different mode of operations, comprise idle pulley, sending mode and receiving mode, in a data transmission procedure, send data transmission commencing signal START and data transmission termination signal STOP as the main equipment of data receiver, send data transmission response signal ACK as data receiver's main equipment.Said method comprising the steps of:
On one road iic bus each main equipment under idle pulley with one first fixed frequency poll the data from the third party data buffer area of equipment;
One of them main equipment is at needs during to another master transmissions data, write START signal in third party data buffer area, request sends data, and this one of them main equipment enters sending mode, and with the data of one second this third party data buffer area of fixed frequency poll;
After this another main equipment reads the START signal in third party data buffer area, this another main equipment enters receiving mode, and writing ack signal in third party data buffer area, response data sends, and with the data of second this third party data buffer area of fixed frequency poll;
If when this one of them main equipment reads the ack signal in third party data buffer area, this one of them main equipment is written to the data gradation of needs transmission continuously in third party data buffer area and sends to this another main equipment;
If data are end of transmission, this one of them main equipment writes STOP signal in third party data buffer area, and exits sending mode and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area; And
In the time that this another main equipment reads the STOP signal in third party data buffer area, this another main equipment exits receiving mode, and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area.
IIC communication system of the present invention, next data cached from equipment by using third party IIC, can realize the data transmission between multiple equipment in holotype, communication security is reliable, and does not need additionally to add hardware resource, and development difficulty is lower.
Brief description of the drawings
Fig. 1 is the system schematic that a kind of many equipment of the present invention carries out data transmission under holotype.
Fig. 2 is the switching schematic diagram of three kinds of mode of operations of main equipment of the present invention.
Fig. 3 is the definition list of the IIC signal transmission that uses of the present invention.
Fig. 4 is the method flow diagram that a kind of many equipment of the present invention carries out data transmission under holotype.
Fig. 5 is the particular flow sheet that main equipment of the present invention sends data under sending mode.
Fig. 6 is the particular flow sheet that main equipment of the present invention receives data under receiving mode.
Main element symbol description
Main equipment 20
The first main equipment 21
The second main equipment 22
From equipment 30
Third party data buffer area 31
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Refer to Fig. 1, a kind of many equipment carries out the system of IIC communication under holotype, comprise the multiple main equipments 20 that are connected on an iic bus and at least one is from equipment 30, wherein, each main equipment 20 and be IIC equipment from equipment 30, each main equipment 20 only has holotype in IIC communication, only have from pattern, and each main equipment 20 all can be read and write this from equipment by IIC communication protocol from equipment 30 IIC communication.
In present embodiment, each main equipment 20 polls should be from equipment 30, to be connected with two main equipments on an iic bus, for example the first main equipment 21 and the second main equipment 22, and one be example from equipment 30, in the time that the first main equipment 21 need to send data to the second main equipment 22, the first main equipment 21 in holotype by iic bus send the data in from pattern from equipment 30, data will be temporary in from equipment 30, the second main equipment 22 in holotype again by iic bus by data from reading from equipment 30 from pattern, thereby obtain the data that the first main equipment 21 sends.In like manner, in the time that the second main equipment 22 need to send data to the first main equipment 21, the second main equipment 22 in holotype by iic bus send the data in from pattern from equipment 30, data will be temporarily stored in from equipment 30, the first main equipment 21 in holotype again by iic bus by data from from the reading from equipment 30 of pattern, thereby obtain the data that the second main equipment 22 sends.
In present embodiment, should comprise a third party data buffer area 31 from equipment 30, this third party data buffer area 31 is for data cached.In present embodiment, this third party data buffer area 31 has a byte, the i.e. data space of 8bit.Should can be a controller from equipment 30, and provide a register to come data cached as this third party data buffer area.Should also can be a storer from equipment 30, and a register is provided or provide the space of a byte to come data cached as this third party data buffer area.Each main equipment 20 can write the data of a byte in this third party data buffer area at every turn.Obviously, in other embodiments, the data that are greater than a byte can be stored in this third party data buffer area, for example, store 1,000,000 data.
Refer to Fig. 2, in the present embodiment, each main equipment 20 has the function of digital received and sent simultaneously, and main equipment 20 can be operated in different mode of operations, comprises idle pulley, sending mode and receiving mode.See also Fig. 3, the definition list of IIC signal transmission using for the present invention.Wherein, in a data transmission procedure, establishing the first main equipment 21 is data receiver, and the second main equipment 22 is data receiver.The first main equipment 21 as data receiver can send data transmission commencing signal START, data transmission termination signal STOP, data-signal DATA_LOW4BIT and data-signal DATA_HIGH4BIT, can send data transmission response signal ACK as the second main equipment 22 of data receiver.In present embodiment, low four of this data transmission response signal ACK, data-signal DATA_LOW4BIT and data-signal DATA_HIGH4BIT are data bit, and data are arbitrary data, Gao Siwei is flag, and there are fixing data, for example, the Gao Siwei of ack signal is 0101, the Gao Siwei of DATA_LOW4BIT signal is that the Gao Siwei of 1110, DATA_HIGH4BIT signal is 1111.In data transmission procedure, the low four figures of this data-signal DATA_LOW4BIT is according to the low four figures certificate for transmission byte, and the low four figures of this data-signal DATA_HIGH4BIT is according to the high four figures certificate for transmission byte.After the data transmission of single byte, data receiver also preserves the low four figures certificate of the transmission byte receiving and high four figures according to the data of merging into a byte.
As the first main equipment 21 of data receiver at every turn by a byte, be that the data of 8bit write this from the third party data buffer area 31 of equipment 30 and send to after data receiver, inquire about this third party data buffer area 31 and wait for the data transmission response signal ACK that data receiver sends.If data receiver does not inquire signal ACK within the time of a setting in this third party data buffer area 31, illustrate this data receiver there is no the data sending request of response data transmit leg within the time of this setting and do not send data transmission response signal ACK, data transmission stops.Like this, in the time needing to carry out data transmission between each main equipment, data receiver and data receiver are by the data of poll third party data buffer area 31, and basis signal (START, ACK, STOP) complete the synchronization action of data transmission procedure, and basis signal (DATA_LOW4BIT, DATA_HIGH4BIT) is realized the transmission of data.Each main equipment 20 switches in different mode by writing to the data in data and the poll third party data buffer area 31 in third party data buffer area 31.
Wherein, the concept of poll third party data buffer area is: with fixed frequency, for example per minute three times, reads the data of third party data buffer area and do analysis judgement, and in the inspection duration of a setting, the success or failure of transmission are judged.The data that all need to read third party data buffer area with the frequency of fixing due to receiving-transmitting sides are done and are analyzed judgement, read action at every turn and all need to take iic bus, in order to complete in time data transmission and not enlarge markedly the utilization rate of iic bus, in present embodiment, in the time there is no data transmission, the frequency that receiving-transmitting sides reads third party data buffer area is lower.In the time entering data transmission, the frequency that receiving-transmitting sides reads third party data buffer area is higher, can comparatively fast complete like this data transmission, can in the time not carrying out data transmission, iic bus be left for to miscellaneous equipment or the use of other function again.
See also Fig. 4-6, a kind of many equipment carries out the method for IIC communication under holotype, comprises the following steps:
Steps A, on a road iic bus each main equipment under idle pulley with one first fixed frequency poll the data from the third party data buffer area 31 of equipment.
Step B, for example, in the time that one of them main equipment (the first main equipment 21) need to for example, transmit data to another main equipment (the second main equipment 22), this first main equipment 21 data writing transmission commencing signal START are in third party data buffer area 31, request sends data, this first main equipment 21 enters sending mode, and with the data of one second this third party data buffer area 31 of fixed frequency poll.Wherein, this second fixed frequency is higher than this first fixed frequency.
Step C, after the second main equipment 22 reads the START signal in third party data buffer area 31, this second main equipment 22 enters receiving mode, and data writing transmission response signal ACK is in third party data buffer area 31, response data sends, and with the data of second this third party data buffer area 31 of fixed frequency poll.
Step D, if should be in the time that the first main equipment 21 of sending mode reads the ack signal in third party data buffer area 31, this first main equipment 21 be written to the data gradation of needs transmission continuously in third party data buffer area 31 and sends to the second main equipment 22.
In present embodiment, if should be in the time that the first main equipment 21 of sending mode reads the ack signal in third party data buffer area 31, this first main equipment 21 be written to the data gradation of needs transmission continuously in third party data buffer area 31 and sends to the second main equipment 22 specifically to comprise the following steps:
Step D1, this first main equipment 21 data writing signal DATA_LOW4BIT are in third party data buffer area 31, and wherein, the low four figures of this data-signal DATA_LOW4BIT is according to the low four figures certificate for transmission byte.
Step D2, in the time that this second main equipment 22 in receiving mode reads the data-signal DATA_LOW4BIT in third party data buffer area 31, sending request of the low four figures certificate of this second main equipment 22 these transmission bytes of response, using the low four figures of this transmission byte according to as the low four figures of ack signal according to and this ack signal is written in third party data buffer area 31.
Step D3, if when this first main equipment 21 reads the ack signal in third party data buffer area 31, this first main equipment 21 checks whether the low four figures of this ack signal is identical according to the low four figures certificate of the transmission byte sending with this first main equipment 21, if different, continue to wait for the chance of poll third party data buffer area 31 next time, until the stand-by period is overtime, the low four figures of judgement transmission byte is according to sending unsuccessfully; If identical, the low four figures of judgement transmission byte is according to sending successfully, this first main equipment 21 continues data writing signal DATA_HIGH4BIT in third party data buffer area 31, and wherein, the low four figures of this data-signal DATA_HIGH4BIT is according to the high four figures certificate for transmission byte.
Step D4, in the time that this second main equipment 22 reads the data-signal DATA_HIGH4BIT in third party data buffer area 31, sending request of the high four figures certificate of these the second main equipment 22 these transmission bytes of response, using the high four figures of this transmission byte according to as the low four figures of ack signal according to and this ack signal is written in third party data buffer area 31, and by the low four figures of the transmission byte receiving according to and high four figures according to the data of merging into a byte.
Step D5, if when this first main equipment 21 reads the ack signal in third party data buffer area 31, this first main equipment 21 checks whether the low four figures of this ack signal is identical according to the high four figures certificate of the transmission byte sending with this first main equipment 21, if different, continue to wait for the chance of poll third party data buffer area 31 next time, until the stand-by period is overtime, the high four figures of judgement transmission byte is according to sending unsuccessfully; If identical, judge that the high four figures that transmits byte is according to sending successfully, and judge whether that data need transmission in addition, if had, return to step D1, circulation execution above-mentioned steps D1 ~ D5, the data of next byte of continuation transmission, until data transmission is complete.
Step e, if data are end of transmission, this first main equipment 21 data writing transmission ending signal STOP are in third party data buffer area 31, and exit sending mode and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area 31.
Step F, signal in the time that this second main equipment 22 in receiving mode reads the STOP in third party data buffer area 31, this second main equipment 22 exits receiving mode, and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area 31.
So, can realize single byte between multiple equipment in holotype or the transmission of multibyte data.
IIC communication system of the present invention, next data cached from equipment by using third party IIC, can realize the data transmission between multiple equipment in holotype, communication security is reliable, and does not need additionally to add hardware resource, and development difficulty is lower.
Those skilled in the art will be appreciated that; above embodiment is only for the present invention is described; and be not used as limitation of the invention; as long as within connotation scope of the present invention, within the appropriate change that above embodiment is done and variation all drop on the scope of protection of present invention.

Claims (11)

1. equipment more than one kind carries out the system of IIC communication under holotype, comprise and be connected to the multiple main equipments on an iic bus and at least one is from equipment, each main equipment only has holotype in IIC communication, only have from pattern IIC communication from equipment, and each main equipment all can be read and write this from equipment by IIC communication protocol, it is characterized in that:
Each master polls should be from equipment, in the time that one of them main equipment need to send data to another main equipment, this one of them main equipment sends the data to this from equipment by iic bus, data will be temporary in this from equipment, this another main equipment is read from this data by iic bus from equipment again, thereby obtains the data that this one of them main equipment sends.
2. the system as claimed in claim 1, is characterized in that, should comprise a third party data buffer area from equipment, and this third party data buffer area is for data cached.
3. system as claimed in claim 2, it is characterized in that, each main equipment has different mode of operations, this mode of operation comprises idle pulley, sending mode and receiving mode, in a data transmission procedure, send data transmission commencing signal START and data transmission termination signal STOP as the main equipment of data receiver, send data transmission response signal ACK as data receiver's main equipment, data write to this at every turn from the third party data buffer area of equipment and send to after data receiver as the main equipment of data receiver, inquire about this third party data buffer area and wait for the data transmission response signal ACK that data receiver sends, if data receiver does not inquire signal ACK within the time of a setting in this third party data buffer area, data transmission stops.
4. system as claimed in claim 3, is characterized in that, this third party data buffer area has the data space of a byte, and each main equipment writes the data of a byte in this third party data buffer area at every turn.
5. system as claimed in claim 4, it is characterized in that, also send data-signal DATA_LOW4BIT and data-signal DATA_HIGH4BIT as the main equipment of data receiver, this data transmission response signal ACK, low four of data-signal DATA_LOW4BIT and data-signal DATA_HIGH4BIT are data bit, and data are arbitrary data, Gao Siwei is flag, and there are fixing data, in data transmission procedure, the low four figures of this data-signal DATA_LOW4BIT is according to the low four figures certificate for transmission byte, the low four figures of this data-signal DATA_HIGH4BIT is according to the high four figures certificate for transmission byte.
6. system as claimed in claim 5, is characterized in that, after the data transmission of single byte, data receiver also preserves the low four figures certificate of the transmission byte receiving and high four figures according to the data of merging into a byte.
7. equipment more than one kind carries out the method for IIC communication under holotype, be applied in a kind of IIC communication system, this system comprises and is connected to the multiple main equipments on an iic bus and at least one is from equipment, each main equipment all can be read and write this from equipment by IIC communication protocol, should comprise a third party data buffer area from equipment, this third party data buffer area is for data cached, it is characterized in that, each main equipment has different mode of operations, comprise idle pulley, sending mode and receiving mode, in a data transmission procedure, send data transmission commencing signal START and data transmission termination signal STOP as the main equipment of data receiver, send data transmission response signal ACK as data receiver's main equipment, said method comprising the steps of:
On one road iic bus each main equipment under idle pulley with one first fixed frequency poll the data from the third party data buffer area of equipment;
One of them main equipment is at needs during to another master transmissions data, write START signal in third party data buffer area, request sends data, and this one of them main equipment enters sending mode, and with the data of one second this third party data buffer area of fixed frequency poll;
After this another main equipment reads the START signal in third party data buffer area, this another main equipment enters receiving mode, and writing ack signal in third party data buffer area, response data sends, and with the data of second this third party data buffer area of fixed frequency poll;
If when this one of them main equipment reads the ack signal in third party data buffer area, this one of them main equipment is written to the data gradation of needs transmission continuously in third party data buffer area and sends to this another main equipment;
If data are end of transmission, this one of them main equipment writes STOP signal in third party data buffer area, and exits sending mode and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area; And
In the time that this another main equipment reads the STOP signal in third party data buffer area, this another main equipment exits receiving mode, and returning to idle mode, with the data of the first fixed frequency poll third party data buffer area.
8. method as claimed in claim 7, it is characterized in that, this third party data buffer area has the data space of a byte, this step " if when this one of them main equipment reads the ack signal in third party data buffer area, this one of them main equipment is written to the data gradation of needs transmission continuously in third party data buffer area and sends to the second main equipment " specifically comprises the following steps:
This one of them main equipment writes a data-signal DATA_LOW4BIT in third party data buffer area, wherein, the low four figures of this data-signal DATA_LOW4BIT is according to the low four figures certificate for transmission byte, the Gao Siwei of this data-signal DATA_LOW4BIT is flag, and has fixing data;
In the time that this another main equipment reads the data-signal DATA_LOW4BIT in third party data buffer area, this another main equipment responds the sending request of low four figures certificate of this transmission byte, writes ack signal in third party data buffer area;
If when this one of them main equipment reads the ack signal in third party data buffer area, this one of them main equipment continues data writing signal DATA_HIGH4BIT in third party data buffer area, wherein, the low four figures of this data-signal DATA_HIGH4BIT is according to the high four figures certificate for transmission byte, the Gao Siwei of this data-signal DATA_HIGH4BIT is flag, and has fixing data;
In the time that this another main equipment reads the data-signal DATA_HIGH4BIT in third party data buffer area, this another main equipment responds the sending request of high four figures certificate of this transmission byte, write ack signal in third party data buffer area, and by the low four figures of the transmission byte receiving according to and high four figures according to the data of merging into a byte; And
If when this one of them main equipment reads the ack signal in third party data buffer area, this one of them main equipment judges whether that data need transmission in addition, if had, above-mentioned steps is carried out in circulation, continue the data of the next byte of transmission, until data transmission is complete.
9. method as claimed in claim 8, it is characterized in that, this another main equipment responds the sending request of low four figures certificate of this transmission byte and is written to the low four figures of the ack signal in third party data buffer area according to the low four figures certificate of the transmission byte for this reception, and this step " this one of them main equipment continues data writing signal DATA_HIGH4BIT in third party data buffer area " also comprises step before:
This one of them main equipment checks whether the low four figures of this ack signal is identical according to the low four figures certificate of the transmission byte sending with this one of them main equipment, if different, continue to wait for the chance of poll third party data buffer area next time, until the stand-by period is overtime, the low four figures of judgement transmission byte is according to sending unsuccessfully; If identical, the low four figures of judgement transmission byte is according to sending successfully.
10. method as claimed in claim 8, it is characterized in that, this another main equipment responds the sending request of high four figures certificate of this transmission byte and is written to the low four figures of the ack signal in third party data buffer area according to the high four figures certificate of the transmission byte for this reception, and this step " this one of them main equipment judges whether that data need transmission in addition " also comprises step before:
This one of them main equipment checks whether the low four figures of this ack signal is identical according to the high four figures certificate of the transmission byte sending with this one of them main equipment, if different, continue to wait for the chance of poll third party data buffer area next time, until the stand-by period is overtime, the high four figures of judgement transmission byte is according to sending unsuccessfully; If identical, the high four figures of judgement transmission byte is according to sending successfully.
11. methods as claimed in claim 7, is characterized in that, this second fixed frequency is higher than this first fixed frequency.
CN201210561022.6A 2012-12-21 2012-12-21 The method that many equipment carry out IIC communications under holotype Active CN103885910B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210561022.6A CN103885910B (en) 2012-12-21 2012-12-21 The method that many equipment carry out IIC communications under holotype
CN201710597107.2A CN107357756A (en) 2012-12-21 2012-12-21 The system that more equipment carry out IIC communications under holotype

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210561022.6A CN103885910B (en) 2012-12-21 2012-12-21 The method that many equipment carry out IIC communications under holotype

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN201710597107.2A Division CN107357756A (en) 2012-12-21 2012-12-21 The system that more equipment carry out IIC communications under holotype

Publications (2)

Publication Number Publication Date
CN103885910A true CN103885910A (en) 2014-06-25
CN103885910B CN103885910B (en) 2017-08-25

Family

ID=50954810

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201710597107.2A Pending CN107357756A (en) 2012-12-21 2012-12-21 The system that more equipment carry out IIC communications under holotype
CN201210561022.6A Active CN103885910B (en) 2012-12-21 2012-12-21 The method that many equipment carry out IIC communications under holotype

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201710597107.2A Pending CN107357756A (en) 2012-12-21 2012-12-21 The system that more equipment carry out IIC communications under holotype

Country Status (1)

Country Link
CN (2) CN107357756A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453845A (en) * 2016-03-31 2017-12-08 阿里巴巴集团控股有限公司 Response confirmation method and equipment
CN109327284A (en) * 2018-11-27 2019-02-12 联想(北京)有限公司 Data transmission method, device and electronic equipment
CN111124979A (en) * 2019-10-31 2020-05-08 苏州浪潮智能科技有限公司 Stack structure-based I2C multi-master access method and system
CN112506842A (en) * 2020-12-18 2021-03-16 成都鼎安华智慧物联网股份有限公司 Communication device based on SPI communication interface and communication method thereof
CN114443544A (en) * 2022-04-02 2022-05-06 井芯微电子技术(天津)有限公司 I2C module-based master-slave mode switching method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004171209A (en) * 2002-11-19 2004-06-17 Matsushita Electric Ind Co Ltd Shared memory data transfer device
JP2007241612A (en) * 2006-03-08 2007-09-20 Matsushita Electric Ind Co Ltd Multi-master system
CN101114269A (en) * 2006-07-28 2008-01-30 深圳迈瑞生物医疗电子股份有限公司 Multiple peripheral self-determination data-transmission and storage method
CN101894088A (en) * 2010-07-21 2010-11-24 中兴通讯股份有限公司 Method and device for solving conflict of multiple hosts on I2C bus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107453845A (en) * 2016-03-31 2017-12-08 阿里巴巴集团控股有限公司 Response confirmation method and equipment
CN107453845B (en) * 2016-03-31 2021-01-15 阿里巴巴集团控股有限公司 Response confirmation method and device
CN109327284A (en) * 2018-11-27 2019-02-12 联想(北京)有限公司 Data transmission method, device and electronic equipment
CN109327284B (en) * 2018-11-27 2021-04-13 联想(北京)有限公司 Data transmission method and device and electronic equipment
CN111124979A (en) * 2019-10-31 2020-05-08 苏州浪潮智能科技有限公司 Stack structure-based I2C multi-master access method and system
CN112506842A (en) * 2020-12-18 2021-03-16 成都鼎安华智慧物联网股份有限公司 Communication device based on SPI communication interface and communication method thereof
CN114443544A (en) * 2022-04-02 2022-05-06 井芯微电子技术(天津)有限公司 I2C module-based master-slave mode switching method and device

Also Published As

Publication number Publication date
CN107357756A (en) 2017-11-17
CN103885910B (en) 2017-08-25

Similar Documents

Publication Publication Date Title
US9479279B2 (en) Multiple protocol tunneling using time division operations
US8694710B2 (en) Conversion of a two-wire bus into a single-wire bus
CN100366029C (en) Communication controller, host-side controller, communication equipment, communication system and method
CN106959935B (en) Method compatible with I2C communication and IPMB communication
CN101788972A (en) System and method for transmitting data
CN102801744B (en) A kind of communication means and system
CN103885910A (en) Method and system for multiple devices for IIC communication in main mode
CN102073611B (en) I2C bus control system and method
CN108255776B (en) I3C master device compatible with APB bus, master-slave system and communication method
US20110087914A1 (en) I2c buffer clock delay detection method
CN110430016B (en) Data receiving method and device and optical module
US20060277339A1 (en) Communication apparatus, switching method, and switching program
CN105677608A (en) Multi-master RS485 bus arbitration method and system
TW200715129A (en) Method and apparatus for data transmission in a wireless communication system and data transmission method
CN101464848A (en) Serial bus expansion method and apparatus
CN112269749B (en) I2C communication system
CN108920401B (en) Multi-master multi-slave I2C communication method, system and node equipment
CN109062850B (en) Data sending and receiving method of single chip microcomputer
US10891242B2 (en) Embedded USB2 (eUSB2) repeater operation
CN101937413A (en) Communication method of I2C bus
CN104360973A (en) Communicating system, communicating method and relevant communicating devices
CN105100000B (en) Interface conversion device and network system
CN104899164B (en) Address addressing method for integrated circuit bus, integrated circuit bus device and system
CN103226535A (en) Micro server and management method thereof
CN107465487B (en) Bus data sending method, system and sub-equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Gao Yun

Inventor before: Teng Wei

Inventor before: Li Dongming

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170615

Address after: Guangdong, Shenzhen, Xin'an two TATA road H apartment building 109B

Applicant after: Shenzhen Qichuangmei Technology Co.,Ltd.

Address before: 201613 Shanghai City, Songjiang District Songjiang Export Processing Zone South Road No. 1925

Applicant before: Ambit Microsystems (Shanghai) Ltd.

Applicant before: HON HAI PRECISION INDUSTRY Co.,Ltd.

Effective date of registration: 20170615

Address after: 524299, No. 054, West Lake Avenue, Lei Town, Zhanjiang City, Guangdong, Leizhou

Applicant after: Gao Yun

Address before: 518100 Baoan District, Shenzhen, Xin'an, road, TATA apartment building 109B, two H

Applicant before: Shenzhen Qichuangmei Technology Co.,Ltd.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Lu Guanghui

Inventor after: Kong Xiling

Inventor after: Sun Peng

Inventor before: Gao Yun

TA01 Transfer of patent application right

Effective date of registration: 20170720

Address after: 518000, Guangdong, Baoan District, Xixiang Shenzhen street, hang Chau Hengfeng Industrial City, C4 building, 5, 6, East, 7, eight

Applicant after: SHENZHEN X&F TECHNOLOGY Co.,Ltd.

Address before: 524299, No. 054, West Lake Avenue, Lei Town, Zhanjiang City, Guangdong, Leizhou

Applicant before: Gao Yun

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20200121

Granted publication date: 20170825

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20230121

Granted publication date: 20170825

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20230121

Granted publication date: 20170825