JP2007226748A - Control bus data receiving circuit and bus data detection method using the same - Google Patents
Control bus data receiving circuit and bus data detection method using the same Download PDFInfo
- Publication number
- JP2007226748A JP2007226748A JP2006050406A JP2006050406A JP2007226748A JP 2007226748 A JP2007226748 A JP 2007226748A JP 2006050406 A JP2006050406 A JP 2006050406A JP 2006050406 A JP2006050406 A JP 2006050406A JP 2007226748 A JP2007226748 A JP 2007226748A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- level
- circuit
- threshold voltage
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
Description
本発明は、バスインターフェースでの複数の異なる入力振幅に対応する受信回路に関する。 The present invention relates to a receiving circuit corresponding to a plurality of different input amplitudes in a bus interface.
複数の電子機器の間や複数のIC(半導体集積回路)間での双方向通信を行うためのバス方式が種々提案されている。この中で、オランダのPhillips社から提唱されたI2Cバス(Inter Integrated Circuit Bus)が広く知られている。I2Cバスは、クロックとデータによる2本のバスラインにより、簡単且つ確実にシリアルバスが構成できるので、携帯電話、PDA(Personal Digital Assistant)などの電子システムやTV、VTRなどの家電製品等に広く採用されている。I2Cバスでの入出力部では、I2Cバスに接続される他のデバイスとの間でシリアルデータ(これ以降、SDAと呼称する)の入出力を行うとともに、転送レートに対応するシリアルクロック(これ以降、SCLと呼称する)の入出力を行う。I2Cバスの信号振幅は、異なる電源電圧に対応するために複数の規格が設定されている(例えば、特許文献1参照。)。 Various bus systems have been proposed for bidirectional communication between a plurality of electronic devices and between a plurality of ICs (semiconductor integrated circuits). Among these, an I2C bus (Inter Integrated Circuit Bus) proposed by Phillips in the Netherlands is widely known. The I2C bus can be configured easily and reliably with two bus lines with clock and data, so it can be widely used in electronic systems such as mobile phones and PDAs (Personal Digital Assistants), and home appliances such as TVs and VTRs. It has been adopted. In the input / output unit of the I2C bus, serial data (hereinafter referred to as SDA) is input / output to / from other devices connected to the I2C bus, and a serial clock corresponding to the transfer rate (hereinafter referred to as SDA). , Referred to as SCL). A plurality of standards are set for the signal amplitude of the I2C bus in order to cope with different power supply voltages (see, for example, Patent Document 1).
特許文献1などに記載されているI2Cバスインターフェースでは、I2Cバスの信号振幅が送信側の電源電圧に依存し、受信側では接続が想定される全ての信号振幅の受信を可能としなければならない。
In the I2C bus interface described in
ところが、複数の信号振幅の入力信号を受信する場合、受信回路の閾値を想定される一番低い電圧に設定すると、振幅の大きな信号では立ち上がりと立ち下がりのクロスポイントが閾値電圧からずれてデータの誤検出が発生する可能性がある。
本発明は、信号振幅によらず安定してデータ検出ができる制御バスデータ受信回路及びそれを用いたバスデータ検出方法を提供することにある。 An object of the present invention is to provide a control bus data receiving circuit capable of stably detecting data regardless of signal amplitude and a bus data detecting method using the control bus data receiving circuit.
上記目的を達成するために、本発明の一態様の制御バスデータ受信回路は、双方向バスでのクロック信号又はデータ信号の電圧振幅を検出する電圧検出回路と、前記電圧検出回路から出力される電圧振幅信号を入力し、前記電圧振幅に対応する閾値電圧信号を生成する閾値電圧設定回路とを具備することを特徴とする。 In order to achieve the above object, a control bus data receiving circuit according to an aspect of the present invention includes a voltage detection circuit that detects a voltage amplitude of a clock signal or a data signal in a bidirectional bus, and is output from the voltage detection circuit. And a threshold voltage setting circuit for inputting a voltage amplitude signal and generating a threshold voltage signal corresponding to the voltage amplitude.
更に、上記目的を達成するために、本発明の一態様の制御バスデータ受信回路を用いたバスデータ検出方法は、双方向バスでのクロック信号が“High”レベルのとき、前記双方向バスでのデータ信号が“High”レベルから“Low”レベルに変化するときのエッジをエッジ検出信号として検出するステップと、前記エッジ検出信号にもとづいて、前記クロック信号の電圧振幅を検出するステップと、前記電圧振幅に対応した閾値電圧を選択するステップと、前記閾値電圧にもとづいて、前記クロック信号及び前記データ信号の信号レベルを判定するステップとを具備することを特徴とする。 Furthermore, in order to achieve the above object, the bus data detection method using the control bus data receiving circuit according to one aspect of the present invention is configured such that when the clock signal in the bidirectional bus is at “High” level, Detecting an edge when the data signal changes from “High” level to “Low” level as an edge detection signal; detecting a voltage amplitude of the clock signal based on the edge detection signal; Selecting a threshold voltage corresponding to a voltage amplitude; and determining signal levels of the clock signal and the data signal based on the threshold voltage.
本発明によれば、信号振幅によらず安定してデータ検出ができる制御バスデータ受信回路及びそれを用いたバスデータ検出方法を提供することができる。 According to the present invention, it is possible to provide a control bus data receiving circuit capable of stably detecting data regardless of signal amplitude and a bus data detecting method using the control bus data receiving circuit.
以下本発明の実施例について図面を参照しながら説明する。 Embodiments of the present invention will be described below with reference to the drawings.
まず、本発明の実施例1に係る制御バスデータ受信回路について、図面を参照して説明する。図1は制御バスデータ受信回路を示すブロック図である。本実施例では、I2Cバスの信号振幅を検出するバスデータ検出回路を設けている。
First, a control bus data receiving circuit according to
図1に示すように、制御バスデータ受信回路10には、比較回路1、比較回路2、データバス検出回路3、電圧検出回路4、及び閾値電圧設定回路5が設けられている。
As shown in FIG. 1, the control bus
制御バスデータ受信回路10は、図示しないI2Cバスに接続される送信側のIC或いは双方バッファなどから出力されるシリアルデータ(これ以降、SDAと呼称する)とシリアルクロック(これ以降、SCLと呼称される)の信号を入力し、バスデータ信号Outbdを出力する。バスデータ信号Outbdは、例えば、図示しないシフトレジスタに入力されてパラレルデータに変換され、内部バスを介して制御部などへ出力される。
The control bus
SDAは、通常、最上位bit(A6)から最下位bit(A0)からなる7bitデータ、読み書きbit(R/W)、及びActbitから構成される。SCLは、SDAに同期するクロックパルスとして送信される。そして、SCL信号の立ち下りエッジのとき、SDA信号のbitデータの“1”、“0”判定が行われる。 The SDA is generally composed of 7-bit data consisting of the most significant bit (A6) to the least significant bit (A0), a read / write bit (R / W), and an Actbit. The SCL is transmitted as a clock pulse synchronized with the SDA. Then, at the falling edge of the SCL signal, “1” and “0” determination of the bit data of the SDA signal is performed.
I2Cバスの信号振幅であるSDA信号振幅及びSCL信号振幅は、異なる高電位側電源Vdd電圧、例えば、Vdd5V、Vdd3.3V、Vdd3Vなどに対応するために複数の規格が設定され、これらの規格のSDA信号振幅及びSCL信号振幅が制御バスデータ受信回路10に入力される。
A plurality of standards are set for the SDA signal amplitude and the SCL signal amplitude, which are signal amplitudes of the I2C bus, to correspond to different high-potential-side power supply Vdd voltages, for example, Vdd5V, Vdd3.3V, Vdd3V, etc. The SDA signal amplitude and the SCL signal amplitude are input to the control bus
比較回路1は、SDA信号と閾値電圧設定回路5から出力される出力信号Out3を入力し、比較増幅した信号をバスデータ検出回路3に出力する。比較回路2は、SCL信号と閾値電圧設定回路5から出力される出力信号Out3を入力し、比較増幅した信号をバスデータ検出回路3に出力する。バスデータ検出回路3は、比較回路1から出力される信号と比較回路2から出力される信号を入力し、出力信号Out1とバスデータ信号Outbdを出力する。
The
電圧検出回路4は、SCL信号とバスデータ検出回路3から出力信号Out1を入力し、出力信号S2を閾値電圧設定回路5に出力する。閾値電圧設定回路5は、出力信号Out2を入力し、出力信号Out3を出力する。なお、出力信号Out1乃至3については後に詳述する。
The
次に、制御バスデータ受信回路の動作について図2を参照して説明する。図2は制御バスデータ受信回路の動作を示すフローチャートである。ここでは、I2Cバスで規定されているデータホールド時間thdが最小値0μsで、SDA信号とSCL信号が同時変化する場合である。
Next, the operation of the control bus data receiving circuit will be described with reference to FIG. FIG. 2 is a flowchart showing the operation of the control bus data receiving circuit. Here, the data hold time thd defined by the I2C bus is the
図2に示すように、まず、バスデータ検出回路3は、比較回路1及び2を介して入力されるSDA信号及びSCL信号を入力する。図3に示すように、I2Cバスのスタートシーケンスにおいて、バスデータ検出回路3は、SCL信号が“High”レベルで、SDA信号が“High”レベルから“Low”レベルに変化するときのSDA信号のエッジ検出を行い、SDAのエッジ検出信号を出力信号Out1として電圧検出回路4に出力する。電圧検出回路4は、出力信号Out1を入力したときのSCL信号の“High”電圧、例えば、Vdd5VでのSCL信号振幅の“High”レベルを検出する(ステップS1)。
As shown in FIG. 2, first, the bus
次に、閾値電圧設定回路5は、電圧検出回路4から出力されるSCL信号振幅の“High”レベル信号としての出力信号Out2を入力し、例えば、内蔵するメモリに格納されているSCL信号振幅の“High”レベル情報とそれに対応する閾値電圧情報から、出力信号Out2に対応する閾値電圧を選択して出力信号Out3として比較回路1及び2に出力する(ステップS2)。
Next, the threshold
続いて、図4に示すように、比較回路1は、閾値電圧設定回路5から出力される出力信号Out3としての閾値電圧情報(ここでは、2.5V)にもとづいて、SDA信号の“Low”或いは“High”の比較判定を行う。一方、比較回路2は、閾値電圧設定回路5から出力される出力信号Out3としての閾値電圧情報(ここでは、2.5V)にもとづいて、SCL信号の“Low”或いは“High”の比較判定を行う。
Subsequently, as illustrated in FIG. 4, the
ここでは、送信側でのVdd5V信号レベルであるSDA信号が“Low”レベルから“High”レベルに判定され、送信側でのVdd5V信号レベルであるSCL信号が“High”レベルから“Low”レベルに判定される判定時間(判定時刻)はT1である。一方、受信側では、バスデータ検出回路3において送信側でのVdd5V信号レベルに対応する閾値電圧情報(ここでは、2.5V)が、I2Cバスの種々の規格の中から選択されているので、SDA信号が“Low”レベルから“High”レベルに判定され、SCL信号が“High”レベルから“Low”レベルに判定される判定時間(判定時刻)はT2である。つまり、受信側でのSDA信号とSCL信号のクロスポイント電圧と閾値電圧が一致しているので、データホールド時間tdhを0μsに維持することができる。
Here, the SDA signal that is the Vdd5V signal level on the transmission side is determined from the “Low” level to the “High” level, and the SCL signal that is the Vdd5V signal level on the transmission side is changed from the “High” level to the “Low” level. The determination time (determination time) to be determined is T1. On the other hand, the threshold voltage information (2.5V in this case) corresponding to the Vdd5V signal level on the transmission side is selected from various standards of the I2C bus in the bus
ところが、バスデータ検出回路3を設けず、I2Cバスの種々の規格の中から、例えば、Vdd3.3Vに対応する比較的低い閾値電圧1.65Vが選択された場合(破線で示す場合)、SDA信号が“Low”レベルから“High”レベルに判定される判定時間(判定時刻)はt1であるのに対し、SCL信号が“High”レベルから“Low”レベルに判定される判定時間(判定時刻)はt2となる。つまり、受信側でのSDA信号とSCL信号のクロスポイント電圧(2.5V)と閾値電圧(1.65V)が一致しないので、遅延時間Δtだけt2が遅延する(ステップS3)。
However, when the bus
そして、バスデータ検出回路3は、比較回路1から出力されるSDA信号のL/H判定信号と比較回路2から出力されるSCL信号のL/H判定信号を入力し、SCL信号が“High”から“Low”に変化するときのSDA信号レベルを検出する(SCL信号にもとづいて、SDA信号のデータがラッチされる)。ここで、Vdd5V信号レベルに対応する閾値電圧(ここでは、2.5V)でSDA信号及びSCL信号のレベル判定を行っているのでデータホールドtdhが0μsの場合でも誤検出されない。
The bus
ところが、バスデータ検出回路3を設けず、I2Cバスの種々の規格の中から比較的低い閾値電圧、例えば、1.65Vが選択された場合(図4の破線で示す場合)、SCL信号にもとづいて、SDA信号の信号レベルを判定する場合、本来ならば“Low”レベルと判定すべきところを“High”レベルと誤判定する可能性がある。
However, when the bus
次に、SDA信号上のアドレスバイト(Address Byte)及びデータバイト(Data Byte)とそれに対応するSCL信号がバスデータ検出回路3に入力され、SCL信号の電圧振幅に対応した閾値電圧で信号検出され、バスデータ信号Outbdとして出力される(ステップS4)。なお、I2Cバスのストップシーケンスは、SCL信号が“High”レベルで、SDA信号が“Low”レベルから“High”レベルに変化するときに検出されるエッジ検出信号をもとに行われる。
Next, an address byte (Address Byte) and a data byte (Data Byte) on the SDA signal and an SCL signal corresponding to the address byte are input to the bus
上述したように、本実施例の制御バスデータ受信回路では、比較回路1、比較回路2、データバス検出回路3、電圧検出回路4、及び閾値電圧設定回路5が設けられている。データバス検出回路3は、SCL信号が“High”レベルのとき、SCL信号が“High”レベルから“Low”レベルに変化するときの立ち下りエッジを検出する。電圧検出回路4はデータバス検出回路3から出力されるSDAのエッジ検出信号にもとづいて、SCL信号振幅を検出する。閾値電圧設定回路5は電圧検出回路4から出力されるSCL信号振幅情報に対応する閾値電圧を選択して、比較回路1及び2に出力する。
As described above, the control bus data receiving circuit of this embodiment includes the
このため、受信側で複数の信号振幅の入力信号を受信する場合でも、送信側から送信される信号振幅に対応する閾値電圧がその都度選択される。したがって、振幅の大きな信号でも立ち上がりと立ち下りのクロスポイント電圧が閾値電圧と一致するのでデータの誤検出を防止することができる。 For this reason, even when an input signal having a plurality of signal amplitudes is received on the receiving side, a threshold voltage corresponding to the signal amplitude transmitted from the transmitting side is selected each time. Therefore, even when the signal has a large amplitude, the rising and falling crosspoint voltages coincide with the threshold voltage, so that erroneous detection of data can be prevented.
本発明は、上記実施例に限定されるものではなく、発明の趣旨を逸脱しない範囲で、種々、変更してもよい。 The present invention is not limited to the above-described embodiments, and various modifications may be made without departing from the spirit of the invention.
例えば、実施例では、バス方式にI2Cバスを用いているが、シリアルデータをSMBData、シリアルクロックをSMBClkにした、双方向バス規格であるSMBus(System Management Bus)などに適用してもよい。また、電圧検出回路にシリアルクロック(SCL)信号を入力しているが、シリアルデータ(SDA)信号を入力して、SDA信号振幅の“High”レベルの電圧を検出してもよい。 For example, in the embodiment, the I2C bus is used for the bus system. However, the present invention may be applied to the SMBus (System Management Bus) which is a bidirectional bus standard in which the serial data is SMDBData and the serial clock is SMBClk. Further, although a serial clock (SCL) signal is input to the voltage detection circuit, a serial data (SDA) signal may be input to detect a “High” level voltage of the SDA signal amplitude.
1、 2 比較回路
3 バスデータ検出回路
4 電圧検出回路
5 閾値設定回路
10 制御バスデータ受信回路
Outbd バスデータ信号
Out1〜3 出力信号
tdh データホールド時間
T1、T2、t1、t2 判定時間
Δt 遅延時間
1, 2
Claims (5)
前記電圧検出回路から出力される電圧振幅信号を入力し、前記電圧振幅に対応する閾値電圧信号を生成する閾値電圧設定回路と、
を具備することを特徴とする制御バスデータ受信回路。 A voltage detection circuit for detecting a voltage amplitude of a clock signal or a data signal in a bidirectional bus;
A threshold voltage setting circuit for inputting a voltage amplitude signal output from the voltage detection circuit and generating a threshold voltage signal corresponding to the voltage amplitude;
A control bus data receiving circuit comprising:
前記双方向バスでのデータ信号と前記閾値電圧信号を入力し、比較増幅した信号を出力する第2の比較回路と、
前記第1の比較回路から出力される信号と前記第2の比較回路から出力される信号を入力し、前記クロック信号が“High”レベルのとき、前記データ信号が“High”レベルから“Low”レベルに変化するエッジ検出信号を検出し、前記クロック信号が“High”レベルから“Low”レベルに変化するときの前記データ信号の信号レベルを検出し、バスデータ信号として検出するバスデータ検出回路と、
前記エッジ検出信号を入力し、前記クロック信号の電圧振幅を検出する電圧検出回路と、
前記クロック信号の電圧振幅に対応した閾値電圧を生成して、前記第1及び第2の比較回路に出力する閾値電圧設定回路と、
を具備することを特徴とする制御バスデータ受信回路。 A first comparison circuit for inputting a clock signal and a threshold voltage signal in a bidirectional bus and outputting a comparatively amplified signal;
A second comparison circuit for inputting a data signal and the threshold voltage signal on the bidirectional bus and outputting a comparatively amplified signal;
When the signal output from the first comparison circuit and the signal output from the second comparison circuit are input and the clock signal is at the “High” level, the data signal is changed from the “High” level to the “Low” level. A bus data detection circuit that detects an edge detection signal that changes to a level, detects a signal level of the data signal when the clock signal changes from a “High” level to a “Low” level, and detects the signal level as a bus data signal; ,
A voltage detection circuit that inputs the edge detection signal and detects a voltage amplitude of the clock signal;
A threshold voltage setting circuit that generates a threshold voltage corresponding to the voltage amplitude of the clock signal and outputs the threshold voltage to the first and second comparison circuits;
A control bus data receiving circuit comprising:
前記エッジ検出信号にもとづいて、前記クロック信号の電圧振幅を検出するステップと、
前記電圧振幅に対応した閾値電圧を選択するステップと、
前記閾値電圧にもとづいて、前記クロック信号及び前記データ信号の信号レベルを判定するステップと、
を具備することを特徴とする制御バスデータ受信回路を用いたバスデータ検出方法。 Detecting, as an edge detection signal, an edge when the data signal in the bidirectional bus changes from the “High” level to the “Low” level when the clock signal in the bidirectional bus is at the “High” level;
Detecting a voltage amplitude of the clock signal based on the edge detection signal;
Selecting a threshold voltage corresponding to the voltage amplitude;
Determining signal levels of the clock signal and the data signal based on the threshold voltage;
A bus data detecting method using a control bus data receiving circuit.
前記エッジ検出信号にもとづいて、前記SCL信号の電圧振幅を検出するステップと、
前記電圧振幅に対応した閾値電圧を選択するステップと、
前記閾値電圧にもとづいて、前記SCL信号及び前記SDA信号の信号レベルを判定するステップと、
前記SCL信号が“High”レベルから“Low”レベルに変化するときの前記SDA信号の信号レベルを判定し、その判定情報をバスデータ信号として出力するステップと、
を具備することを特徴とする制御バスデータ受信回路を用いたバスデータ検出方法。 Detecting the edge when the SDA signal changes from the “High” level to the “Low” level as the edge detection signal when the SCL signal is at the “High” level;
Detecting a voltage amplitude of the SCL signal based on the edge detection signal;
Selecting a threshold voltage corresponding to the voltage amplitude;
Determining signal levels of the SCL signal and the SDA signal based on the threshold voltage;
Determining the signal level of the SDA signal when the SCL signal changes from “High” level to “Low” level, and outputting the determination information as a bus data signal;
A bus data detecting method using a control bus data receiving circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006050406A JP2007226748A (en) | 2006-02-27 | 2006-02-27 | Control bus data receiving circuit and bus data detection method using the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006050406A JP2007226748A (en) | 2006-02-27 | 2006-02-27 | Control bus data receiving circuit and bus data detection method using the same |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007226748A true JP2007226748A (en) | 2007-09-06 |
Family
ID=38548473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006050406A Withdrawn JP2007226748A (en) | 2006-02-27 | 2006-02-27 | Control bus data receiving circuit and bus data detection method using the same |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007226748A (en) |
-
2006
- 2006-02-27 JP JP2006050406A patent/JP2007226748A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7509446B2 (en) | IIC bus communication system capable of suppressing freeze of IIC bus communication due to a noise and method for controlling IIC bus communication | |
JP4773742B2 (en) | 2-wire interface between chips | |
US20100180143A1 (en) | Techniques for improved timing control of memory devices | |
US7834664B2 (en) | Semiconductor device for detecting a phase of a clock | |
US7876857B2 (en) | Data receiving apparatus | |
US10031870B2 (en) | Semiconductor device and control method thereof | |
US10462268B2 (en) | Data transmitting/receiving apparatus and data transmitting/receiving method | |
US20090277965A1 (en) | Semiconductor memory card | |
US9660617B2 (en) | Semiconductor apparatus | |
KR20070038898A (en) | Serial data input system | |
JP2008252866A (en) | Connection device | |
JP2008219813A (en) | Lvds receiver, lvds receiving method, lvds data transmission system, and semiconductor device | |
JP2006079621A (en) | Digital programming interface between baseband processor and radio frequency integration module | |
JP2007226748A (en) | Control bus data receiving circuit and bus data detection method using the same | |
US20080056339A1 (en) | Receiver and signal testing method thereof | |
US9274170B2 (en) | Semiconductor device | |
US7826402B2 (en) | Signal transfer systems and methods | |
JP5385722B2 (en) | Interface circuit | |
JP4931727B2 (en) | Data communication system | |
US8154496B2 (en) | Liquid crystal display drive circuit | |
JP2005303753A (en) | Signal transmission system | |
JP2016224588A (en) | Controller and control method | |
JP5831297B2 (en) | Reception circuit, semiconductor integrated circuit, and transmission system | |
JP2006065418A (en) | Serial-parallel conversion circuit, serial transmission device, and serial-parallel conversion method | |
KR100994356B1 (en) | Communication system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20090512 |