JPH10301898A - Electronic equipment and interface circuit - Google Patents

Electronic equipment and interface circuit

Info

Publication number
JPH10301898A
JPH10301898A JP9106199A JP10619997A JPH10301898A JP H10301898 A JPH10301898 A JP H10301898A JP 9106199 A JP9106199 A JP 9106199A JP 10619997 A JP10619997 A JP 10619997A JP H10301898 A JPH10301898 A JP H10301898A
Authority
JP
Japan
Prior art keywords
path
connectors
usb
connector
interface 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.)
Pending
Application number
JP9106199A
Other languages
Japanese (ja)
Inventor
Shigeru Imaizumi
茂 今泉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Casio Computer Co Ltd
Original Assignee
Casio Computer Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP9106199A priority Critical patent/JPH10301898A/en
Publication of JPH10301898A publication Critical patent/JPH10301898A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To make it possible to use the electronic equipment as both a host and a guest. SOLUTION: Relating to the electronic equipment having the interface circuit for connecting other equipment, the interface circuit is equipped with connectors 30 and 32 provided with terminals for connecting a data line, bidirectional line drivers 36 and 38 which send and receive signals through the data line, a path part 34 provided with paths between the connectors 30 and 32 and corresponding line drivers 36 and 38 and a path between terminals of the connectors 30 and 32, transistors 44, 46, 48, 50, 52, and 54 for switching the paths provided on the path part 34, and a USB(universal serial bus) control part 42 which controls the path switching.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、キーボード、マウ
ス、スピーカ、モデム、プリンタ等の周辺機器の他、他
の電子機器を接続する電子機器、及びインタフェース回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic device for connecting peripheral devices such as a keyboard, a mouse, a speaker, a modem and a printer, as well as other electronic devices, and an interface circuit.

【0002】[0002]

【従来の技術】近年では、キーボード、マウス、スピー
カ、モデム、プリンタ等の周辺機器を接続する規格とし
て、USB(Universal Serial Bus)が用いられ始めて
いる。USBインタフェースは、周辺機器毎に異なって
いたインタフェースを、同一のインタフェースコネクタ
によって手軽にパーソナルコンピュータ等のホストに接
続できるようにしたものである。
2. Description of the Related Art In recent years, Universal Serial Bus (USB) has begun to be used as a standard for connecting peripheral devices such as a keyboard, a mouse, a speaker, a modem, and a printer. The USB interface allows an interface that differs for each peripheral device to be easily connected to a host such as a personal computer by the same interface connector.

【0003】USBインタフェースは、必ず1台のホス
ト(パーソナルコンピュータ等)が存在し、このホスト
に周辺機器(論理的な機能をファンクションと呼ぶ)を
接続してデータを送受信することができる。USBイン
タフェースは、ハブを設けることで自分自信の先にさら
に周辺機器(ファンクション)を接続することができ
る。
In the USB interface, there is always one host (a personal computer or the like), and peripheral devices (logical functions are called functions) can be connected to this host to transmit and receive data. With the USB interface, a peripheral device (function) can be further connected to itself by providing a hub.

【0004】図6には、従来のUSBインタフェースに
よるホスト80と周辺機器82,92の接続形態の一例
を示している。USBインタフェースは、ホスト用と周
辺機器用とがあり、また周辺機器用には高速転送用(フ
ルスピード)と低速転送用(ロースピード)とがある。
FIG. 6 shows an example of a connection form between a host 80 and peripheral devices 82 and 92 using a conventional USB interface. The USB interface includes a host interface and a peripheral interface, and peripheral interfaces include a high-speed transfer interface (full speed) and a low-speed transfer interface (low speed).

【0005】図6(a)は、ホスト80と高速転送を行
なう周辺機器82(フルスピード・ファンクション)と
が、ケーブル84を介して接続された構成である。ホス
ト80にはUSB回路(トランシーバ)86が設けら
れ、周辺機器82にはUSB回路(トランシーバ)90
が設けられている。
FIG. 6A shows a configuration in which a host 80 and a peripheral device 82 (full-speed function) for high-speed transfer are connected via a cable 84. A USB circuit (transceiver) 86 is provided in the host 80, and a USB circuit (transceiver) 90 is provided in the peripheral device 82.
Is provided.

【0006】USBのデータラインは2本(D+,D
−)であり、ホスト80側においてそれぞれのデータラ
インにプルダウン抵抗(R1)88,89が接続され
る。一方、周辺機器82側では、フルスピード・ファン
クションであるので、D+のデータラインにプルアップ
抵抗(R2)91が接続される。USBインタフェース
の規格では、プルダウン抵抗(R1)は15kΩ±5
%、プルアップ抵抗(R2)は1.5kΩ±5%となっ
ている。
[0006] There are two USB data lines (D +, D
−), Pull-down resistors (R1) 88 and 89 are connected to the respective data lines on the host 80 side. On the other hand, on the peripheral device 82 side, the pull-up resistor (R2) 91 is connected to the D + data line because of the full-speed function. According to the USB interface standard, the pull-down resistor (R1) is 15 kΩ ± 5
%, And the pull-up resistance (R2) is 1.5 kΩ ± 5%.

【0007】図6(b)は、ホスト80と低速転送を行
なう周辺機器92(ロースピード・ファンクション)と
が、ケーブル94を介して接続された構成である。ホス
ト80側は、図6(a)と同じであり、USB回路(ト
ランシーバ)86が設けられ、各データラインにプルダ
ウン抵抗(R1)88,89が接続されている。一方、
周辺機器92側では、ロースピード・ファンクションで
あるので、D−のデータラインにプルアップ抵抗(R
2)95が接続される。
FIG. 6B shows a configuration in which a host 80 and a peripheral device 92 (low-speed function) for performing low-speed transfer are connected via a cable 94. The host 80 is the same as that shown in FIG. 6A. A USB circuit (transceiver) 86 is provided, and pull-down resistors (R1) 88 and 89 are connected to each data line. on the other hand,
On the peripheral device 92 side, since it is a low-speed function, a pull-up resistor (R
2) 95 is connected.

【0008】[0008]

【発明が解決しようとする課題】このように従来のUS
Bインタフェースは、ホスト80側ではデータラインの
それぞれにプルダウン抵抗(R1)88,89が接続さ
れる構成であり、高速転送を行なう周辺機器82では一
方のデータラインD+にプルアップ抵抗(R2)91が
接続され、低速転送を行なう周辺機器92では他方のデ
ータラインD−プルアップ抵抗(R2)95が接続され
る構成(規格)となっていた。
As described above, the conventional US
The B interface has a configuration in which pull-down resistors (R1) 88 and 89 are connected to respective data lines on the host 80 side, and a pull-up resistor (R2) 91 is connected to one data line D + in the peripheral device 82 that performs high-speed transfer. The peripheral device 92 that performs low-speed transfer has a configuration (standard) in which the other data line D-pull-up resistor (R2) 95 is connected.

【0009】すなわち、ホストであるか周辺機器である
か、さらに周辺機器の場合に高速転送を行なうか低速転
送を行なうかによって、インタフェース回路の構成が異
なっていた。また、USBインタフェースにより機器が
接続された構成の通信システムでは、必ず主従関係が存
在し、機器によってホストとゲスト(周辺機器等)の役
割が決まっており、その役割が変更されることはない。
That is, the configuration of the interface circuit differs depending on whether the device is a host or a peripheral device, and whether the peripheral device performs high-speed transfer or low-speed transfer. In a communication system in which devices are connected by a USB interface, a master-slave relationship always exists, and the role of a host and a guest (peripheral device or the like) is determined by the device, and the role is not changed.

【0010】ところが近年では、ホストにも周辺機器に
もなり得る装置、例えば携帯型の電子機器(例えばハン
ドヘルドパーソナルコンピュータ(HPC))が広く使
用され始めている。
However, in recent years, devices that can be both hosts and peripheral devices, for example, portable electronic devices (for example, handheld personal computers (HPCs)) have begun to be widely used.

