CN104834619A - I2C (Inter-Integrated Circuit) bus circuit, implementation method and electronic equipment - Google Patents

I2C (Inter-Integrated Circuit) bus circuit, implementation method and electronic equipment Download PDF

Info

Publication number
CN104834619A
CN104834619A CN201510214495.2A CN201510214495A CN104834619A CN 104834619 A CN104834619 A CN 104834619A CN 201510214495 A CN201510214495 A CN 201510214495A CN 104834619 A CN104834619 A CN 104834619A
Authority
CN
China
Prior art keywords
main frame
machine
interface
bus
eeprom
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
CN201510214495.2A
Other languages
Chinese (zh)
Other versions
CN104834619B (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.)
Beijing Pico Technology Co Ltd
Original Assignee
Bird Science And Technology 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 Bird Science And Technology Ltd filed Critical Bird Science And Technology Ltd
Priority to CN201510214495.2A priority Critical patent/CN104834619B/en
Publication of CN104834619A publication Critical patent/CN104834619A/en
Application granted granted Critical
Publication of CN104834619B publication Critical patent/CN104834619B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses an I2C (Inter-Integrated Circuit) bus circuit, an implementation method and electronic equipment. The I2C bus circuit comprises a first host computer, a second host computer and a slave computer, wherein the first and second host computers serve as master equipment; the slave computer serves as slave equipment; first I2C bus interfaces I2C1 are formed in the first and second host computers and the slave computer; the I2C1 of the first host computer and the I2C1 of the second host computer are connected with the I2C1 of the slave computer; second I2C bus interfaces I2C2 are further formed in the first and second host computers respectively; the I2C2 of the first host computer is connected with the I2C2 of the second host computer; the first host computer transmits a control instruction to the I2C2 of the second host computer through the I2C2 of the first host computer to enable the first and second host computers to multiplex the I2C1 of the slave computer in a time sharing manner. According to the I2C bus circuit, a time-sharing multiplexing mechanism is implemented to effectively manage the data direction, data is transmitted and stored, and in addition, a system can be conveniently debugged and upgraded in a later period.

Description

