JP2005284672A - Communication device - Google Patents
Communication device Download PDFInfo
- Publication number
- JP2005284672A JP2005284672A JP2004096983A JP2004096983A JP2005284672A JP 2005284672 A JP2005284672 A JP 2005284672A JP 2004096983 A JP2004096983 A JP 2004096983A JP 2004096983 A JP2004096983 A JP 2004096983A JP 2005284672 A JP2005284672 A JP 2005284672A
- Authority
- JP
- Japan
- Prior art keywords
- signal line
- usb
- output
- pull
- gate circuit
- 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
Abstract
Description
本発明は、USBシステムにおけるUSBデバイス等の通信装置にかかり、特に、電源投入時やリセット時等のようにUSBホスト等の外部装置に対して正常に応答できないときの不具合を防止した通信装置に関するものである。 The present invention relates to a communication device such as a USB device in a USB system, and more particularly to a communication device that prevents a malfunction when an external device such as a USB host cannot respond normally, such as when power is turned on or reset. Is.
シリアル通信方式の従来のUSBシステムでは、図3に示すように、USBホスト10とUSBデバイス20の間の双方向通信はUSBバスケーブル30で行われる。11はUSBホスト本体、21はUSBデバイス本体、Rpuはプルアップ抵抗、Rpdはプルダウン抵抗である。USBバスケーブル30はD+の信号線31とD−の信号線32をもつ。なお、図3ではUSBバスケーブル30の電源線は省略している。
In the conventional USB system of the serial communication system, bidirectional communication between the
図4はUSBデバイス本体21内のI/Oバッファ部22を具体化した回路図である。Rsはシリーズ抵抗、B1は差動受信バッファ、B2はD+用の受信バッファ、B3はD−用の受信バッファ、B4はD+用の送信ドライバ、B5はD−用の送信ドライバである。送信ドライバB4,B5はアウトプットイネーブル信号S6により制御される。
FIG. 4 is a circuit diagram embodying the I /
USBデバイス20がUSBホスト10に対してUSBバスケーブル30により接続されたときは、そのUSBデバイス20においてD+の信号線31がプルアップされ、USBホスト10においてプルダウンされ、D+の信号線31がハイレベル、D−の信号線32がロウレベルに遷移したことをUSBホスト10が検出することで、その接続の確認が行われる。一般的には、D+の信号線31のプルアップはUSBデバイス20の電源投入により行われる。そして、USBホスト10がそのプルアップを検出すると、ある期間(最低100ms)経過後にUSBデバイス20との接続処理を開始する(図5参照)。
When the
したがって、予め電源投入されたUSBホスト10に対してUSBデバイス20が物理的に接続された場合には、そのUSBデバイス20は上記の期間の経過までに応答が開始できるような準備が必要となる。
Therefore, when the
しかしながらUSBデバイス20によっては、電源投入からUSBホスト10との間の通信が可能になるまでに多くの時間が必要なケースがある。例えば、パワーオンリセットに時間がかかる、USBデバイス20に搭載されたCPUのファームウエア読み込みに時間がかかる等がある。このような場合、USBホスト10からの通信にUSBデバイス20が応答できないため、接続に失敗するケースが発生する。
However, depending on the
そこで、上記のようなケースを防ぐために、USBデバイス20にプルアップ抵抗をスイッチ素子によって非接続に制御するような回路を設け、USBデバイス20の準備中はD+の信号線31とD−の信号線32をともにロウレベルにし、準備完了の後にプルアップすることが提案されている(例えば、特許文献1、特許文献2参照)。また、USBデバイス20にUSBバスケーブル30をプルダウンするようなスイッチ素子を設けることも提案されている(例えば、特許文献3参照)。
Therefore, in order to prevent the above case, the
ところが、上記したプルアップ抵抗を非接続に制御する手法ではその制御に必要な端子や部品が必要となり、またプルダウンに制御する手法でもその制御に必要な端子や部品が必要となる。さらに、プルダウン回路をUSBデバイスに内蔵して制御する手法では、USBバッファの特性に影響を及ばさないよう、そのプルダウン回路とUSBバッファの最適化が必要となる。以上のような問題は、他のシリアル転送システムでも同様にある。 However, the above-described method for controlling the pull-up resistor to be disconnected requires terminals and components necessary for the control, and the method for controlling the pull-down resistor also requires terminals and components necessary for the control. Further, in the method of controlling the pull-down circuit incorporated in the USB device, it is necessary to optimize the pull-down circuit and the USB buffer so as not to affect the characteristics of the USB buffer. The above-described problems are similarly caused in other serial transfer systems.
本発明の目的は、電源投入時やリセット時等のように外部装置からの通信に応答できない期間をもつ場合の不具合を解消した通信装置を提供することである。 An object of the present invention is to provide a communication device that solves a problem that occurs when there is a period in which communication from an external device cannot be performed, such as when power is turned on or reset.
請求項1にかかる発明は、外部装置と接続された信号線に少なくともプルアップ抵抗および送信ドライバが接続され、前記プルアップ抵抗により前記信号線をハイレベルに設定することで前記外部装置に対する接続状態を通知する通信装置において、前記出力ドライバの出力を電源投入時またはリセット時から所定期間だけロウレベルに設定する制御手段を備えたことを特徴とする。 According to the first aspect of the present invention, at least a pull-up resistor and a transmission driver are connected to a signal line connected to an external device, and the signal line is set to a high level by the pull-up resistor, thereby connecting the external device. Is provided with control means for setting the output of the output driver to a low level for a predetermined period from the time of power-on or reset.
請求項2にかかる発明は、外部装置と接続された信号線に少なくともプルダウン抵抗および送信ドライバが接続され、前記プルダウン抵抗により前記信号線をロウレベルに設定することで前記外部装置に対する接続状態を通知する通信装置において、前記出力ドライバの出力を電源投入時またはリセット時から所定期間だけハイレベルに設定する制御手段を備えたことを特徴とする。 According to a second aspect of the present invention, at least a pull-down resistor and a transmission driver are connected to a signal line connected to an external device, and the signal line is set to a low level by the pull-down resistor to notify a connection state to the external device. The communication apparatus is characterized by comprising control means for setting the output of the output driver to a high level for a predetermined period from the time of power-on or reset.
請求項3にかかる発明は、請求項1に記載の通信装置において、前記制御手段は、前記出力ドライバの入力側の信号ラインに設けられた第1のゲート回路と、前記出力ドライバを制御するアウトプットイネーブル信号ラインに設けられた第2のゲート回路とからなり、前記電源投入時またはリセット時から所定期間だけ、前記第1のゲート回路の出力をロウレベルに制御するとともに、前記第2のゲート回路により前記出力ドライバをアクティブに制御することを特徴とする。 According to a third aspect of the present invention, in the communication device according to the first aspect, the control means includes a first gate circuit provided in a signal line on the input side of the output driver, and an output for controlling the output driver. And a second gate circuit provided in the second enable signal line, and controls the output of the first gate circuit to a low level for a predetermined period from the time of power-on or reset, and the second gate circuit. To actively control the output driver.
請求項4にかかる発明は、請求項2に記載の通信装置において、前記制御手段は、前記出力ドライバの入力側の信号ラインに設けられた第1のゲート回路と、前記出力ドライバを制御するアウトプットイネーブル信号ラインに設けられた第2のゲート回路とからなり、前記電源投入時またはリセット時から所定期間だけ、前記第1のゲート回路の出力をハイレベルに制御するとともに、前記第2のゲート回路により前記出力ドライバをアクティブに制御することを特徴とする。 According to a fourth aspect of the present invention, in the communication device according to the second aspect, the control means includes a first gate circuit provided in a signal line on the input side of the output driver, and an output for controlling the output driver. And a second gate circuit provided on the second enable signal line, and controls the output of the first gate circuit to a high level for a predetermined period from the time of power-on or reset, and the second gate The output driver is actively controlled by a circuit.
本発明の通信装置によれば、外部装置に対して信号線で接続される信号線がプルアップ又はプルダウンされても、電源投入時やリセット時等のように外部装置からの通信に正常に応答できない期間中は、その接続を無効にするので、外部装置との接続に不具合が生じることが防止できる。この場合、外付け部品や端子は不要であり、ゲート回路を追加するのみで実現できるので、通信装置のチップ面積増大も僅かで済み、コストメリットがある。 According to the communication device of the present invention, even when a signal line connected to the external device by a signal line is pulled up or pulled down, it responds normally to communication from the external device, such as at power-on or reset. Since the connection is invalidated during a period when it cannot be performed, it is possible to prevent a problem from occurring in the connection with the external device. In this case, external parts and terminals are not required, and can be realized only by adding a gate circuit. Therefore, the increase in the chip area of the communication device is small, and there is a cost merit.
本発明では、外部装置に対して信号線で接続されその信号線がプルアップ又はプルダウンされても、電源投入時やリセット時等においてUSBドライバ等の通信装置の準備が完了するまでの間、その通信装置の送信ドライバの出力をロウレベルあるいはハイレベルに制御することによって、信号線のプルアップあるいはプルダウンによる電位変化を無効にする。以下、詳しく説明する。 In the present invention, even when a signal line is connected to an external device and the signal line is pulled up or pulled down, until the preparation of a communication device such as a USB driver is completed at power-on or reset. By controlling the output of the transmission driver of the communication device to low level or high level, the potential change due to pull-up or pull-down of the signal line is invalidated. This will be described in detail below.
図1は本発明の実施例1のUSBシステムの構成を示すブロック図である。USBホスト10とUSBデバイス20の間の双方向通信はUSBバスケーブル30で行われる。11はUSBホスト本体、21はUSBデバイス本体、Rpuはプルアップ抵抗、Rpdはプルダウン抵抗である。USBバスケーブル30はD+の信号線31とD−の信号線32をもつ。USBデバイス本体21内のI/Oバッファ部分22は、シリーズ抵抗Rs、差動受信バッファB1、D+用の受信バッファB2、D−用の受信バッフB3、D+用の送信ドライバB4、D−用の送信ドライバB5を有する。送信ドライバB4,B5はアウトプットイネーブル信号S6により制御される。なお、図1ではUSBバスケーブル30の電源線は省略している。
FIG. 1 is a block diagram showing the configuration of the USB system according to the first embodiment of the present invention. Bidirectional communication between the
本実施例1では、さらに、USBデバイス20内のI/Oバッファ部22において、送信バッファB4,B5の出力を制御する制御手段としてゲート回路G1〜G3を追加し、D+送信信号S4はゲート回路G1を介して送信ドライバB4に、D−送信信号はゲート回路G2を介して送信ドライバB5に、アウトプットイネーブル信号S6はゲート回路G3を介して送信ドライバB4,B5に入力するよう構成し、それらゲート回路G1〜G3をデバイスアクティブ信号S7で制御するようにした。このデバイスアクティブ信号S7としては、ロウアクティブのリセット信号あるいはその他の制御信号を使用可能である。
In the first embodiment, in the I /
さて、USBデバイス20がUSBホスト10に対してUSBバスケーブル30で接続されても、そのUSBデバイス20がUSBホスト10からの通信に正常に応答できない期間では、アクティブデバイス信号S7をロウレベルに設定する。この結果、ゲート回路G1〜G3の出力がロウレベルになり、送信バッファB4,B5がアクティブとなるので、その送信バッファB4,B5の出力はロウレベルとなる。つまり、USBバスケーブル30のD+の信号線31,D−の信号線32はともにロウレベルとなる。このため、プルアップによるD+の信号線31の電位上昇は無効になる。この結果、USBホスト10とUSBデバイス20との間の通信は開始されない。
Even when the
USBデバイス20の準備が完了した後は、アクティブデバイス信号S7をハイレベルに設定する。この結果、ゲート回路G1,G2はD+送信信号S4、D−送信信号S5をそのまま通過させ、ゲート回路G3はアウトプットイネーブル信号S6をそのまま通過させ、通常の動作が行われる。
After the preparation of the
なお、図1では、正常に応答できない期間では、D+の信号線31とD−の信号線32の双方をロウレベルに制御したが、D+の信号線31のみをロウレベルに制御してプルアップを無効にしてもよい。このようにD+の信号線31のみをロウレベルに制御する場合は、図2に示すように、送信バッファB4のみにゲート回路G3を追加すればよい。
In FIG. 1, during the period in which normal response is not possible, both the D +
また、以上ではD+の信号線31をプルアップすることでUSBホスト10に接続状態を通知する方式について説明したが、通信ホストにプルアップ抵抗を内蔵させ、通信デバイスにプルダウン抵抗を内蔵させてプルダウンすることで通信ホストに対する通信デバイスの接続状態を通信ホストに通知する場合には、正常に応答できない期間では、少なくともD+の信号線31をハイレベルに制御してプルダウンを無効にすればよい。
In the above description, the method of notifying the
また、以上ではUSBシステムについて説明したが、その他のシリアル通信システムの場合にも同様に適用することができる。 Although the USB system has been described above, the present invention can be similarly applied to other serial communication systems.
10:USBホスト、11:USBホスト本体
20:USBデバイス、21:USBデバイス本体、22:I/Oバッファ部
30:USBバスケーブル、31:D+信号線、32:D−信号線
10: USB host, 11: USB host body 20: USB device, 21: USB device body, 22: I / O buffer unit 30: USB bus cable, 31: D + signal line, 32: D- signal line
Claims (4)
前記出力ドライバの出力を電源投入時またはリセット時から所定期間だけロウレベルに設定する制御手段を備えたことを特徴とする通信装置。 In a communication device in which at least a pull-up resistor and a transmission driver are connected to a signal line connected to an external device, and the signal line is set to a high level by the pull-up resistor to notify a connection state to the external device.
A communication apparatus comprising control means for setting the output of the output driver to a low level for a predetermined period from the time of power-on or reset.
前記出力ドライバの出力を電源投入時またはリセット時から所定期間だけハイレベルに設定する制御手段を備えたことを特徴とする通信装置。 In a communication device in which at least a pull-down resistor and a transmission driver are connected to a signal line connected to an external device, and the connection state to the external device is notified by setting the signal line to a low level by the pull-down resistor.
A communication apparatus comprising: control means for setting the output of the output driver to a high level only for a predetermined period from power-on or reset.
前記制御手段は、前記出力ドライバの入力側の信号ラインに設けられた第1のゲート回路と、前記出力ドライバを制御するアウトプットイネーブル信号ラインに設けられた第2のゲート回路とからなり、
前記電源投入時またはリセット時から所定期間だけ、前記第1のゲート回路の出力をロウレベルに制御するとともに、前記第2のゲート回路により前記出力ドライバをアクティブに制御することを特徴とする通信装置。 The communication device according to claim 1,
The control means comprises a first gate circuit provided in a signal line on the input side of the output driver, and a second gate circuit provided in an output enable signal line for controlling the output driver,
A communication apparatus, wherein the output of the first gate circuit is controlled to a low level for a predetermined period from the time of power-on or reset, and the output driver is actively controlled by the second gate circuit.
前記制御手段は、前記出力ドライバの入力側の信号ラインに設けられた第1のゲート回路と、前記出力ドライバを制御するアウトプットイネーブル信号ラインに設けられた第2のゲート回路とからなり、
前記電源投入時またはリセット時から所定期間だけ、前記第1のゲート回路の出力をハイレベルに制御するとともに、前記第2のゲート回路により前記出力ドライバをアクティブに制御することを特徴とする通信装置。 The communication device according to claim 2,
The control means comprises a first gate circuit provided in a signal line on the input side of the output driver, and a second gate circuit provided in an output enable signal line for controlling the output driver,
The communication device controls the output of the first gate circuit to a high level for a predetermined period from the time of power-on or reset, and actively controls the output driver by the second gate circuit. .
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004096983A JP2005284672A (en) | 2004-03-29 | 2004-03-29 | Communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004096983A JP2005284672A (en) | 2004-03-29 | 2004-03-29 | Communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005284672A true JP2005284672A (en) | 2005-10-13 |
Family
ID=35182986
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004096983A Withdrawn JP2005284672A (en) | 2004-03-29 | 2004-03-29 | Communication device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005284672A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008056686A1 (en) * | 2006-11-07 | 2008-05-15 | Sony Corporation | Communication system, transmitting device, receiving device, communication method, program and communication cable |
JP2009151415A (en) * | 2007-12-19 | 2009-07-09 | Seiko Epson Corp | Printer and usb device recognizing method |
JP2011186990A (en) * | 2010-03-11 | 2011-09-22 | Kawasaki Microelectronics Inc | Communication device and communication system |
CN104991876A (en) * | 2015-06-19 | 2015-10-21 | 福建星网锐捷网络有限公司 | Serial bus control method and apparatus |
-
2004
- 2004-03-29 JP JP2004096983A patent/JP2005284672A/en not_active Withdrawn
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008056686A1 (en) * | 2006-11-07 | 2008-05-15 | Sony Corporation | Communication system, transmitting device, receiving device, communication method, program and communication cable |
RU2414090C2 (en) * | 2006-11-07 | 2011-03-10 | Сони Корпорейшн | Data transmission system, transmitter, receiver, data transmission method, programme and cable for transmitting data |
US7936401B2 (en) | 2006-11-07 | 2011-05-03 | Sony Corporation | Communication system, transmitter, receiver, communication method, program, and communication cable |
US8243204B2 (en) | 2006-11-07 | 2012-08-14 | Sony Corporation | Communication system, transmitter, receiver, communication method, program, and communication cable |
US8860887B2 (en) | 2006-11-07 | 2014-10-14 | Sony Corporation | Communication system, transmitter, receiver, communication method, program, and communication cable |
US9013636B2 (en) | 2006-11-07 | 2015-04-21 | Sony Corporation | Communication system, transmitter, receiver, communication method, program, and communication cable |
US9210465B2 (en) | 2006-11-07 | 2015-12-08 | Sony Corporation | Communication system, transmitter, receiver, communication method, program, and communication cable |
JP2009151415A (en) * | 2007-12-19 | 2009-07-09 | Seiko Epson Corp | Printer and usb device recognizing method |
JP2011186990A (en) * | 2010-03-11 | 2011-09-22 | Kawasaki Microelectronics Inc | Communication device and communication system |
CN104991876A (en) * | 2015-06-19 | 2015-10-21 | 福建星网锐捷网络有限公司 | Serial bus control method and apparatus |
CN104991876B (en) * | 2015-06-19 | 2018-11-09 | 福建星网锐捷网络有限公司 | A kind of serial bus control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP3610424B2 (en) | Electronic equipment and interface circuit | |
JP4988671B2 (en) | Serial bus system and hang-up slave reset method | |
US20210294504A1 (en) | Memory system | |
JP4131234B2 (en) | Macrocell, integrated circuit device, and electronic device | |
EP1621971A2 (en) | Circuit and method for controlling a power cut-off protection circuit | |
US20160191044A1 (en) | Semiconductor device, semiconductor system including the same, and control method of semiconductor device | |
US20090210603A1 (en) | Flash memory circuit with combinational interface | |
JP4015986B2 (en) | Semiconductor integrated circuit device | |
JP2005182462A (en) | Electronic appliance, unit driving device and method for controlling interface of unit driving device | |
JP2005284672A (en) | Communication device | |
JP2003124798A (en) | Semiconductor device | |
US9854531B2 (en) | Integrated circuit system and integrated circuit | |
JP2001306413A (en) | Usb communication device | |
TWM620009U (en) | High-speed transimission system and signal redriver | |
CN212969590U (en) | Hybrid drive | |
US6833732B2 (en) | Output signal circuit capable of automatically detecting polarity | |
JP4364211B2 (en) | Card device | |
JP7293986B2 (en) | data processor | |
JP2008182453A (en) | Electronic apparatus having electronic circuit incorporating pull-up resistance | |
JP3778312B2 (en) | Bus controller, power supply method, and bus controller power supply system | |
JP4165472B2 (en) | device | |
JP2005165589A (en) | Usb device recognition method and system | |
JP6802750B2 (en) | Semiconductor device | |
TW202304179A (en) | High-speed transimission system, signal redriver and control method of signal redriver | |
JP6516511B2 (en) | Electronics |
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: 20070605 |