【0011】一般に、携帯型の電子機器(HPC)は、
パーソナルコンピュータ等をホストとして利用し、直接
的に接続してデータの送受信を行なうゲストとして機能
させることが多い。しかし、電子機器(HPC)に周辺
機器である例えば拡張キーボードを接続して操作環境を
良くしようとする場合などでは、電子機器(HPC)を
ホストとして機能させることになる。
In general, portable electronic devices (HPCs)
In many cases, a personal computer or the like is used as a host and functions as a guest that directly connects and transmits and receives data. However, when the operation environment is to be improved by connecting a peripheral device such as an extended keyboard to the electronic device (HPC), the electronic device (HPC) functions as a host.

【0012】ところが、電子機器(HPC)のUSBイ
ンタフェースは、ケーブルを接続するためのコネクタが
1つ設けられているのみであり、基本的に電子機器(H
PC)をゲストとして使用する場合であれば周辺機器用
の構成となっていた。この場合であれば、電子機器(H
PC)をゲストとしてしか使用することができない。
However, the USB interface of an electronic device (HPC) is provided with only one connector for connecting a cable.
If the PC is used as a guest, the configuration is for peripheral devices. In this case, the electronic device (H
PC) can only be used as a guest.

【0013】また、電子機器(HPC)をホストとして
使用するためには、ホスト用のUSBインタフェースを
設けなければならない。この場合であれば、電子機器
(HPC)をホストとしてしか使用することができな
い。
In order to use an electronic device (HPC) as a host, a USB interface for the host must be provided. In this case, the electronic device (HPC) can be used only as a host.

【0014】このように従来のUSBインタフェース
は、ゲスト用とホスト用で構成が異なっているために、
電子機器(HPC)をゲスト、ホストの両方に機能させ
ることができなかった。
As described above, the conventional USB interface has different configurations for the guest and the host.
The electronic device (HPC) could not function for both the guest and the host.

【0015】本発明は前記のような事情を考慮してなさ
れたもので、ホストとしてもゲストとしても使用するこ
とが可能な電子機器、及びインタフェース回路を提供す
ることを目的とする。
The present invention has been made in view of the above circumstances, and has as its object to provide an electronic device and an interface circuit that can be used as both a host and a guest.

【0016】[0016]

【課題を解決するための手段】本発明は、他の機器を接
続するためのインタフェース回路を有する電子機器にお
いて、前記インタフェース回路は、データラインを接続
するための端子が設けられた複数のコネクタと、前記複
数のコネクタのそれぞれに対応する、前記データライン
を介して信号を送受信するラインドライバと、前記複数
のコネクタとそれぞれに対応するラインドライバとの間
の経路と、前記複数のコネクタ中の異なるコネクタの端
子間の経路とが設けられた経路手段と、前記経路手段に
設けられた複数の経路を切換える経路切換え手段と、前
記経路切換え手段による経路切換えを制御する制御手段
とを具備したことを特徴とする。
According to the present invention, there is provided an electronic device having an interface circuit for connecting another device, wherein the interface circuit includes a plurality of connectors provided with terminals for connecting data lines. A line driver corresponding to each of the plurality of connectors, for transmitting and receiving a signal via the data line; and a path between the plurality of connectors and the corresponding line driver. Path means provided with a path between terminals of the connector, path switching means for switching a plurality of paths provided in the path means, and control means for controlling path switching by the path switching means. Features.

【0017】これにより、複数のコネクタの一つに自機
器に対してホストとして機能する機器を接続し、他のコ
ネクタに自機器に対してゲストとして機能する機器を接
続して両者を共に使用することができる。すなわち、自
機器をゲストとしてもホストとしても機能させることが
できる。さらに、複数のコネクタ中の異なるコネクタの
端子間の経路とが設けられているため、自機器を他の機
器間を中継するように機能させることもできる。
Thus, a device that functions as a host with respect to the own device is connected to one of the plurality of connectors, and a device that functions as a guest with respect to the own device is connected to another connector, and both are used together. be able to. That is, the own device can function as both a guest and a host. Further, since a path between terminals of different connectors among the plurality of connectors is provided, the own device can be made to function as a relay between other devices.

【0018】また、前記複数のコネクタには、自機器に
対してホストとして機能する機器を接続するための第1
のコネクタと、自機器に対してゲストとして機能する機
器が接続される第2のコネクタが設けられ、前記第1の
コネクタの端子に接続されるデータラインにはプルアッ
プ抵抗が接続され、前記第2のコネクタの端子に接続さ
れるデータラインにはプルダウン抵抗が接続されること
を特徴とする。
Also, a first connector for connecting a device functioning as a host to the own device is connected to the plurality of connectors.
And a second connector to which a device functioning as a guest is connected to the own device, a pull-up resistor is connected to a data line connected to a terminal of the first connector, A pull-down resistor is connected to the data line connected to the terminal of the second connector.

【0019】また、前記複数のコネクタへの他の機器の
接続状態を判別する判別手段を具備し、前記制御手段
は、前記判別手段による判別結果に応じて、前記経路手
段に設けられた複数の経路を切換えることを特徴とす
る。
[0019] The apparatus further comprises a discriminating means for discriminating a connection state of another device to the plurality of connectors. It is characterized in that the route is switched.

【0020】また、他の機器を接続するためのインタフ
ェース回路において、データラインを接続するための端
子が設けられた複数のコネクタと、前記複数のコネクタ
のそれぞれに対応する、前記データラインを介して信号
を送受信するラインドライバと、前記複数のコネクタと
それぞれに対応するラインドライバとの間の経路と、前
記複数のコネクタ中の異なるコネクタの端子間の経路と
が設けられた経路手段と、前記経路手段に設けられた複
数の経路を切換える経路切換え手段と、前記経路切換え
手段による経路切換えを制御する制御手段とを具備した
ことを特徴とする。
Further, in an interface circuit for connecting another device, a plurality of connectors provided with terminals for connecting data lines are provided, and a plurality of connectors are provided via the data lines respectively corresponding to the plurality of connectors. A path driver provided with a line driver for transmitting and receiving signals, a path between the plurality of connectors and a corresponding line driver, and a path between terminals of different ones of the plurality of connectors; A path switching means provided in the means for switching a plurality of paths, and a control means for controlling path switching by the path switching means are provided.

【0021】[0021]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態について説明する。図1は本実施形態に係わる
電子機器の概略構成を示すブロック図である。図1に示
すように、本実施形態における電子機器は、CPU1
0、メモリ12、外部記憶装置14、表示装置16、入
力装置17、及びインタフェース回路19によって構成
されている。図1に示す電子機器は、ホストにも周辺機
器にもなり得る装置、例えば携帯型の電子機器(HP
C)であるものとする。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram illustrating a schematic configuration of an electronic device according to the present embodiment. As shown in FIG. 1, the electronic device according to the present embodiment includes a CPU 1
0, a memory 12, an external storage device 14, a display device 16, an input device 17, and an interface circuit 19. The electronic device shown in FIG. 1 is a device that can be a host or a peripheral device, for example, a portable electronic device (HP
C).

【0022】CPU10は、電子機器全体の制御を司る
もので、メモリ12に格納されたプログラムに従う各種
処理を実行する。CPU10は、電子機器を、例えばパ
ーソナルコンピュータに対する周辺装置として、あるい
はキーボード、マウス、モデム、プリンタ等の周辺装置
に対するホストとして機能させる。
The CPU 10 controls the entire electronic device, and executes various processes according to programs stored in the memory 12. The CPU 10 causes the electronic device to function as, for example, a peripheral device for a personal computer or a host for peripheral devices such as a keyboard, a mouse, a modem, and a printer.

【0023】メモリ12は、CPU10の動作を規定す
るプログラムやデータ等を格納する。外部記憶装置14
は、ハードディスク装置等によって構成されるもので、
プログラムやデータ等を格納する。
The memory 12 stores programs, data, and the like that define the operation of the CPU 10. External storage device 14
Is composed of a hard disk device, etc.
Stores programs and data.

【0024】表示装置16は、液晶ディスプレイ等によ
って構成されるもので、各種処理に関係する表示を行な
う。入力装置17は、キーボードやマウス等によって構
成されるもので、電子機器で実行される処理に対するコ
ードやデータ等の入力を行なう。
The display device 16 is constituted by a liquid crystal display or the like, and performs display related to various processes. The input device 17 includes a keyboard, a mouse, and the like, and inputs codes, data, and the like for processing executed by the electronic device.

