TWI614609B - Inter-integrated circuit bus arbitration system - Google Patents

Inter-integrated circuit bus arbitration system Download PDF

Info

Publication number
TWI614609B
TWI614609B TW105138646A TW105138646A TWI614609B TW I614609 B TWI614609 B TW I614609B TW 105138646 A TW105138646 A TW 105138646A TW 105138646 A TW105138646 A TW 105138646A TW I614609 B TWI614609 B TW I614609B
Authority
TW
Taiwan
Prior art keywords
coupled
flop
type flip
output
gate
Prior art date
Application number
TW105138646A
Other languages
Chinese (zh)
Other versions
TW201820157A (en
Inventor
李宗錫
陳威良
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW105138646A priority Critical patent/TWI614609B/en
Application granted granted Critical
Publication of TWI614609B publication Critical patent/TWI614609B/en
Publication of TW201820157A publication Critical patent/TW201820157A/en

Links

Abstract

積體電路匯流排仲裁控制系統包含第一主機電路、第二主機電路、類比開關電路、起始判斷電路及選擇控制電路。當第一主機電路之第一資料線由高電位變為低電位,且第一主機電路之第一時脈線維持在高電位時,起始判斷電路產生第一起始脈衝訊號。當第二主機電路之第二資料線由高電位變為低電位,且第二主機電路之第二時脈線維持在高電位時,起始判斷電路產生第二起始脈衝訊號。當第一起始脈衝訊號領先第二起始脈衝訊號時,選擇控制電路產生第一控制訊號,以使類比開關電路導通第一主機電路與外部時脈線及外部資料線之間的電性連接。The integrated circuit bus arbitration control system includes a first host circuit, a second host circuit, an analog switch circuit, a start determination circuit, and a selection control circuit. When the first data line of the first host circuit changes from a high level to a low level, and the first clock line of the first host circuit is maintained at a high level, the initial determining circuit generates a first start pulse signal. When the second data line of the second host circuit changes from a high level to a low level, and the second clock line of the second host circuit is maintained at a high level, the initial determining circuit generates a second start pulse signal. When the first start pulse signal leads the second start pulse signal, the selection control circuit generates the first control signal, so that the analog switch circuit turns on the electrical connection between the first host circuit and the external clock line and the external data line.

Description

積體電路匯流排仲裁控制系統Integrated circuit busbar arbitration control system

本發明係有關於一種積體電路匯流排仲裁控制系統,特別是一種能夠避免不同主機同時占用相同積體電路匯流排的積體電路匯流排仲裁控制系統。The invention relates to an integrated circuit busbar arbitration control system, in particular to an integrated circuit busbar arbitration control system capable of avoiding different hosts simultaneously occupying the same integrated circuit busbar.

積體電路匯流排(INTER-INTEGRATED CIRCUIT,I2C)是透過一條資料線和一條時脈線來傳送積體電路之間的訊息,例如主機端可以透過時脈線及資料線傳送時脈訊號及資料訊號,從屬端可依據時脈訊號的頻率判讀資料訊號的內容,進一步完成主機端所下達的指令,如讀取或寫入…等等。由於實作容易且接線單純,因此在積體電路設計上被大量的運用。INTER-INTEGRATED CIRCUIT (I2C) transmits information between integrated circuits through a data line and a clock line. For example, the host can transmit clock signals and data through the clock and data lines. The signal, the slave can interpret the content of the data signal according to the frequency of the clock signal, and further complete the instructions issued by the host end, such as reading or writing... and the like. Because of the ease of implementation and simple wiring, it is widely used in the design of integrated circuits.

在實作上,不同的主機端可能會需要控制相同的從屬端,舉例來說,在感測系統中,不同的處理器可能會需要存取相同感測器所感測到的數值來做不同的分析及處理。一般而言,為了簡化接線,從屬端可能僅具有單一組積體電路匯流排,因此不同的主機端都會耦接至相同的積體電路匯流排。此時為了避免不同的主機端同時向從屬端發出控制指令,而導致從屬端無法辨識指令,在先前技術中,有些主機端可能會內建偵測機制,並在對從屬端發出指令之前,先偵測積體電路匯流排是否為其他主機所佔用。然而在實作上,並不能確保所有耦接至相同之積體電路匯流排的主機端都具有內建的偵測機制,因此僅仰賴主機端的內建機制,並無法有效避免各個主機端在使用積體電路匯流排以控制從屬端時發生衝突。In practice, different host terminals may need to control the same slave. For example, in a sensing system, different processors may need to access the values sensed by the same sensor to make different Analysis and processing. In general, to simplify wiring, the slaves may only have a single integrated circuit bus, so different host terminals are coupled to the same integrated circuit bus. In this case, in order to prevent different host terminals from issuing control commands to the slaves at the same time, the slaves cannot recognize the commands. In the prior art, some hosts may have a built-in detection mechanism, and before issuing commands to the slaves, Detects whether the integrated circuit bus is occupied by other hosts. However, in practice, it is not guaranteed that all the host terminals coupled to the same integrated circuit bus have built-in detection mechanisms, so it only depends on the built-in mechanism of the host, and cannot effectively avoid the use of each host. A collision occurs when the integrated circuit bus is used to control the slave.

本發明之一實施例提供一種積體電路匯流排(Inter-integrated Circuit,I2C)仲裁控制系統,積體電路匯流排仲裁控制系統包含第一主機電路、第二主機電路、類比開關電路、起始判斷電路及選擇控制電路。An embodiment of the present invention provides an integrated circuit-integrated circuit (I2C) arbitration control system, and the integrated circuit bus arbitration control system includes a first host circuit, a second host circuit, an analog switch circuit, and an initial The judgment circuit and the selection control circuit.

第一主機電路具有第一時脈線及第一資料線,第一主機電路根據待傳輸資料控制第一時脈線及第一資料線的電位。第二主機電路具有第二時脈線及第二資料線,第二主機電路根據待傳輸資料控制第二時脈線及第二資料線的電位。The first host circuit has a first clock line and a first data line, and the first host circuit controls the potential of the first clock line and the first data line according to the data to be transmitted. The second host circuit has a second clock line and a second data line, and the second host circuit controls the potentials of the second clock line and the second data line according to the data to be transmitted.

類比開關電路耦接於第一主機電路、第二主機電路、外部時脈線及外部資料線,當類比開關電路接收到第一控制訊號時,類比開關電路導通第一時脈線與外部時脈線的電性連接及第一資料線及外部資料線的電性連接。當類比開關電路接收到第二控制訊號時,類比開關電路導通第二時脈線與外部時脈線的電性連接及第二資料線及外部資料線的電性連接。The analog switch circuit is coupled to the first host circuit, the second host circuit, the external clock line and the external data line. When the analog switch circuit receives the first control signal, the analog switch circuit turns on the first clock line and the external clock. The electrical connection of the line and the electrical connection of the first data line and the external data line. When the analog switch circuit receives the second control signal, the analog switch circuit turns on the electrical connection between the second clock line and the external clock line and the electrical connection between the second data line and the external data line.

起始判斷電路耦接於第一主機電路及第二主機電路,當第一資料線之電位由高電位變為低電位,且第一時脈線之電位維持在高電位時,起始判斷電路產生第一起始脈衝訊號。當第二資料線之電位由高電位變為低電位,且第二時脈線之電位維持在高電位時,起始判斷電路產生第二起始脈衝訊號。The initial determining circuit is coupled to the first host circuit and the second host circuit, and when the potential of the first data line changes from a high potential to a low potential, and the potential of the first clock line is maintained at a high potential, the initial determining circuit is started. A first start pulse signal is generated. When the potential of the second data line changes from a high potential to a low potential, and the potential of the second clock line is maintained at a high potential, the initial determination circuit generates a second start pulse signal.

選擇控制電路耦接於起始判斷電路,當第一起始脈衝訊號領先第二起始脈衝訊號時,選擇控制電路產生第一控制訊號。當第一起始脈衝訊號落後第二起始脈衝訊號時,選擇控制電路產生第二控制訊號。The selection control circuit is coupled to the initial determination circuit. When the first start pulse signal leads the second start pulse signal, the selection control circuit generates the first control signal. When the first start pulse signal lags behind the second start pulse signal, the selection control circuit generates a second control signal.

第1圖為本發明一實施例之積體電路匯流排(Inter-integrated Circuit,I2C)仲裁控制系統100的示意圖。積體電路匯流排仲裁控制系統100包含第一主機電路M1、第二主機電路M2、類比開關電路110、起始判斷電路120、結束判斷電路130及選擇控制電路140。FIG. 1 is a schematic diagram of an integrated circuit-integrated circuit (I2C) arbitration control system 100 according to an embodiment of the present invention. The integrated circuit bus arbitration control system 100 includes a first host circuit M1, a second host circuit M2, an analog switch circuit 110, a start determination circuit 120, an end determination circuit 130, and a selection control circuit 140.

第一主機電路M1具有第一時脈線SCL1及第一資料線SDA1,第一主機電路M1可透過控制第一時脈線SCL1及第一資料線SDA1的電位來傳輸資料,亦即第一主機電路M1可透過第一時脈線SCL1傳送時脈訊號,並透過第一資料線SDA1傳送資料訊息。相似地,第二主機電路M2具有第二時脈線SCL2及第二資料線SDA2,第二主機電路M2可透過控制第二時脈線SCL2及第二資料線SDA2的電位來傳輸資料。The first host circuit M1 has a first clock line SCL1 and a first data line SDA1. The first host circuit M1 can transmit data by controlling the potential of the first clock line SCL1 and the first data line SDA1, that is, the first host. The circuit M1 can transmit the clock signal through the first clock line SCL1 and transmit the data message through the first data line SDA1. Similarly, the second host circuit M2 has a second clock line SCL2 and a second data line SDA2, and the second host circuit M2 can transmit data by controlling the potentials of the second clock line SCL2 and the second data line SDA2.

類比開關電路110耦接於第一主機電路M1、第二主機電路M2、外部時脈線SCL及外部資料線SDA,外部時脈線SCL及外部資料線SDA可耦接至外部的從屬端裝置。當類比開關電路110接收到第一控制訊號VCC1時,類比開關電路110可導通第一時脈線SCL1與外部時脈線SCL的電性連接及第一資料線SDA1及外部資料線SDA的電性連接,此時第一主機電路M1就能夠主控外部時脈線SCL及外部資料線SDA,並對外部時脈線SCL及外部資料線SDA所耦接的從屬端裝置進行操作。而當類比開關電路110接收到第二控制訊號VCC2時,類比開關電路110可導通第二時脈線SCL2與外部時脈線SCL的電性連接及第二資料線SDA2及外部資料線SDA的電性連接。此時第二主機電路M2就能夠主控外部時脈線SCL及外部資料線SDA,並對外部時脈線SCL及外部資料線SDA所耦接的從屬端裝置進行操作。The analog switch circuit 110 is coupled to the first host circuit M1, the second host circuit M2, the external clock line SCL and the external data line SDA, and the external clock line SCL and the external data line SDA can be coupled to the external slave device. When the analog switch circuit 110 receives the first control signal VCC1, the analog switch circuit 110 can electrically connect the first clock line SCL1 with the external clock line SCL and the electrical properties of the first data line SDA1 and the external data line SDA. When connected, the first host circuit M1 can control the external clock line SCL and the external data line SDA, and operate the slave device connected to the external clock line SCL and the external data line SDA. When the analog switch circuit 110 receives the second control signal VCC2, the analog switch circuit 110 can electrically connect the second clock line SCL2 to the external clock line SCL and the second data line SDA2 and the external data line SDA. Sexual connection. At this time, the second host circuit M2 can control the external clock line SCL and the external data line SDA, and operate the slave device connected to the external clock line SCL and the external data line SDA.

起始判斷電路120耦接於第一主機電路M1及第二主機電路M2。根據積體電路匯流排的傳輸協定,當第一主機電路M1欲主控積體電路匯流排以對從屬端裝置進行操作時,第一主機電路M1會將第一資料線SDA1之電位由高電位變為低電位,並將第一時脈線SCL1之電位維持在高電位,以表示即將對於積體電路匯流排進行主控。因此當起始判斷電路120偵測到第一資料線SDA1之電位由高電位變為低電位,且第一時脈線SCL1之電位維持在高電位時,起始判斷電路120會產生第一起始脈衝訊號ST1,以表示第一主機電路M1欲對積體電路匯流排進行主控。相似地,當起始判斷電路120偵測到第二資料線SDA2之電位由高電位變為低電位,且第二時脈線SCL2之電位維持在高電位時,起始判斷電路120會產生第二起始脈衝訊號ST2以表示第二主機電路M2欲對積體電路匯流排進行主控。The initial determination circuit 120 is coupled to the first host circuit M1 and the second host circuit M2. According to the transmission protocol of the integrated circuit bus, when the first host circuit M1 wants to control the integrated circuit bus to operate the slave device, the first host circuit M1 will set the potential of the first data line SDA1 to a high potential. It goes low and maintains the potential of the first clock line SCL1 at a high level to indicate that the integrated circuit bus is being mastered. Therefore, when the initial determination circuit 120 detects that the potential of the first data line SDA1 changes from a high potential to a low potential, and the potential of the first clock line SCL1 is maintained at a high potential, the initial determination circuit 120 generates a first start. The pulse signal ST1 is used to indicate that the first host circuit M1 is to be mastered on the integrated circuit bus. Similarly, when the initial determination circuit 120 detects that the potential of the second data line SDA2 changes from a high potential to a low potential, and the potential of the second clock line SCL2 is maintained at a high potential, the initial determination circuit 120 generates a The two start pulse signals ST2 are used to indicate that the second host circuit M2 is to be mastered on the integrated circuit bus.

選擇控制電路140耦接於起始判斷電路120。當選擇控制電路140偵測到第一起始脈衝訊號ST1領先第二起始脈衝訊號ST2時,亦即第二起始脈衝訊號ST2係在第一起始脈衝訊號ST1產生之後才產生,或甚至是在第一起始脈衝訊號ST1產生之後,並未產生第二起始脈衝訊號ST2時,選擇控制電路140會產生第一控制訊號VCC1,此時類比開關電路110會導通第一時脈線SCL1與外部時脈線SCL的電性連接及第一資料線SDA1及外部資料線SDA的電性連接,因此第一主機電路M1就能夠主控外部時脈線SCL及外部資料線SDA。The selection control circuit 140 is coupled to the initial determination circuit 120. When the selection control circuit 140 detects that the first start pulse signal ST1 leads the second start pulse signal ST2, that is, the second start pulse signal ST2 is generated after the first start pulse signal ST1 is generated, or even After the first start pulse signal ST1 is generated, when the second start pulse signal ST2 is not generated, the selection control circuit 140 generates the first control signal VCC1, and the analog switch circuit 110 turns on the first clock line SCL1 and the outside. The electrical connection of the pulse line SCL and the electrical connection between the first data line SDA1 and the external data line SDA enable the first host circuit M1 to control the external clock line SCL and the external data line SDA.

反之,當第一起始脈衝訊號ST1落後第二起始脈衝訊號ST2時,選擇控制電路140會產生第二控制訊號VCC2,此時類比開關電路110會導通第二時脈線SCL2與外部時脈線SCL的電性連接及第二資料線SDA2及外部資料線SDA的電性連接,因此第二主機電路M2就能夠主控外部時脈線SCL及外部資料線SDA。On the contrary, when the first start pulse signal ST1 lags behind the second start pulse signal ST2, the selection control circuit 140 generates the second control signal VCC2, and the analog switch circuit 110 turns on the second clock line SCL2 and the external clock line. The electrical connection of the SCL and the electrical connection of the second data line SDA2 and the external data line SDA enable the second host circuit M2 to control the external clock line SCL and the external data line SDA.

第2圖為本發明一實施例之起始判斷電路120的示意圖。起始判斷電路120包含第一D型正反器FF1、第二D型正反器FF2、第一互斥或閘(exclusive or gate,XOR gate)XOR1、第一脈衝產生器122、第三D型正反器FF3、第四D型正反器FF4、第二互斥或閘XOR2、第二脈衝產生器124。FIG. 2 is a schematic diagram of a start determination circuit 120 according to an embodiment of the present invention. The initial judgment circuit 120 includes a first D-type flip-flop FF1, a second D-type flip-flop FF2, an exclusive or gate (XOR gate) XOR1, a first pulse generator 122, and a third D. The type flip-flop FF3, the fourth D-type flip-flop FF4, the second mutex or gate XOR2, and the second pulse generator 124.

第一D型正反器FF1具有資料端D、負緣時脈端CLK’及輸出端Q,第一D型正反器D1之資料端D耦接於第一時脈線SCL1,而負緣時脈端CLK’耦接於第一資料線SDA1。第二D型正反器FF2具有資料端D、負緣時脈端CLK’及輸出端Q,第二D型正反器FF2之資料端D耦接於第一D型正反器FF1之輸出端Q,第二D型正反器FF2之負緣時脈端CLK’耦接於第一資料線SDA1。第一互斥或閘XOR1具有第一輸入端、第二輸入端及輸出端,第一互斥或閘XOR1之第一輸入端耦接於第一D型正反器FF1之輸出端Q,而第一互斥或閘XOR1之第二輸入端耦接於第二D型正反器FF2之輸出端Q。第一脈衝產生器122可根據第一互斥或閘XOR1之輸出端的電位產生第一起始脈衝訊號ST1。The first D-type flip-flop FF1 has a data terminal D, a negative-edge clock terminal CLK' and an output terminal Q. The data terminal D of the first D-type flip-flop D1 is coupled to the first clock line SCL1, and the negative edge The clock terminal CLK' is coupled to the first data line SDA1. The second D-type flip-flop FF2 has a data terminal D, a negative edge clock terminal CLK' and an output terminal Q, and a data terminal D of the second D-type flip-flop FF2 is coupled to the output of the first D-type flip-flop FF1. The terminal Q, the negative edge clock terminal CLK' of the second D-type flip-flop FF2 is coupled to the first data line SDA1. The first mutex or gate XOR1 has a first input terminal, a second input terminal, and an output terminal. The first input end of the first mutex or gate XOR1 is coupled to the output terminal Q of the first D-type flip-flop FF1. The second input end of the first mutex or gate XOR1 is coupled to the output terminal Q of the second D-type flip-flop FF2. The first pulse generator 122 can generate the first start pulse signal ST1 according to the potential of the output of the first mutex or gate XOR1.

第一脈衝產生器122包含第一電阻R1、第一電容C1、第三互斥或閘XOR3。第一電阻R1具有第一端及第二端,第一電阻R1之第一端耦接於第一互斥或閘XOR1之輸出端。第一電容C1具有第一端及第二端,第一電容C1之第一端耦接於第一電阻R1之第二端,而第一電容C1之第二端耦接於地端GND。第三互斥或閘XOR3具有第一輸入端、第二輸入端及輸出端,第三互斥或閘XOR3之第一輸入端耦接於第一互斥或閘XOR1之輸出端,第三互斥或閘XOR3之第二輸入端耦接於第一電阻R1之第二端,而第三互斥或閘XOR3之輸出端可輸出第一起始脈衝訊號ST1。The first pulse generator 122 includes a first resistor R1, a first capacitor C1, a third mutex or a gate XOR3. The first resistor R1 has a first end and a second end, and the first end of the first resistor R1 is coupled to the output end of the first mutex or gate XOR1. The first capacitor C1 has a first end and a second end. The first end of the first capacitor C1 is coupled to the second end of the first resistor R1, and the second end of the first capacitor C1 is coupled to the ground GND. The third mutex or gate XOR3 has a first input end, a second input end, and an output end, and the first input end of the third mutex or gate XOR3 is coupled to the output end of the first mutex or gate XOR1, and the third mutual The second input end of the repeller or gate XOR3 is coupled to the second end of the first resistor R1, and the output end of the third mutex or gate XOR3 can output the first start pulse signal ST1.

在第2圖中,當初始狀態下,第一D型正反器FF1的輸出端Q及第二D型正反器FF2的輸出端Q都是低電位(或邏輯0),此時第一互斥或閘XOR1及第二互斥或閘XOR2的輸出端亦皆為低電位(或邏輯0)。In Fig. 2, in the initial state, the output terminal Q of the first D-type flip-flop FF1 and the output terminal Q of the second D-type flip-flop FF2 are both low (or logic 0), at this time, the first The outputs of the mutex or gate XOR1 and the second mutex or gate XOR2 are also low (or logic 0).

當第一主機端M1將第一資料線SDA1的電位由高電位拉低至低電位,並將第一時脈線的電位維持在高電位時,第一資料線SDA1的電位變化會觸發第一D型正反器FF1的負緣時脈端CLK’及第二D型正反器FF2的負緣時脈端CLK’,因此第一D型正反器FF1的輸出端Q會輸出第一時脈線SCL1的高電位,而第二D型正反器FF2的輸出端Q則會輸出原先第一D型正反器FF1之輸出端Q的低電位。因此第一互斥或閘XOR1會輸出高電位(或邏輯1),並對第一電容C1開始充電,隨著第一電容C1的電位被充電至臨界值時,第三互斥或閘XOR3之輸出端的電位就會由高電位(邏輯1)變為低電位(邏輯0)。也就是說,在接收到第一互斥或閘XOR1所輸出高電位後,第一脈衝產生器122會隨著產生第一起始脈衝訊號ST1。在本發明的部分實施例中,透過選擇第一電容C1的電容值及第一電阻R1的電阻值,就能夠調整對第一電容C1的充電速度,進而改變第一起始脈衝訊號ST1的脈衝長度。When the first host terminal M1 pulls the potential of the first data line SDA1 from a high potential to a low potential and maintains the potential of the first clock line at a high potential, the potential change of the first data line SDA1 triggers the first The negative edge clock terminal CLK' of the D-type flip-flop FF1 and the negative edge clock terminal CLK' of the second D-type flip-flop FF2, so the output terminal Q of the first D-type flip-flop FF1 outputs the first time The high potential of the pulse line SCL1, and the output terminal Q of the second D-type flip-flop FF2 outputs the low potential of the output terminal Q of the original first D-type flip-flop FF1. Therefore, the first mutex or gate XOR1 will output a high potential (or logic 1) and start charging the first capacitor C1. When the potential of the first capacitor C1 is charged to a critical value, the third mutex or gate XOR3 The potential at the output changes from high (logic 1) to low (logic 0). That is, after receiving the high potential output by the first mutex or gate XOR1, the first pulse generator 122 will generate the first start pulse signal ST1. In some embodiments of the present invention, by selecting the capacitance value of the first capacitor C1 and the resistance value of the first resistor R1, the charging speed of the first capacitor C1 can be adjusted, thereby changing the pulse length of the first starting pulse signal ST1. .

相同地,第二脈衝產生器124包含第二電阻R2、第二電容C2及第四互斥或閘XOR4,第二電阻R2、第二電容C2及第四互斥或閘XOR4的操作原理及連接架構會與第一電阻R1、第一電容C1及第三互斥或閘XOR3的操作原理及連接架構相同。第三D型正反器FF3、第四D型正反器FF4、第二互斥或閘XOR2及第二脈衝產生器124的連接方式與操作原理也與第一D型正反器FF1、第二D型正反器FF2、第一互斥或閘XOR1及第一脈衝產生器122相同,因此在第二主機端M2將第二資料線SDA2的電位由高電位拉低至低電位,並將第二時脈線SCL2的電位維持在高電位時,起始判斷電路120也會對應產生第二起始脈衝訊號ST2。Similarly, the second pulse generator 124 includes the second resistor R2, the second capacitor C2, and the fourth mutex or gate XOR4, the second resistor R2, the second capacitor C2, and the fourth mutex or gate XOR4 operating principle and connection The architecture will be the same as the operating principle and connection architecture of the first resistor R1, the first capacitor C1, and the third mutex or gate XOR3. The connection mode and operation principle of the third D-type flip-flop FF3, the fourth D-type flip-flop FF4, the second mutual-repulsion or gate XOR2, and the second pulse generator 124 are also the same as the first D-type flip-flop FF1 The second D-type flip-flop FF2, the first mutex or gate XOR1 and the first pulse generator 122 are identical, so the potential of the second data line SDA2 is pulled from the high potential to the low potential at the second host terminal M2, and When the potential of the second clock line SCL2 is maintained at a high level, the initial determination circuit 120 also generates a second start pulse signal ST2.

在本發明的部分實施例中,為了讓主控積體電路匯流排的主機電路在結束對從屬端裝置的操作之後,能夠將積體電路匯流排的主控權讓給其他主機電路,積體電路匯流排仲裁控制系統100可利用結束判斷電路130來偵測主機電路是否結束操作,並進一步產生結束脈衝訊號來重置起始判斷電路120中的D型正反器。第3圖為本發明一實施例之結束判斷電路130的示意圖。In some embodiments of the present invention, in order to allow the host circuit of the main control integrated circuit bus to terminate the operation of the slave device, the master control of the integrated circuit bus can be given to other host circuits. The circuit bus arbitration control system 100 can use the end determination circuit 130 to detect whether the host circuit ends the operation, and further generate an end pulse signal to reset the D-type flip-flop in the start determination circuit 120. FIG. 3 is a schematic diagram of the end determination circuit 130 according to an embodiment of the present invention.

結束判斷電路130耦接於第一主機電路M1及第二主機電路M2。根據積體電路匯流排的通訊協定,當第一資料線SDA1之電位由低電位變為高電位,且第一時脈線SCL1之電位維持在高電位時,表示第一主機電路M1即將結束對從屬端裝置的操作,此時結束判斷電路130會產生第一結束脈衝訊號CLR1。在第2圖的實施中,第一D型正反器FF1還包含重置端RST,第一D型正反器FF1的重置端RST可接收並根據第一結束脈衝訊號CLR1以重置第一D型正反器FF1,使得第一D型正反器FF1的輸出端Q的電位變為低電位(邏輯0)。此外,第二D型正反器FF2也包含重置端RST,第二D型正反器FF2的重置端RST可接收並根據第一結束脈衝訊號CLR1以重置第二D型正反器FF2。The end determining circuit 130 is coupled to the first host circuit M1 and the second host circuit M2. According to the communication protocol of the integrated circuit bus, when the potential of the first data line SDA1 changes from a low level to a high level, and the potential of the first clock line SCL1 is maintained at a high level, it indicates that the first host circuit M1 is about to end. The operation of the slave device, at this time, the end determining circuit 130 generates the first end pulse signal CLR1. In the implementation of FIG. 2, the first D-type flip-flop FF1 further includes a reset terminal RST, and the reset terminal RST of the first D-type flip-flop FF1 can receive and reset according to the first end pulse signal CLR1. A D-type flip-flop FF1 causes the potential of the output terminal Q of the first D-type flip-flop FF1 to become a low potential (logic 0). In addition, the second D-type flip-flop FF2 also includes a reset terminal RST, and the reset terminal RST of the second D-type flip-flop FF2 can receive and reset the second D-type flip-flop according to the first end pulse signal CLR1. FF2.

相似地,當第二資料線SDA2之電位由低電位變為高電位,且第二時脈線SCL2之電位維持在高電位時,表示第二主機電路M2即將結束對從屬端裝置的操作,此時結束判斷電路130會產生第二結束脈衝訊號CLR2。在第2圖的實施中,第三D型正反器FF3還包含重置端RST,第三D型正反器FF3的重置端RST可接收並根據第二結束脈衝訊號CLR2以重置第三D型正反器FF3,使得第三D型正反器FF3的輸出端Q的電位變為低電位(邏輯0)。此外,第四D型正反器FF4也包含重置端RST,第四D型正反器FF4的重置端RST可接收並根據第二結束脈衝訊號CLR2以重置第四D型正反器FF4。Similarly, when the potential of the second data line SDA2 changes from a low potential to a high potential, and the potential of the second clock line SCL2 is maintained at a high potential, it indicates that the second host circuit M2 is about to end the operation of the slave device, The end of judgment circuit 130 generates a second end pulse signal CLR2. In the implementation of FIG. 2, the third D-type flip-flop FF3 further includes a reset terminal RST, and the reset terminal RST of the third D-type flip-flop FF3 can receive and reset according to the second end pulse signal CLR2. The three-D type flip-flop FF3 causes the potential of the output terminal Q of the third D-type flip-flop FF3 to become a low potential (logic 0). In addition, the fourth D-type flip-flop FF4 also includes a reset terminal RST, and the reset terminal RST of the fourth D-type flip-flop FF4 can receive and reset the fourth D-type flip-flop according to the second end pulse signal CLR2. FF4.

在第3圖的實施例中,結束判斷電路130包含第五D型正反器FF5、第六D型正反器FF6、第五互斥或閘XOR5、第三脈衝產生器132、第七D型正反器FF7、第八D型正反器FF8、第六互斥或閘XOR6及第四脈衝產生器134。In the embodiment of FIG. 3, the end judging circuit 130 includes a fifth D-type flip-flop FF5, a sixth D-type flip-flop FF6, a fifth mutex or gate XOR5, a third pulse generator 132, and a seventh D. The type flip-flop FF7, the eighth D-type flip-flop FF8, the sixth mutex or gate XOR6, and the fourth pulse generator 134.

第五D型正反器FF5具有資料端D、正緣時脈端CLK及輸出端Q,第五D型正反器FF5的資料端D耦接於第一時脈線SCL1,第五D型正反器FF5的正緣時脈端CLK耦接於第一資料線SDA1。第六D型正反器FF6具有資料端D、正緣時脈端CLK及輸出端Q,第六D型正反器FF6的資料端D耦接於第五D型正反器FF5之輸出端Q,第六D型正反器FF6的正緣時脈端CLK耦接於第一資料線SDA1。第五互斥或閘XOR5具有第一輸入端、第二輸入端及輸出端,第五互斥或閘XOR5的第一輸入端耦接於第五D型正反器FF5之輸出端Q,第五互斥或閘XOR5的第二輸入端耦接於第六D型正反器FF6之輸出端Q。第三脈衝產生器132可根據第五互斥或閘XOR5之輸出端的電位產生第一結束脈衝訊號CLR1。The fifth D-type flip-flop FF5 has a data terminal D, a positive-edge clock terminal CLK and an output terminal Q. The data terminal D of the fifth D-type flip-flop FF5 is coupled to the first clock line SCL1, and the fifth D-type The positive edge clock terminal CLK of the flip-flop FF5 is coupled to the first data line SDA1. The sixth D-type flip-flop FF6 has a data terminal D, a positive-edge clock terminal CLK and an output terminal Q. The data terminal D of the sixth D-type flip-flop FF6 is coupled to the output end of the fifth D-type flip-flop FF5. Q, the positive edge clock terminal CLK of the sixth D-type flip-flop FF6 is coupled to the first data line SDA1. The fifth mutex or gate XOR5 has a first input terminal, a second input terminal, and an output terminal. The first input end of the fifth mutex or gate XOR5 is coupled to the output terminal Q of the fifth D-type flip-flop FF5. The second input end of the fifth exclusive OR gate XOR5 is coupled to the output terminal Q of the sixth D-type flip-flop FF6. The third pulse generator 132 can generate the first end pulse signal CLR1 according to the potential of the output of the fifth mutex or gate XOR5.

換言之,第五D型正反器FF5、第六D型正反器FF6、第五互斥或閘XOR5、第三脈衝產生器132的操作原理及連接架構與第一D型正反器FF1、第二D型正反器FF2、第一互斥或閘XOR1及第一脈衝產生器122相似,主要的差別在於,為了配合積體電路匯流排的通訊起始及結束條件,第五D型正反器FF5及第六D型正反器FF6的時脈端CLK為正緣觸發,而第一D型正反器FF1及第二D型正反器FF2的時脈端CLK’為負緣觸發。如此一來,結束判斷電路130就能夠在第一資料線SDA1之電位由低電位變為高電位,且第一時脈線SCL1之電位維持在高電位時,產生第一結束脈衝訊號CLR1。In other words, the operating principle and connection structure of the fifth D-type flip-flop FF5, the sixth D-type flip-flop FF6, the fifth mutually exclusive or gate XOR5, and the third pulse generator 132 are the same as the first D-type flip-flop FF1. The second D-type flip-flop FF2, the first mutex or gate XOR1 and the first pulse generator 122 are similar, the main difference is that in order to match the communication start and end conditions of the integrated circuit bus, the fifth D-type is positive The clock terminal CLK of the inverter FF5 and the sixth D-type flip-flop FF6 is a positive edge trigger, and the clock terminal CLK' of the first D-type flip-flop FF1 and the second D-type flip-flop FF2 is triggered by a negative edge. . In this way, the end determination circuit 130 can generate the first end pulse signal CLR1 when the potential of the first data line SDA1 is changed from the low potential to the high potential and the potential of the first clock line SCL1 is maintained at the high potential.

相同地,第七D型正反器FF7、第八D型正反器FF8、第六互斥或閘XOR6及第四脈衝產生器134的操作原理及連接架構與第五D型正反器FF5、第六D型正反器FF6、第五互斥或閘XOR5、第三脈衝產生器132相同,因此結束判斷電路130能夠在第二資料線SDA2之電位由低電位變為高電位,且第二時脈線SCL2之電位維持在高電位時,產生第二結束脈衝訊號CLR2。Similarly, the operation principle and connection structure of the seventh D-type flip-flop FF7, the eighth D-type flip-flop FF8, the sixth mutually exclusive or gate XOR6, and the fourth pulse generator 134 and the fifth D-type flip-flop FF5 The sixth D-type flip-flop FF6, the fifth mutex or gate XOR5, and the third pulse generator 132 are the same, so the end determination circuit 130 can change from the low potential to the high potential at the potential of the second data line SDA2, and When the potential of the second clock line SCL2 is maintained at a high level, a second end pulse signal CLR2 is generated.

此外,在第3圖的實施例中,第三脈衝產生器132包含第三電阻R3、第三電容C3、第七互斥或閘XOR7及第一及閘(AND gate)AND1。第三電阻R3具有第一端及第二端,第三電阻R3的第一端耦接於第五互斥或閘XOR5之輸出端。第三電容C3具有第一端及第二端,第三電容C3之第一端耦接於第三電阻R3之第二端,而第三電容C3之第二端耦接於地端GND。第七互斥或閘XOR7具有第一輸入端、第二輸入端及輸出端,第七互斥或閘XOR7之第一輸入端耦接於第五互斥或閘XOR5之輸出端,第七互斥或閘XOR7之第二輸入端耦接於第三電阻R3之第二端。第一及閘AND1具有第一輸入端、第二輸入端及輸出端,第一及閘AND1之第一輸入端耦接於第七互斥或閘XOR7之輸出端,第一及閘AND1之第二輸入端用以接收系統重置訊號SRST,而第一及閘AND1之輸出端則可輸出第一結束脈衝訊號CLR1。Further, in the embodiment of FIG. 3, the third pulse generator 132 includes a third resistor R3, a third capacitor C3, a seventh mutex or gate XOR7, and a first AND gate AND1. The third resistor R3 has a first end and a second end, and the first end of the third resistor R3 is coupled to the output end of the fifth mutex or gate XOR5. The third capacitor C3 has a first end and a second end. The first end of the third capacitor C3 is coupled to the second end of the third resistor R3, and the second end of the third capacitor C3 is coupled to the ground end GND. The seventh mutex or gate XOR7 has a first input end, a second input end and an output end, and the first input end of the seventh mutex or gate XOR7 is coupled to the output end of the fifth mutex or gate XOR5, the seventh mutual The second input end of the repeller or gate XOR7 is coupled to the second end of the third resistor R3. The first AND gate AND1 has a first input end, a second input end and an output end, and the first input end of the first AND gate AND1 is coupled to the output end of the seventh mutex or gate XOR7, and the first gate AND1 The two inputs are used to receive the system reset signal SRST, and the output of the first AND gate AND1 can output the first end pulse signal CLR1.

也就是說,第三脈衝產生器132在接收到第五互斥或閘XOR5輸出的高電位之後,第七互斥或閘XOR7的兩個輸入端會處於相異的電位,因此第七互斥或閘XOR7的輸出會先變為高電位,直到第三電容C3被充電至高電位,第七互斥或閘XOR7的輸出就會再變回低電位,因此能夠產生第一結束脈衝訊號CLR1。此外,在第3圖的實施例中,第一結束脈衝訊號CLR1會透過第一極閘AND1與重置訊號SRST進行邏輯運算之後再行輸出,也就是說,結束判斷電路130是在重置訊號SRST為高電位(邏輯1)的情況下,也就是在系統並未被重置的操作下,才會輸出第一結束脈衝訊號CLR1。倘若在重置訊號SRST為低電位(邏輯0)的情況下,表示積體電路匯流排仲裁控制系統100需要進行重置,此時結束判斷電路130中的第五D型正反器FF5、第六D型正反器FF6、第七D型正反器FF7、第八D型正反器FF8的重置端RST都會接收到重置訊號SRST,使得第五D型正反器FF5、第六D型正反器FF6、第七D型正反器FF7、第八D型正反器FF8對應地進行重置。That is, after the third pulse generator 132 receives the high potential of the fifth mutex or gate XOR5 output, the two inputs of the seventh mutex or gate XOR7 will be at different potentials, thus the seventh mutex The output of the gate XOR7 will first go high until the third capacitor C3 is charged to a high potential, and the output of the seventh mutex or gate XOR7 will return to a low potential, so that the first end pulse signal CLR1 can be generated. In addition, in the embodiment of FIG. 3, the first end pulse signal CLR1 is logically outputted through the first pole gate AND1 and the reset signal SRST, that is, the end judging circuit 130 is resetting the signal. When SRST is high (logic 1), that is, the first end pulse signal CLR1 is output when the system is not reset. If the reset signal SRST is low (logic 0), it means that the integrated circuit bus arbitration control system 100 needs to be reset. At this time, the fifth D-type flip-flop FF5 in the determination circuit 130 is ended. The reset terminal RST of the six D-type flip-flop FF6, the seventh D-type flip-flop FF7, and the eighth D-type flip-flop FF8 will receive the reset signal SRST, so that the fifth D-type flip-flop FF5, sixth The D-type flip-flop FF6, the seventh D-type flip-flop FF7, and the eighth D-type flip-flop FF8 are correspondingly reset.

相同地,在第3圖的實施例中,第四脈衝產生器134包含第四電阻R4、第四電容C4、第八互斥或閘XOR8及第二及閘AND2,而第四脈衝產生器134與第三脈衝產生器132的內部連接方式與操作原理亦相同,因此能夠在第二資料線SDA2之電位由低電位變為高電位,且第二時脈線SCL2之電位維持在高電位時,產生第二結束脈衝訊號CLR2。Similarly, in the embodiment of FIG. 3, the fourth pulse generator 134 includes a fourth resistor R4, a fourth capacitor C4, an eighth mutex or gate XOR8, and a second AND gate AND2, and the fourth pulse generator 134 The internal connection mode and operation principle of the third pulse generator 132 are also the same, so that the potential of the second data line SDA2 can be changed from a low potential to a high potential, and the potential of the second clock line SCL2 is maintained at a high potential. A second end pulse signal CLR2 is generated.

第4圖為本發明一實施例之選擇控制電路140的示意圖。選擇控制電路140包含第一反相器INV1、第二反相器INV2、第三及閘AND3、第九D型正反器FF9、第四及閘AND4及第十D型正反器FF10。第一反相器INV1具有輸入端及輸出端,第二反相器INV2具有輸入端及輸出端。第三及閘AND3具有第一輸入端、第二輸入端及輸出端,第三及閘AND3之第一輸入端可接收第一起始脈衝訊號ST1,第三及閘AND3之第二輸入端耦接於第一反相器INV1之輸出端。第九D型正反器FF9具有預置端PRST及輸出端Q,第九D型正反器FF9之預置端PRST耦接於第三及閘AND3之輸出端,第九D型正反器FF9之輸出端Q耦接於第二反相器INV2之輸入端,並可輸出第一控制訊號VCC1。第四及閘AND4具有第一輸入端、第二輸入端及輸出端,第四及閘AND4之第一輸入端可接收第二起始脈衝訊號ST2,而第四及閘AND4之第二輸入端耦接於第二反相器INV2之輸出端。第十D型正反器FF10具有預置端PRST及輸出端Q,第十D型正反器FF10之預置端PRST耦接於第四及閘AND4之輸出端,第十D型正反器FF10之輸出端耦接於第一反相器INV1之輸入端,並可輸出第二控制訊號VCC2。FIG. 4 is a schematic diagram of a selection control circuit 140 in accordance with an embodiment of the present invention. The selection control circuit 140 includes a first inverter INV1, a second inverter INV2, a third AND gate AND3, a ninth D-type flip-flop FF9, a fourth AND gate AND4, and a tenth D-type flip-flop FF10. The first inverter INV1 has an input end and an output end, and the second inverter INV2 has an input end and an output end. The third AND gate AND3 has a first input end, a second input end and an output end, the first input end of the third AND gate AND3 can receive the first start pulse signal ST1, and the second input end of the third AND gate AND3 is coupled At the output of the first inverter INV1. The ninth D-type flip-flop FF9 has a preset end PRST and an output terminal Q, and the preset end PRST of the ninth D-type flip-flop FF9 is coupled to the output end of the third AND gate AND3, and the ninth D-type flip-flop The output terminal Q of the FF9 is coupled to the input end of the second inverter INV2, and can output the first control signal VCC1. The fourth AND gate AND4 has a first input end, a second input end and an output end, the first input end of the fourth AND gate AND4 can receive the second start pulse signal ST2, and the second input end of the fourth AND gate AND4 It is coupled to the output end of the second inverter INV2. The tenth D-type flip-flop FF10 has a preset end PRST and an output terminal Q, and the preset end PRST of the tenth D-type flip-flop FF10 is coupled to the output end of the fourth AND gate AND4, and the tenth D-type flip-flop The output end of the FF10 is coupled to the input end of the first inverter INV1, and can output the second control signal VCC2.

由於在初始狀態下,第一控制訊號VCC1及第二控制訊號VCC2皆為低電位(邏輯0),因此第三及閘AND3的第二輸入端為高電位。當選擇控制電路140接收到第一起始脈衝訊號ST1時,第三及閘AND3的第一輸入端會變為高電位,因此第三及閘AND3的輸出端會變為高電位(邏輯1),同時第九D型正反器FF9會被預置而輸出高電位,因此選擇控制電路140能夠輸出第一控制訊號VCC1。此時,第四及閘AND4的第二輸入端會經由第二反相器INV2被固定在低電位,因此之後即便選擇控制電路140再接收到第二起始脈衝訊號ST2,也不會產生第二控制訊號VCC2。Since the first control signal VCC1 and the second control signal VCC2 are both low (logic 0) in the initial state, the second input of the third AND gate AND3 is high. When the selection control circuit 140 receives the first start pulse signal ST1, the first input terminal of the third AND gate AND3 becomes high, so the output of the third AND gate AND3 becomes high (logic 1). At the same time, the ninth D-type flip-flop FF9 is preset to output a high potential, so the selection control circuit 140 can output the first control signal VCC1. At this time, the second input terminal of the fourth AND gate AND4 is fixed at a low potential via the second inverter INV2, so that even if the selection control circuit 140 receives the second start pulse signal ST2, the second input pulse signal ST2 will not be generated. Two control signals VCC2.

反之,倘若選擇控制電路140先接收到第二起始脈衝訊號ST2,則第三及閘AND3的第二輸入端會被固定在低電位,因此之後即便選擇控制電路140再接收到第一起始脈衝訊號ST1,也不會產生第一控制訊號VCC1。On the contrary, if the selection control circuit 140 first receives the second start pulse signal ST2, the second input terminal of the third AND gate AND3 is fixed at a low potential, so that even after the selection control circuit 140 receives the first start pulse The signal ST1 also does not generate the first control signal VCC1.

如此一來,積體電路匯流排仲裁控制系統100就能夠有效且迅速地將積體電路匯流排分配給先提出主控需求的主機電路,而不會造成不同主機電路間的衝突。In this way, the integrated circuit bus arbitration control system 100 can effectively and quickly distribute the integrated circuit bus to the host circuit that first proposes the master control without causing conflicts between different host circuits.

此外,在第4圖的實施例中,第九D型正反器FF9及第十D型正反器FF10還可包含重置端RST,第九D型正反器FF9的重置端RST可接收第一結束脈衝訊號CLR1,而第十D型正反器FF10的重置端RST則可接收第二結束脈衝訊號CLR2。如此一來,當結束判斷電路130偵測到第一主機電路M1或第二主機電路M2即將停止對從屬端裝置的操作時,也可以透過第一結束脈衝訊號CLR1或第二結束脈衝訊號CLR2來重置第九D型正反器FF9及第十D型正反器FF10,以使選擇控制電路140能夠回到初始狀態,並對下一次的操作進行判斷。In addition, in the embodiment of FIG. 4, the ninth D-type flip-flop FF9 and the tenth D-type flip-flop FF10 may further include a reset terminal RST, and the reset terminal RST of the ninth D-type flip-flop FF9 may be The first end pulse signal CLR1 is received, and the reset terminal RST of the tenth D-type flip-flop FF10 can receive the second end pulse signal CLR2. In this way, when the end determining circuit 130 detects that the first host circuit M1 or the second host circuit M2 is about to stop the operation of the slave device, the first end pulse signal CLR1 or the second end pulse signal CLR2 may also be used. The ninth D-type flip-flop FF9 and the tenth D-type flip-flop FF10 are reset so that the selection control circuit 140 can return to the initial state and judge the next operation.

在本發明的部分實施例中,積體電路匯流排仲裁控制系統100還可支援兩個以上的主機電路。舉例來說,起始判斷電路120可以利用如第2圖所示的結構判斷每一個主機電路的操作以對應地產生起始脈衝訊號及結束脈衝訊號,而在選擇控制電路140中,則可根據所支援之主機電路的數量來調整及閘的輸入端數量,例如具有4個輸入端。如此一來,只要4個主機電路中,有任一個主機電路先對積體電路匯流排提出主控要求,選擇控制電路140就會優先產生對應的控制訊號,而根據第4圖所示的結構,這個控制訊號就能夠抑止選擇控制電路140繼續產生其他的控制訊號,如此一來,就能夠避免其他3個主機電路也同時取得積體電路匯流排的主控權。In some embodiments of the present invention, the integrated circuit bus arbitration control system 100 can also support more than two host circuits. For example, the initial determination circuit 120 can determine the operation of each host circuit to correspondingly generate the start pulse signal and the end pulse signal by using the structure as shown in FIG. 2, and in the selection control circuit 140, The number of supported host circuits is adjusted to the number of inputs to the gate, for example with four inputs. In this way, as long as any one of the four host circuits first presents a master control request to the integrated circuit bus, the selection control circuit 140 preferentially generates a corresponding control signal, and the structure according to FIG. The control signal can prevent the selection control circuit 140 from continuing to generate other control signals, thereby preventing the other three host circuits from simultaneously acquiring the master control of the integrated circuit bus.

綜上所述,本發明之實施例所提出的積體電路匯流排仲裁控制系統能夠有效的在各個主機電路間作出仲裁,使得最先提出欲使用積體電路匯流排之要求的主機電路能夠取得積體電路匯流排的主控權,同時避免之後才提出使用要求的主機電路占用積體電路匯流排而導致彼此衝突。且本發明之實施例所提出的積體電路匯流排仲裁控制系統所需的元件單純,而無須複雜的軟體控制,因此能夠簡化整體系統的設計,且不會過度增加硬體負擔。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。In summary, the integrated circuit bus arbitration control system proposed by the embodiment of the present invention can effectively arbitrate between the host circuits, so that the host circuit that firstly requests the use of the integrated circuit bus can be obtained. The mastership of the integrated circuit bus, while avoiding the use of the required host circuit to occupy the integrated circuit bus, causes collisions with each other. Moreover, the components required for the integrated circuit busbar arbitration control system proposed by the embodiments of the present invention are simple, and do not require complicated software control, thereby simplifying the design of the overall system without excessively increasing the burden on the hardware. The above are only the preferred embodiments of the present invention, and all changes and modifications made to the scope of the present invention should be within the scope of the present invention.

100‧‧‧積體電路匯流排仲裁控制系統100‧‧‧Integrated Circuit Bus Arbitration Control System

110‧‧‧類比開關電路110‧‧‧ analog switch circuit

120‧‧‧起始判斷電路120‧‧‧Start judgment circuit

130‧‧‧結束判斷電路130‧‧‧End judgment circuit

140‧‧‧選擇控制電路140‧‧‧Select control circuit

M1、M2‧‧‧主機電路M1, M2‧‧‧ host circuit

SDA1、SDA2、SDA‧‧‧資料線SDA1, SDA2, SDA‧‧‧ data lines

SCL1、SCL2、SCL‧‧‧時脈線SCL1, SCL2, SCL‧‧‧ clock line

ST1、ST2‧‧‧起始脈衝訊號ST1, ST2‧‧‧ starting pulse signal

CLR1、CLR2‧‧‧結束脈衝訊號CLR1, CLR2‧‧‧ end pulse signal

VCC1、VCC2‧‧‧控制訊號VCC1, VCC2‧‧‧ control signals

122、124、132、134‧‧‧脈衝產生器122, 124, 132, 134‧‧ ‧ pulse generator

FF1、FF2、FF3、FF4、FF5、FF6、FF7、FF8、FF9、FF10‧‧‧D型正反器FF1, FF2, FF3, FF4, FF5, FF6, FF7, FF8, FF9, FF10‧‧‧D type flip-flops

XOR1、XOR2、XOR3、XOR4、XOR5、XOR6、XOR7、XOR8‧‧‧互斥或閘XOR1, XOR2, XOR3, XOR4, XOR5, XOR6, XOR7, XOR8‧‧‧ Mutual exclusion or gate

R1、R2、R3、R4‧‧‧電阻R1, R2, R3, R4‧‧‧ resistance

C1、C2、C3、C4‧‧‧電容C1, C2, C3, C4‧‧‧ capacitors

D‧‧‧資料端D‧‧‧ data side

Q‧‧‧輸出端Q‧‧‧output

RST‧‧‧重置端RST‧‧‧Reset

CLK’‧‧‧負緣時脈端CLK’‧‧‧ negative edge clock end

AND1、AND2、AND3、AND4‧‧‧及閘AND1, AND2, AND3, AND4‧‧‧ and gate

SRST‧‧‧重置訊號SRST‧‧‧Reset signal

CLK‧‧‧正緣時脈端CLK‧‧‧ positive edge

INV1、INV2‧‧‧反相器INV1, INV2‧‧‧ inverter

PRST‧‧‧預置端PRST‧‧‧ Preset

第1圖為本發明一實施例之積體電路匯流排仲裁控制系統的示意圖。 第2圖為本發明一實施例之起始判斷電路的示意圖。 第3圖為本發明一實施例之結束判斷電路的示意圖。 第4圖為本發明一實施例之選擇控制電路的示意圖。FIG. 1 is a schematic diagram of an integrated circuit busbar arbitration control system according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a start determination circuit according to an embodiment of the present invention. FIG. 3 is a schematic diagram of an end judging circuit according to an embodiment of the present invention. Figure 4 is a schematic diagram of a selection control circuit in accordance with an embodiment of the present invention.

100‧‧‧積體電路匯流排仲裁控制系統 100‧‧‧Integrated Circuit Bus Arbitration Control System

110‧‧‧類比開關電路 110‧‧‧ analog switch circuit

120‧‧‧起始判斷電路 120‧‧‧Start judgment circuit

130‧‧‧結束判斷電路 130‧‧‧End judgment circuit

140‧‧‧選擇控制電路 140‧‧‧Select control circuit

M1、M2‧‧‧主機電路 M1, M2‧‧‧ host circuit

SDA1、SDA2、SDA‧‧‧資料線 SDA1, SDA2, SDA‧‧‧ data lines

SCL1、SCL2、SCL‧‧‧時脈線 SCL1, SCL2, SCL‧‧‧ clock line

ST1、ST2‧‧‧起始脈衝訊號 ST1, ST2‧‧‧ starting pulse signal

CLR1、CLR2‧‧‧結束脈衝訊號 CLR1, CLR2‧‧‧ end pulse signal

VCC1、VCC2‧‧‧控制訊號 VCC1, VCC2‧‧‧ control signals

Claims (9)

一種積體電路匯流排(Inter-integrated Circuit,I2C)仲裁控制系統,包含:一第一主機電路,具有一第一時脈線及一第一資料線,用以根據一待傳輸資料控制該第一時脈線及該第一資料線的電位;一第二主機電路,具有一第二時脈線及一第二資料線,用以根據該待傳輸資料控制該第二時脈線及該第二資料線的電位;一類比開關電路,耦接於該第一主機電路、該第二主機電路、一外部時脈線及一外部資料線,用以當接收到一第一控制訊號時,導通該第一時脈線與該外部時脈線的電性連接及該第一資料線及該外部資料線的電性連接,及當接收到一第二控制訊號時,導通該第二時脈線與該外部時脈線的電性連接及該第二資料線及該外部資料線的電性連接;一起始判斷電路,耦接於該第一主機電路及該第二主機電路,用以當該第一資料線之電位由一高電位變為一低電位,且該第一時脈線之電位維持在該高電位時,產生一第一起始脈衝訊號,及當該第二資料線之電位由該高電位變為該低電位,且該第二時脈線之電位維持在該高電位時,產生一第二起始脈衝訊號,該起始判斷電路包含:一第一D型正反器,具有一資料端耦接於該第一時脈線,一負緣時脈端耦接於該第一資料線,及一輸出端;一第二D型正反器,具有一資料端耦接於該第一D型正反器之該輸出端,一負緣時脈端耦接於該第一資料線,及一輸出端;一第一互斥或閘(exclusive or gate,XOR gate),具有一第一輸入端耦接於該第一D型正反器之該輸出端,一第二輸入端耦接於該第二D型正反器之該輸出端,及一輸出端; 一第一脈衝產生器,用以根據該第一互斥或閘之該輸出端的電位產生該第一起始脈衝訊號;一第三D型正反器,具有一資料端耦接於該第二時脈線,一負緣時脈端耦接於該第二資料線,及一輸出端;一第四D型正反器,具有一資料端耦接於該第三D型正反器之該輸出端,一負緣時脈端耦接於該第二資料線,及一輸出端;一第二互斥或閘,具有一第一輸入端耦接於該第三D型正反器之該輸出端,一第二輸入端耦接於該第四D型正反器之該輸出端,及一輸出端;及一第二脈衝產生器,用以根據該第二互斥或閘之該輸出端的電位產生該第二起始脈衝訊號;及一選擇控制電路,耦接於該起始判斷電路,用以當該第一起始脈衝訊號領先該第二起始脈衝訊號時,產生該第一控制訊號,及當該第一起始脈衝訊號落後該第二起始脈衝訊號時,產生該第二控制訊號。 An integrated circuit-integrated circuit (I2C) arbitration control system includes: a first host circuit having a first clock line and a first data line for controlling the data according to a data to be transmitted a second clock circuit and a second data line for controlling the second clock line and the first data line according to the data to be transmitted The potential of the second data line; the analog switch circuit is coupled to the first host circuit, the second host circuit, an external clock line and an external data line for turning on when a first control signal is received Electrically connecting the first clock line to the external clock line and the first data line and the external data line, and when receiving a second control signal, turning on the second clock line An electrical connection with the external clock line and an electrical connection between the second data line and the external data line; a first determining circuit coupled to the first host circuit and the second host circuit for The potential of the first data line changes from a high potential to a high potential a potential, and when the potential of the first clock line is maintained at the high potential, generating a first start pulse signal, and when the potential of the second data line changes from the high potential to the low potential, and the second time When the potential of the pulse line is maintained at the high potential, a second start pulse signal is generated, and the initial judgment circuit includes: a first D-type flip-flop having a data end coupled to the first clock line, a negative edge clock end is coupled to the first data line, and an output end; a second D-type flip-flop has a data end coupled to the output end of the first D-type flip-flop, The first edge of the negative edge is coupled to the first data line and the output end; and the first exclusive input or gate (XOR gate) has a first input coupled to the first D type The output end of the inverter, a second input end coupled to the output end of the second D-type flip-flop, and an output end; a first pulse generator for generating the first start pulse signal according to the potential of the output of the first mutex or gate; a third D-type flip-flop having a data end coupled to the second a pulse line, a negative edge clock end coupled to the second data line, and an output end; a fourth D-type flip-flop having a data end coupled to the output of the third D-type flip-flop a negative edge clock terminal coupled to the second data line, and an output terminal; a second mutual repulsion gate having a first input coupled to the output of the third D-type flip-flop a second input end coupled to the output end of the fourth D-type flip-flop and an output end; and a second pulse generator for outputting the output according to the second mutex or gate a second start pulse signal is generated by the potential; and a selection control circuit is coupled to the initial determination circuit for generating the first control signal when the first start pulse signal leads the second start pulse signal And generating the second control signal when the first start pulse signal lags behind the second start pulse signal. 如請求項1所述之積體電路匯流排仲裁控制系統,其中:該第一脈衝產生器包含:一第一電阻,具有一第一端耦接於該第一互斥或閘之該輸出端,及一第二端;一第一電容,具有一第一端耦接於該第一電阻之該第二端,及一第二端耦接於地端;及一第三互斥或閘,具有一第一輸入端耦接於該第一互斥或閘之該輸出端,一第二輸入端耦接於該第一電阻之該第二端,及一輸出端用以輸出該第一起始脈衝訊號;及 該第二脈衝產生器包含:一第二電阻,具有一第一端耦接於該第二互斥或閘之該輸出端,及一第二端;一第二電容,具有一第一端耦接於該第二電阻之該第二端,及一第二端耦接於地端;及一第四互斥或閘,具有一第一輸入端耦接於該第二互斥或閘之該輸出端,一第二輸入端耦接於該第二電阻之該第二端,及一輸出端用以輸出該第二起始脈衝訊號。 The integrated circuit bus arbitrating control system of claim 1, wherein the first pulse generator comprises: a first resistor having a first end coupled to the output of the first mutex or gate And a second end; a first capacitor having a first end coupled to the second end of the first resistor, and a second end coupled to the ground end; and a third mutually exclusive or gate The first input end is coupled to the output end of the first mutex or the gate, the second input end is coupled to the second end of the first resistor, and an output end is configured to output the first start Pulse signal; and The second pulse generator includes: a second resistor having a first end coupled to the output end of the second mutex or gate, and a second end; a second capacitor having a first end coupling Connected to the second end of the second resistor, and a second end coupled to the ground end; and a fourth mutex or gate having a first input coupled to the second mutex or gate The output terminal has a second input end coupled to the second end of the second resistor, and an output end configured to output the second start pulse signal. 如請求項1或2所述之積體電路匯流排仲裁控制系統,另包含一結束判斷電路,耦接於該第一主機電路及該第二主機電路,用以當該第一資料線之電位由該低電位變為該高電位,且該第一時脈線之電位維持在該高電位時,產生一第一結束脈衝訊號,及當該第二資料線之電位由該低電位變為該高電位,且該第二時脈線之電位維持在該高電位時,產生一第二結束脈衝訊號,其中:該第一D型正反器另包含一重置端,用以接收並根據該第一結束脈衝訊號重置該第一D型正反器;該第二D型正反器另包含一重置端,用以接收並根據該第一結束脈衝訊號重置該第二D型正反器;該第三D型正反器另包含一重置端,用以接收並根據該第二結束脈衝訊號重置該第三D型正反器;及該第四D型正反器另包含一重置端,用以接收並根據該第二結束脈衝訊號重置該第四D型正反器。 The integrated circuit bus arbitration control system of claim 1 or 2, further comprising an end determining circuit coupled to the first host circuit and the second host circuit for using the potential of the first data line When the low potential changes to the high potential, and the potential of the first clock line is maintained at the high potential, a first end pulse signal is generated, and when the potential of the second data line changes from the low potential to the low potential a high potential, and the potential of the second clock line is maintained at the high potential, generating a second end pulse signal, wherein: the first D-type flip-flop further includes a reset end for receiving and according to the The first end pulse signal resets the first D-type flip-flop; the second D-type flip-flop further includes a reset terminal for receiving and resetting the second D-type according to the first end pulse signal The third D-type flip-flop further includes a reset terminal for receiving and resetting the third D-type flip-flop according to the second end pulse signal; and the fourth D-type flip-flop A reset terminal is included for receiving and resetting the fourth D-type flip-flop according to the second end pulse signal. 如請求項3所述之積體電路匯流排仲裁控制系統,該結束判斷電路包含:一第五D型正反器,具有一資料端耦接於該第一時脈線,一正緣時脈端耦接於該第一資料線,及一輸出端;一第六D型正反器,具有一資料端耦接於該第五D型正反器之該輸出端,一正緣時脈端耦接於該第一資料線,及一輸出端;一第五互斥或閘,具有一第一輸入端耦接於該第五D型正反器之該輸出端,一第二輸入端耦接於該第六D型正反器之該輸出端,及一輸出端;及一第三脈衝產生器,用以根據該第五互斥或閘之該輸出端的電位產生該第一結束脈衝訊號;一第七D型正反器,具有一資料端耦接於該第二時脈線,一正緣時脈端耦接於該第二資料線,及一輸出端;一第八D型正反器,具有一資料端耦接於該第七D型正反器之該輸出端,一正緣時脈端耦接於該第二資料線,及一輸出端;一第六互斥或閘,具有一第一輸入端耦接於該第七D型正反器之該輸出端,一第二輸入端耦接於該第八D型正反器之該輸出端,及一輸出端;及一第四脈衝產生器,用以根據該第六互斥或閘之該輸出端的電位產生該第二結束脈衝訊號。 The integrated circuit bus arbitration control system according to claim 3, wherein the termination determining circuit comprises: a fifth D-type flip-flop having a data terminal coupled to the first clock line, a positive edge clock The end is coupled to the first data line, and an output end; a sixth D-type flip-flop having a data end coupled to the output end of the fifth D-type flip-flop, a positive edge clock end The first data input is coupled to the output end of the fifth D-type flip-flop, and the second input end is coupled to the output terminal of the fifth D-type flip-flop. The output terminal of the sixth D-type flip-flop and an output terminal; and a third pulse generator for generating the first end pulse signal according to the potential of the output terminal of the fifth mutex or gate a seventh D-type flip-flop having a data terminal coupled to the second clock line, a positive edge clock terminal coupled to the second data line, and an output terminal; an eighth D-type positive The inverter has a data terminal coupled to the output end of the seventh D-type flip-flop, a positive-edge clock terminal coupled to the second data line, and an output terminal; a mutually exclusive switch having a first input coupled to the output of the seventh D-type flip-flop, a second input coupled to the output of the eighth D-type flip-flop, and a And a fourth pulse generator for generating the second end pulse signal according to the potential of the output of the sixth mutex or gate. 如請求項4所述之積體電路匯流排仲裁控制系統,其中:該第三脈衝產生器包含:一第三電阻,具有一第一端耦接於該第五互斥或閘之該輸出端,及一第二端;一第三電容,具有一第一端耦接於該第三電阻之該第二端,及一第二 端耦接於地端;及一第七互斥或閘,具有一第一輸入端耦接於該第五互斥或閘之該輸出端,一第二輸入端耦接於該第三電阻之該第二端,及一輸出端;及該第四脈衝產生器包含:一第四電阻,具有一第一端耦接於該第六互斥或閘之該輸出端,及一第二端;一第四電容,具有一第一端耦接於該第四電阻之該第二端,及一第二端耦接於地端;及一第八互斥或閘,具有一第一輸入端耦接於該第六互斥或閘之該輸出端,一第二輸入端耦接於該第四電阻之該第二端,及一輸出端。 The integrated circuit bus arbitration control system of claim 4, wherein the third pulse generator comprises: a third resistor having a first end coupled to the output of the fifth mutex or gate And a second end; a third capacitor having a first end coupled to the second end of the third resistor, and a second The end is coupled to the ground; and a seventh mutually exclusive switch having a first input coupled to the output of the fifth mutex or gate, and a second input coupled to the third resistor The second end, and an output end; and the fourth pulse generator includes: a fourth resistor having a first end coupled to the output end of the sixth mutex or gate, and a second end; a fourth capacitor having a first end coupled to the second end of the fourth resistor, and a second end coupled to the ground end; and an eighth mutex or gate having a first input coupling A second input end is coupled to the second end of the fourth resistor, and an output end. 如請求項5所述之積體電路匯流排仲裁控制系統,其中:該第三脈衝產生器另包含一第一及閘(AND gate),具有一第一輸入端耦接於該第七互斥或閘之該輸出端,一第二輸入端用以接收一系統重置訊號,及一輸出端用以輸出該第一結束脈衝訊號;該第四脈衝產生器另包含一第二及閘,具有一第一輸入端耦接於該第八互斥或閘之該輸出端,一第二輸入端用以接收該系統重置訊號,及一輸出端用以輸出該第二結束脈衝訊號;該第五D型正反器另包含一重置端,用以接收並根據該系統重置訊號重置該第五D型正反器;該第六D型正反器另包含一重置端,用以接收並根據該系統重置訊號重置該第六D型正反器;該第七D型正反器另包含一重置端,用以接收並根據該系統重置訊號重置該 第七D型正反器;及該第八D型正反器另包含一重置端,用以接收並根據該系統重置訊號重置該第八D型正反器。 The integrated circuit bus arbitration control system of claim 5, wherein the third pulse generator further includes a first AND gate having a first input coupled to the seventh mutual exclusion Or the output end of the gate, a second input terminal for receiving a system reset signal, and an output terminal for outputting the first end pulse signal; the fourth pulse generator further comprising a second gate and having a first input end is coupled to the output end of the eighth mutex or gate, a second input end is configured to receive the system reset signal, and an output end is configured to output the second end pulse signal; The fifth D-type flip-flop further includes a reset terminal for receiving and resetting the fifth D-type flip-flop according to the system reset signal; the sixth D-type flip-flop further includes a reset end, Receiving and resetting the sixth D-type flip-flop according to the system reset signal; the seventh D-type flip-flop further includes a reset terminal for receiving and resetting according to the system reset signal The seventh D-type flip-flop; and the eighth D-type flip-flop further includes a reset terminal for receiving and resetting the eighth D-type flip-flop according to the system reset signal. 如請求項1或2所述之積體電路匯流排仲裁控制系統,該選擇控制電路包含:一第一反相器,具有一輸入端及一輸出端;一第二反相器,具有一輸入端及一輸出端;一第三及閘,具有一第一輸入端用以接收該第一起始脈衝訊號,一第二輸入端耦接於該第一反相器之該輸出端,及一輸出端;一第九D型正反器,具有一預置端耦接於該第三及閘之該輸出端,一輸出端耦接於該第二反相器之該輸入端,並用以輸出該第一控制訊號;一第四及閘,具有一第一輸入端用以接收該第二起始脈衝訊號,一第二輸入端耦接於該第二反相器之該輸出端,及一輸出端;及一第十D型正反器,具有一預置端耦接於該第四及閘之該輸出端,一輸出端耦接於該第一反相器之該輸入端,並用以輸出該第二控制訊號。 The integrated circuit bus arbitration control system according to claim 1 or 2, wherein the selection control circuit comprises: a first inverter having an input end and an output end; and a second inverter having an input And a third output gate having a first input terminal for receiving the first start pulse signal, a second input terminal coupled to the output end of the first inverter, and an output a ninth D-type flip-flop having a pre-set coupled to the output of the third AND gate, an output coupled to the input of the second inverter, and configured to output the a first control signal; a fourth input gate having a first input terminal for receiving the second start pulse signal, a second input terminal coupled to the output end of the second inverter, and an output And a tenth D-type flip-flop having a preset end coupled to the output end of the fourth AND gate, an output end coupled to the input end of the first inverter, and configured to output The second control signal. 如請求項7所述之積體電路匯流排仲裁控制系統,另包含一結束判斷電路,耦接於該第一主機電路及該第二主機電路,用以當該第一資料線之電位由該低電位變為該高電位,且該第一時脈線之電位維持在該高電位時,產生一第一結束脈衝訊號,及當該第二資料線之電位由該低電位變為該高電位,且該第二時脈線之電位維持在該高電位時,產生一第二結束脈衝訊號,其中:該第一D型正反器另包含一重置端,用以接收並根據該第一結束脈衝訊號重 置該第一D型正反器;該第二D型正反器另包含一重置端,用以接收並根據該第一結束脈衝訊號重置該第二D型正反器;該第三D型正反器另包含一重置端,用以接收並根據該第二結束脈衝訊號重置該第三D型正反器;及該第四D型正反器另包含一重置端,用以接收並根據該第二結束脈衝訊號重置該第四D型正反器。 The integrated circuit bus arbitration control system of claim 7, further comprising an end determining circuit coupled to the first host circuit and the second host circuit for using the potential of the first data line The low potential becomes the high potential, and when the potential of the first clock line is maintained at the high potential, a first end pulse signal is generated, and when the potential of the second data line changes from the low potential to the high potential And the second end pulse signal is generated when the potential of the second clock line is maintained at the high potential, wherein: the first D-type flip-flop further includes a reset end for receiving and according to the first End pulse signal weight Positioning the first D-type flip-flop; the second D-type flip-flop further includes a reset terminal for receiving and resetting the second D-type flip-flop according to the first end pulse signal; The D-type flip-flop further includes a reset terminal for receiving and resetting the third D-type flip-flop according to the second end pulse signal; and the fourth D-type flip-flop further includes a reset end. And configured to receive and reset the fourth D-type flip-flop according to the second end pulse signal. 如請求項8所述之積體電路匯流排仲裁控制系統,該結束判斷電路包含:一第五D型正反器,具有一資料端耦接於該第一時脈線,一正緣時脈端耦接於該第一資料線,及一輸出端;一第六D型正反器,具有一資料端耦接於該第五D型正反器之該輸出端,一正緣時脈端耦接於該第一資料線,及一輸出端;一第五互斥或閘,具有一第一輸入端耦接於該第五D型正反器之該輸出端,一第二輸入端耦接於該第六D型正反器之該輸出端,及一輸出端;及一第三脈衝產生器,用以根據該第五互斥或閘之該輸出端的電位產生該第一結束脈衝訊號;一第七D型正反器,具有一資料端耦接於該第二時脈線,一正緣時脈端耦接於該第二資料線,及一輸出端;一第八D型正反器,具有一資料端耦接於該第七D型正反器之該輸出端,一正緣時脈端耦接於該第二資料線,及一輸出端;一第六互斥或閘(exclusive or gate,XOR gate),具有一第一輸入端耦接於該第七D型正反器之該輸出端,一第二輸入端耦接於該第八D型正反器之 該輸出端,及一輸出端;及一第四脈衝產生器,用以根據該第六互斥或閘之該輸出端的電位產生該第二結束脈衝訊號。 The integrated circuit bus arbitrating control system of claim 8, wherein the end determining circuit comprises: a fifth D-type flip-flop having a data terminal coupled to the first clock line, a positive edge clock The end is coupled to the first data line, and an output end; a sixth D-type flip-flop having a data end coupled to the output end of the fifth D-type flip-flop, a positive edge clock end The first data input is coupled to the output end of the fifth D-type flip-flop, and the second input end is coupled to the output terminal of the fifth D-type flip-flop. The output terminal of the sixth D-type flip-flop and an output terminal; and a third pulse generator for generating the first end pulse signal according to the potential of the output terminal of the fifth mutex or gate a seventh D-type flip-flop having a data terminal coupled to the second clock line, a positive edge clock terminal coupled to the second data line, and an output terminal; an eighth D-type positive The inverter has a data terminal coupled to the output end of the seventh D-type flip-flop, a positive-edge clock terminal coupled to the second data line, and an output terminal; An exclusive or gate (XOR gate) having a first input coupled to the output of the seventh D-type flip-flop, and a second input coupled to the eighth D-type forward and reverse Device The output terminal, and an output terminal; and a fourth pulse generator for generating the second end pulse signal according to the potential of the output terminal of the sixth mutex or gate.
TW105138646A 2016-11-24 2016-11-24 Inter-integrated circuit bus arbitration system TWI614609B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105138646A TWI614609B (en) 2016-11-24 2016-11-24 Inter-integrated circuit bus arbitration system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105138646A TWI614609B (en) 2016-11-24 2016-11-24 Inter-integrated circuit bus arbitration system

Publications (2)

Publication Number Publication Date
TWI614609B true TWI614609B (en) 2018-02-11
TW201820157A TW201820157A (en) 2018-06-01

Family

ID=62014567

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105138646A TWI614609B (en) 2016-11-24 2016-11-24 Inter-integrated circuit bus arbitration system

Country Status (1)

Country Link
TW (1) TWI614609B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765082A (en) * 2021-01-27 2021-05-07 维沃移动通信有限公司 Multi-host arbitration method and device and readable storage medium
CN112765082B (en) * 2021-01-27 2024-04-26 维沃移动通信有限公司 Multi-host arbitration method, device and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI255991B (en) * 2002-04-03 2006-06-01 Weltrend Semiconductor Inc Method to set the address of I2C bus dynamically
TWM321548U (en) * 2007-04-10 2007-11-01 Inventec Besta Co Ltd Control device for level shift of IIC
US20130132626A1 (en) * 2011-11-18 2013-05-23 Fairchild Semiconductor Corporation Pin selectable i2c slave addresses
CN106155971A (en) * 2016-07-04 2016-11-23 锐捷网络股份有限公司 The referee method of I2C bus and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI255991B (en) * 2002-04-03 2006-06-01 Weltrend Semiconductor Inc Method to set the address of I2C bus dynamically
TWM321548U (en) * 2007-04-10 2007-11-01 Inventec Besta Co Ltd Control device for level shift of IIC
US20130132626A1 (en) * 2011-11-18 2013-05-23 Fairchild Semiconductor Corporation Pin selectable i2c slave addresses
CN106155971A (en) * 2016-07-04 2016-11-23 锐捷网络股份有限公司 The referee method of I2C bus and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112765082A (en) * 2021-01-27 2021-05-07 维沃移动通信有限公司 Multi-host arbitration method and device and readable storage medium
CN112765082B (en) * 2021-01-27 2024-04-26 维沃移动通信有限公司 Multi-host arbitration method, device and readable storage medium

Also Published As

Publication number Publication date
TW201820157A (en) 2018-06-01

Similar Documents

Publication Publication Date Title
Leens An introduction to I 2 C and SPI protocols
JP2965552B2 (en) PCI bus hot plug controller
US9418032B2 (en) Adaptive accessory detection and mode negotiation
US7849244B2 (en) Apparatus for resolving conflicts happened between two I2C slave devices with the same addressed address in computer system
US9490791B2 (en) Method and circuit for detecting USB 3.0 LFPS signal
CN112416841A (en) Multi-machine communication realization method based on I2C bus and multi-machine communication system
US9448960B2 (en) Address translation in I2C data communications system
TW201418988A (en) Interface between a host and a peripheral device
TWI742422B (en) Aggregated in-band interrupt
JP7086705B2 (en) Interface circuits and electronic devices
US11216049B2 (en) Bus system
US9772965B2 (en) Multi-channel peripheral interconnect supporting simultaneous video and bus protocols
TW201531864A (en) Methods and apparatus for a multiple master bus protocol
CN108073538B (en) Integrated circuit bus arbitration control system
JP2018101185A5 (en) Semiconductor device, human interface device and electronic equipment
TW201710919A (en) Orientation indicating connector
TWI614609B (en) Inter-integrated circuit bus arbitration system
CN104408000A (en) Method for preventing conflict in health information read of BIOS (Basic Input Output System) and BMC (Baseboard Management Controller) on Feiteng server
US10860513B1 (en) I3C hub promoting backward compatibility with I2C
KR20140092547A (en) USB OTG auto change device
CN109557846B (en) Detection identification circuit, detection identification method thereof and electronic equipment
US10372645B2 (en) Universal serial bus type C transmission line and transmission device
TWM321548U (en) Control device for level shift of IIC
TWI454921B (en) Method for transiting signals, system of transferring signals and expansion card
TWI817862B (en) Computer assembly and control method therefor