A kind of I2C bus circuit, implementation method and electronic equipment
Technical field
The present invention relates to electronic circuit technology field, be specifically related to a kind of I2C bus circuit, implementation method and electronic equipment.
Background technology
In the circuit of prior art, configuration information and the debugging ROMPaq of system are all off-line burning patterns, this off-line burning pattern needs a large amount of tool equipments to coordinate burning, and needs power-off after information burning completes to be connected with data fetch equipment etc. again, and complicated operation, cost are higher; And online burning pattern to compare off-line burning pattern cost low, power-off is not needed to connect, simple to operate, but there is data collision problem that data store and read and the inconvenient problem of later stage debugging upgrading in online burning pattern, therefore needs a kind of technical scheme that can solve data collision and the inconvenient problem of debugging upgrading in online burning pattern badly.
Summary of the invention
The invention provides a kind of I2C bus circuit, implementation method and electronic equipment to solve the problem of the conflict of online burning mode data and debugging upgrading inconvenience.
For achieving the above object, technical solution of the present invention is achieved in that
According to an aspect of the present invention, provide a kind of I2C bus circuit, this I2C bus circuit comprises: as the first main frame of main equipment and the second main frame and as from one of equipment from machine;
First main frame and the second main frame and are equipped with I2C bus first interface I2C1 from machine, and the I2C1 of the first main frame, the I2C1 of the second main frame are connected between the I2C1 of machine with one;
First main frame and the second main frame are also respectively equipped with I2C bus second interface I2C2, and the I2C2 of the first main frame is connected with between the I2C2 of the second main frame;
First main frame through the I2C2 of the first main frame to the I2C2 sending controling instruction of the second main frame, to realize the first main frame and the second main frame time-sharing multiplex one I2C1 from machine.
Alternatively, I2C bus circuit also comprises the 3rd main frame;
3rd main frame is provided with I2C bus first interface I2C1, and the I2C1 of the first main frame, the I2C1 of the 3rd main frame are connected with between the I2C1 from machine;
3rd main frame is also provided with I2C bus second interface I2C2, the I2C2 of the first main frame is connected with between the I2C2 of the 3rd main frame;
First main frame through the I2C2 of I2C2 to the second main frame, the I2C2 sending controling instruction of the 3rd main frame of the first main frame, to realize the first main frame, the second main frame, the 3rd main frame time-sharing multiplex one from the I2C1 of machine.
Alternatively, the first main frame is also provided with the USB interface for connecting USB connector;
First main frame, for being received the next debugging upgrade of USB connector transmission and debugging ROMPaq by USB interface, and will debug ROMPaq write from machine according to debugging upgrade.
Alternatively, the first main frame is micro-control unit MCU;
Second main frame is mobile terminal high-definition audio and video standard interface MHL receiver;
One is EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM from machine.
Alternatively, the first main frame MCU, through the I2C2 interface sending controling instruction of the I2C2 interface of the first main frame to the second main frame MHL receiver after debugging upgrade being detected, makes the second main frame MHL receiver suspend access from machine EEPROM; And,
After the instruction that debugging ROMPaq completes being detected, the I2C1 interface of the first main frame MCU is hung up, be I2C mouth by the I2C2 interface configuration of the first main frame MCU, simultaneously through the I2C2 interface sending controling instruction of I2C2 interface to the second main frame MHL receiver, the I2C1 interface configuration making the second main frame MHL receiver is I2C mouth, recovers access from machine EEPROM.
Alternatively, the first main frame MCU is used for writing configuration information to from machine EEPROM;
Store configuration information is used for from machine EEPROM;
Second main frame MHL receiver is used for reading configuration information from from machine EEPROM.
Alternatively, the configuration information stored from machine EEPROM comprises: audio-video source format information;
Second main frame MHL receiver, for receiving the audio-video source of external transmission and reading audio-video source format information from from machine EEPROM, utilization is read audio-video source format information and is judged the audio-video source received from machine EEPROM, and handles accordingly according to judged result.
According to another aspect of the present invention, additionally provide a kind of electronic equipment, this electronic equipment comprises: as the I2C bus circuit of one aspect of the invention.
According to another aspect of the invention, provide a kind of implementation method of I2C bus circuit, the method comprises:
Choose as the first main frame of main equipment and the second main frame and as from equipment one from machine in circuit;
At the first main frame and the second main frame and, I2C bus first interface I2C1 is set from machine respectively, the I2C1 and of the I2C1 of the first main frame, the second main frame is coupled together between the I2C1 of machine;
I2C bus second interface I2C2 is set on the first main frame and the second main frame respectively, the I2C2 of the first main frame and the second main frame is coupled together; Utilize the first main frame through the I2C2 of the first main frame to the I2C2 sending controling instruction of the second main frame, to realize the first main frame and the second main frame time-sharing multiplex one I2C1 from machine.
Alternatively, the method also comprises: on the first main frame, be also provided with the USB interface for connecting USB connector;
Utilize the USB interface of the first main frame to receive the next debugging upgrade of USB connector transmission and debugging ROMPaq, and ROMPaq write will be debugged from machine according to debugging upgrade; And, choose micro-control unit MCU as the first main frame;
Choose mobile terminal high-definition audio and video standard interface MHL receiver as the second main frame;
Choose EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM as one from machine.
The invention has the beneficial effects as follows: technical scheme of the present invention by using as main equipment the first main frame and the second main frame and coupled together by I2C bus first interface I2C1 as from one of equipment from machine, coupled together as the first main frame of main equipment and the second main frame by I2C bus second interface I2C2 simultaneously, the I2C1 bus interface of two main frame time-sharing multiplexs one from machine is realized to the mode of the second main frame sending controling instruction by the first main frame, solve data collision problem during program online burning, first main frame or the second main frame all can communicate with from machine the transmission and storage that realize data, in addition, online burning also omit the recording device of off-line burning, provide cost savings, enhance the stability of system.
Accompanying drawing explanation
Fig. 1 is the structural representation of a kind of I2C bus circuit of one embodiment of the invention;
Fig. 2 is the structural representation of a kind of I2C bus circuit of another embodiment of the present invention;
Fig. 3 is a kind of I2C bus circuit implementation method process flow diagram of one embodiment of the invention;
Fig. 4 is the block diagram of a kind of electronic equipment of one embodiment of the invention.
Embodiment
Core concept of the present invention is: for problems of the prior art, utilize the feature of I2C (Inter-Integrated Circuit) bus, propose a kind of time-sharing multiplex based on I2C bus mechanism, solve the collision problem of two main one digital independent existed from system and storage, data flow is effectively managed, facilitates the system later stage to upgrade and debugging simultaneously.I2C bus is a kind of universal serial bus of twin wire, for connecting microcontroller and peripherals thereof.It is a kind of special shape of synchronous communication, has interface line few, and control mode is simple, and device package form is little, and traffic rate is advantages of higher comparatively.I2C bus is being connected to transmission of information between the device of bus by serial data (SDA) line and serial clock (SCL) line.Time-sharing multiplex in the embodiment of the present invention refers to that the first moment was carried out the write work of data from machine by the first host access one, second moment was carried out the read work of data from machine by the second host access one, two main frame time-sharing multiplexs are same as machine, thus avoid data collision problem.Control realization can be carried out by the first main frame during concrete enforcement and access switching.
Fig. 1 is the structural representation of a kind of I2C bus circuit of one embodiment of the invention, and see Fig. 1, this I2C bus circuit of the present invention comprises:
As the first main frame 101 of main equipment and the second main frame 102 and as from one of equipment from machine 103;
First main frame 101 and the second main frame 102 and are equipped with I2C bus first interface I2C1 from machine 103, and the I2C1 of the first main frame 101, the I2C1 of the second main frame 102 are connected between the I2C1 of machine 103 with one;
First main frame 101 and the second main frame 102 are also respectively equipped with I2C bus second interface I2C2, and the I2C2 of the first main frame 101 is connected with between the I2C2 of the second main frame 102;
First main frame 101 through the I2C2 of the first main frame 101 to the I2C2 sending controling instruction of the second main frame 102, to realize the first main frame 101 and the second main frame 102 time-sharing multiplex one I2C1 from machine 103.
In the present embodiment, the first main frame 101 is micro-control unit MCU, and the second main frame 102 is mobile terminal high-definition audio and video standard interface MHL receiver, and one is EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM from machine 103.Wherein, MHL is a kind of audio-visual standard interface connecting portable consumer electronic device, the audio, video data of outside audio-video source transmission can be received by this interface, second main frame MHL receiver has the few and advantage of good stability of required transmission line, but the chip of the second main frame MHL receiver does not have fixed storage function, meeting obliterated data during power-off, the second main frame MHL receiver obtains configuration information by access one from machine EEPROM.In the present embodiment be a kind of power down from machine EEPROM after the storage medium do not lost of data, EEPROM can the existing information of erasing on computers or on specialized equipment, reprogramming.It should be noted that, the size of data considering main frame and configuration information upgrading ascending order is needed from the selection of machine, the data such as configuration information and MCU system debug ROMPaq needed due to MHL receiver in the present embodiment are not too large, so select EEPROM as from machine, in other embodiments of the invention from machine can be erasable programmable EPROM or other ROM storeies.
In addition, in one embodiment of the invention, I2C bus circuit comprises the first main frame and the second main frame as from equipment, and the second main frame is MHL receiver, for receiving audio/video information.But in other embodiments of the invention, I2C bus circuit can also comprise the 3rd main frame, the 3rd main frame is provided with I2C bus first interface I2C1, and the I2C1 of the first main frame, the I2C1 of the 3rd main frame are connected with between the I2C1 from machine;
3rd main frame is also provided with I2C bus second interface I2C2, the I2C2 of the first main frame is connected with between the I2C2 of the 3rd main frame;
First main frame through the I2C2 of I2C2 to the second main frame, the I2C2 sending controling instruction of the 3rd main frame of the first main frame, to realize the first main frame, described second main frame, the 3rd main frame time-sharing multiplex one from the I2C1 of machine.
3rd main frame is for receiving the information of other types data, and under the control of the first main frame, time-sharing multiplex one is from the I2C1 bus interface of machine, now, first main frame, the second main frame and the 3rd main frame time-sharing multiplex one are from the I2C1 interface of machine, first main frame is responsible for writing data to from machine, and when data write by the first main frame, other two main frames (the second main frame and the 3rd main frame) all suspend access from machine.After the write operation is completed, one of them main frame of the first host computer control (the second main frame or the 3rd main frame) access is fetched data from machine-readable, and another main frame (the second main frame or the 3rd main frame) suspends access from machine.Concrete second or the 3rd the host access application that can be realized by the second main frame or the 3rd main frame from machine determine, when the second main frame or the 3rd main frame need to carry out read data operation, specifically control the second main frame or the 3rd host access from machine by the first main frame.
In the circuit shown in Fig. 1, first main frame MCU by I2C1 bus by system configuration information programming to from machine EEPROM, second main frame MHL receiver to read the system configuration information storer from machine EEPROM by I2C1 bus access, the I2C2 that first main frame MCU controls the second main frame MHL receiver by I2C2 realizes two main frames by the function of the multiplexing access of I2C1 bus time-sharing from the I2C1 bus interface of machine EEPROM, solve the first main frame and the second main frame and access data collision problem from machine simultaneously, also save hardware cost and improve the stability of system.
Fig. 2 is the structural representation of a kind of I2C bus circuit of another embodiment of the present invention; First main frame 101 is also provided with the USB interface for connecting USB connector;
First main frame 101 for being received the next debugging upgrade of USB connector transmission and debugging ROMPaq by USB interface, and will debug ROMPaq write from machine 103 according to debugging upgrade.
First main frame MCU101, through the I2C2 interface sending controling instruction of the I2C2 interface of the first main frame MCU101 to the second main frame MHL receiver 102 after receiving debugging upgrade, makes the second main frame MHL receiver 102 suspend access EEPROM103; And, after the instruction that debugging ROMPaq completes being detected, the I2C1 interface of MCU101 is hung up, be I2C mouth by the I2C2 interface configuration of the first main frame MCU101, simultaneously through the I2C2 interface sending controling instruction of I2C2 interface to the second main frame MHL receiver 102, the I2C1 interface configuration making the second main frame MHL receiver is I2C mouth, recovers access EEPROM103.
In the present embodiment, the first main frame MCU101 is used for writing configuration information in EEPROM103; Store configuration information is used for from machine EEPROM103; Second main frame MHL receiver 102 is for reading configuration information from from machine EEPROM103.The configuration information stored from machine EEPROM103 comprises: audio-video source format information; Second main frame MHL receiver 102 is also for receiving the audio-video source of external transmission and reading audio-video source format information from from machine EEPROM103, utilization is read audio-video source format information and is judged the audio-video source received from machine EEPROM103, and handles accordingly according to judged result.The concrete course of work is, when I2C circuit normally works, second main frame MHL receiver is by after detecting the input of outside audio-video source and input format, by I2C1 bus access from machine EEPROM, whether the form of the video source of matching judgment outside input is consistent with the configuration information stored from machine EEPROM.If consistent, audio-video source continues to transmit to the back-end to do to process further by the second main frame MHL receiver; If inconsistent, video source is cut off and is not transmitted to the back-end by the second main frame MHL receiver.Here just in an embodiment of the invention, judgement processing procedure is carried out as during a main frame by reading the configuration information stored from machine when have chosen MHL receiver, when choosing the main frame of other devices as I2C bus circuit of the present invention, it may not be the judgement to audio-video source form, the function that can should realize according to other devices and the configuration information stored from machine do concrete process, do not limit this.
Work as the later stage, when system needs DFU (Device Firmware Upgrade) to debug and upgrades, after first main frame MCU detects the DFU debugging that USB connector transmission comes and upgrade by USB interface, by I2C2 bus interface to the second main frame MHL receiver sending controling instruction, make the I2C1 interface configuration of MHL receiver for input high-impedance state, I2C1 bus hung up by MHL receiver; After above-mentioned configuration completes, the first main frame MCU is by I2C1 bus access from machine EEPROM, and the debugging come the transmission of USB transmission channel and ROMPaq pass through I2C1 channel transfer extremely from machine EEPROM; After the first main frame MCU detects that program debug and upgrading complete instruction, the I2C1 interface configuration of the first main frame MCU is input high-impedance state by the first main frame MCU, be I2C interface by the I2C2 interface configuration of the first main frame MCU, by I2C bus to the second main frame MHL receiver sending controling instruction, the I2C1 interface of the second main frame MHL receiver is made also to be configured to I2C mouth, second main frame MHL receiver release I2C1 bus, make the function of its bus of I2C1 bus recovery, ensure that the second main frame MHL receiver can communicate with from machine EEPROM.In an embodiment of the present invention, I2C interface is a kind of general data transmission interface, it can also can as the I2C interface of transmission I2C bus data as common data transmission interface, here be I2C interface by the I2C2 interface configuration of the first main frame MCU and the I2C1 interface of the second main frame MHL receiver is also configured to I2C mouth can be understood as, by the I2C1 interface configuration of the I2C of the first main frame MCU and the second main frame MHL receiver for realizing I2C bus functionality.Thus achieve two main frames (the first main frame MCU and the second main frame MHL receiver) by the I2C1 bus interface function of the multiplexing access of I2C1 bus time-sharing from machine EEPROM.
Corresponding with above-mentioned I2C bus circuit, present invention also offers a kind of implementation method of I2C bus circuit, Fig. 3 be a kind of I2C bus circuit implementation method process flow diagram of one embodiment of the invention see Fig. 3, the method comprises:
Step S301, chooses as the first main frame of main equipment and the second main frame and as from equipment one from machine in circuit;
Step S302, arranges I2C bus first interface I2C1 at the first main frame and the second main frame and from machine respectively, is coupled together by the I2C1 and of the I2C1 of the first main frame, the second main frame between the I2C1 of machine;
Step S303, arranges I2C bus second interface I2C2 respectively, is coupled together by the I2C2 of the first main frame and the second main frame on the first main frame and the second main frame; Utilize the first main frame through the I2C2 of the first main frame to the I2C2 sending controling instruction of the second main frame, to realize the first main frame and the second main frame time-sharing multiplex one I2C1 from machine.
In the present embodiment, the method also comprises: on the first main frame, be also provided with the USB interface for connecting USB connector;
Utilize the USB interface of the first main frame to receive the next debugging upgrade of USB connector transmission and debugging ROMPaq, and ROMPaq write will be debugged from machine according to debugging upgrade; And, choose micro-control unit MCU as the first main frame;
Choose mobile terminal high-definition audio and video standard interface MHL receiver as the second main frame;
Choose EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM as one from machine.
It should be noted that, the implementation method of this I2C bus circuit of the present invention is corresponding with aforesaid I2C bus circuit, thus the implementation method performing step of this I2C bus circuit can illustrating see the part of aforementioned I2C bus circuit, do not repeat them here.
In addition, present invention also offers a kind of electronic equipment, Fig. 4 is the block diagram of a kind of electronic equipment of one embodiment of the invention, and see Fig. 4, this electronic equipment 400 comprises: I2C bus circuit 100.Because this electronic equipment 400 of the present invention is integrated with this spi bus circuit 100 of this invention, thus can online burning program and avoid data collision, stability is strong, and cost is low.In one embodiment of the invention, electronic equipment 400 can be head-mounted display apparatus HMD (Head Mount Display).
In sum, I2C bus circuit of the present invention and its implementation by using as main equipment the first main frame and the second main frame and coupled together by I2C bus first interface I2C1 as from one of equipment from machine, coupled together as the first main frame of main equipment and the second main frame by I2C bus second interface I2C2 simultaneously, the I2C1 bus interface of two main frame time-sharing multiplexs one from machine is realized to the mode of the second main frame sending controling instruction by the first main frame, solve data collision problem during program online burning, enhance the stability of system, also omit the recording device of off-line burning, provide cost savings.First main frame or the second main frame all can communicate with from machine the transmission and storage that realize data.Present invention also offers a kind of electronic equipment comprising above-mentioned I2C bus circuit, because this I2C bus circuit has above-mentioned advantage, therefore, the electronic equipment being integrated with this I2C bus circuit also has that stability is strong, cost is low, the problem of data collision when avoiding online burning program, improves the competitive power of electronic equipment.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. an I2C bus circuit, is characterized in that, described I2C bus circuit comprises: as the first main frame of main equipment and the second main frame and as from one of equipment from machine;
Described first main frame and the second main frame and described are equipped with I2C bus first interface I2C1 from machine, and the I2C1 of described first main frame, the I2C1 of described second main frame are connected between the I2C1 of machine with described one;
Described first main frame and the second main frame are also respectively equipped with I2C bus second interface I2C2, and the I2C2 of described first main frame is connected with between the I2C2 of the second main frame;
Described first main frame through the I2C2 of the first main frame to the I2C2 sending controling instruction of described second main frame, to realize described in described first main frame and described second main frame time-sharing multiplex one from the I2C1 of machine.
2. I2C bus circuit as claimed in claim 1, it is characterized in that, described I2C bus circuit also comprises the 3rd main frame;
Described 3rd main frame is provided with I2C bus first interface I2C1, and the I2C1 of described first main frame, the I2C1 of described 3rd main frame are connected between the I2C1 of machine with described;
Described 3rd main frame is also provided with I2C2, and the I2C2 of described first main frame is connected with between the I2C2 of the 3rd main frame;
Described first main frame through the I2C2 of I2C2 to described second main frame, the I2C2 sending controling instruction of the 3rd main frame of the first main frame, to realize described in described first main frame, described second main frame, the 3rd main frame time-sharing multiplex one from the I2C1 of machine.
3. I2C bus circuit as claimed in claim 1 or 2, is characterized in that, described first main frame being also provided with the USB interface for connecting USB connector;
Described first main frame, for receiving the next debugging upgrade of USB connector transmission and debugging ROMPaq, and according to described debugging upgrade by described from machine for described debugging ROMPaq write by described USB interface.
4. I2C bus circuit as claimed in claim 1 or 2, it is characterized in that, described first main frame is micro-control unit MCU;
Described second main frame is mobile terminal high-definition audio and video standard interface MHL receiver;
Described one is EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM from machine.
5. I2C bus circuit as claimed in claim 4, is characterized in that,
Described first main frame MCU, through the I2C2 interface sending controling instruction of the I2C2 interface of the first main frame to described second main frame MHL receiver after described debugging upgrade being detected, makes described second main frame MHL receiver suspend access described from machine EEPROM; And,
After the instruction that described debugging ROMPaq completes being detected, the I2C1 interface of the first main frame MCU is hung up, be I2C mouth by the I2C2 interface configuration of the first main frame MCU, simultaneously through the I2C2 interface sending controling instruction of described I2C mouth to described second main frame MHL receiver, the I2C1 interface configuration making described second main frame MHL receiver is I2C mouth, recovers described in access from machine EEPROM.
6. I2C bus circuit as claimed in claim 4, is characterized in that, described first main frame MCU is used for from machine EEPROM, writing configuration information to described;
Described from machine EEPROM for storing described configuration information;
Described second main frame MHL receiver is used for from machine EEPROM, reading described configuration information from described.
7. I2C bus circuit as claimed in claim 5, it is characterized in that, the described configuration information stored from machine EEPROM comprises: audio-video source format information;
Described second main frame MHL receiver, for receiving the audio-video source of external transmission and reading audio-video source format information from described from machine EEPROM, from machine EEPROM, read audio-video source format information described in utilizing judge the audio-video source received, and handle accordingly according to judged result.
8. an electronic equipment, is characterized in that, this electronic equipment comprises: the I2C bus circuit according to any one of claims 1-7.
9. an implementation method for I2C bus circuit, is characterized in that, the method comprises:
Choose as the first main frame of main equipment and the second main frame and as from equipment one from machine in circuit;
At described first main frame and described second main frame and described, I2C bus first interface I2C1 is set from machine respectively, the I2C1 and described of the I2C1 of described first main frame, described second main frame is coupled together between the I2C1 of machine;
I2C bus second interface I2C2 is set on described first main frame and the second main frame respectively, the I2C2 of described first main frame and the second main frame is coupled together; Utilize described first main frame through the I2C2 of the first main frame to the I2C2 sending controling instruction of described second main frame, to realize described in described first main frame and described second main frame time-sharing multiplex one from the I2C1 of machine.
10. method as claimed in claim 9, it is characterized in that, the method also comprises: on described first main frame, be also provided with the USB interface for connecting USB connector;
The described USB interface of described first main frame is utilized to receive the next debugging upgrade of USB connector transmission and debugging ROMPaq, and according to described debugging upgrade by described from machine for described debugging ROMPaq write; And,
Choose micro-control unit MCU as described first main frame;
Choosing mobile terminal high-definition audio and video standard interface MHL receiver as described second main frame is;
Choose EEPROM (Electrically Erasable Programmable Read Only Memo) EEPROM as described one from machine.
CN201510214495.2A 2015-04-29 2015-04-29 A kind of I2C bus circuit, implementation method and electronic equipment Active CN104834619B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510214495.2A CN104834619B (en) 2015-04-29 2015-04-29 A kind of I2C bus circuit, implementation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510214495.2A CN104834619B (en) 2015-04-29 2015-04-29 A kind of I2C bus circuit, implementation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN104834619A true CN104834619A (en) 2015-08-12
CN104834619B CN104834619B (en) 2018-12-18