【0025】インタフェース回路19は、電子機器に対
してホストとして機能する機器(パーソナルコンピュー
タ等)、あるいは周辺機器と接続を行なうためのもの
で、基本的にはUSB(Universal Serial Bus)の規格
に準拠したものである。
The interface circuit 19 connects the electronic device to a device functioning as a host (such as a personal computer) or a peripheral device, and basically conforms to the USB (Universal Serial Bus) standard. It was done.

【0026】ただし、USBの規格では、ホストである
か周辺機器であるか、さらに周辺機器の場合に高速転送
を行なうか低速転送を行なうかによってインタフェース
回路の構成が異なっているが、本実施形態におけるイン
タフェース回路19は、自機器に対してホストとして機
能する機器と、ゲストとして機能する機器の両方を同時
に接続できる構成となっている。詳細な構成については
後述する。
However, in the USB standard, the configuration of the interface circuit is different depending on whether the device is a host or a peripheral device, and whether the peripheral device performs high-speed transfer or low-speed transfer. The interface circuit 19 has a configuration in which both a device functioning as a host and a device functioning as a guest can be simultaneously connected to the own device. The detailed configuration will be described later.

【0027】図2には、本実施形態におけるインタフェ
ース回路19が設けられた電子機器20と、自機器に対
してゲストとして機能する周辺機器22と、ホストとし
て機能するパーソナルコンピュータ24との接続形態の
一例を示している。
FIG. 2 shows a connection configuration of an electronic device 20 provided with an interface circuit 19 according to the present embodiment, a peripheral device 22 functioning as a guest for the device itself, and a personal computer 24 functioning as a host. An example is shown.

【0028】図2は、電子機器20と周辺機器22(フ
ルスピード・ファンクション、ロースピード・ファンク
ションの何れの場合でも良い)とが、ケーブル23を介
して接続され、電子機器20とパーソナルコンピュータ
24とが、ケーブル25を介して接続された構成であ
る。
FIG. 2 shows that an electronic device 20 and a peripheral device 22 (either a full-speed function or a low-speed function) are connected via a cable 23, and the electronic device 20 and a personal computer 24 are connected to each other. Are connected via a cable 25.

【0029】この場合、電子機器20は、周辺機器22
に対してホストとして機能し、パーソナルコンピュータ
24に対して周辺機器として機能する。電子機器20と
周辺機器22またはパーソナルコンピュータ24とを接
続するためのケーブル23,25には、USBのデータ
ラインが2本(D+,D−)と、電力供給用の電源ライ
ンが2本(Vcc,GND)が含まれている。
In this case, the electronic device 20 is
Functions as a host for the personal computer 24 and as a peripheral device for the personal computer 24. The cables 23 and 25 for connecting the electronic device 20 to the peripheral device 22 or the personal computer 24 include two USB data lines (D +, D-) and two power supply power lines (Vcc , GND).

【0030】図3にはインタフェース回路19の詳細な
構成を示している。本実施形態におけるインタフェース
回路19は、図3に示すように、USBコネクタ(A)
30、USBコネクタ(B)32、経路部34、双方向
ラインドライバ(A)36、双方向ラインドライバ
(B)38、セレクタ40、及びUSB制御部42の各
機能部が設けられている。
FIG. 3 shows a detailed configuration of the interface circuit 19. As shown in FIG. 3, the interface circuit 19 in the present embodiment is a USB connector (A).
30, a USB connector (B) 32, a path unit 34, a bidirectional line driver (A) 36, a bidirectional line driver (B) 38, a selector 40, and a USB control unit 42 are provided.

【0031】USBコネクタ(A)30は、USBの規
格に準拠した形状を持つもので、自機器に対してホスト
として機能するパーソナルコンピュータ24との間でデ
ータラインと電源ラインとを接続するケーブル25が結
合される。USBコネクタ(A)30には、各ライン用
の端子D+,D−,Vcc,GNDが設けられている。
なお、電源ライン用の端子Vcc,GNDは省略してい
る。
The USB connector (A) 30 has a shape conforming to the USB standard, and is a cable 25 for connecting a data line and a power line to a personal computer 24 functioning as a host with respect to its own device. Are combined. The USB connector (A) 30 is provided with terminals D +, D-, Vcc, and GND for each line.
The power supply line terminals Vcc and GND are omitted.

【0032】USBコネクタ(B)32は、USBの規
格に準拠した形状を持つもので、自機器に対してゲスト
として機能する周辺機器22との間でデータラインと電
源ラインとを接続するケーブル23が結合される。US
Bコネクタ30には、各ライン用の端子D+,D−が設
けられている。なお、電源ライン用の端子Vcc,GN
Dは省略している。
The USB connector (B) 32 has a shape conforming to the USB standard, and has a cable 23 for connecting a data line and a power line to the peripheral device 22 functioning as a guest with respect to the device itself. Are combined. US
The B connector 30 is provided with terminals D + and D- for each line. In addition, the terminals Vcc and GN for the power supply line
D is omitted.

【0033】経路部34は、USBコネクタ(A)30
に結合されたケーブル25によって接続されたパーソナ
ルコンピュータ24と、USBコネクタ(B)32に結
合されたケーブル23によって接続された周辺機器22
と、自機器との間のデータ転送経路を切換えるための回
路である。本実施形態では、パーソナルコンピュータ2
4と自機器との間のデータ転送経路を経路(A)、周辺
機器22と自機器との間のデータ転送経路を経路
(B)、パーソナルコンピュータ24と周辺機器22と
の間のデータ転送経路を経路(C)として説明する。
The path section 34 includes a USB connector (A) 30
And a peripheral device 22 connected by a cable 23 connected to a USB connector (B) 32.
And a circuit for switching a data transfer path between the device and the own device. In the present embodiment, the personal computer 2
(A), a data transfer path between the peripheral device 22 and the own device, a route (B), and a data transfer route between the personal computer 24 and the peripheral device 22. Is described as a route (C).

【0034】経路部34は、自機器がホストとして機能
するか、周辺機器として機能するか、あるいはパーソナ
ルコンピュータ24と周辺機器22との中継をするのか
に応じて、USB制御部42から出力されるmode信
号によって経路を切換える。
The path unit 34 is output from the USB control unit 42 depending on whether the own device functions as a host, functions as a peripheral device, or relays between the personal computer 24 and the peripheral device 22. The path is switched by the mode signal.

【0035】経路部34には、USBコネクタ(A)3
0の端子D+に接続されたデータラインD+の接続を切
換えるためのスイッチング素子としてトランジスタ44
(経路切換え手段)が設けられ、端子D−に接続された
データラインD−の接続を切換えるためのスイッチング
素子としてトランジスタ46(経路切換え手段)が設け
られている(経路(A)の接続切換え)。
The path section 34 has a USB connector (A) 3
The transistor 44 as a switching element for switching the connection of the data line D + connected to the terminal D +
(Path switching means) is provided, and a transistor 46 (path switching means) is provided as a switching element for switching the connection of the data line D- connected to the terminal D- (connection switching of the path (A)). .

【0036】また、経路部34には、USBコネクタ
(B)32の端子D+に接続されたデータラインD+の
接続を切換えるためのスイッチング素子としてトランジ
スタ48(経路切換え手段)が設けられ、端子D−に接
続されたデータラインD−の接続を切換えるためのスイ
ッチング素子としてトランジスタ50(経路切換え手
段)が設けられている(経路(B)の接続切換え)。
The path section 34 is provided with a transistor 48 (path switching means) as a switching element for switching the connection of the data line D + connected to the terminal D + of the USB connector (B) 32, and a terminal D- A transistor 50 (path switching means) is provided as a switching element for switching the connection of the data line D- connected to the data line D- (connection switching of the path (B)).

