TWI903437B - Inter-integrated circuit interface circuit and electronic module - Google Patents
Inter-integrated circuit interface circuit and electronic moduleInfo
- Publication number
- TWI903437B TWI903437B TW113111732A TW113111732A TWI903437B TW I903437 B TWI903437 B TW I903437B TW 113111732 A TW113111732 A TW 113111732A TW 113111732 A TW113111732 A TW 113111732A TW I903437 B TWI903437 B TW I903437B
- Authority
- TW
- Taiwan
- Prior art keywords
- signal
- output
- clock
- input
- state
- Prior art date
Links
Abstract
Description
本揭示內容有關一種內部積體電路「I2C」介面電路。本揭示內容更有關採用此I2C介面電路的電子模組。 [相關申請案] This disclosure relates to an internal integrated circuit "I2C" interface circuit. This disclosure further relates to electronic modules employing this I2C interface circuit. [Related Applications]
本專利申請案主張美國臨時專利申請案63/493,102之優先權,其揭示內容係以引用的方式併入本文中。This patent application claims priority to U.S. Provisional Patent Application 63/493,102, the disclosure of which is incorporated herein by reference.
I2C是一種雙線匯流排。此雙線典型被稱為SDA及SCL,意指串列資料線(SDA)及串列時脈線(SCL)。此I2C協定之困難態樣的其中一者係事件可由SDA或SCL從邊緣產生。I2C is a two-wire bus. These two wires are typically referred to as SDA and SCL, which stand for Serial Data Line (SDA) and Serial Clock Line (SCL). One of the difficult states of this I2C protocol is that an event can be generated from the edge by either SDA or SCL.
這是結構化數位設計中之一問題,此結構化數位設計非常傾向於觸發單一「時脈」訊號的邊緣之事件。在傳統系統中,SDA及SCL線上的訊號被評估、例如以一時脈率取樣,此時脈率高於此等線上之訊號狀態的變化。因此,可識別用於確定事件之邊緣。然而,此途徑在低功率環境中是不可能的。This is one of the problems in structured digital design, which tends to rely heavily on events that trigger a single "clock" signal. In traditional systems, signals on the SDA and SCL lines are evaluated, for example, sampled at a clock rate higher than the changes in the signal state on these lines. Therefore, the edges used to determine an event can be identified. However, this approach is not feasible in low-power environments.
要達成之一目的係提供一種改進的介面概念,其允許可靠地偵測I2C匯流排上之訊號狀態的變化。One of the objectives is to provide an improved interface concept that allows for reliable detection of changes in the signal state on the I2C bus.
此目的係用獨立項之主題來達成。實施例及發展源自附屬項。This objective is achieved through a separate topic. Implementations and developments are derived from subsidiary items.
改進的介面概念係基於以下想法:不是直接評估I2C匯流排之串列時脈線及串列資料線上的邊緣或狀態轉換,而是提供具有脈波產生器(pulse generator)之介面電路,此脈波產生器基於由I2C匯流排接收的串列時脈訊號及串列資料訊號中之訊號狀態中的變化之偵測,產生具有時脈脈波事件的附加時脈訊號。這允許評估串列資料線及串列時脈線上之訊號狀態,而不是當偵測到時脈脈波事件時的訊號狀態變化。因此,出於允許低功率應用之評估目的,不需要提供更高時控之時脈訊號的振盪器。再者,可靠地偵測I2C匯流排上之訊號事件係可能的。The improved interface concept is based on the idea that instead of directly evaluating edge or state transitions on the serial clock and data lines of the I2C bus, it provides an interface circuit with a pulse generator. This pulse generator generates an additional clock signal with clock pulse events based on the detection of changes in the signal state of the serial clock and data signals received from the I2C bus. This allows evaluation of the signal state on the serial data and clock lines, rather than the signal state changes when a clock pulse event is detected. Therefore, for evaluation purposes that allow for low-power applications, an oscillator with a higher timing clock signal is not required. Furthermore, it is possible to reliably detect signal events on the I2C bus.
於根據改進之介面概念的I2C介面電路之範例實施例中,此介面電路包含用於接收時脈訊號的時脈輸入,例如連接至I2C匯流排之SCL線。時脈輸出係藉由第一檢測電路耦接至時脈輸入。介面電路更包含用於接收串列資料訊號的資料輸入,例如耦接至I2C匯流排之SDA線。資料輸出係藉由第二檢測電路耦接至資料輸入。脈波產生器被配置為回應於觸發事件而在符號時脈輸出處產生時脈脈波事件。第一檢測電路被配置為閂鎖此串列時脈訊號,以偵測於第一檢測電路的輸入處之訊號狀態何時變得與在時脈輸出處的訊號狀態不同,並回應於此偵測來施行觸發事件。第二檢測電路被配置為閂鎖此串列資料訊號,以偵測在第二檢測電路之輸入處的訊號狀態何時變得與於資料輸出處之訊號狀態不同,且回應於此偵測來施行觸發事件,同時此經閂鎖的串列時脈訊號係處於預定義之訊號狀態、例如處於較高能狀態(high state)。In an example embodiment of an I2C interface circuit based on an improved interface concept, the interface circuit includes a clock input for receiving clock signals, such as the SCL line connected to an I2C bus. A clock output is coupled to the clock input via a first detection circuit. The interface circuit further includes a data input for receiving serial data signals, such as the SDA line coupled to an I2C bus. A data output is coupled to the data input via a second detection circuit. A pulse generator is configured to generate a clock pulse event at the symbolic clock output in response to a trigger event. The first detection circuit is configured to lock the serial clock signal to detect when the signal state at the input of the first detection circuit becomes different from the signal state at the clock output, and to trigger an event in response to this detection. The second detection circuit is configured to lock the serial data signal to detect when the signal state at the input of the second detection circuit becomes different from the signal state at the data output, and to trigger an event in response to this detection. Simultaneously, this locked serial clock signal is in a predetermined signal state, such as a high-energy state.
例如,第一及第二檢測電路引入一些帶有閂鎖功能的延遲。因此,在檢測電路之輸入處的訊號狀態可變得與於相應輸出處之閂鎖狀態不同,例如,如果I2C匯流排的相應線上之訊號狀態變化。因此,此變化可被偵測並可施行觸發事件,由而觸發脈波產生器中時脈脈波事件的產生。For example, the first and second detection circuits introduce delays with latching functionality. Therefore, the signal state at the input of the detection circuit can become different from the latching state at the corresponding output, for example, if the signal state on the corresponding line of the I2C bus changes. This change can be detected and trigger an event, thereby triggering the generation of a pulse event in the pulse generator.
由於I2C協定之規格,如果串列時脈線上的訊號狀態具有預定義之訊號狀態、通常為較高能狀態,則串列資料線上的訊號狀態之變化僅只對應於預定義的事件。因此,在此經閂鎖的串列時脈訊號之狀態的此條件之下,觸發事件係僅只藉由第二檢測電路施行。Due to the I2C protocol specifications, if the signal state on the serial clock line has a predefined signal state, typically a higher energy state, then changes in the signal state on the serial data line only correspond to the predefined event. Therefore, under this condition of the latched serial clock signal state, the trigger event is only implemented by the second detection circuit.
於一些實施例中,第二檢測電路係藉由延遲元件耦接至資料輸入,此延遲元件具有可由第一延遲及第二延遲選擇的延遲時間,其中第一延遲係比第二延遲短,且如果經閂鎖之串列時脈訊號未處於如上所界定的預定義訊號狀態中,則應用第一延遲。根據I2C協定之規格,當串列時脈訊號為高時對當串列時脈訊號為低時,SDA線上的訊號狀態變化有不同之要求。因此,取決於經閂鎖的串列時脈訊號之訊號狀態的不同延遲時間考慮到這些要求,並引入用於每一案例所需之安全界限(safety margin)。In some embodiments, the second detection circuit is coupled to the data input via a delay element having a delay time selectable from a first delay and a second delay, wherein the first delay is shorter than the second delay, and the first delay is applied if the latched serial clock signal is not in the predetermined signal state defined above. According to the I2C protocol specifications, there are different requirements for the signal state change on the SDA line when the serial clock signal is high versus when the serial clock signal is low. Therefore, different delay times depending on the signal state of the latched serial clock signal take these requirements into account and introduce a safety margin required for each case.
在I2C介面電路的一些實施例中,脈波產生器被配置為於觸發事件之後的第一預定時間段處產生第一中間訊號中之脈波事件,在第一中間訊號中的脈波事件之後的第二預定時間段處產生第二中間訊號中之脈波事件,及於第二中間訊號中的脈波事件之後的第三預定時間段處產生在符號時脈輸出處之時脈脈波事件。因此,例如,藉由應用一連串的延遲元件,產生具有第一及第二中間訊號與於符號時脈輸出處之訊號的脈波列。這不僅允許在符號時脈輸出處產生時脈脈波事件,而且允許使用中間訊號來控制於時脈輸入及資料輸入處之訊號的閂鎖。In some embodiments of I2C interface circuits, a pulse generator is configured to generate a pulse event in a first intermediate signal at a first predetermined time period after a trigger event, a pulse event in a second intermediate signal at a second predetermined time period after the pulse event in the first intermediate signal, and a pulse event at the sign clock output at a third predetermined time period after the pulse event in the second intermediate signal. Thus, for example, by applying a series of delay elements, a pulse train having the first and second intermediate signals and the signal at the sign clock output can be generated. This not only allows the generation of clock pulse events at the symbol clock output, but also allows the use of intermediate signals to control the locking of signals at the clock input and data input.
例如,第一檢測電路包含第一時脈閂鎖元件及第二時脈閂鎖元件。第一時脈閂鎖元件具有耦接至第一檢測電路之輸入的第一訊號輸入,且被配置為回應於第一中間訊號中之脈波事件而轉送在所述第一訊號輸入處的訊號狀態。第二時脈閂鎖元件具有耦接至第一時脈閂鎖元件之訊號輸出的第二訊號輸入,具有耦接至時脈輸出之訊號輸出,及被配置為回應於第二中間訊號中的脈波事件而轉送在所述第二訊號輸入處之訊號狀態。因此,於第一檢測電路的輸入處之訊號狀態係在藉由第一及第二中間訊號與它們各自的脈波事件所控制之兩個步驟中閂鎖至其輸出。For example, the first detection circuit includes a first pulse latching element and a second pulse latching element. The first pulse latching element has a first signal input coupled to an input of the first detection circuit and is configured to transfer a signal state at the first signal input in response to a pulse event in a first intermediate signal. The second pulse latching element has a second signal input coupled to a signal output of the first pulse latching element, a signal output coupled to a pulse output, and is configured to transfer a signal state at the second signal input in response to a pulse event in a second intermediate signal. Therefore, the signal state at the input of the first detection circuit is locked to its output in two steps controlled by the first and second intermediate signals and their respective pulse events.
第一檢測電路更包含互斥或閘(exclusive OR, XOR gate),具有耦接至第一時脈閂鎖元件的第一訊號輸入之第一輸入、耦接至第二時脈閂鎖元件的訊號輸出之第二輸入、及用於提供邏輯輸出訊號的輸出,此邏輯輸出訊號係用於施行此觸發事件之基礎。因此,如果在第一時脈閂鎖元件或第一檢測電路的輸入處之訊號狀態係與於第一檢測電路的輸出處或時脈輸出處之訊號狀態不同,只有邏輯輸出訊號的邏輯值可為高的。The first detection circuit further includes an exclusive OR (XOR) gate, having a first input coupled to a first signal input of a first clock latching element, a second input coupled to a signal output of a second clock latching element, and an output for providing a logical output signal, which forms the basis for triggering the event. Therefore, if the signal state at the input of the first clock latching element or the first detection circuit differs from the signal state at the output of the first detection circuit or the clock output, only the logical value of the logical output signal can be high.
在一些特定實施例中,I2C介面電路可包含用於接收致能信號之致能輸入,此致能信號例如允許致能及失能第一檢測電路、第二檢測電路及脈波產生器的至少一者。In some specific embodiments, the I2C interface circuit may include an enable input for receiving an enable signal, such as enabling and disabling at least one of a first detection circuit, a second detection circuit, and a pulse generator.
例如,第一檢測電路之第一及第二時脈閂鎖元件被配置為當致能信號處於較低能狀態(low state)中時輸出在它們各自的訊號輸出處之低訊號狀態。因此,當致能信號處於較低能狀態中時,不施行各自的訊號狀態之閂鎖。在替代實施例中,第一及第二時脈閂鎖元件被配置為當致能信號處於較低能狀態中時輸出在其各自的訊號輸出處之高訊號狀態。For example, the first and second clock latching elements of the first detection circuit are configured to output a low signal state at their respective signal outputs when the enable signal is in a low state. Therefore, when the enable signal is in a low state, latching of their respective signal states is not performed. In an alternative embodiment, the first and second clock latching elements are configured to output a high signal state at their respective signal outputs when the enable signal is in a low state.
於一些實施例中,第二檢測電路包含第一及第二資料閂鎖元件。第一資料閂鎖元件具有耦接至第二檢測電路的輸入之第一訊號輸入,且被配置為回應於第一中間訊號中的脈波事件而轉送在所述第一訊號輸入處之訊號狀態。第二資料閂鎖元件具有耦接至第一資料閂鎖元件的訊號輸出之第二訊號輸入,具有耦接至資料輸出的訊號輸出,且配置為回應於第二中間訊號中之脈波事件而轉送在所述第二訊號輸入處的訊號狀態。因此,與針對第一檢測電路之範例已敘述者類似,各自的訊號狀態係藉由第一及第二中間訊號中之脈波事件來閂鎖及轉送控制。In some embodiments, the second detection circuit includes first and second data latching elements. The first data latching element has a first signal input coupled to the input of the second detection circuit and is configured to relay a signal state at the first signal input in response to a pulse event in the first intermediate signal. The second data latching element has a second signal input coupled to the signal output of the first data latching element, a signal output coupled to the data output, and is configured to relay a signal state at the second signal input in response to a pulse event in the second intermediate signal. Therefore, similar to examples already described for the first detection circuit, the respective signal states are latched and relayed by pulse events in the first and second intermediate signals.
第二檢測電路可更包含互斥或閘,具有耦接至第一資料閂鎖元件的第一訊號輸入之第一輸入、耦接至第二資料閂鎖元件的訊號輸出之第二輸入、及用於提供邏輯輸出訊號的輸出,此邏輯輸出訊號係用於施行此觸發事件之基礎。如上所述,如果XOR閘的輸入具有不同之訊號狀態,則邏輯輸出訊號僅只可具有較高能狀態。The second detection circuit may further include a mutex gate, having a first input coupled to a first signal input of the first data latching element, a second input coupled to a signal output of the second data latching element, and an output for providing a logic output signal that forms the basis for implementing the trigger event. As described above, if the inputs of the XOR gate have different signal states, the logic output signal can only have the higher energy state.
例如,第二檢測電路更包含AND閘,具有耦接至第二檢測電路的XOR閘之輸出的第一輸入、耦接至第二時脈閂鎖元件之訊號輸出(或耦接至時脈輸出)的第二輸入、及用於提供進一步之邏輯輸出訊號的輸出,此邏輯輸出訊號係用於施行此觸發事件之基礎。因此,如果藉由XOR閘所提供的訊號狀態及時脈輸出之訊號狀態兩者為高的,將僅只產生觸發事件。For example, the second detection circuit further includes an AND gate, having a first input coupled to the output of the XOR gate of the second detection circuit, a second input coupled to the signal output of the second clock latching element (or coupled to the clock output), and an output for providing a further logical output signal, which forms the basis for triggering the event. Therefore, if both the signal state provided by the XOR gate and the signal state of the clock output are high, only a trigger event will be generated.
在一些實施例中,第一及第二資料閂鎖元件被配置為於它們各自之訊號輸出處輸出高訊號狀態,而致能信號處於較低能狀態中,如果經由致能輸入提供的話。In some embodiments, the first and second data latching elements are configured to output a high signal state at their respective signal outputs, while the enable signal is in a lower energy state if provided via an enable input.
在一些實施例中,脈波產生器包含:第一延遲元件,其具有對應於第一預定時間段之延遲時間且被配置為提供第一中間訊號;第二延遲元件,其具有對應於第二預定時間段的延遲時間,連接在第一延遲元件之下游,並被配置為提供第二中間訊號。脈波產生器更包含第三延遲元件,其具有對應於第三預定時間段的延遲時間,並連接在第二延遲元件與符號時脈輸出之間。OR閘具有用於接收觸發事件的第一輸入及耦接至第一延遲元件與第二延遲元件之間的連接之第二輸入。AND閘具有連接至OR閘的輸出之第一輸入、用於接收在第三延遲元件的輸出處之訊號狀態的倒置版本之第二輸入、及耦接至第一延遲元件的輸出。In some embodiments, the pulse generator includes: a first delay element having a delay time corresponding to a first predetermined time period and configured to provide a first intermediate signal; and a second delay element having a delay time corresponding to a second predetermined time period, connected downstream of the first delay element and configured to provide a second intermediate signal. The pulse generator further includes a third delay element having a delay time corresponding to a third predetermined time period and connected between the second delay element and the symbol clock output. The OR gate has a first input for receiving a trigger event and a second input coupled to a connection between the first and second delay elements. The AND gate has a first input connected to the output of the OR gate, a second input for receiving an inverted version of the signal state at the output of the third delay element, and an output coupled to the first delay element.
例如,如果脈波產生器之OR閘接收於其第一輸入處的觸發事件,則其輸出將變高。只要第三延遲元件之輸出處於較低能狀態中,AND閘就會將較高能狀態轉送至第一延遲元件,開始脈波列中的脈波事件,其最終出現在第三延遲元件之輸出處。因此,於第三延遲元件的輸出處之較高能狀態導致AND閘輸出與脈波列中的脈波事件之末端對應的較低能狀態。而且脈波事件之末端最終被延遲至第三延遲元件的輸出或符號時脈輸出。For example, if the OR gate of the pulse generator receives a trigger event at its first input, its output will go high. As long as the output of the third delay element is in a lower energy state, the AND gate will transfer a higher energy state to the first delay element, initiating a pulse event in the pulse train, which ultimately appears at the output of the third delay element. Therefore, the higher energy state at the output of the third delay element results in the AND gate output corresponding to a lower energy state at the end of the pulse event in the pulse train. Furthermore, the end of the pulse event is ultimately delayed until the output of the third delay element or the sign pulse output.
在I2C介面電路包含用於接收致能信號之致能輸入的實施例中,第三延遲元件之延遲時間可取決於致能信號中的訊號狀態,從第一延遲和不同於第一延遲之第二延遲選擇。例如,當致能信號處於較低能狀態中時施加的第一延遲係比第二延遲短。這可改善用於在符號時脈輸出處之穩定訊號的時間,由而減少系統中所需之最短重置時間。In an embodiment of an I2C interface circuit including an enable input for receiving an enable signal, the delay time of the third delay element can be selected from a first delay and a second delay different from the first delay, depending on the signal state in the enable signal. For example, the first delay applied when the enable signal is in a lower energy state is shorter than the second delay. This improves the time used for stabilizing the signal at the symbol clock output, thereby reducing the minimum reset time required in the system.
於I2C介面電路的一些實施例中,第一檢測電路係藉由第一脈波干擾濾波器耦接至時脈輸入。此外或作為替代,檢測電路係藉由第二脈波干擾濾波器耦接至資料輸入。可選之脈波干擾濾波器允許避免評估I2C匯流排的訊號線上之脈波干擾事件。In some embodiments of the I2C interface circuit, the first detection circuit is coupled to the clock input via a first pulse interference filter. Alternatively, the detection circuit is coupled to the data input via a second pulse interference filter. Optional pulse interference filters allow for the avoidance of pulse interference events on the I2C bus signal lines during evaluation.
在一些實施例中,I2C介面電路更包含耦接至時脈輸出、資料輸出及符號時脈輸出的評估電路。評估電路被配置為於偵測在符號時脈輸出處之時脈脈波事件時將於時脈輸出處的訊號狀態儲存為前一時脈狀態。例如,前一時脈狀態支援訊號狀態變化在時脈輸出及資料輸出處之評估。In some embodiments, the I2C interface circuit further includes evaluation circuitry coupled to the clock output, data output, and symbolic clock output. The evaluation circuitry is configured to store the signal state at the clock output as the previous clock state when a clock pulse event is detected at the symbolic clock output. For example, the previous clock state supports the evaluation of signal state changes at both the clock output and data output.
例如,評估電路被配置為在取決於前一時脈狀態及在時脈輸出與資料輸出處的訊號狀態偵測此符號時脈輸出處之時脈脈波事件時,確定事件類型。For example, an evaluation circuit is configured to determine the event type when detecting a pulse event at the symbolic clock output, depending on the previous clock state and the signal state at the clock and data outputs.
例如,事件類型被確定為 - START事件,如果前一時脈狀態處於較高能狀態中,則時脈輸出處於較高能狀態中,且資料輸出處於較低能狀態中; - STOP事件,如果前一時脈狀態處於較高能狀態中,則時脈輸出處於較高能狀態中,且資料輸出處於較高能狀態中; - DATA0事件,如果前一時脈狀態處於較低能狀態中,則時脈輸出處於較高能狀態中,且資料輸出處於較低能狀態中;及 - DATA1事件,如果前一時脈狀態處於較低能狀態中,則時脈輸出處於較高能狀態中,且資料輸出處於較高能狀態中。 For example, the event type is defined as follows: - START event: If the previous clock state was in a higher energy state, then the clock output is in a higher energy state, and the data output is in a lower energy state; - STOP event: If the previous clock state was in a higher energy state, then the clock output is in a higher energy state, and the data output is in a higher energy state; - DATA0 event: If the previous clock state was in a lower energy state, then the clock output is in a higher energy state, and the data output is in a lower energy state; and - For the DATA1 event, if the previous clock state was in a lower energy state, then the clock output and data output will both be in a higher energy state.
例如,如果前一時脈狀態處於較高能狀態中且時脈輸出處於較低能狀態中,尤其是與資料輸出的狀態無關,則事件類型亦可被確定為SCLFE事件。For example, if the previous clock state was in a higher energy state and the clock output was in a lower energy state, especially if it is unrelated to the data output state, the event type can also be identified as an SCLFE event.
改善之介面概念可被採用在包含根據上述實施例的其中一者之I2C介面的電子模組中。例如,電子模組係感測器模組、例如用於醫療及/或健康感測器等。The improved interface concept can be adopted in electronic modules that include an I2C interface according to one of the above embodiments. For example, the electronic module is a sensor module, such as for medical and/or health sensors.
此等電子模組可例如被使用在像行動電話或智慧型手錶之行動或穿戴式裝置中。These electronic modules can be used, for example, in mobile or wearable devices such as mobile phones or smartwatches.
根據改進的介面概念之架構解決了結構化數位設計之問題,此等結構化數位設計强烈傾向於觸發單一「時脈」訊號的邊緣之事件,同時舒適地滿足定時關閉目標,而不需要額外的更高速時脈。它亦可擴展至更高之I2C匯流排速率,非常模組化,並可輕易地設計成適於其他產品及技術。The improved interface concept addresses the challenges of structured digital design, which strongly favors events that trigger a single "clock" signal, while comfortably achieving timed shutdown without requiring additional, higher-speed clocks. It can also be scaled to higher I2C bus rates, is highly modular, and can be easily designed for use with other products and technologies.
藉由開發用於脈波產生器的定時模型,改進之介面概念能夠展示整個I2C路徑的定時關閉,其導致介面之大大改進及簡化的定時關閉。此解決方案亦能夠以非常低之待機功率符合I2C高速規格。By developing a timing model for the pulse generator, the improved interface concept can demonstrate the timing shutdown of the entire I2C path, resulting in significant improvements to the interface and simplified timing shutdown. This solution also meets I2C high-speed specifications with very low standby power.
圖1顯示I2C匯流排的串列資料線及串列時脈線之範例訊號圖。如上所述,事件可由雙線上的訊號狀態之邊緣或變化產生。例如,當串列時脈線處於較高能狀態中時,START事件可藉由在串列資料線上由較高能狀態至較低能狀態的轉變來表示。類似地,當串列時脈線處於較高能狀態中時,STOP事件可藉由在串列資料線上由較低能狀態至較高能狀態之訊號轉變來表示。Figure 1 shows an example signal diagram of the serial data lines and serial clock lines of an I2C bus. As mentioned above, events can be generated by the edges or changes in the signal states on both lines. For example, when the serial clock line is in a higher energy state, the START event can be represented by a transition from a higher energy state to a lower energy state on the serial data line. Similarly, when the serial clock line is in a higher energy state, the STOP event can be represented by a signal transition from a lower energy state to a higher energy state on the serial data line.
於串列時脈線上由較低能狀態至較高能狀態的轉變可確定一資料事件。例如,如果在此轉變期間,串列資料線處於較低能狀態中,則表示DATA0事件,或如果串列資料線處於較高能狀態中,則表示DATA1事件。例如,這些事件被界定在I2C規格中。A data event can be identified by the transition from a lower energy state to a higher energy state on a serial clock line. For example, if the serial data line is in a lower energy state during this transition, it represents a DATA0 event, or if the serial data line is in a higher energy state, it represents a DATA1 event. These events are defined, for example, in the I2C specification.
於串列時脈線上由較高能狀態至較低能狀態之轉變通常可被忽略。然而,根據本揭示內容,可表示對應於忽略事件的特殊事件SCLFE。The transition from a higher energy state to a lower energy state on a serial clock line is usually negligible. However, according to this disclosure, a special event SCLFE can be represented corresponding to the negligible event.
I2C匯流排上的串列資料線與串列時脈線之間的定時關係對於確定各自之事件係至關重要。為了避免例如藉由振盪器等所提供的較高時脈訊號,本揭示內容提供一種改進之介面概念,其提供一具有對應於改變串列資料線及串列時脈線上的訊號狀態之脈波事件的符號時脈訊號。The timing relationship between the serial data lines and serial clock lines on the I2C bus is crucial for determining their respective events. To avoid higher clock signals provided, for example by an oscillator, this disclosure provides an improved interface concept that provides a symbolic clock signal corresponding to a pulse event that changes the signal state on the serial data lines and serial clock lines.
例如,圖2顯示根據改進之介面概念的I2C介面電路之範例實施例,包含用於接收串列時脈訊號scl的時脈輸入SCLIN,其係藉由第一檢測電路DET1耦接至時脈輸出SCLPAD。用於接收串列資料訊號sda之資料輸入SDAIN係藉由第二檢測電路DET2耦接至資料輸出SDAPAD。脈波產生器PGEN被配置為回應於觸發訊號syken中的觸發事件而在符號時脈輸出SYMCLK處產生時脈脈波事件。第一檢測電路DET1被配置為閂鎖由其輸入至其輸出之串列時脈訊號scl,例如取決於中途訊號syph。這意味著在第一檢測電路DET1的輸入處之訊號狀態僅只於第一檢測電路DET1係經由中途訊號syph觸發之後才在其輸出處顯現。For example, Figure 2 shows an exemplary embodiment of an I2C interface circuit according to an improved interface concept, including a clock input SCLIN for receiving the serial clock signal scl, which is coupled to the clock output SCLPAD via a first detection circuit DET1. A data input SDAIN for receiving the serial data signal sda is coupled to the data output SDAPAD via a second detection circuit DET2. A pulse generator PGEN is configured to generate a clock pulse event at the symbolic clock output SYMCLK in response to a trigger event in the trigger signal syken. The first detection circuit DET1 is configured to latch the serial clock signal scl from its input to its output, for example, depending on the intermediate signal syph. This means that the signal status at the input of the first detection circuit DET1 is only displayed at its output after the first detection circuit DET1 is triggered by the intermediate signal syph.
類似地,第二檢測電路DET2被配置為閂鎖由其輸入至其輸出的串列資料訊號sda,例如亦基於中間訊號syph。由於檢測電路DET1及DET2兩者藉由相同訊號syph觸發,因此各自之閂鎖以時間同步的方式發生。Similarly, the second detection circuit DET2 is configured to latch the serial data signal sda from its input to its output, for example, also based on the intermediate signal syph. Since both detection circuits DET1 and DET2 are triggered by the same signal syph, their latching occurs in a time-synchronized manner.
第一檢測電路DET1更配置為偵測在其輸入處之訊號狀態何時變得與於其輸出或時脈輸出SCLPAD處的訊號狀態不同,且回應於此偵測來施行觸發事件。類似地,第二檢測電路DET2更配置為偵測在其輸入處之訊號狀態何時變得與於其輸出或資料輸出SDAPAD處的訊號狀態不同,並回應於此偵測來施行觸發事件。例如,觸發事件係僅只在第一檢測電路DET1之輸出處的經閂鎖串列時脈訊號處於預定義訊號狀態、例如處於較高能狀態中之條件下才會施行。為此,第二檢測電路DET2係耦接至第一檢測電路DET1的輸出。The first detection circuit DET1 is further configured to detect when the signal state at its input changes from the signal state at its output or clock output SCLPAD, and to trigger an event in response to this detection. Similarly, the second detection circuit DET2 is further configured to detect when the signal state at its input changes from the signal state at its output or data output SDAPAD, and to trigger an event in response to this detection. For example, the trigger event is only triggered when the latched serial clock signal at the output of the first detection circuit DET1 is in a predetermined signal state, such as a higher energy state. For this purpose, the second detection circuit DET2 is coupled to the output of the first detection circuit DET1.
在第一及第二檢測電路DET1、DET2中變得不同之訊號狀態的相應偵測被轉送至OR閘OR1,用於在藉由OR閘OR1輸出之觸發訊號syken中施行觸發事件。The corresponding detections of different signal states in the first and second detection circuits DET1 and DET2 are transferred to the OR gate OR1 to trigger an event in the trigger signal syken output by the OR gate OR1.
圖3顯示可於圖2的I2C介面電路中採用之範例脈波產生器PGEN。脈波產生器PGEN包含第一延遲元件DG1,其具有對應於第一預定時間段的延遲時間並配置為提供第一中間訊號syph1,其可為結合圖2所敘述之訊號syph的一部分。脈波產生器更包含第二延遲元件DG2,其連接在第一延遲元件DG1之下游並配置為提供第二中間訊號syph2,第二中間訊號syph2亦可為訊號syph的一部分。第二延遲元件具有對應於第二預定時間段之延遲時間。第一及第二預定時間段可為相等的。Figure 3 shows an example pulse generator PGEN that can be used in the I2C interface circuit of Figure 2. The pulse generator PGEN includes a first delay element DG1, which has a delay time corresponding to a first predetermined time period and is configured to provide a first intermediate signal syph1, which may be part of the signal syph described in conjunction with Figure 2. The pulse generator further includes a second delay element DG2, which is connected downstream of the first delay element DG1 and configured to provide a second intermediate signal syph2, which may also be part of the signal syph. The second delay element has a delay time corresponding to a second predetermined time period. The first and second predetermined time periods may be equal.
第三延遲元件DG3係連接在第二延遲元件DG2之下游並將其輸出提供至符號時脈輸出SYMCLK。The third delay element DG3 is connected downstream of the second delay element DG2 and provides its output to the symbol clock output SYMCLK.
脈波產生器PGEN更包含OR閘OR2,具有用於接收帶有觸發事件的觸發訊號syken之第一輸入、及耦接至第一延遲元件DG1與第二延遲元件DG2之間的連接之第二輸入。AND閘ANDl具有連接至OR閘OR2的輸出之第一輸入、用於接收在第三延遲元件DG3的輸出或符號時脈輸出SYMCLK處之訊號或訊號狀態的倒置版本之第二輸入、及耦接至第一延遲元件DG1的輸入之輸出。圖3的脈波產生器PGEN之功能的細節將透過脈波產生器PGEN中使用之各自訊號的範例訊號圖來解釋。The pulse generator PGEN further includes an OR gate OR2, which has a first input for receiving a trigger signal syken with a trigger event, and a second input coupled to the connection between the first delay element DG1 and the second delay element DG2. The AND gate AND1 has a first input connected to the output of the OR gate OR2, a second input for receiving the signal or an inverted version of the signal state at the pulse output SYMCLK when the third delay element DG3 is output or a sign, and an output coupled to the input of the first delay element DG1. The detailed function of the pulse generator PGEN in Figure 3 will be explained through example signal diagrams of the respective signals used in the pulse generator PGEN.
例如,一旦觸發訊號syken之訊號狀態改變至較高能狀態,OR閘OR2的輸出同樣變高,而不管於第一延遲元件DG1或第一中間訊號syph1之輸出處的訊號狀態如何。假設在符號時脈輸出SYMCLK處之符號時脈訊號的訊號狀態處於較低能狀態中,AND閘ANDl之輸出亦變高。在此範例中以D15表示的第一預定時間段之後,於第一延遲元件DG1的輸出處之第一中間訊號syph1變高。類似地,在同樣表示為D15的第二預定時間段之後,於第二延遲元件DG2的輸出處之第二中間訊號syph2亦變高。因此,在此範例實施例中,第一及第二預定時間段被選擇為相等的。然而,未藉由此範例排除不同之延遲時間。For example, once the signal state of the trigger signal syken changes to a higher energy state, the output of OR gate OR2 also goes high, regardless of the signal state at the output of the first delay element DG1 or the first intermediate signal syph1. Assuming the sign clock signal at the sign clock output SYMCLK is in a lower energy state, the output of AND gate AND1 also goes high. In this example, after a first predetermined time interval, denoted as D15, the first intermediate signal syph1 goes high at the output of the first delay element DG1. Similarly, after a second predetermined time interval, also denoted as D15, the second intermediate signal syph2 goes high at the output of the second delay element DG2. Therefore, in this example implementation, the first and second predetermined time periods are chosen to be equal. However, this example does not exclude different delay times.
最後,於此範例中表示為D100的第三預定時間段之後,第三延遲元件DG3的輸出變高。因此,AND閘ANDl之輸出變低,且在第一預定時間段之後,第一中間訊號syph1亦變低。較低能狀態傳播經過第二延遲元件DG2及第三延遲元件DG3。Finally, after the third predetermined time interval, represented as D100 in this example, the output of the third delay element DG3 goes high. Therefore, the output of the AND gate AND1 goes low, and after the first predetermined time interval, the first intermediate signal syph1 also goes low. The lower energy state propagates through the second delay element DG2 and the third delay element DG3.
如可由圖4中看出,回應於觸發訊號syken中的觸發事件,經過第一及第二中間訊號syph1、syph2和符號時脈輸出SYMCLK上之符號時脈訊號來啟動脈波列。脈波事件的長度係藉由第一、第二及第三預定時間段之總和決定。As can be seen from Figure 4, the trigger event in response to the trigger signal syken is used to activate the pulse train by passing the first and second intermediate signals syph1 and syph2 and the sign clock output SYMCLK. The length of the pulse event is determined by the sum of the first, second and third predetermined time intervals.
回頭簡單地參考圖2,串列資料訊號sda及串列時脈訊號scl的訊號狀態係以時間同步之方式轉送至時脈輸出SCLPAD及資料輸出SDAPAD,且同樣以同步方式在符號時脈輸出SYMCLK處產生脈波事件,於此範例中僅只延遲了第三預定時間段。這允許基於脈波事件可靠地偵測經閂鎖的串列時脈訊號及經閂鎖之串列資料訊號的訊號狀態。Referring back to Figure 2, the signal states of the serial data signal sda and the serial clock signal scl are transmitted to the clock output SCLPAD and the data output SDAPAD in a time-synchronized manner. Similarly, a pulse event is generated at the symbol clock output SYMCLK in a synchronous manner, with only a third predetermined time delay in this example. This allows for reliable detection of the signal states of the latched serial clock signal and the latched serial data signal based on pulse events.
現在參考圖5,敘述I2C介面電路之更詳細的範例實施例,其係基於結合圖3之圖2的實施例。因此,在此將僅只更詳細地討論之前未敘述的態樣。例如,第一檢測電路DET1及第二檢測電路DET2係經由各自之脈波干擾濾波器GL1、GL2分別耦接至時脈輸入SCLIN及資料輸入SDAIN,脈波干擾濾波器GL1、GL2例如被配置為抑制各自訊號線上的脈波干擾效應。再者,大致上為可選之第四延遲元件DG4係耦接於第二脈波干擾濾波器GL2與第二檢測電路DET2之間。第四延遲元件DG4具有一可由第一延遲及第二延遲選擇的延遲時間,其中第一延遲係比第二延遲短,且如果在時脈輸出SCLPAD處之閂鎖串列時脈訊號未處於預定義訊號狀態中、例如處於較高能狀態中,則應用此延遲時間。例如,第一延遲D5係比第二延遲D100短20倍。當串列時脈線為高電平時當串列時脈線為低電平時,由於串列資料線上的I2C協定之不同要求,延遲元件DG4可增加在訊號狀態評估之後的可靠性。Referring now to Figure 5, a more detailed example embodiment of the I2C interface circuit is described, based on the embodiment of Figure 2 in conjunction with Figure 3. Therefore, only configurations not previously described will be discussed in more detail here. For example, the first detection circuit DET1 and the second detection circuit DET2 are coupled to the clock input SCLIN and the data input SDAIN respectively via their respective pulse interference filters GL1 and GL2, which are configured, for example, to suppress pulse interference effects on their respective signal lines. Furthermore, a generally optional fourth delay element DG4 is coupled between the second pulse interference filter GL2 and the second detection circuit DET2. The fourth delay element DG4 has a delay time selectable from a first delay and a second delay, wherein the first delay is shorter than the second delay, and this delay time is applied if the latched serial clock signal at the clock output SCLPAD is not in a predetermined signal state, such as in a higher energy state. For example, the first delay D5 is 20 times shorter than the second delay D100. When the serial clock line is high, the delay element DG4 can increase the reliability after signal state evaluation due to the different requirements of the I2C protocol on the serial data lines when the serial clock line is low.
再者,於此範例實施例中,包括可選之致能輸入RSIN,用於提供致能信號rstn,當介面電路應被啟用時,其具有較高能狀態,而當介面電路應被停用時,其處於較低能狀態中。如果省略可選的致能輸入,則無論在何處應用,致能信號rstn之訊號狀態都簡單地被假定為較高能狀態。Furthermore, in this example embodiment, an optional enable input RSIN is included to provide an enable signal rstn, which is in a higher energy state when the interface circuit should be enabled and in a lower energy state when the interface circuit should be disabled. If the optional enable input is omitted, the signal state of the enable signal rstn is simply assumed to be in a higher energy state regardless of where it is applied.
因此,於此範例中,AND閘AND2的輸出具有一連接至致能輸入RSIN之輸入及一連接至時脈輸出SCLPAD的輸入,第四延遲元件DG4中之延遲時間的選擇不僅只取決於在時脈輸出SCLPAD處之訊號狀態,亦取決於致能信號rstn。Therefore, in this example, the output of AND gate AND2 has an input connected to the enable input RSIN and an input connected to the clock output SCLPAD. The selection of the delay time in the fourth delay element DG4 depends not only on the signal state at the clock output SCLPAD, but also on the enable signal rstn.
進一步結合圖3所敘述的脈波產生器PGEN之實施例,脈波產生器PGEN包含用於接收可選的致能信號rstn之輸入,此輸入被提供作為至AND閘AND1及至第三延遲元件DG3的延遲時間選擇輸入之第三輸入。因此,如果致能信號rstn處於較低能狀態中,則AND閘ANDl的輸出永遠不會變高。第三延遲元件DG3之延遲時間的選擇方式對應於延遲元件DG4中之選擇,儘管與延遲元件DG4相比,第三延遲元件DG3可被不同地實施及/或以不同的延遲時間實施。Further referring to the embodiment of the pulse generator PGEN described in Figure 3, the pulse generator PGEN includes an input for receiving a selectable enable signal rstn, which is provided as a third input for selecting the delay time to the AND gate AND1 and the third delay element DG3. Therefore, if the enable signal rstn is in a lower energy state, the output of the AND gate AND1 will never go high. The selection method of the delay time of the third delay element DG3 corresponds to the selection in the delay element DG4, although the third delay element DG3 can be implemented differently and/or with different delay times compared to the delay element DG4.
第一檢測電路DET1包含第一時脈閂鎖元件FFC1及第二時脈閂鎖元件FFC2,它們都可被實施為閘控閂鎖器或正反器。第一時脈閂鎖元件FFC1使其訊號輸入耦接至時脈輸入SCLIN,並使其輸出耦接至第二時脈閂鎖元件FFC2之訊號輸入,第二時脈閂鎖元件FFC2的訊號輸出依序連接至時脈輸出SCLPAD。第一時脈閂鎖元件FFC1係藉由第一中間訊號syph1觸發或閘控,而第二時脈閂鎖元件FFC2係藉由第二中間訊號syph2觸發或閘控。因此,在第一檢測電路DET1之輸入處的訊號狀態係於兩步驟中轉送至其輸出。這允許第一XOR閘XOR1偵測在第一檢測電路DET1之輸入處的訊號狀態何時變得與於時脈輸出SCLPAD處之訊號狀態不同,且僅只在此案例中,將用訊號SCLKEN輸出一較高能狀態,作為用於觸發訊號syken中的觸發事件之基礎。The first detection circuit DET1 includes a first clock latching element FFC1 and a second clock latching element FFC2, both of which can be implemented as gate latches or flip-flops. The first clock latching element FFC1 couples its signal input to the clock input SCLIN and its output to the signal input of the second clock latching element FFC2. The signal output of the second clock latching element FFC2 is sequentially connected to the clock output SCLPAD. The first clock latching element FFC1 is triggered or gated by a first intermediate signal syph1, while the second clock latching element FFC2 is triggered or gated by a second intermediate signal syph2. Therefore, the signal state at the input of the first detection circuit DET1 is transferred to its output in two steps. This allows the first XOR gate XOR1 to detect when the signal state at the input of the first detection circuit DET1 becomes different from the signal state at the clock output SCLPAD, and only in this case will a higher energy state be output by the signal SCLKEN as the basis for the trigger event in the trigger signal syken.
以類似的方式,第二檢測電路DET2包含第一資料閂鎖元件FFD1及第二資料閂鎖元件FFD2,其亦可被實施為閘控閂鎖器或正反器。轉送在延遲元件DG4之輸出處的訊號狀態之第一資料閂鎖元件FFD1係藉由第一中間訊號syph1觸發,且將於第一資料閂鎖元件FFD1的輸出處之訊號狀態轉送至資料輸出SDAPAD的第二資料閂鎖元件FFD2係藉由第二中間訊號syph2觸發。Similarly, the second detection circuit DET2 includes a first data latching element FFD1 and a second data latching element FFD2, which can also be implemented as a gate latch or a flip-flop. The first data latching element FFD1, which transmits the signal state at the output of the delay element DG4, is triggered by a first intermediate signal syph1, and the second data latching element FFD2, which transmits the signal state at the output of the first data latching element FFD1 to the data output SDAPAD, is triggered by a second intermediate signal syph2.
第二XOR閘XOR2使得能夠偵測第二偵測元件DET2的輸入與輸出之間的訊號狀態變得不同。XOR閘XOR2之輸出係耦接至AND閘AND3,使AND閘AND3的第二輸入耦接至時脈輸出SCLPAD。因此,如果時脈輸出SCLPAD處於較高能狀態,則僅只在訊號SDAKEN中轉送用於觸發事件之基礎。因為,參考圖1,串列資料線上的訊號轉換僅只在所述案例下才相關。AND閘AND3之輸出係耦接至OR閘OR1。The second XOR gate, XOR2, makes the signal state between the input and output of the second detection element, DET2, different. The output of XOR gate XOR2 is coupled to AND gate AND3, which in turn couples the second input of AND gate AND3 to the clock output SCLPAD. Therefore, if the clock output SCLPAD is in a higher energy state, only the basis for triggering the event is transferred in the signal SDAKEN. This is because, referring to Figure 1, signal conversion on the serial data lines is only relevant in this case. The output of AND gate AND3 is coupled to OR gate OR1.
為了當啟用介面電路時初始化於時脈輸出SCLPAD及資料輸出SDAPAD處的訊號狀態,閂鎖元件FFC1、FFC2、FFD1、FFD2各包含設有致能信號rstn或此致能信號rstn之倒置版本的初始化輸入。因此,只要致能信號rstn處於較低能狀態中,對應於介面電路之停用,固定的輸出狀態被強加在閂鎖元件上。如果致能信號rstn轉至較高能狀態,則所強加之訊號狀態保持直至第一或第二中間訊號syph1、syph2觸發電位變化。To initialize the signal states at the clock output SCLPAD and data output SDAPAD when the interface circuit is enabled, latching elements FFC1, FFC2, FFD1, and FFD2 each include an initialization input with an enable signal rstn or an inverted version of this enable signal rstn. Therefore, as long as the enable signal rstn is in a lower energy state, corresponding to the deactivation of the interface circuit, a fixed output state is imposed on the latching element. If the enable signal rstn transitions to a higher energy state, the imposed signal state remains until the first or second intermediate signals syph1 and syph2 trigger potential changes.
於圖5的範例實施例中,第一及第二時脈閂鎖元件FFC1、FFC2具有一帶有低訊號狀態之預選,而第一及第二資料閂鎖元件FFD1、FFD2具有一較高能狀態預選。In the exemplary embodiment shown in Figure 5, the first and second clock latching elements FFC1 and FFC2 have a preselection with a low signal state, while the first and second data latching elements FFD1 and FFD2 have a preselection with a higher energy state.
現在參考圖6,敘述圖5中所顯示的實施例之替代方案。然而,唯一差異是於第一時脈閂鎖元件FFC1及第二時脈閂鎖元件FFC2中施行的預選之類型。代替如圖5中所實施的較低能狀態預選,圖6之I2C介面電路具有這些閂鎖元件FFC1、FFC2的較高能狀態預選之特徵。Referring now to Figure 6, an alternative to the embodiment shown in Figure 5 is described. However, the only difference lies in the type of preselection implemented in the first clock latching element FFC1 and the second clock latching element FFC2. Instead of the lower-energy state preselection implemented as in Figure 5, the I2C interface circuit of Figure 6 features higher-energy state preselection characteristics for these latching elements FFC1 and FFC2.
圖7顯示可為根據上述實施例的其中一者之I2C介面電路的一部分之評估電路的範例方塊圖。評估電路EVAL具有連接至時脈輸出SCLPAD並藉由符號時脈輸出SYMCLK上發生之脈波事件所觸發的第一方塊EV1。因此,評估電路EVAL被配置為在偵測於符號時脈輸出SYMCLK處之時脈脈波事件時,將在時脈輸出SCLPAD處的訊號狀態儲存為前一時脈狀態prevscl。評估電路EVAL中之第二方塊EV2被配置為於偵測在符號時脈輸出SYMCLK處的時脈脈波事件時確定事件類型,並取決於前一時脈狀態prevscl及在時脈輸出SCLPAD和資料輸出SDAPAD處之訊號狀態。例如,根據以下表格中的方案來確定事件類型。
於此中0標示較低能狀態,1標示較高能狀態,且X標示未評估此狀態。應注意的是,經過方塊EV1及EV2之同時觸發,所儲存的前一時脈狀態prevscl中之變化僅只隨著在符號時脈輸出SYMCLK上的下一脈波事件而變得有效。評估電路EVAL之輸出可被進一步處理,以結合透過I2C匯流排發送的資料位元組供進一步處理。用於此後續處理之各種實施例係在本技術領域中眾所周知。Here, 0 indicates a lower energy state, 1 indicates a higher energy state, and X indicates that the state is not evaluated. It should be noted that after simultaneous triggering of blocks EV1 and EV2, the changes in the stored previous clock state prevscl only become valid with the next pulse event on the symbolic clock output SYMCLK. The output of the evaluation circuit EVAL can be further processed to combine with data bytes sent via the I2C bus for further processing. Various embodiments for this subsequent processing are well known in the art.
圖8顯示根據上述實施例的其中一者而包含I2C介面200之電子模組800。例如,電子模組800係感測器模組,像醫療感測器模組及/或健康感測器模組。Figure 8 shows an electronic module 800 including an I2C interface 200 according to one of the above embodiments. For example, the electronic module 800 is a sensor module, such as a medical sensor module and/or a health sensor module.
此等電子模組可於各種電子裝置中實施,尤其是在行動裝置或穿戴式裝置、像行動電話或智慧型手錶中實施。These electronic modules can be implemented in various electronic devices, especially in mobile devices or wearable devices, such as mobile phones or smartwatches.
出於使讀者熟悉此改進概念之實施例的新穎態樣之目的,已討論在此中所揭示之改進介面概念的實施例。儘管已顯示及敘述較佳實施例,但是熟諳本技術領域之人員可對所揭示概念進行許多改變、修改、等同項及替換,而未脫離請求項的範圍。For the purpose of familiarizing the reader with the novelty of embodiments of this improved concept, embodiments of the improved interface concept disclosed herein have been discussed. Although preferred embodiments have been shown and described, those skilled in the art can make many changes, modifications, equivalents, and substitutions to the disclosed concepts without departing from the scope of the claim.
尤其是,改進之介面概念的實施例係不限於所揭示之實施例,並給出用於所討論的實施例中包括之特徵的許多可能替代之範例。然而,其係意欲使所揭示的概念之任何修改、等同項及替換都被包括在所附請求項的範圍內。In particular, embodiments of the improved interface concept are not limited to the disclosed embodiments, and many possible alternatives to the features included in the embodiments under discussion are given. However, it is intended that any modifications, equivalents, and substitutions of the disclosed concept be included within the scope of the appended claims.
可有利地結合分開之附屬項中所列舉的特徵。再者,請求項中所使用之參考符號不限於被解釋為限制請求項的範圍。Features listed in separate subordinate items can be advantageously combined. Furthermore, reference symbols used in a request are not limited to those interpreted as restricting the scope of the request.
再者,如於此中所使用,「包含」一詞不排除其他元件。另外,如在此中所使用,冠詞「一」係意欲包括一個以上部件或元件,且不限於被解釋為意指僅只一個。Furthermore, as used herein, the word "comprising" does not exclude other elements. Additionally, as used herein, the article "one" is intended to include more than one part or element, and is not limited to being interpreted as meaning only one.
START,STOP:事件 DATA0,DATA1:事件 sda:串列資料訊號 scl:串列時脈訊號 SDAIN,SCLIN,RSIN:輸入 SDAPAD,SCLPAD,SYMCLK:輸出 DET1,DET2:檢測電路 PGEN:脈波產生器 syph,syph1,syph2:中間訊號 syken:觸發事件訊號 OR1,OR2:OR閘 ANDl,AND2,AND3:AND閘 DG1,DG2,DG3,DG4:延遲元件 XOR1,XOR2:XOR閘 FFC1,FFC2,FFD1,FFD2:閂鎖元件 GL1,GL2:脈波干擾濾波器 rstn:致能信號 EVAL:評估電路 prevscl:前一時脈狀態 200:I2C介面 800:電子模組 START, STOP: Events DATA0, DATA1: Events sda: Serial data signal scl: Serial clock signal SDAIN, SCLIN, RSIN: Inputs SDAPAD, SCLPAD, SYMCLK: Outputs DET1, DET2: Detection circuits PGEN: Pulse generator syph, syph1, syph2: Intermediate signals syken: Trigger event signal OR1, OR2: OR gate AND1, AND2, AND3: AND gate DG1, DG2, DG3, DG4: Delay components XOR1, XOR2: XOR gate FFC1, FFC2, FFD1, FFD2: Latching components GL1, GL2: Pulse interference filters rstn: Enable signal EVAL: Evaluation circuit prevscl: Previous clock state 200: I2C interface 800: Electronic module
下文將藉助附圖更詳細地解釋改進的介面概念。遍及此等附圖,具有相同或類似功能之元件及功能塊帶有相同的參考數字。因此,在下文附圖中不必重複它們之敘述。The improved interface concept will be explained in more detail below with the help of the accompanying drawings. Throughout these drawings, components and function blocks with the same or similar functions use the same reference numbers. Therefore, their descriptions need not be repeated in the drawings below.
於附圖中: 圖1顯示在I2C匯流排上的訊號之範例訊號圖; 圖2顯示I2C介面電路的範例實施例; 圖3顯示I2C介面電路之範例脈波產生器; 圖4顯示用於圖3中的脈波產生器中之訊號的範例定時圖; 圖5顯示I2C介面電路之進一步範例實施例; 圖6顯示I2C介面電路的進一步範例實施例; 圖7顯示I2C介面電路之評估電路的範例方塊圖;及 圖8顯示電子模組之範例實施例。 In the accompanying figures: Figure 1 shows an example signal diagram of a signal on an I2C bus; Figure 2 shows an example embodiment of an I2C interface circuit; Figure 3 shows an example pulse generator for an I2C interface circuit; Figure 4 shows an example timing diagram of a signal used in the pulse generator of Figure 3; Figure 5 shows a further example embodiment of an I2C interface circuit; Figure 6 shows a further example embodiment of an I2C interface circuit; Figure 7 shows an example block diagram of an evaluation circuit for an I2C interface circuit; and Figure 8 shows an example embodiment of an electronic module.
sda:串列資料訊號 sda: serial data signal
scl:串列時脈訊號 scl: Serial clock signal
SDAIN,SCLIN:輸入 SDAIN, SCLIN: Input
SDAPAD,SCLPAD,SYMCLK:輸出 SDAPAD, SCLPAD, SYMCLK: Output
DET1,DET2:檢測電路 DET1, DET2: Detection circuits
PGEN:脈波產生器 PGEN: Pulse Generator
syph:中間訊號 syph: intermediate signal
syken:觸發事件訊號 syken: Triggers an event signal
OR1,OR2:OR閘 OR1, OR2: OR gate
Claims (16)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US202363493102P | 2023-03-30 | 2023-03-30 | |
| US63/493,102 | 2023-03-30 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| TW202445375A TW202445375A (en) | 2024-11-16 |
| TWI903437B true TWI903437B (en) | 2025-11-01 |
Family
ID=
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7521963B1 (en) | 2006-03-27 | 2009-04-21 | National Semiconductor Corporation | System and method for providing a low standby power interface for a low voltage I2C compatible bus |
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7521963B1 (en) | 2006-03-27 | 2009-04-21 | National Semiconductor Corporation | System and method for providing a low standby power interface for a low voltage I2C compatible bus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5469473A (en) | Transceiver circuit with transition detection | |
| US8214668B2 (en) | Synchronizing circuit | |
| US4835728A (en) | Deterministic clock control apparatus for a data processing system | |
| WO2002069146A2 (en) | Data processing system having an on-chip background debug system and method therefor | |
| US20170270984A1 (en) | Data Reading Circuit | |
| TW202113791A (en) | Electronic circuit adapted to drive a display panel with touch sensors | |
| JP2004515938A (en) | Method and apparatus for asynchronously controlling state information in a circuit | |
| JP3524577B2 (en) | Dynamic clock switching circuit | |
| US5357613A (en) | Time-domain boundary buffer method and apparatus | |
| CN113009961A (en) | Cross-clock synchronous circuit and SoC system | |
| EP3739463B1 (en) | Circuit for asynchronous data transfer | |
| EP3098720B1 (en) | A self-synchronizing interface, corresponding device and method | |
| US11372461B2 (en) | Circuitry for transferring data across reset domains | |
| CN116860096B (en) | RSTN reset pin function multiplexing control method and circuit of MCU chip | |
| US8156371B2 (en) | Clock and reset synchronization of high-integrity lockstep self-checking pairs | |
| TWI903437B (en) | Inter-integrated circuit interface circuit and electronic module | |
| US9218030B2 (en) | Programming interface and method | |
| JP2018514873A (en) | Communication between integrated circuits | |
| TW202445375A (en) | Inter-integrated circuit interface circuit and electronic module | |
| EP3761508A2 (en) | Immediate fail detect clock domain crossing synchronizer | |
| US6166574A (en) | Circuit for turning on and off a clock without a glitch | |
| JPH1185304A (en) | Clock input control circuit | |
| KR100446389B1 (en) | Automatic mode detection circuit of liquid crystal display device, especially including input signal counting unit and signal check unit and selection signal generation unit and mode selection unit | |
| JP4279023B2 (en) | Status display information setting circuit | |
| US9069466B2 (en) | Methods and apparatus for source-synchronous circuits |