Family

ID=53812521

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510214495.2A Active CN104834619B (en) 2015-04-29 2015-04-29 A kind of I2C bus circuit, implementation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104834619B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280041A (en) * 2017-12-29 2018-07-13 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) A kind of communication means and device of internal integrated circuit host
CN108763139A (en) * 2018-04-20 2018-11-06 青岛海信电器股份有限公司 A kind of control method and device of I2C communications
CN108920401A (en) * 2018-06-04 2018-11-30 深圳柴火创客教育服务有限公司 It is more main mostly from I2C communication means, system and node device
CN111352638A (en) * 2020-03-05 2020-06-30 广州市星翼电子科技有限公司 Multifunctional cascade off-line burning method and system
CN113630186A (en) * 2021-09-15 2021-11-09 青岛海信宽带多媒体技术有限公司 Optical module and communication method
CN115033444A (en) * 2022-08-10 2022-09-09 合肥健天电子有限公司 8051 core-based online debugging circuit control device and control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255071A1 (en) * 2003-06-12 2004-12-16 Larson Thane M. Inter-integrated circuit bus router for providing increased security
CN2812115Y (en) * 2005-07-29 2006-08-30 杭州华为三康技术有限公司 On-line upgrading circuit for master equipment
CN103218336A (en) * 2013-02-27 2013-07-24 珠海市杰理科技有限公司 SD/MMC (Secure Digital Memory Card/Multimedia Card) and IIC (Inter-Integrated Circuit) slave control equipment, and control method and control system thereof
CN104035906A (en) * 2014-07-03 2014-09-10 成都智科通信技术有限公司 Method for achieving time division multiplexing of bus through SPI and application thereof
CN204706030U (en) * 2015-04-29 2015-10-14 北京小鸟看看科技有限公司 A kind of I2C bus circuit and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040255071A1 (en) * 2003-06-12 2004-12-16 Larson Thane M. Inter-integrated circuit bus router for providing increased security
CN2812115Y (en) * 2005-07-29 2006-08-30 杭州华为三康技术有限公司 On-line upgrading circuit for master equipment
CN103218336A (en) * 2013-02-27 2013-07-24 珠海市杰理科技有限公司 SD/MMC (Secure Digital Memory Card/Multimedia Card) and IIC (Inter-Integrated Circuit) slave control equipment, and control method and control system thereof
CN104035906A (en) * 2014-07-03 2014-09-10 成都智科通信技术有限公司 Method for achieving time division multiplexing of bus through SPI and application thereof
CN204706030U (en) * 2015-04-29 2015-10-14 北京小鸟看看科技有限公司 A kind of I2C bus circuit and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108280041A (en) * 2017-12-29 2018-07-13 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) A kind of communication means and device of internal integrated circuit host
CN108280041B (en) * 2017-12-29 2020-03-10 武汉船舶通信研究所(中国船舶重工集团公司第七二二研究所) Communication method and device for internal integrated circuit host
CN108763139A (en) * 2018-04-20 2018-11-06 青岛海信电器股份有限公司 A kind of control method and device of I2C communications
CN108920401A (en) * 2018-06-04 2018-11-30 深圳柴火创客教育服务有限公司 It is more main mostly from I2C communication means, system and node device
CN108920401B (en) * 2018-06-04 2020-07-28 深圳柴火创客教育服务有限公司 Multi-master multi-slave I2C communication method, system and node equipment
CN111352638A (en) * 2020-03-05 2020-06-30 广州市星翼电子科技有限公司 Multifunctional cascade off-line burning method and system
CN111352638B (en) * 2020-03-05 2023-11-24 广州市星翼电子科技有限公司 Multifunctional cascading offline burning method and system
CN113630186A (en) * 2021-09-15 2021-11-09 青岛海信宽带多媒体技术有限公司 Optical module and communication method
CN115033444A (en) * 2022-08-10 2022-09-09 合肥健天电子有限公司 8051 core-based online debugging circuit control device and control method