【0037】また、USBコネクタ(A)30の端子D
+と、USBコネクタ(B)32の端子D+との接続を
切換えるためのスイッチング素子としてトランジスタ5
2(経路切換え手段)が設けられ、USBコネクタ
(A)30の端子D−と、USBコネクタ(B)32の
端子D−との接続を切換えるためのスイッチング素子と
してトランジスタ54(経路切換え手段)が設けられて
いる(経路(C)の接続切換え)。
The terminal D of the USB connector (A) 30
+ And a transistor 5 as a switching element for switching the connection between the terminal D + of the USB connector (B) 32.
2 (path switching means) is provided, and a transistor 54 (path switching means) is provided as a switching element for switching the connection between the terminal D- of the USB connector (A) 30 and the terminal D- of the USB connector (B) 32. (Connection switching of the route (C)).

【0038】トランジスタ52,54は、USB制御部
42からのmode信号をインバータを介して入力する
ため、トランジスタ44,46,48,50と逆の機能
を持つ。すなわち、トランジスタ44,46,48,5
0が経路を接続するように機能する場合、トランジスタ
52,54は、経路を切断するように機能する。
The transistors 52 and 54 have a function opposite to that of the transistors 44, 46, 48 and 50, because the mode signal from the USB control unit 42 is input through an inverter. That is, transistors 44, 46, 48, 5
If 0 functions to connect the path, transistors 52 and 54 function to disconnect the path.

【0039】また、トランジスタ44を介して接続され
るデータラインD+にはプルアップ抵抗56が接続され
ている。つまり、自機器がパーソナルコンピュータ24
に対してゲストとして機能する際に、高速転送(フルス
ピード)を行なう構成となっている。なお、低速転送
(ロースピード)を行なう場合であれば、トランジスタ
46を介して接続されるデータラインD−にプルアップ
抵抗が接続される。
A pull-up resistor 56 is connected to the data line D + connected via the transistor 44. That is, the own device is the personal computer 24.
When it functions as a guest, high-speed transfer (full speed) is performed. When performing low-speed transfer (low speed), a pull-up resistor is connected to the data line D- connected via the transistor 46.

【0040】また、トランジスタ48を介して接続され
るデータラインD+にはプルダウン抵抗58が接続さ
れ、トランジスタ50を介して接続されるデータライン
D−にはプルダウン抵抗59が接続されている。つま
り、自機器が周辺機器22に対してホストとして機能す
る際に、データ転送する構成となっている。
A pull-down resistor 58 is connected to the data line D + connected via the transistor 48, and a pull-down resistor 59 is connected to the data line D- connected via the transistor 50. That is, when the own device functions as a host for the peripheral device 22, data is transferred.

【0041】双方向ラインドライバ(A)36は、US
Bインタフェースの基本的な構成部分であり、USBコ
ネクタ(A)30の端子D+,D−と、トランジスタ4
4,46によって接続が切換えられるデータラインD
+,D−を介して接続され、USB制御部42の制御の
もとでデータの送受信とシングルエンドゼロ(SE0)
の検出を行なう。双方向ラインドライバ(A)36に
は、差動ドライバ60、差動レシーバ62、シングルエ
ンドレシーバ64,66、ノア回路68が設けられてい
る。差動ドライバ60、差動レシーバ62、シングルエ
ンドレシーバ64,66は、それぞれ経路(A)のデー
タラインD+,D−が接続されている。
The bidirectional line driver (A) 36 is a US
This is a basic component of the B interface, and includes terminals D + and D- of the USB connector (A) 30 and a transistor 4
Data line D whose connection is switched by 4, 46
+, D-, transmission and reception of data and single-end zero (SE0) under the control of the USB control unit 42.
Is detected. The bidirectional line driver (A) 36 includes a differential driver 60, a differential receiver 62, single-ended receivers 64 and 66, and a NOR circuit 68. The differential driver 60, the differential receiver 62, and the single-ended receivers 64 and 66 are connected to the data lines D + and D- of the path (A), respectively.

【0042】差動ドライバ60は、データ送信用であっ
て、セレクタ40を介して与えられる、USB制御部4
2からのTxD信号、SE0信号、アウトイネーブル
(OE)信号に応じて、データラインD+,D−に信号
を出力する。
The differential driver 60 is for data transmission, and is provided through the selector 40.
2 in response to the TxD signal, SE0 signal, and out enable (OE) signal from the data lines D + and D-.

【0043】差動レシーバ62は、データ受信用であっ
て、データラインD+,D−の信号の状態に応じてデー
タを受信して、Rcv Data信号としてセレクタ4
0を介してUSB制御部42に出力する。
The differential receiver 62 is for data reception, receives data according to the state of the signals on the data lines D + and D-, and outputs the data as an Rcv Data signal to the selector 4.
0 to the USB control unit 42.

【0044】シングルエンドレシーバ64,66は、U
SBコネクタ(A)30の端子D+,D−にそれぞれ接
続された経路(A)のデータラインD+,D−の信号の
状態を保持する。
The single-ended receivers 64 and 66
The signal state of the data lines D + and D- of the path (A) connected to the terminals D + and D- of the SB connector (A) 30 is held.

【0045】ノア回路68は、シングルエンドレシーバ
64,66が保持する信号の状態に応じた信号を出力す
るもので、データラインD+,D−の信号の状態がロー
レベル“0”の時に、SE0 Detect(S Det1)
信号として“1”をUSB制御部42に出力する。
The NOR circuit 68 outputs a signal corresponding to the state of the signal held by the single-ended receivers 64 and 66. When the state of the signal on the data lines D + and D- is low level "0", the signal SE0 is output. Detect (S Det1)
“1” is output to the USB control unit 42 as a signal.

【0046】双方向ラインドライバ(B)38は、US
Bインタフェースの基本的な構成部分であり、USBコ
ネクタ(B)32の端子D+,D−と、トランジスタ4
8,50によって接続が切換えられるデータラインD
+,D−を介して接続され、USB制御部42の制御の
もとでデータの送受信とシングルエンドゼロ(SE0)
の検出を行なう。双方向ラインドライバ(B)38に
は、差動ドライバ70、差動レシーバ72、シングルエ
ンドレシーバ74,76、ノア回路78が設けられてい
る。差動ドライバ70、差動レシーバ72、シングルエ
ンドレシーバ74,76は、それぞれ経路(B)のデー
タラインD+,D−が接続されている。
The bidirectional line driver (B) 38
This is a basic component of the B interface, and includes terminals D + and D− of a USB connector (B) 32 and a transistor 4
Data line D whose connection is switched by 8, 50
+, D-, transmission and reception of data and single-end zero (SE0) under the control of the USB control unit 42.
Is detected. The bidirectional line driver (B) 38 includes a differential driver 70, a differential receiver 72, single-ended receivers 74 and 76, and a NOR circuit 78. The differential driver 70, the differential receiver 72, and the single-ended receivers 74 and 76 are connected to the data lines D + and D- of the path (B), respectively.

【0047】差動ドライバ70は、データ送信用であっ
て、セレクタ40を介して与えられる、USB制御部4
2からのTxD信号、SE0信号、アウトイネーブル
(OE)信号に応じて、データラインD+,D−に信号
を出力する。
The differential driver 70 is used for data transmission, and is provided via the selector 40.
2 in response to the TxD signal, SE0 signal, and out enable (OE) signal from the data lines D + and D-.

【0048】差動レシーバ72は、データ受信用であっ
て、データラインD+,D−の信号の状態に応じてデー
タを受信して、Rcv Data信号としてセレクタ4
0を介してUSB制御部42に出力する。
The differential receiver 72 is for data reception, receives data in accordance with the state of the signals on the data lines D + and D-, and outputs the data as an Rcv Data signal to the selector 4.
0 to the USB control unit 42.

【0049】シングルエンドレシーバ74,76は、U
SBコネクタ(B)32の端子D+,D−にそれぞれ接
続された経路(B)のデータラインD+,D−の信号の
状態を保持する。
The single-ended receivers 74 and 76
The signal state of the data lines D + and D− of the path (B) connected to the terminals D + and D− of the SB connector (B) 32 is held.

【0050】ノア回路78は、シングルエンドレシーバ
74,76が保持する信号の状態に応じた信号を出力す
るもので、データラインD+,D−の信号の状態がロー
レベル“0”の時に、SE0 Detect(S Det2)
信号として“1”をUSB制御部42に出力する。
The NOR circuit 78 outputs a signal corresponding to the state of the signal held by the single-ended receivers 74 and 76. When the state of the signal on the data lines D + and D- is low level "0", the signal SE0 is output. Detect (S Det2)
“1” is output to the USB control unit 42 as a signal.

【0051】セレクタ40は、USB制御部42と、双
方向ラインドライバ(A)36及び双方向ラインドライ
バ(B)38との間に設けられるもので、USB制御部
42からSelect信号、TxD信号、SE0信号、
アウトイネーブル(OE)信号を入力する。セレクタ4
0は、Select信号に応じて、TxD信号、SE0
信号、アウトイネーブル(OE)信号を、双方向ライン
ドライバ(A)36または双方向ラインドライバ(B)
38の何れか一方に出力する。すなわち、セレクタ40
は、それぞれ、TxD信号を端子1A,1B、SE0信
号を端子2A,2B、アウトイネーブル(OE)信号を
端子3A,3Bの何れかから出力する。
The selector 40 is provided between the USB control unit 42 and the bidirectional line driver (A) 36 and the bidirectional line driver (B) 38. The USB control unit 42 supplies a Select signal, a TxD signal, SE0 signal,
An out enable (OE) signal is input. Selector 4
0 is a TxD signal, SE0 according to the Select signal.
Signal, out enable (OE) signal to the bidirectional line driver (A) 36 or the bidirectional line driver (B)
38. That is, the selector 40
Outputs a TxD signal from one of terminals 1A and 1B, an SE0 signal from one of terminals 2A and 2B, and an out enable (OE) signal from one of terminals 3A and 3B.

【0052】また、セレクタ40は、双方向ラインドラ
イバ(A)36及び双方向ラインドライバ(B)38の
各差動レシーバ62,72からのRcv Data信号
を端子4A,4Bから入力してUSB制御部42に出力
する。
The selector 40 receives the Rcv Data signals from the differential receivers 62 and 72 of the bidirectional line driver (A) 36 and the bidirectional line driver (B) 38 from the terminals 4A and 4B to control the USB. Output to the unit 42.

【0053】USB制御部42は、CPU10の制御に
基づいて動作し、select信号による双方向ライン
ドライバ(A)36または双方向ラインドライバ(B)
38の何れかを選択する制御、経路部34の経路(A)
(B)(C)を切換えるためのトランジスタ44,4
6,48,50,52,54に対するmode信号によ
る切換え制御、双方向ラインドライバ(A)36及び双
方向ラインドライバ(B)38に対するデータ送受信、
シングルエンドゼロ(SE0)の検出(S Det1,
S Det2)を制御する。
The USB control section 42 operates under the control of the CPU 10, and controls the bidirectional line driver (A) 36 or the bidirectional line driver (B) based on the select signal.
Control for selecting any one of the routes 38, the route (A) of the route unit 34
(B) Transistors 44 and 4 for switching (C)
6, 48, 50, 52, 54, switching control by the mode signal, data transmission / reception to / from the bidirectional line driver (A) 36 and the bidirectional line driver (B) 38,
Single-ended zero (SE0) detection (S Det1,
S Det2).

【0054】通常、USBインタフェースでは、シング
ルエンドゼロ(SE0)をエンドオブパケット(EO
P)、リセット、ラインの切断の検出に用いるが、さら
に本実施形態ではUSBコネクタ(A)30またはUS
Bコネクタ(B)32(さらにはケーブル23,25)
を介した機器の接続状況を判別するためにも用いる。
Normally, in the USB interface, a single end zero (SE0) is set to an end of packet (EO).
P), reset, and disconnection detection of the line. In the present embodiment, the USB connector (A) 30 or the US
B connector (B) 32 (and cables 23 and 25)
It is also used to determine the connection status of devices via the.

【0055】次に、本実施形態における電子機器20の
インタフェース回路19を介した他の機器との接続動作
について説明する。図4は、USB制御部42による経
路切換え動作を示すフローチャートである。
Next, the operation of connecting the electronic device 20 to another device via the interface circuit 19 in this embodiment will be described. FIG. 4 is a flowchart showing the path switching operation by the USB control unit 42.

【0056】電子機器20には、インタフェース回路1
9のUSBコネクタ(A)30にケーブル25が結合さ
れてホストとしてパーソナルコンピュータ24が接続さ
れるか、USBコネクタ(B)32にケーブル23が結
合されて周辺機器22(例えばキーボード)が接続され
るか、さらには両方が接続される。
The electronic device 20 includes the interface circuit 1
The USB connector (A) 30 is connected to a cable 25 and a personal computer 24 is connected as a host, or the USB connector (B) 32 is connected to a cable 23 and a peripheral device 22 (for example, a keyboard) is connected. Or both are connected.

【0057】なお、初期状態として、USB制御部42
から出力されるmode信号はオフであり、経路(A)
及び経路(B)が接続された状態にあるものとする。電
子機器20にケーブル25(パーソナルコンピュータ2
4)またはケーブル23(周辺機器22)が接続される
と、パーソナルコンピュータ24側、周辺機器22側で
終端処理された2本のデータラインD+,D−を介した
信号が、それぞれに対応する双方向ラインドライバ
(A)36、双方向ラインドライバ(B)38を介し
て、SE0 Detect(S Det1)信号、SE0 De
tect(S Det2)信号としてUSB制御部42に入
力される。
The USB control unit 42 is set as an initial state.
The mode signal output from is off, and the path (A)
And the path (B) are connected. Cable 25 (personal computer 2)
4) When the cable 23 (peripheral device 22) is connected, the signals via the two data lines D + and D- terminated on the personal computer 24 side and the peripheral device 22 side correspond to both the corresponding signals. SE0 Detect (S Det1) signal, SE0 De via the bidirectional line driver (A) 36 and bidirectional line driver (B) 38
The tect (S Det2) signal is input to the USB control unit 42.

【0058】電子機器20のUSB制御部42は、この
SE0 Detect(S Det1)信号、SE0 Detect
(S Det2)信号から、他の機器の自機器に対する
接続状況を知ることができる。
The USB control unit 42 of the electronic device 20 outputs the SE0 Detect (S Det1) signal, SE0 Detect
From the (S Det2) signal, it is possible to know the connection status of the other device to the own device.

【0059】USBコネクタ(A)30及びUSBコネ
クタ(B)32へのケーブルの接続が検出されない場合
(ステップS1)、USB制御部42は、経路切換えを
必要としない他の処理を実行する(ステップS2)。
When the connection of the cables to the USB connector (A) 30 and the USB connector (B) 32 is not detected (step S1), the USB control unit 42 executes another process that does not require the path switching (step S1). S2).

【0060】一方、USBコネクタ(A)30及びUS
Bコネクタ(B)32へのケーブルの接続が検出された
場合(ステップS3)、USB制御部42は、mode
信号をオンする(ステップS4)。これにより、トラン
ジスタ44,46により経路(A)が、トランジスタ4
8,50により経路(B)がそれぞれ無効となり、トラ
ンジスタ52,54により経路(C)が有効となる。
On the other hand, the USB connector (A) 30
When the connection of the cable to the B connector (B) 32 is detected (step S3), the USB control unit 42
The signal is turned on (step S4). Thus, the path (A) is formed by the transistors 44 and 46 so that the transistor 4
The path (B) is invalidated by 8, 50, and the path (C) is activated by the transistors 52, 54.

【0061】この場合、パーソナルコンピュータ24と
周辺機器22とが、電子機器20のインタフェース回路
19(USBコネクタ(A)30、トランジスタ52,
54、USBコネクタ(B)32)を介して接続される
ことになる。すなわち、電子機器20は、パーソナルコ
ンピュータ24と周辺機器22との間を中継するだけの
機能を果たす。また、パーソナルコンピュータ24は、
周辺機器22をゲストとして機能させることができる。
In this case, the personal computer 24 and the peripheral device 22 connect the interface circuit 19 of the electronic device 20 (USB connector (A) 30, transistor 52,
54, via the USB connector (B) 32). That is, the electronic device 20 performs a function of only relaying between the personal computer 24 and the peripheral device 22. Also, the personal computer 24
The peripheral device 22 can function as a guest.

【0062】また、USBコネクタ(A)30へのケー
ブル25の接続が検出された場合(ステップS5)、U
SB制御部42は、Select信号によりセレクタ4
0に対して双方向ラインドライバ(A)36を選択する
と共に、mode信号をオフする(ステップS6)。こ
れにより、トランジスタ44,46により経路(A)が
有効となり、一般のUSBインタフェースの規格に従う
データ通信を行なう。
If the connection of the cable 25 to the USB connector (A) 30 is detected (step S5), U
The SB control unit 42 uses the Select signal to
For 0, the bidirectional line driver (A) 36 is selected, and the mode signal is turned off (step S6). As a result, the path (A) is enabled by the transistors 44 and 46, and data communication conforming to the standard of the general USB interface is performed.

【0063】この場合、電子機器20は、パーソナルコ
ンピュータ24に対してゲストとして機能する。電子機
器20からデータ送信を行なう場合、USB制御部42
から出力される信号TxDは、セレクタ40の端子1A
から双方向ラインドライバ(A)36の差動ドライバ6
0に出力され、さらに経路(A)、USBコネクタ
(A)30を介してパーソナルコンピュータ24に出力
される。また、パーソナルコンピュータ24からのデー
タ信号は、経路(A)を介して差動レシーバ62によっ
て受信され、セレクタ40の端子4Aに出力され、さら
にRcv Data信号としてUSB制御部42に出力
される。
In this case, the electronic device 20 functions as a guest for the personal computer 24. When transmitting data from the electronic device 20, the USB control unit 42
Is output from the terminal 1A of the selector 40.
Driver 6 of the bidirectional line driver (A) 36 from
0, and further to the personal computer 24 via the path (A) and the USB connector (A) 30. The data signal from the personal computer 24 is received by the differential receiver 62 via the path (A), output to the terminal 4A of the selector 40, and further output to the USB control unit 42 as an Rcv Data signal.

【0064】また、USBコネクタ(B)32へのケー
ブル23の接続が検出された場合(ステップS7)、U
SB制御部42は、Select信号によりセレクタ4
0に対して双方向ラインドライバ(B)38を選択する
と共に、mode信号をオフする(ステップS8)。こ
れにより、トランジスタ48,50により経路(B)が
有効となり、一般のUSBインタフェースの規格に従う
データ通信を行なう。
When the connection of the cable 23 to the USB connector (B) 32 is detected (step S7), U
The SB control unit 42 uses the Select signal to
For 0, the bidirectional line driver (B) 38 is selected, and the mode signal is turned off (step S8). As a result, the path (B) is made effective by the transistors 48 and 50, and data communication conforming to the general USB interface standard is performed.

【0065】この場合、電子機器20は、周辺機器22
に対してホストとして機能する。電子機器20からデー
タ送信を行なう場合、USB制御部42から出力される
信号TxDは、セレクタ40の端子1Bから双方向ライ
ンドライバ(B)38の差動ドライバ70に出力され、
さらに経路(B)、USBコネクタ(B)32を介して
周辺機器22に出力される。また、周辺機器22からの
データ信号は、経路(B)を介して差動レシーバ72に
よって受信され、セレクタ40の端子4Bに出力され、
さらにRcv Data信号としてUSB制御部42に
出力される。
In this case, the electronic device 20 is
Act as a host for When data transmission is performed from the electronic device 20, the signal TxD output from the USB control unit 42 is output from the terminal 1B of the selector 40 to the differential driver 70 of the bidirectional line driver (B) 38,
The signal is further output to the peripheral device 22 via the path (B) and the USB connector (B) 32. Further, a data signal from the peripheral device 22 is received by the differential receiver 72 via the path (B) and output to the terminal 4B of the selector 40,
Further, it is output to the USB control unit 42 as an Rcv Data signal.

【0066】このようにして、電子機器20に設けられ
たインタフェース回路19には、2つのUSBコネクタ
(A)30、USBコネクタ(B)32が設けられ、さ
らにそれぞれに対応する経路(A)(B)、双方向ライ
ンドライバ(A)36、双方向ラインドライバ(B)3
8がもうけられているので、電子機器20に対してホス
トとして機能するパーソナルコンピュータ24と、ゲス
トとして機能する周辺機器22とを任意に接続して通信
システムを構成することができる。
As described above, the interface circuit 19 provided in the electronic device 20 is provided with the two USB connectors (A) 30 and the USB connectors (B) 32, and furthermore, the corresponding paths (A) ( B), bidirectional line driver (A) 36, bidirectional line driver (B) 3
Since the electronic device 20 is provided, the personal computer 24 functioning as a host and the peripheral device 22 functioning as a guest can be arbitrarily connected to the electronic device 20 to form a communication system.

【0067】さらに、電子機器20をパーソナルコンピ
ュータ24と周辺機器22との中継を行なうように機能
させることもできる。従って、図2に示す接続形態であ
って、周辺機器22をパーソナルコンピュータ24のゲ
ストとして機能させる場合であってもケーブルの接続を
変更する必要がない。
Further, the electronic device 20 can be made to function to relay between the personal computer 24 and the peripheral device 22. Therefore, in the connection form shown in FIG. 2, even when the peripheral device 22 functions as a guest of the personal computer 24, there is no need to change the connection of the cable.

【0068】なお、前述した説明では、USBコネクタ
(A)30にパーソナルコンピュータ24が接続され、
USBコネクタ(B)32に周辺機器22が接続されて
いる場合に、経路(C)を有効にしてパーソナルコンピ
ュータ24と周辺機器22とを接続し、電子機器20を
中継のために利用しているが、3種類の接続形態からユ
ーザが任意に選択するようにもできる。
In the above description, the personal computer 24 is connected to the USB connector (A) 30,
When the peripheral device 22 is connected to the USB connector (B) 32, the path (C) is enabled to connect the personal computer 24 and the peripheral device 22, and the electronic device 20 is used for relay. However, the user can arbitrarily select from three types of connection forms.

【0069】すなわち、パーソナルコンピュータ24と
周辺機器22と電子機器20との3者が接続されている
場合、接続形態として、パーソナルコンピュータ24と
電子機器20、電子機器20と周辺機器22、パーソナ
ルコンピュータ24と周辺機器22の3種類ある。ユー
ザは、この3種類の接続形態の何れかを選択する指示
を、キーボード等の入力装置17(あるいは機械的なス
イッチ等であっても良い)から入力する。USB制御部
42は、ユーザからの指示に応じて、Select信号
及びmode信号を出力して、指定された接続形態によ
る動作が可能となるようにする。
That is, when the personal computer 24, the peripheral device 22, and the electronic device 20 are connected, the connection forms are the personal computer 24 and the electronic device 20, the electronic device 20, the peripheral device 22, and the personal computer 24. And the peripheral device 22. The user inputs an instruction to select one of the three types of connection from the input device 17 such as a keyboard (or a mechanical switch or the like). The USB control unit 42 outputs a Select signal and a mode signal in response to an instruction from the user so that the operation according to the specified connection mode is enabled.

【0070】なお、前述した実施形態においては、経路
部34における経路切換えのためのスイッチをトランジ
スタ44,46,48,50,52,54で構成してい
るが、FETによって構成しても良く、さらにはトグル
スイッチなど機械的な切換え部品を用いて構成すること
もできる。
In the above-described embodiment, the switches for switching the path in the path section 34 are constituted by the transistors 44, 46, 48, 50, 52 and 54. However, the switches may be constituted by FETs. Furthermore, it can be configured using mechanical switching parts such as a toggle switch.

【0071】また、電子機器20(HPC)から周辺機
器22に対して1つのコネクタしか設けていないが、複
数個のコネクタや双方向ラインドライバを用いて回路を
構成することもできる。
Although only one connector is provided from the electronic device 20 (HPC) to the peripheral device 22, a circuit may be formed using a plurality of connectors and a bidirectional line driver.

【0072】[0072]

【発明の効果】以上詳述したように本発明によれば、他
の機器を接続するためのインタフェース回路を有する電
子機器において、インタフェース回路は、データライン
を接続するための端子が設けられた複数のコネクタと、
複数のコネクタのそれぞれに対応する、データラインを
介して信号を送受信するラインドライバと、複数のコネ
クタとそれぞれに対応するラインドライバとの間の経路
と、複数のコネクタ中の異なるコネクタの端子間の経路
とが設けられた経路部と、経路部に設けられた複数の経
路を切換える回路と、この回路による経路切換えを制御
する制御機能とを有することで、複数のコネクタの一つ
に自機器に対してホストとして機能する機器を接続し、
他のコネクタに自機器に対してゲストとして機能する機
器を接続して両者を共に使用することができ、自機器を
ゲストとしてもホストとしても機能させることができ
る。さらに、複数のコネクタ中の異なるコネクタの端子
間の経路とが設けられているため、自機器を他の機器間
を中継するように機能させることもできる。
As described above in detail, according to the present invention, in an electronic device having an interface circuit for connecting another device, the interface circuit has a plurality of terminals provided with terminals for connecting data lines. Connectors and
A line driver that transmits and receives signals via data lines corresponding to each of the plurality of connectors, a path between the plurality of connectors and the corresponding line driver, and a terminal between different ones of the plurality of connectors. By having a path section provided with a path, a circuit for switching a plurality of paths provided in the path section, and a control function for controlling path switching by this circuit, one of a plurality of connectors can be connected to its own device. Connect a device that functions as a host to
A device that functions as a guest can be connected to the own device to another connector, and both can be used together, and the own device can function as both a guest and a host. Further, since a path between terminals of different connectors among the plurality of connectors is provided, the own device can be made to function as a relay between other devices.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施形態に係わる電子機器の概略構成
を示すブロック図。
FIG. 1 is an exemplary block diagram showing a schematic configuration of an electronic apparatus according to an embodiment of the invention.

【図2】本実施形態におけるインタフェース回路19を
介した周辺機器22とパーソナルコンピュータ24との
接続形態の一例を示す図。
FIG. 2 is a diagram showing an example of a connection form between a peripheral device 22 and a personal computer 24 via an interface circuit 19 in the embodiment.

【図3】インタフェース回路19の詳細な構成を示す
図。
FIG. 3 is a diagram showing a detailed configuration of an interface circuit 19;

【図4】USB制御部42によるインタフェース回路1
9を介したデータ転送を行なう場合の経路切換え動作を
示すフローチャート。
FIG. 4 is an interface circuit 1 by a USB control unit 42;
9 is a flowchart showing a path switching operation when data transfer is performed via the communication path 9;

【図5】従来のUSBインタフェースによるホスト80
と周辺機器82の接続形態の一例を示す図。
FIG. 5 shows a host 80 using a conventional USB interface.
FIG. 4 is a diagram showing an example of a connection form between a device and a peripheral device 82;

【符号の説明】[Explanation of symbols]

10…CPU 12…メモリ 14…外部記憶装置 16…表示装置 17…入力装置 19…インタフェース回路 20…電子機器 22…周辺機器 24…パーソナルコンピュータ 30…USBコネクタ(A) 32…USBコネクタ(B) 34…経路部 36…双方向ラインドライバ(A) 38…双方向ラインドライバ(B) 40…セレクタ 42…USB制御部 56…プルアップ抵抗 58,59…プルダウン抵抗 60,70…差動ドライバ 62,72…差動レシーバ DESCRIPTION OF SYMBOLS 10 ... CPU 12 ... Memory 14 ... External storage device 16 ... Display device 17 ... Input device 19 ... Interface circuit 20 ... Electronic device 22 ... Peripheral device 24 ... Personal computer 30 ... USB connector (A) 32 ... USB connector (B) 34 ... Path section 36. Bidirectional line driver (A) 38. Bidirectional line driver (B) 40. Selector 42. USB control section 56. Pull-up resistors 58 and 59. Pull-down resistors 60 and 70. Differential drivers 62 and 72. … Differential receiver

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 他の機器を接続するためのインタフェー
ス回路を有する電子機器において、 前記インタフェース回路は、 データラインを接続するための端子が設けられた複数の
コネクタと、 前記複数のコネクタのそれぞれに対応する、前記データ
ラインを介して信号を送受信するラインドライバと、 前記複数のコネクタとそれぞれに対応するラインドライ
バとの間の経路と、前記複数のコネクタ中の異なるコネ
クタの端子間の経路とが設けられた経路手段と、 前記経路手段に設けられた複数の経路を切換える経路切
換え手段と、 前記経路切換え手段による経路切換えを制御する制御手
段とを具備したことを特徴とする電子機器。
1. An electronic device having an interface circuit for connecting another device, wherein the interface circuit includes: a plurality of connectors provided with terminals for connecting data lines; A corresponding line driver for transmitting / receiving a signal via the data line, a path between the plurality of connectors and the corresponding line driver, and a path between terminals of different ones of the plurality of connectors. An electronic apparatus comprising: a path unit provided; a path switching unit that switches a plurality of paths provided in the path unit; and a control unit that controls path switching by the path switching unit.
【請求項2】 前記複数のコネクタには、自機器に対し
てホストとして機能する機器を接続するための第1のコ
ネクタと、自機器に対してゲストとして機能する機器が
接続される第2のコネクタが設けられ、前記第1のコネ
クタの端子に接続されるデータラインにはプルアップ抵
抗が接続され、前記第2のコネクタの端子に接続される
データラインにはプルダウン抵抗が接続されることを特
徴とする請求項1記載の電子機器。
2. A plurality of connectors, a first connector for connecting a device functioning as a host to the own device, and a second connector for connecting a device functioning as a guest to the own device. A connector is provided, a pull-up resistor is connected to a data line connected to a terminal of the first connector, and a pull-down resistor is connected to a data line connected to a terminal of the second connector. The electronic device according to claim 1, wherein:
【請求項3】 前記複数のコネクタへの他の機器の接続
状態を判別する判別手段を具備し、 前記制御手段は、前記判別手段による判別結果に応じ
て、前記経路手段に設けられた複数の経路を切換えるこ
とを特徴とする請求項1記載の電子機器。
3. A control device, comprising: a determination unit configured to determine a connection state of another device to the plurality of connectors; and a control unit configured to determine a connection state of the plurality of connectors in accordance with a determination result by the determination unit. 2. The electronic device according to claim 1, wherein a path is switched.
【請求項4】 他の機器を接続するためのインタフェー
ス回路において、 データラインを接続するための端子が設けられた複数の
コネクタと、 前記複数のコネクタのそれぞれに対応する、前記データ
ラインを介して信号を送受信するラインドライバと、 前記複数のコネクタとそれぞれに対応するラインドライ
バとの間の経路と、前記複数のコネクタ中の異なるコネ
クタの端子間の経路とが設けられた経路手段と、 前記経路手段に設けられた複数の経路を切換える経路切
換え手段と、 前記経路切換え手段による経路切換えを制御する制御手
段とを具備したことを特徴とするインタフェース回路。
4. An interface circuit for connecting another device, comprising: a plurality of connectors provided with terminals for connecting data lines; and a plurality of connectors via the data lines corresponding to the plurality of connectors. A path driver provided with a line driver for transmitting and receiving signals; a path between the plurality of connectors and a corresponding line driver; and a path between terminals of different ones of the plurality of connectors; An interface circuit comprising: a path switching unit provided in the unit for switching a plurality of paths; and a control unit for controlling path switching by the path switching unit.
JP9106199A 1997-04-23 1997-04-23 Electronic equipment and interface circuit Pending JPH10301898A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9106199A JPH10301898A (en) 1997-04-23 1997-04-23 Electronic equipment and interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9106199A JPH10301898A (en) 1997-04-23 1997-04-23 Electronic equipment and interface circuit

Publications (1)

Publication Number Publication Date
JPH10301898A true JPH10301898A (en) 1998-11-13

Family

ID=14427507

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9106199A Pending JPH10301898A (en) 1997-04-23 1997-04-23 Electronic equipment and interface circuit

Country Status (1)

Country Link
JP (1) JPH10301898A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2347245A (en) * 1998-12-10 2000-08-30 Network Technologies Inc Switch for connecting a peripheral device to a USB device
GB2352540A (en) * 1999-04-28 2001-01-31 Adder Tech Ltd Universal Serial Bus Switching Device
FR2813740A1 (en) * 2000-09-05 2002-03-08 Thomson Multimedia Sa APPARATUS FOR RECEIVING AUDIOVISUAL BROADCASTS
WO2002077835A1 (en) * 2001-03-27 2002-10-03 Renesas Technology Corp. Communication control semiconductor device and interface system
JP2002543522A (en) * 1999-04-29 2002-12-17 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communication bus system and device used in communication bus system
US6516205B1 (en) 1999-04-28 2003-02-04 Nec Corporation Portable terminal with bus manager switching function
JP2003099330A (en) * 2001-09-25 2003-04-04 Olympus Optical Co Ltd Information device system
KR100405023B1 (en) * 2000-12-05 2003-11-07 옵티시스 주식회사 Optical communication interface module for universal serial bus
WO2004061636A1 (en) * 2002-12-27 2004-07-22 Fujitsu Limited Usb device and method for controlling usb device
US6769035B1 (en) * 2000-04-07 2004-07-27 Infineon Technologies North America Corp. Same single board computer system operable as a system master and a bus target
US6907492B2 (en) 2001-07-27 2005-06-14 Oki Electric Industry Co., Ltd. Interface circuit which meets universal serial bus standard and performs host and device functions
US7028109B2 (en) 2002-04-19 2006-04-11 Seiko Epson Corporation Data transfer control device including buffer controller with plurality of pipe regions allocated to plurality of endpoints
JP2006235993A (en) * 2005-02-24 2006-09-07 Sharp Corp Electric device system, electric device, and method for controlling connection
JP2007242027A (en) * 2005-11-25 2007-09-20 Seiko Epson Corp Integrated circuit device and electronic device
US7359996B2 (en) 2002-04-19 2008-04-15 Seiko Epson Corporation Data transfer control device, electronic equipment, and data transfer control method
US7428600B2 (en) 2002-04-26 2008-09-23 Seiko Epson Corporation Data transfer control device, electronic equipment, and data transfer control method
US7469304B2 (en) 2002-04-19 2008-12-23 Seiko Epson Corporation Data transfer control device, electronic equipment, and method for a data transfer through a bus, the data transfer control device including a register and a packet buffer that are commonly used during a host operation and a peripheral operation
JP2009048660A (en) * 2004-05-10 2009-03-05 Sony Computer Entertainment Inc Portable terminal and usb device
JP2011191932A (en) * 2010-03-12 2011-09-29 Nec Access Technica Ltd Usb device connection system, usb hub controller, power saving method thereof and program

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2347245A (en) * 1998-12-10 2000-08-30 Network Technologies Inc Switch for connecting a peripheral device to a USB device
GB2347245B (en) * 1998-12-10 2003-04-30 Network Technologies Inc Usb selector switch
US6516205B1 (en) 1999-04-28 2003-02-04 Nec Corporation Portable terminal with bus manager switching function
GB2352540A (en) * 1999-04-28 2001-01-31 Adder Tech Ltd Universal Serial Bus Switching Device
GB2352540B (en) * 1999-04-28 2003-12-17 Adder Tech Ltd USB switching device & system
JP2002543522A (en) * 1999-04-29 2002-12-17 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Communication bus system and device used in communication bus system
US6769035B1 (en) * 2000-04-07 2004-07-27 Infineon Technologies North America Corp. Same single board computer system operable as a system master and a bus target
EP1187487A1 (en) * 2000-09-05 2002-03-13 Thomson Licensing S.A. Apparatus for receiving audio-visual programmes
FR2813740A1 (en) * 2000-09-05 2002-03-08 Thomson Multimedia Sa APPARATUS FOR RECEIVING AUDIOVISUAL BROADCASTS
KR100405023B1 (en) * 2000-12-05 2003-11-07 옵티시스 주식회사 Optical communication interface module for universal serial bus
WO2002077835A1 (en) * 2001-03-27 2002-10-03 Renesas Technology Corp. Communication control semiconductor device and interface system
US6907492B2 (en) 2001-07-27 2005-06-14 Oki Electric Industry Co., Ltd. Interface circuit which meets universal serial bus standard and performs host and device functions
JP2003099330A (en) * 2001-09-25 2003-04-04 Olympus Optical Co Ltd Information device system
JP4576079B2 (en) * 2001-09-25 2010-11-04 オリンパス株式会社 Information equipment system
US7028109B2 (en) 2002-04-19 2006-04-11 Seiko Epson Corporation Data transfer control device including buffer controller with plurality of pipe regions allocated to plurality of endpoints
US7469304B2 (en) 2002-04-19 2008-12-23 Seiko Epson Corporation Data transfer control device, electronic equipment, and method for a data transfer through a bus, the data transfer control device including a register and a packet buffer that are commonly used during a host operation and a peripheral operation
US7359996B2 (en) 2002-04-19 2008-04-15 Seiko Epson Corporation Data transfer control device, electronic equipment, and data transfer control method
US7428600B2 (en) 2002-04-26 2008-09-23 Seiko Epson Corporation Data transfer control device, electronic equipment, and data transfer control method
WO2004061636A1 (en) * 2002-12-27 2004-07-22 Fujitsu Limited Usb device and method for controlling usb device
US8069287B2 (en) 2002-12-27 2011-11-29 Fujitsu Semiconductor Limited Universal serial bus device and method for controlling universal serial bus device
JP2009048660A (en) * 2004-05-10 2009-03-05 Sony Computer Entertainment Inc Portable terminal and usb device
US8250274B2 (en) 2004-05-10 2012-08-21 Sony Computer Enterainment Inc. Portable terminal and USB device
JP2006235993A (en) * 2005-02-24 2006-09-07 Sharp Corp Electric device system, electric device, and method for controlling connection
JP2007242027A (en) * 2005-11-25 2007-09-20 Seiko Epson Corp Integrated circuit device and electronic device
JP2011191932A (en) * 2010-03-12 2011-09-29 Nec Access Technica Ltd Usb device connection system, usb hub controller, power saving method thereof and program

Similar Documents

Publication Publication Date Title
JPH10301898A (en) Electronic equipment and interface circuit
JP3610424B2 (en) Electronic equipment and interface circuit
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
EP1384154B1 (en) Communication interface for an electronic device
US6363085B1 (en) Universal serial bus repeater
US6308239B1 (en) Interface switching apparatus and switching control method
US6279060B1 (en) Universal serial bus peripheral bridge simulates a device disconnect condition to a host when the device is in a not-ready condition to avoid wasting bus resources
WO2002077835A1 (en) Communication control semiconductor device and interface system
US20060106962A1 (en) USB On-The-Go implementation
EP1248203B1 (en) Universal serial bus circuit to detect connection status
CN107391419B (en) Support general sequence busbar concentrator of many host computers and automobile-used host computer
TW514789B (en) Method and apparatus for detecting the type of interface to which a peripheral device is connected
TW200415828A (en) Interface integrated circuit device for a USB connection
JP4937900B2 (en) Automatic configuration of the communication port as a transmitter or receiver depending on the detected transmission direction of the connected device
US7073008B2 (en) Method of function activation on a bridge system
JP4444101B2 (en) Bus system, station for use in the bus system, and bus interface
US20050091437A1 (en) Multi-function universal serial bus wireless bridge
US6886052B2 (en) Apparatus and method for automatically identifying between USB and PS/2 interface
JP7259371B2 (en) circuit devices and electronics
CN212208279U (en) USB interface switching device and terminal equipment
KR20220158517A (en) PCIe DEVICE AND COMPUTING SYSTEM INCLUDING THEREOF
US5274766A (en) Universal keyboard and keyboard/spatial input device controller
JPH11288338A (en) Usb controller and device loading the same
KR20010019356A (en) Apparatus and method processing malfunction by electro static discharge in universal serial bus device
JPH07160379A (en) Signal processor

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20040406

A61 First payment of annual fees (during grant procedure)

Effective date: 20040427

Free format text: JAPANESE INTERMEDIATE CODE: A61

R150 Certificate of patent (=grant) or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20100514

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20100514

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (prs date is renewal date of database)

Year of fee payment: 6

Free format text: PAYMENT UNTIL: 20100514

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130514

Year of fee payment: 9

FPAY Renewal fee payment (prs date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160514

Year of fee payment: 12