Also Published As

Publication number Publication date
CN104834619B (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN104834619A (en) I2C (Inter-Integrated Circuit) bus circuit, implementation method and electronic equipment
CN104834620A (en) SPI (serial peripheral interface) bus circuit, realization method and electronic equipment
CN103095855B (en) I2C communication interface unit
CN108205393B (en) Semiconductor device, man-machine interface device, and electronic apparatus
CN102591827A (en) Apparatus for peripheral device connection using SPI in portable terminal and method for data transmission using the same
CN115858431A (en) Data transmission control method, controller and electronic equipment
CN104239097A (en) Method and system for upgrading fitting by virtue of mobile terminal, and mobile terminal
CN102707960B (en) Firmware update, portable mobile terminal and portable equipment
CN103744478A (en) Bluetooth wireless display and control method thereof
CN111294413A (en) Method, device and readable medium for determining Internet Protocol (IP) address
CN204706030U (en) A kind of I2C bus circuit and electronic equipment
CN102567270A (en) USB (universal serial bus)-to-I2C (inter-integrated circuit) adapter
CN109992556A (en) A kind of I2C driving method and device
CN111143898A (en) Data protection method for pluggable memory device
CN111930647A (en) USB interface working mode selection device and method and android device
CN204706031U (en) Serial peripheral equipment interface SPI bus circuit and electronic equipment
CN104077080A (en) Memory access method, memory access control method, SPI flash memory device and controller thereof
CN101561663B (en) Motion control system and control method thereof
CN102833513B (en) High definition player
CN105068962A (en) I2C controller access method and I2C controller access system
CN101350000B (en) Operating circuit of serial peripheral interface flash memory and operation method, memory apparatus
CN103365815A (en) SD card interface supporting IP implementation under SD mode
CN209297282U (en) A kind of device for supporting mobile phone and PC to switch
CN111459736A (en) Plate electrode debugging method of video processing chip
CN105068965A (en) Inter-integrated circuit (I2C) bus based NAND Flash storage method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: BEIJING DIGIBIRD TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: DIGIBIRD TECHNOLOGY CO., LTD.

Effective date: 20150730

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150730

Address after: 100095, Haidian District, Beijing, No. 1 high palm Road, building No. 15, building 3, unit 2, Room 301, room -071

Applicant after: Bird looks at Science and Technology Ltd. in Beijing

Address before: Room 309, community service center, North residence Street office, Laoshan District, Shandong, Qingdao, 266104

Applicant before: Bird Science and Technology Ltd.

EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant