JP2001307025A - I/o device and electronic equipment - Google Patents

I/o device and electronic equipment

Info

Publication number
JP2001307025A
JP2001307025A JP2000121331A JP2000121331A JP2001307025A JP 2001307025 A JP2001307025 A JP 2001307025A JP 2000121331 A JP2000121331 A JP 2000121331A JP 2000121331 A JP2000121331 A JP 2000121331A JP 2001307025 A JP2001307025 A JP 2001307025A
Authority
JP
Japan
Prior art keywords
data line
usb
card
state
memory
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.)
Granted
Application number
JP2000121331A
Other languages
Japanese (ja)
Other versions
JP3795725B2 (en
Inventor
Takeshi Takamiya
健 高宮
Teruhisa Fujimoto
曜久 藤本
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2000121331A priority Critical patent/JP3795725B2/en
Publication of JP2001307025A publication Critical patent/JP2001307025A/en
Application granted granted Critical
Publication of JP3795725B2 publication Critical patent/JP3795725B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To enhance functional extendibility of electronic equipment by making a memory card slot possible to be shared by a memory card and a USB device card. SOLUTION: Not only an SD memory card 21 but an SD USB card 22 as an I/O card in the same shape as the SD memory card 21 can be inserted into an SD slot 13 as a memory card insertion slot. A pull-down register for detecting device is provided on the side of the SD USB card 22. Thus, data lines D1, D2 are used as a pair of differential signals (D+, D-) in USB specification without influencing the data lines D1, D2 themselves, detection of the SD USB card 22 and USB data transfer by a USB host controller (USB HC) 122 can be performed. Consequently, the same slot can be shared between the SD memory card 21 and the SD USB card 22.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はI/O装置および電
子機器に関し、特にホスト装置に着脱自在に装着可能な
I/O装置および同I/O装置のホスト装置として動作
する電子機器に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an I / O device and an electronic device, and more particularly to an I / O device detachably mountable on a host device and an electronic device operating as a host device of the I / O device.

【0002】[0002]

【従来の技術】近年、パーソナルコンピュータ、PD
A、カメラ、携帯電話等の携帯可能な小型電子機器にお
いては、メモリカードが装着可能に構成されている。メ
モリカードとしては、PCカードや、それよりもさらに
小型のカードメディアが利用され始めている。代表的な
小型カードメディアとしては、SD(Secure Digital)
メモリカードが知られている。
2. Description of the Related Art In recent years, personal computers, PDs
A, a small portable electronic device such as a camera or a mobile phone is configured such that a memory card can be inserted. As a memory card, a PC card and a smaller card medium have been used. A typical small card media is SD (Secure Digital)
Memory cards are known.

【0003】このSDメモリカードは、信号ピン数が9
ピンであり、そのうちの4ピンをデータ線として用いて
いる。つまりSDメモリカードでは、4ビットデータ転
送を実現することで、それ以前の1ビットデータ転送を
行う小型メモリカードに比べてデータ転送能力の向上を
図っている。
This SD memory card has nine signal pins.
And four of them are used as data lines. That is, in the SD memory card, by realizing 4-bit data transfer, the data transfer capability is improved as compared with a small memory card which performs 1-bit data transfer before that.

【0004】ところで、最近では、このような小型カー
ドメディアにおいても、例えばモデムカード、ネットワ
ークカードなどのI/O装置としての機能が要求され始
めている。例えばSDメモリカードと同一形状のI/O
カードを実現することにより、コネクタの実装が困難な
小型電子機器においても容易にその機能拡張を図ること
が可能となる。
[0004] Recently, even in such a small card medium, a function as an I / O device such as a modem card and a network card has begun to be required. For example, I / O with the same shape as SD memory card
By realizing the card, it is possible to easily expand the function of a small electronic device in which it is difficult to mount the connector.

【0005】[0005]

【発明が解決しようとする課題】同一のカードスロット
にメモリカードとI/Oカードとを装着できるようにす
るためには、メモリカードとI/Oカードとの間でデー
タラインなどの信号線を共用できるようにすることが必
要となる。しかし、この場合、I/Oカードの種類によ
っては、データラインに接続することが必要な負荷抵抗
の仕様の違いなどにより様々な問題が生じる。
In order to be able to mount a memory card and an I / O card in the same card slot, a signal line such as a data line is provided between the memory card and the I / O card. It needs to be able to be shared. However, in this case, depending on the type of the I / O card, various problems occur due to a difference in specifications of a load resistor required to be connected to the data line.

【0006】たとえば、I/OカードをUSBデバイス
として実現する場合には、データラインに接続すること
が必要なUSBデバイス検出用のプルダウン抵抗の影響
により、メモリカードとの間の正常なデータ転送ができ
なくなるという問題が生じる。すなわち、USB仕様に
おいては、一対の差動信号線(D,D)がデータラ
インとして使用され、そのデータラインによってデータ
転送が行われるが、ホストコントローラ側においてはデ
バイス検出用のプルダウン抵抗をそのデータラインに接
続することが必要となる。USBデバイスには高速動作
可能なフルスピードデバイスと低速動作可能なロウスピ
ードデバイスとがあり、フルスピードデバイス内ではD
信号線をプルアップすることが必要とされ、またロウ
スピードデバイス内ではD信号線をプルアップするこ
とが必要とされている。これにより、ホストコントロー
ラは、(D,D)=(H,L)への変化によってフ
ルスピードデバイスの接続を検出できるとともに、(D
,D)=(H,L)への変化によってロウスピード
デバイスの接続を検出することができる。
For example, when an I / O card is implemented as a USB device, normal data transfer to and from a memory card is affected by the influence of a USB device detection pull-down resistor that needs to be connected to a data line. There is a problem that it becomes impossible. That is, in USB specification, a pair of differential signal lines (D +, D -) is used as a data line, but its the data line data transfer is performed, the pull-down resistor for the device detected in the host controller side It is necessary to connect to that data line. USB devices include a full-speed device that can operate at high speed and a low-speed device that can operate at low speed.
It is necessary to pull up the + signal line, and in the low speed device, it is necessary to pull up the D - signal line. Thus, the host controller, (D +, D -) is possible detect the connection of a full-speed device by a change to = (H, L), ( D
+ , D ) = (H, L), it is possible to detect the connection of the low-speed device.

【0007】ホストコントローラ側に設けることが必要
なデバイス検出用のプルダウン抵抗の値は15Kオーム
と比較的大きいため、メモリカードとの間のデータ転送
を行う場合にはそのプルダウン抵抗の影響は無視するこ
とはできなくなる。このため、USBデバイスとメモリ
カードとの間でデータラインを共用することは困難であ
った。
Since the value of the pull-down resistor for device detection which needs to be provided on the host controller side is relatively large at 15 K ohms, the effect of the pull-down resistor is ignored when performing data transfer with the memory card. You can't do it. For this reason, it was difficult to share a data line between the USB device and the memory card.

【0008】また、一般に、メモリカードのインターフ
ェース部においては、メモリカードの取り外し時にデー
タラインが不定状態となることによる不具合を防止する
ために、プルアップ抵抗やプルダウン抵抗などをデータ
ラインに接続しておくという構成が用いられる場合があ
る。この場合、USBデバイスとの間のデータ転送時に
おいては、差動信号線(D,D)の電位をデータ転
送に必要な正常な値に維持できなくなったり、あるいは
USBデバイスのデバイス検出を正常に行えなくなると
いう問題も生じる。
In general, a pull-up resistor, a pull-down resistor, and the like are connected to the data line in the interface section of the memory card in order to prevent a problem caused by the data line being in an indeterminate state when the memory card is removed. Configuration may be used. In this case, at the time of data transfer between the USB device, the differential signal lines (D +, D -) or not be maintained to normal values required the potential of the data transfer, or the device detection of the USB device There is also a problem that normal operation cannot be performed.

【0009】本発明は上述の事情に鑑みてなされたもの
であり、メモリカードや他のI/Oカード等のような異
種類のデバイス間でデータラインを共用することが可能
なI/O装置および電子機器を提供することを目的とす
る。
The present invention has been made in view of the above circumstances, and is an I / O device capable of sharing a data line between different types of devices such as a memory card and another I / O card. And electronic equipment.

【0010】[0010]

【課題を解決するための手段】上述の課題を解決するた
め、本発明は、ホスト装置に取り外し自在に装着可能に
構成され、前記ホスト装置との間でデータラインを介し
てデータ転送を行うI/O装置であって、前記データラ
インの論理レベルの変化によって前記データラインに接
続されたデバイスを前記ホスト装置が検出できるように
前記データラインに接続することが必要とされるデバイ
ス検出用のプルダウン抵抗を、前記I/O装置内のデー
タラインに接続したことを特徴とする。
SUMMARY OF THE INVENTION In order to solve the above-mentioned problems, the present invention is configured to be detachably mountable to a host device, and to perform data transfer with the host device via a data line. I / O device, a pull-down for device detection required to be connected to the data line so that the host device can detect a device connected to the data line according to a change in the logic level of the data line A resistor is connected to a data line in the I / O device.

【0011】このI/O装置においては、従来ではホス
ト側に設けることが必要とされたデバイス検出用のプル
ダウン抵抗を内蔵しているので、ホスト側にはデバイス
検出用のプルダウン抵抗を設けずとも、データラインに
接続されるデバイスの検出や、デバイスとの間のデータ
転送を正常に行うことができる。よって、I/O装置が
接続されていない場合には、プルダウン抵抗によるデー
タラインへの影響をなくすことができるので、データラ
インをメモリカードや他のI/Oカードなどとのデータ
転送に共用することが可能となる。
This I / O device has a built-in pull-down resistor for device detection, which has conventionally been required to be provided on the host side, so that it is not necessary to provide a pull-down resistor for device detection on the host side. In addition, detection of a device connected to the data line and data transfer with the device can be performed normally. Therefore, when the I / O device is not connected, the influence of the pull-down resistor on the data line can be eliminated, and the data line is shared for data transfer with a memory card or another I / O card. It becomes possible.

【0012】前記I/O装置としては、前記ホスト装置
の周辺機器として機能する機能モジュールを内蔵してな
るものや、前記ホスト装置の周辺機器として機能する外
部機能モジュールを前記ホスト装置に接続するためのア
ダプタ装置として機能するものなどを利用することがで
きる。
The I / O device includes a built-in function module functioning as a peripheral device of the host device or an external function module functioning as a peripheral device of the host device connected to the host device. The one that functions as an adapter device of the above can be used.

【0013】また、前記I/O装置は、例えばI/Oカ
ードなどのように、ホスト装置に設けられた装着スロッ
トに直接装着して使用されるものとして実現することが
好ましい。これにより、ホスト装置とI/O装置と間の
伝送遅延等を極力排除することが可能となるので、I/
O装置内にプルダウン抵抗を設けた場合でも、そのプル
ダウン抵抗はホスト装置側に存在する場合と全く透過に
機能することになる。
It is preferable that the I / O device is implemented by being directly mounted in a mounting slot provided in a host device, such as an I / O card. This makes it possible to eliminate transmission delays and the like between the host device and the I / O device as much as possible.
Even when a pull-down resistor is provided in the O device, the pull-down resistor functions completely transparently as compared to the case where the pull-down resistor exists in the host device.

【0014】また、前記I/O装置には、前記I/O装
置の属性情報を記憶させておき、前記メモリ装置との間
のコマンド/ステータス転送のために前記データライン
とは別に前記装着スロット内に定義された所定の信号線
を介して前記ホスト装置から所定のコマンドを受けた場
合、前記属性情報を前記所定の信号線を介して前記ホス
ト装置に転送するように構成することが好ましい。この
ようにメモリ装置と同様の手順で、データライン以外の
他の信号線を介してI/O装置からも属性情報を読み出
せるように構成することにより、前記データラインにそ
の不定状態を防止するための抵抗が接続されている場合
でも、装着されたデバイスがI/O装置であるかメモリ
装置であるかを精度良く検出することが可能となる。
In the I / O device, attribute information of the I / O device is stored, and the mounting slot is provided separately from the data line for command / status transfer with the memory device. Preferably, when a predetermined command is received from the host device via a predetermined signal line defined therein, the attribute information is transferred to the host device via the predetermined signal line. As described above, the attribute information can be read from the I / O device via a signal line other than the data line in the same procedure as that of the memory device, thereby preventing the data line from being in an undefined state. It is possible to accurately detect whether the attached device is an I / O device or a memory device, even if a resistor for connection is connected.

【0015】また、前記データラインが不定状態となる
のを防止するための抵抗としては、データラインを所定
の固定電位にプルアップまたはプルダウンするためのオ
ン状態と前記データラインから分離されるオフ状態との
切り換えが可能なアクティブ抵抗を用い、属性情報の読
み出しによって前記装着スロットに装着されたデバイス
が前記I/O装置であることが検出された場合には、前
記アクティブ抵抗をオン状態からオフ状態に切り換える
ことが好ましい。これにより、I/O装置との間のデー
タ転送に影響を及ぼすことなく、データラインが不定状
態になるのを防止することが可能となる。
The resistance for preventing the data line from being in an indefinite state includes an on state for pulling up or pulling down the data line to a predetermined fixed potential and an off state for separating the data line from the data line. If the device mounted in the mounting slot is detected as the I / O device by reading the attribute information using an active resistor that can be switched between the active resistance and the active resistance, the active resistance is changed from the on state to the off state. It is preferable to switch to. As a result, it is possible to prevent the data line from being in an undefined state without affecting data transfer with the I / O device.

【0016】また、本発明は、メモリ装置とI/O装置
を交換可能に装着可能な装着スロットを有する電子機器
であって、前記装着スロットに装着されたメモリ装置を
制御するためのメモリ制御手段と、前記メモリ装置およ
びI/O装置間で共用される所定のデータラインが不定
状態となるのを防止するために前記データラインに接続
され、前記データラインを所定の固定電位にプルアップ
またはプルダウンするためのオン状態と前記データライ
ンから分離されるオフ状態との切り換えが可能なアクテ
ィブ抵抗と、前記装着スロットに装着されたI/O装置
との間のデータ転送を前記データラインを介して行うI
/O制御手段であって、前記データラインの論理レベル
の変化に応じて前記装着スロットに装着されたI/O装
置の種別を判定するI/O制御手段とを具備し、前記デ
ータラインにデバイスが接続された場合に前記データラ
インの論理レベルが変化するように前記電子機器側のデ
ータラインに接続することが必要なデバイス検出用のプ
ルダウン抵抗は、前記I/O装置内のデータラインに接
続されており、且つ前記装着スロットに装着されたデバ
イスが前記I/O装置であることが検出された場合に
は、前記アクティブ抵抗をオン状態からオフ状態に切り
換えるように構成されていることを特徴とする。
According to another aspect of the present invention, there is provided an electronic apparatus having a mounting slot in which a memory device and an I / O device can be interchangeably mounted, and a memory control means for controlling the memory device mounted in the mounting slot. And a predetermined data line shared between the memory device and the I / O device is connected to the data line to prevent the data line from being in an indefinite state, and the data line is pulled up or down to a predetermined fixed potential. And an active resistor that can be switched between an on state and an off state that is separated from the data line, and performs data transfer between the I / O device mounted in the mounting slot via the data line. I
I / O control means for determining a type of an I / O device mounted in the mounting slot in accordance with a change in a logical level of the data line. A pull-down resistor for device detection, which needs to be connected to the data line on the electronic device side so that the logic level of the data line changes when is connected, is connected to the data line in the I / O device. And when the device mounted in the mounting slot is detected as the I / O device, the active resistance is switched from an on state to an off state. And

【0017】この電子機器の構成により、メモリ装置と
I/O装置を同一の装着スロットに装着して効率よく使
用することが可能となる。
According to the configuration of the electronic device, the memory device and the I / O device can be mounted in the same mounting slot and used efficiently.

【0018】また、特に、前記メモリ装置およびI/O
装置間で共用される前記データラインに、前記メモリ制
御手段および前記I/O制御手段の一方を接続する接続
切り換え手段と、前記メモリ装置を制御するための第1
モードと前記I/O装置を制御するための第2モードと
を有し、前記第1モードと第2モードを切り換え可能な
動作モード切換手段をさらに具備し、前記動作モード切
換手段には、初期化時に前記第1モードに設定する手段
と、前記第1モードにおいて前記装着スロットにデバイ
スが装着された場合、前記装着スロットに装着されたデ
バイスから属性情報をリードすることにより前記装着ス
ロットに装着されたデバイスが前記I/O装置であるか
どうかを検出する手段と、前記装着スロットに装着され
たデバイスが前記I/O装置であることが検出された場
合、前記アクティブ抵抗をオン状態からオフ状態に切り
換えるとともに、前記接続切り換え手段による接続切り
換えによって前記I/O制御手段を前記データラインに
接続する手段とを設けることにより、アクティブ抵抗が
オン状態となる第1モードをデフォルトして使用できる
ようになり、データラインが不定状態になることを確実
に防止することができる。
Further, in particular, the memory device and the I / O
Connection switching means for connecting one of the memory control means and the I / O control means to the data line shared between the devices; and a first switching device for controlling the memory device.
A mode and a second mode for controlling the I / O device, further comprising an operation mode switching means capable of switching between the first mode and the second mode, wherein the operation mode switching means has an initial mode. Means for setting the first mode at the time of conversion, and when a device is mounted in the mounting slot in the first mode, the device is mounted in the mounting slot by reading attribute information from the device mounted in the mounting slot. Means for detecting whether or not the device is the I / O device, and, when it is detected that the device mounted in the mounting slot is the I / O device, the active resistance is changed from an on state to an off state. And a means for connecting the I / O control means to the data line by connection switching by the connection switching means. By kicking it, becomes the first mode the active resistor is turned on to be used by default, the data line can be prevented reliably be unknown state.

【0019】[0019]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態を説明する。図1には、本発明の一実施形態に係
るI/O装置とそれを装着して使用可能な電子機器との
関係が示されている。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 shows a relationship between an I / O device according to an embodiment of the present invention and an electronic device that can be used by mounting the I / O device.

【0020】本電子機器は例えばパーソナルコンピュー
タ、PDA、カメラ、携帯電話等の携帯型機器であり、
SDメモリカード21を着脱自在に装着するためのメモ
リカード装着スロットであるSDスロット13を有して
いる。このSDスロット13には、SDメモリカード2
1のみならず、それと同一形状のI/OカードであるS
D USBカード22を装着することができる。SD
USBカード22はUSBインターフェースを有するI
/Oカードであり、例えばUSBモデムカード、USB
ネットワークカード、USB HUBカードなどの各種
USBデバイスとして実現することができる。本電子機
器はこれらSDメモリカード21およびSD USBカ
ード22のホスト装置11として機能する。
The electronic device is a portable device such as a personal computer, a PDA, a camera, and a mobile phone.
It has an SD slot 13 which is a memory card mounting slot for detachably mounting the SD memory card 21. This SD slot 13 has an SD memory card 2
S, which is an I / O card of the same shape as that of S
D USB card 22 can be attached. SD
The USB card 22 has an I-port having a USB interface.
/ O card, for example, USB modem card, USB
It can be realized as various USB devices such as a network card and a USB HUB card. This electronic device functions as the host device 11 for the SD memory card 21 and the SD USB card 22.

【0021】前述したようにSDメモリカードは信号ピ
ン数が9ピンであるので、SDスロット13にはそれら
9ピンの信号ピンを有するコネクタが設けられている。
SDメモリカード21およびSD USBカード22も
それぞれ9ピンの信号ピンを有するコネクタを有してい
る。
As described above, since the SD memory card has nine signal pins, the SD slot 13 is provided with a connector having these nine signal pins.
Each of the SD memory card 21 and the SD USB card 22 has a connector having 9 signal pins.

【0022】ホスト装置11には、各種データ処理に必
要な機能に加え、SDメモリカード21およびSD U
SBカード22を制御するためのハードウェアおよびソ
フトウェアが実装されている。ホストコントローラLS
I(HC LSI)12はSDメモリカード21および
SD USBカード22を制御するためのハードウェア
を制御するためのハードウェアであり、SDメモリカー
ド21を制御するためのSDホストコントローラ(SD
HC)121と、SD USBカード22を制御する
ためのUSBホストコントローラ(USB HC)12
2を内蔵している。
The host device 11 has, in addition to functions necessary for various data processing, an SD memory card 21 and an SD U
Hardware and software for controlling the SB card 22 are mounted. Host controller LS
The I (HC LSI) 12 is hardware for controlling hardware for controlling the SD memory card 21 and the SD USB card 22, and an SD host controller (SD) for controlling the SD memory card 21.
HC) 121 and a USB host controller (USB HC) 12 for controlling the SD USB card 22
2 built-in.

【0023】SDホストコントローラ(SD HC)1
21からSDスロット13に導出される9本の信号線の
内、4本はデータライン(D0,D1,D2,D3)と
して用いられる。すなわち、SDホストコントローラ
(SD HC)121は、4ビットデータ単位でSDメ
モリカード21との間のデータ転送を実行する。
SD Host Controller (SD HC) 1
Four of the nine signal lines derived from 21 to the SD slot 13 are used as data lines (D0, D1, D2, D3). That is, the SD host controller (SD HC) 121 executes data transfer with the SD memory card 21 in 4-bit data units.

【0024】USBホストコントローラ(USB H
C)122は一対の差動信号線(D,D)を用いて
SD USBカード22との間のシリアルデータ転送を
行う。データラインD2はD信号線とワイヤードOR
接続されており、データラインD2がD信号線として
用いられる。同様に、データラインD1とD信号線も
ワイヤードOR接続されており、データラインD1がD
信号線として用いられる。
A USB host controller (USB H
C) 122 is a pair of differential signal lines (D +, D - performs serial data transfer between the SD USB card 22 using). Data line D2 is wired OR with D + signal line
And the data line D2 is used as a D + signal line. Similarly, the data line D1 and the D + signal line are also wired-OR connected, and the data line D1 is connected to the D +
- used as a signal line.

【0025】すなわち、4本のデータライン(D0,D
1,D2,D3)の内、D1,D2については、SDメ
モリカード21との間のデータ転送と、SD USBカ
ード22との間のデータ転送に共用されることになる。
また、9本の信号線の内、コマンド信号(CMD)線と
クロック信号(CLK)線は、SDメモリカード21お
よびSD USBカード22の双方からの属性情報の読
み出しに共用される。つまり、SDメモリカード21お
よびSD USBカード22はそれぞれそのカードの種
類や仕様等に関する属性情報を記憶しており、ホストコ
ントローラLSI(HC LSI)12からの所定のコ
マンドにより、SDメモリカード21およびSD US
Bカード22から属性情報を読み出すことができる。
That is, four data lines (D0, D
1, D2 and D3), D1 and D2 are shared for data transfer with the SD memory card 21 and data transfer with the SD USB card 22.
Of the nine signal lines, the command signal (CMD) line and the clock signal (CLK) line are shared for reading attribute information from both the SD memory card 21 and the SD USB card 22. That is, each of the SD memory card 21 and the SD USB card 22 stores attribute information on the type and specification of the card, and the SD memory card 21 and the SD USB card 22 are operated by a predetermined command from the host controller LSI (HC LSI) 12. US
The attribute information can be read from the B card 22.

【0026】差動信号線(D,D)はシリアルデー
タ転送のみならず、前述したようにその論理レベルの変
化によってUSBデバイスの検出にも利用される。この
ため、通常は、D,D線はそれぞれホスト装置内で
プルダウン抵抗を介して接地されるが、本実施形態にお
いてはこのようなデバイス検出用のプルダウン抵抗はS
D USBカード22に内蔵されている。よって、ホス
ト装置11側にはデバイス検出用のプルダウン抵抗は設
けられていない。デバイス検出用のプルダウン抵抗を内
蔵したSD USBカード22の構成については、図3
で詳述する。
The differential signal lines (D +, D -) is not only a serial data transfer, is also used for the detection of a USB device by the change of the logic level, as described above. For this reason, the D + and D lines are normally grounded via a pull-down resistor in the host device, but in the present embodiment, such a pull-down resistor for device detection is S.
D USB card 22 is built in. Therefore, no pull-down resistor for device detection is provided on the host device 11 side. For the configuration of the SD USB card 22 with a built-in pull-down resistor for device detection, see FIG.
Will be described in detail.

【0027】次に、図2を参照して、SDメモリカード
使用時のピン割り当てと、SD USBカード使用時の
ピン割り当てについて説明する。
Next, the pin assignment when using the SD memory card and the pin assignment when using the SD USB card will be described with reference to FIG.

【0028】ホストコントローラLSI(HC LS
I)12は、SDメモリモード(SDmemory m
ode)とUSBモード(SD I/O USB−HC
mode)との2つの動作モードを有している。SD
メモリモード(SD memory mode)はSD
メモリカード21を制御するためのモードであり、デフ
ォルトのモードとして使用される。一方、USBモード
(SD I/O USB−HC mode)は、SD
USBカード22を制御するための動作モードである。
The host controller LSI (HC LS
I) 12 is an SD memory mode (SD memory m).
mode) and USB mode (SD I / O USB-HC)
mode). SD
Memory mode (SD memory mode) is SD
This is a mode for controlling the memory card 21 and is used as a default mode. On the other hand, the USB mode (SD I / O USB-HC mode)
This is an operation mode for controlling the USB card 22.

【0029】(1)SDメモリモード(SD memo
ry mode)のピンアサイン SDメモリモードにおいては、信号ピン[1]にはカー
ド検出信号(CD)およびデータラインD3(DATA
3)が割り当てられる。カード検出信号(CD)はカー
ドの装着をホストコントローラLSI(HC LSI)
12に通知するための信号であり、SDメモリカード2
1の装着時にはカード検出信号(CD)がSDメモリカ
ード21内のプルダウン抵抗によってLレベルに変化す
る。信号ピン[2]にはコマンド/ステータスの転送に
用いられるコマンド信号(CMD)線が割り当てられ
る。信号ピン[3]および信号ピン[4]には接地電源
(Vss1)および正電源(Vdd)が割り当てられ
る。また、信号ピン[5]には、コマンド/ステータス
転送等のための同期用のクロック信号(CLK)線が割
り当てられ、信号ピン[6]には接地電源(Vss2)
が割り当てられる。また、信号ピン[7]〜[9]に
は、それぞれデータラインD0〜2(DATA0,DA
TA1,DATA2)が割り当てられる。
(1) SD memory mode (SD memory mode)
In the SD memory mode, the signal pin [1] has a card detection signal (CD) and a data line D3 (DATA).
3) is assigned. The card detection signal (CD) indicates that the card has been loaded by the host controller LSI (HC LSI).
12 is a signal for notifying the SD memory card 2
When 1 is inserted, the card detection signal (CD) changes to L level due to the pull-down resistor in the SD memory card 21. A command signal (CMD) line used for command / status transfer is assigned to the signal pin [2]. A ground power supply (Vss1) and a positive power supply (Vdd) are assigned to the signal pin [3] and the signal pin [4]. A clock signal (CLK) line for synchronization for command / status transfer or the like is assigned to the signal pin [5], and a ground power supply (Vss2) is assigned to the signal pin [6].
Is assigned. Also, the data lines D0 to D2 (DATA0 and DA0) are respectively applied to the signal pins [7] to [9].
TA1, DATA2).

【0030】(2)USBモード(SD I/O US
B−HC mode)のピンアサイン USBモードにおいては、信号ピン[1]にはカード検
出信号(CD)が割り当てられ、信号ピン[2]にはコ
マンド信号(CMD)線が割り当てられる。信号ピン
[3]には接地電源(GND)が割り当てられる。信号
ピン[4]は予約ピンであり、使用されていない。ま
た、信号ピン[5]にはクロック信号(CLK)線が割
り当てられ、信号ピン[6]には接地電源(GND)が
割り当てられる。また、信号ピン[7]は予約であり、
信号ピン[8]および[9]には、それぞれD信号
線、D信号線が割り当てられている。
(2) USB mode (SD I / O US
Pin Assignment of B-HC Mode) In the USB mode, a card detection signal (CD) is assigned to the signal pin [1], and a command signal (CMD) line is assigned to the signal pin [2]. A ground power supply (GND) is assigned to the signal pin [3]. The signal pin [4] is a reserved pin and is not used. Further, a clock signal (CLK) line is assigned to the signal pin [5], and a ground power supply (GND) is assigned to the signal pin [6]. Also, signal pin [7] is reserved,
The signal pin [8] and [9], respectively D - signal line, D + signal line is allocated.

【0031】次に、図3を参照して、デバイス検出用の
プルダウン抵抗を内蔵したSD USBカード22の構
成について説明する。図3(A)は、SD USBカー
ド22をI/Oアダプタ装置として構成した場合の例で
ある。すなわち、SD USBカード22は、ホスト装
置11の周辺機器として機能する外部機能モジュールで
あるUSB Device Function部23を
ホスト装置11に接続するためのアダプタ装置として機
能する。
Next, the configuration of the SD USB card 22 having a built-in pull-down resistor for device detection will be described with reference to FIG. FIG. 3A shows an example in which the SD USB card 22 is configured as an I / O adapter device. That is, the SD USB card 22 functions as an adapter device for connecting the USB Device Function unit 23, which is an external function module functioning as a peripheral device of the host device 11, to the host device 11.

【0032】このSD USBカード22にはUSB
Device Function部23と接続するため
の接続インターフェースが設けられており、その接続イ
ンターフェースに接続された所定のケーブルを介してU
SB Device Function部23に接続さ
れる。I/OアダプタであるSD USBカード22に
は、図示のように、15Kオームのプルダウン抵抗22
1,222(USB仕様7.3.2のRpd)が内蔵さ
れている。プルダウン抵抗221はD線とGND線と
の間に接続され、またプルダウン抵抗222はD線と
GND線との間に接続されている。
The SD USB card 22 has a USB
A connection interface for connecting to the device function unit 23 is provided, and U is connected via a predetermined cable connected to the connection interface.
It is connected to the SB Device Function unit 23. As shown, a 15K ohm pull-down resistor 22 is attached to the SD USB card 22, which is an I / O adapter.
1,222 (USB specification 7.3.2 Rpd). Pull-down resistor 221 is connected between the D + line and the GND line, and the pull-down resistor 222 D - is connected between the lines and GND lines.

【0033】SD USBカード22はSDスロット1
3のコネクタに直結されるので、ホスト装置11とSD
USBカード22間の伝送遅延等は無視することがで
きる。よって、SD USBカード22にプルダウン抵
抗を設けた場合でも、そのプルダウン抵抗はホスト装置
11側に存在する場合と全く透過に機能することにな
る。
The SD USB card 22 is in the SD slot 1
3 directly connected to the host device 11 and the SD
The transmission delay between the USB cards 22 and the like can be ignored. Therefore, even when the SD USB card 22 is provided with a pull-down resistor, the pull-down resistor functions completely transparently as compared with the case where the pull-down resistor exists on the host device 11 side.

【0034】USB Device Function
部23には、1,5Kオームのプルアップ抵抗231
(USB仕様7.3.2のRpu)と、Functio
nを実現するゲートアレイ(GA)232が内蔵されて
いる。USB DeviceFunction部23が
ロウスピードデバイスである場合には、プルアップ抵抗
231は図示のようにD線に接続される。
[0034] USB Device Function
Section 23 has a 1.5K ohm pull-up resistor 231
(Rpu of USB specification 7.3.2) and Function
and a gate array (GA) 232 for realizing n. If USB DeviceFunction portion 23 is low-speed devices, the pull-up resistor 231 D as shown - is connected to the line.

【0035】図3(B)は、SD USBカード22自
体にUSB Device Function部23を
内蔵した場合の例である。この場合、前述のプルダウン
抵抗221,222、およびプルアップ抵抗231もS
D USBカード22に内蔵される。
FIG. 3B shows an example in which the USB Device Function unit 23 is built in the SD USB card 22 itself. In this case, the pull-down resistors 221 and 222 and the pull-up resistor 231 are also S
D USB card 22 is built in.

【0036】次に、図4を参照して、ホストコントロー
ラLSI(HC LSI)12に設けられるI/Oバッ
ファの構成について説明する。なお、ここではSDメモ
リカード21とSD USBカード22との間で共用さ
れるデータラインD1,D2に関する構成にのみ着目す
ることにする。
Next, the configuration of an I / O buffer provided in the host controller LSI (HC LSI) 12 will be described with reference to FIG. Here, only the configuration relating to the data lines D1 and D2 shared between the SD memory card 21 and the SD USB card 22 will be focused.

【0037】図4に示されているように、SDホストコ
ントローラ(SD HC)121とSDスロット13と
の間には、データラインD1,D2用の双方向のI/O
バッファ(I/Oセル)300が設けられている。I/
Oセル300は、トライステート出力バッファ301,
302、アクティブプルアップ抵抗303,304、入
力バッファ305,306、およびANDゲート30
7,308から構成されている。
As shown in FIG. 4, a bidirectional I / O for data lines D1 and D2 is provided between the SD host controller (SD HC) 121 and the SD slot 13.
A buffer (I / O cell) 300 is provided. I /
The O cell 300 includes a tri-state output buffer 301,
302, active pull-up resistors 303 and 304, input buffers 305 and 306, and AND gate 30
7,308.

【0038】トライステート出力バッファ301,30
2は、ソフトウェアによって制御可能なイネーブル信号
EN1によって動作状態と動作停止状態(Hi−Z出
力)とに切り換えられる。アクティブプルアップ抵抗3
03,304はデータラインD1,D2がカードの取り
外し時に不定状態となるのを防止するためのものであ
り、通常はデータラインD1,D2を電源電位にプルア
ップするために用いられるが、ソフトウェアの制御によ
りデータラインD1,D2から抵抗および電源を切り離
すことができる。
Tri-state output buffers 301 and 30
2 is switched between an operation state and an operation stop state (Hi-Z output) by an enable signal EN1 which can be controlled by software. Active pull-up resistor 3
Reference numerals 03 and 304 are used to prevent the data lines D1 and D2 from becoming undefined when the card is removed, and are usually used to pull up the data lines D1 and D2 to the power supply potential. By the control, the resistance and the power supply can be disconnected from the data lines D1 and D2.

【0039】すなわち、アクティブプルアップ抵抗30
3,304は例えば図5のように抵抗と転送ゲートトラ
ンジスタとから構成されており、ソフトウェアによって
制御可能なイネーブル信号ENによって、データライン
をプルアップするためのオン状態(転送ゲート=ON)
とデータラインから分離されるオフ状態(転送ゲート=
OFF)とに切り換えられる。
That is, the active pull-up resistor 30
Reference numeral 3 304 includes, for example, a resistor and a transfer gate transistor as shown in FIG. 5, and is turned on (transfer gate = ON) for pulling up a data line by an enable signal EN which can be controlled by software.
And the off state (transfer gate =
OFF).

【0040】ANDゲート307,308は、入力バッ
ファ305,306を介して入力されたデータラインD
1,D2からの信号がSDホストコントローラ(SD
HC)121に伝達されるのを許可または禁止するため
のゲートであり、ソフトウェアによって制御可能なイネ
ーブル信号EN2によって制御される。
The AND gates 307 and 308 are connected to the data lines D input through the input buffers 305 and 306, respectively.
1 and D2 from the SD host controller (SD
HC) is a gate for permitting or prohibiting transmission to the HC 121 and is controlled by an enable signal EN2 that can be controlled by software.

【0041】USBホストコントローラ(USB H
C)122とSDスロット13との間にも、データライ
ンD1,D2用の双方向のI/Oバッファ(I/Oセ
ル)400が設けられている。I/Oセル400は、ト
ライステート出力バッファ401,402、入力バッフ
ァ403,404、およびANDゲート405,406
から構成されている。
The USB host controller (USB H
C) A bidirectional I / O buffer (I / O cell) 400 for the data lines D1 and D2 is also provided between the C slot 122 and the SD slot 13. The I / O cell 400 includes tri-state output buffers 401 and 402, input buffers 403 and 404, and AND gates 405 and 406.
It is composed of

【0042】トライステート出力バッファ401,40
2は、ソフトウェアによって制御可能なイネーブル信号
EN3によって動作状態と動作停止状態(Hi−Z出
力)とに切り換えられる。ANDゲート405,406
は、入力バッファ403,404を介して入力されたデ
ータラインD1,D2からの信号がUSBホストコント
ローラ(USB HC)122に伝達されるのを許可ま
たは禁止するためのゲートであり、ソフトウェアによっ
て制御可能なイネーブル信号EN4によって制御され
る。
Tristate output buffers 401 and 40
2 is switched between an operation state and an operation stop state (Hi-Z output) by an enable signal EN3 which can be controlled by software. AND gate 405, 406
Is a gate for permitting or inhibiting transmission of signals from the data lines D1 and D2 input via the input buffers 403 and 404 to the USB host controller (USB HC) 122, and can be controlled by software. Is controlled by the enable signal EN4.

【0043】I/Oセル300,400を制御するため
の各イネーブル信号の値は、例えばホストコントローラ
LSI(HC LSI)12内に設けられたI/Oレジ
スタに対する設定データによって決定される。つまり、
ソフトウェアによってI/Oレジスタの設定データを書
き換えることにより、データラインD1,D2に接続さ
れるコントローラを、SDホストコントローラ(SD
HC)121とUSBホストコントローラ(USB H
C)122との間で切り換えることができる。
The value of each enable signal for controlling the I / O cells 300 and 400 is determined by, for example, setting data for an I / O register provided in the host controller LSI (HC LSI) 12. That is,
By rewriting the setting data of the I / O register by software, the controller connected to the data lines D1 and D2 is changed to the SD host controller (SD host controller).
HC) 121 and USB host controller (USB H
C) 122.

【0044】I/Oセル300,400の制御は次のよ
うに行われる。SDメモリモード動作時は、アクティブ
プルアップ抵抗303,304は共にオン状態(Pul
lup ON)で動作し、USBモード動作時は、アク
ティブプルアップ抵抗303,304は共にオフ状態
(Pullup OFF)となり、データラインD1,
D2を介して転送されるUSB信号(D,D)に対
する不要なプルアップによる影響がなくなる。
The control of the I / O cells 300 and 400 is performed as follows. During the SD memory mode operation, the active pull-up resistors 303 and 304 are both in the on state (Pull-up).
During the USB mode operation, the active pull-up resistors 303 and 304 are both turned off (Pullup OFF), and the data lines D1 and L1 are turned off.
USB signals transferred via the D2 (D +, D -) is eliminated influence of unnecessary pull-up for.

【0045】SDメモリモード動作時、I/Oセル40
0はHi−Z出力状態を保ち、データラインD1,D2
の駆動は禁止される。反対に、USBモード動作時は、
I/Oセル300は、Hi−Z出力状態を保ち、データ
ラインD1,D2の駆動は禁止される。また、USBモ
ード動作時におけるデータラインD1,D2上の信号の
変化はSDホストコントローラ(SD HC)121に
は伝達されず、SDホストコントローラ(SD HC)
121はその信号の変化を無視する。同様に、SDメモ
リモード動作時におけるデータラインD1,D2上の信
号の変化はUSBホストコントローラ(USB HC)
122には伝達されず、USBホストコントローラ(U
SB HC)122はその信号の変化を無視する。
When operating in the SD memory mode, the I / O cell 40
0 maintains the Hi-Z output state, and the data lines D1, D2
Is prohibited. Conversely, when operating in USB mode,
The I / O cell 300 maintains the Hi-Z output state, and the driving of the data lines D1 and D2 is prohibited. Further, a change in the signals on the data lines D1 and D2 during the USB mode operation is not transmitted to the SD host controller (SD HC) 121, but is transmitted to the SD host controller (SD HC).
121 ignores the change in the signal. Similarly, changes in the signals on the data lines D1 and D2 during the operation of the SD memory mode are performed by the USB host controller (USB HC).
122 to the USB host controller (U
SB HC) 122 ignores the change in the signal.

【0046】(USBデバイス認識処理手順)次に、図
6のフローチャートを参照して、SD USBカード2
2の認識処理手順について説明する。
(USB Device Recognition Processing Procedure) Next, referring to the flowchart of FIG.
No. 2 recognition processing procedure will be described.

【0047】リセット直後およびSDメモリモードにお
いては、ホストコントローラLSI(HC LSI)1
2はその初期状態(initial)に遷移しており、
SDメモリモードで動作する(ステップS101)。こ
のステートでは、USBホストコントローラ(USB
HC)122は低消費電力の動作停止状態(サスペン
ド)となっている。また、USBホストコントローラ側
のI/Oセル400においては、トライステート出力バ
ッファ401,402はHi−Z出力に保持され、AN
Dゲート405,406により入力信号の伝達は禁止さ
れている。
Immediately after reset and in the SD memory mode, the host controller LSI (HC LSI) 1
2 has transitioned to its initial state,
It operates in the SD memory mode (step S101). In this state, the USB host controller (USB
HC) 122 is in a low power consumption operation suspended state (suspend). In the I / O cell 400 on the USB host controller side, the tri-state output buffers 401 and 402 are held at Hi-Z outputs, and the
The transmission of the input signal is prohibited by the D gates 405 and 406.

【0048】この状態で、SDスロット13にデバイス
が装着されると、信号ピン[1]のカード検出信号(C
D)がLレベルに変化する事により、デバイスの挿入が
検出される。デバイスが挿入されたことは割り込み信号
などによってソフトウェアに通知される。そして、ソフ
トウェアの制御の下、挿入されたデバイスの検出を行う
ためにCMD信号を使用したステータスリードが行われ
る(ステップS102)。そして、ステータスリードで
デバイスから読み込んだ属性情報に基づいて、挿入され
たデバイスがUSBデバイス、つまりSD USBカー
ド22であるかどうかが判断される(ステップS10
3)。SD USBカード22ではない場合には、US
Bデバイス以外の他のI/Oカード若しくはSDメモリ
カードに対応した検出シーケンスが実行される(ステッ
プS104)。
In this state, when a device is mounted in the SD slot 13, the card detection signal (C
When D) changes to the L level, the insertion of the device is detected. The insertion of the device is notified to software by an interrupt signal or the like. Then, under the control of software, a status read using the CMD signal is performed to detect the inserted device (step S102). Then, based on the attribute information read from the device by the status read, it is determined whether or not the inserted device is a USB device, that is, the SD USB card 22 (step S10).
3). If it is not SD USB card 22, US
A detection sequence corresponding to another I / O card or SD memory card other than the B device is executed (step S104).

【0049】挿入されたデバイスがUSBデバイス(S
D USBカード22)であれば、ソフトウェアの制御
により、データラインD1,D2のアクティブプルアッ
プをオフにする(ステップS105)。そして、ソフト
ウェアの制御により、データラインD1,D2に接続さ
れるホストコントローラを切り換えるためのI/Oバッ
ファのスイッチ処理が行われる(ステップS106)。
The inserted device is a USB device (S
In the case of the D USB card 22), the active pull-up of the data lines D1 and D2 is turned off under software control (step S105). Then, under the control of software, an I / O buffer switching process for switching the host controller connected to the data lines D1 and D2 is performed (step S106).

【0050】このスイッチ処理では、SDホストコント
ローラ(SD HC)121側のI/Oセル300のト
ライステート出力バッファ301,302はHi−Z出
力に設定され、またANDゲート307,308により
入力信号の伝達が禁止される。そして、SDホストコン
トローラ(SD HC)121は低消費電力の動作停止
状態(サスペンド)に設定される。また、USBホスト
コントローラ側のI/Oセル400においては、トライ
ステート出力バッファ401,402は動作状態に設定
されるとともに、ANDゲート405,406が開かれ
て入力信号の伝達が許可される。
In this switch processing, the tri-state output buffers 301 and 302 of the I / O cell 300 on the SD host controller (SD HC) 121 side are set to Hi-Z output, and AND gates 307 and 308 output the input signal. Transmission is prohibited. Then, the SD host controller (SD HC) 121 is set to the operation stop state (suspend) with low power consumption. In the I / O cell 400 on the USB host controller side, the tri-state output buffers 401 and 402 are set to the operation state, and the AND gates 405 and 406 are opened to allow transmission of the input signal.

【0051】この後、USBホストコントローラ(US
B HC)122をサスペンド状態から動作状態に復帰
させるウェイクアップ処理が実行される(ステップS1
07)。これにより、USBホストコントローラ(US
B HC)122によるUSBデバイスの検出が可能と
なる。以降は、ホストコントローラLSI(HC LS
I)12はUSBモードで動作し、SD USBカード
22の制御を開始する。
Thereafter, the USB host controller (US
A wake-up process is performed to return the BHC 122 from the suspended state to the operating state (step S1).
07). This allows the USB host controller (US
B HC) 122 can detect the USB device. Thereafter, the host controller LSI (HC LS
I) 12 operates in the USB mode, and starts controlling the SD USB card 22.

【0052】以上のように、本実施形態においては、S
D USBカード22側にデバイス検出用のプルダウン
抵抗221,222を設けることにより、データライン
D1,D2自体に影響を及ぼすことなく、データライン
D1,D2をUSB仕様の差動信号線対(D,D
として使用することが可能となり、USBホストコント
ローラ(USB HC)122によるSD USBカー
ド22の検出、およびUSBデータ転送を行うことがで
きる。また、SDメモリカード21を装着した場合に
は、データラインD1,D2上の信号から不要なプルダ
ウンによる影響を排除することができる。よって、同一
のスロットをSDメモリカード21とSDUSBカード
22間で共用することが可能となる。特に、SD US
Bカード22はUSBデバイスであるので、USB仕様
の様々なI/O装置をSDメモリカード21用のスロッ
トに装着して使用することが可能となり、小型携帯機器
の機能拡張性を大幅に向上させることができる。
As described above, in the present embodiment, S
By providing pull-down resistors 221 and 222 for device detection on the D USB card 22 side, the data lines D1 and D2 can be connected to the differential signal line pair (D + , D )
The USB host controller (USB HC) 122 can detect the SD USB card 22 and perform USB data transfer. Further, when the SD memory card 21 is mounted, the influence of unnecessary pull-down can be eliminated from the signals on the data lines D1 and D2. Therefore, the same slot can be shared between the SD memory card 21 and the SDUSB card 22. In particular, SD US
Since the B card 22 is a USB device, it is possible to mount various I / O devices of USB specifications in the slot for the SD memory card 21 and use it, thereby greatly improving the function expandability of a small portable device. be able to.

【0053】さらに、アクティブプルアップ抵抗30
3,304を使用し、USBモード時はアクティブプル
アップ抵抗303,304をオフすることにより、カー
ド非装着時にデータラインD1,D2が不定状態となる
ことによる不具合の防止と、USB信号に対する不要な
プルアップによる影響の排除の両立を図ることができ
る。
Further, the active pull-up resistor 30
In the USB mode, the active pull-up resistors 303 and 304 are turned off to prevent problems caused by the data lines D1 and D2 being in an indeterminate state when a card is not mounted, and to eliminate unnecessary USB signals. It is possible to eliminate the influence of the pull-up.

【0054】なお、本実施形態では、アクティブプルア
ップ抵抗によってデータラインD1,D2が不定状態と
なることを防止したが、そのアクティブプルアップ抵抗
の代わりに、アクティブプルダウン抵抗を用いてデバイ
ス非接続時のデータラインD1,D2を接地電位に設定
するようにしても良い。また、本実施形態では、USB
デバイスを例示して説明したが、USBデバイスと同様
のデバイス検出、データ転送を行うものであれば、他の
各種I/Oデバイスにも適用することができる。また、
本実施形態では、SDメモリモードとUSBモードの2
つについてのみ説明したが、I/Oデバイスを制御する
ための動作モードとして、USBモード以外の他の各種
I/Oモードを追加しても良い。さらに、既存のPCカ
ードスロット用のアダプタ装置を介してSDメモリカー
ド21やSD USBカード22をホスト装置に装着す
るような構成に本発明を適用することも可能である。
In this embodiment, the data lines D1 and D2 are prevented from being in an indefinite state by the active pull-up resistor. However, when the device is not connected, an active pull-down resistor is used instead of the active pull-up resistor. Data lines D1 and D2 may be set to the ground potential. In the present embodiment, the USB
The device has been described as an example, but the present invention can be applied to various other I / O devices as long as they perform device detection and data transfer similar to USB devices. Also,
In the present embodiment, two modes of the SD memory mode and the USB mode are used.
Although only one mode has been described, various I / O modes other than the USB mode may be added as operation modes for controlling the I / O device. Further, the present invention can be applied to a configuration in which the SD memory card 21 or the SD USB card 22 is attached to the host device via an existing PC card slot adapter device.

【0055】また、デバイス検出用のプルダウン抵抗と
してアクティブプルダウン抵抗を用いれば、原理的には
それをホスト装置側に接続しておくことも可能となる
が、この場合は、抵抗値の厳密な設定が難しくなり、差
動信号線(D,D)の電位をデータ転送に必要な正
常な値に維持できなくなるなどの問題が生じる。よっ
て、デバイス検出用のプルダウン抵抗をUSBデバイス
側に設けるという本発明の構成は、最も簡単で且つ信頼
性の高い手法である。
If an active pull-down resistor is used as a pull-down resistor for device detection, it can be connected in principle to the host device side. In this case, however, a strict setting of the resistance value is required. This makes it difficult to maintain the potentials of the differential signal lines (D + , D ) at a normal value required for data transfer. Therefore, the configuration of the present invention in which a pull-down resistor for device detection is provided on the USB device side is the simplest and most reliable method.

【0056】[0056]

【発明の効果】以上説明したように、本発明によれば、
種類の異なるデバイス間でデータラインを共用すること
が可能となり、小型電子機器の機能拡張を図ることがで
きる。
As described above, according to the present invention,
Data lines can be shared between different types of devices, and the functions of small electronic devices can be expanded.

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

【図1】本発明の一実施形態に係るI/Oカードと電子
機器の構成を示すブロック図。
FIG. 1 is a block diagram showing a configuration of an I / O card and an electronic device according to an embodiment of the present invention.

【図2】同実施形態における装着スロットのピンアサイ
ンを説明するための図。
FIG. 2 is an exemplary view for explaining pin assignment of a mounting slot in the embodiment.

【図3】同実施形態におけるI/Oカードの内部構造を
説明するための図。
FIG. 3 is an exemplary view for explaining the internal structure of the I / O card according to the embodiment;

【図4】同実施形態における電子機器側のI/Oバッフ
ァの構成を説明するための図。
FIG. 4 is an exemplary view for explaining a configuration of an I / O buffer on the electronic device side according to the embodiment.

【図5】同実施形態で用いられるアクティブプルアップ
の具体的な構成の一例を示す図。
FIG. 5 is a view showing an example of a specific configuration of an active pull-up used in the embodiment.

【図6】同実施形態におけるUSBデバイス認識処理手
順を説明するためのフローチャート。
FIG. 6 is an exemplary flowchart for explaining the USB device recognition processing procedure in the embodiment.

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

11…ホスト装置 12…ホストコントローラLSI(HC LSI) 13…SDスロット 21…SDメモリカード 22…SD USBカード 121…SDホストコントローラ(SD HC) 122…USBホストコントローラ(USB HC) 221,222…デバイス検出用プルダウン抵抗 303,304…アクティブプルアップ抵抗 300,400…I/Oセル DESCRIPTION OF SYMBOLS 11 ... Host apparatus 12 ... Host controller LSI (HC LSI) 13 ... SD slot 21 ... SD memory card 22 ... SD USB card 121 ... SD host controller (SD HC) 122 ... USB host controller (USB HC) 221, 222 ... Device Detection pull-down resistors 303, 304 ... Active pull-up resistors 300, 400 ... I / O cells

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) G06K 19/00 G06K 19/00 Y ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) G06K 19/00 G06K 19/00 Y

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 ホスト装置に取り外し自在に装着可能に
構成され、前記ホスト装置との間でデータラインを介し
てデータ転送を行うI/O装置であって、 前記データラインの論理レベルの変化によって前記デー
タラインに接続されたデバイスを前記ホスト装置が検出
できるように前記データラインに接続することが必要と
されるデバイス検出用のプルダウン抵抗を、前記I/O
装置内のデータラインに接続したことを特徴とするI/
O装置。
An I / O device configured to be removably attachable to a host device and performing data transfer with the host device via a data line, wherein the I / O device is adapted to change a logic level of the data line. A pull-down resistor for device detection which needs to be connected to the data line so that the host device can detect a device connected to the data line is connected to the I / O.
I / I connected to a data line in the device
O device.
【請求項2】 前記I/O装置は、前記ホスト装置の周
辺機器として機能する機能モジュールを内蔵してなるこ
とを特徴とする請求項1記載のI/O装置。
2. The I / O device according to claim 1, wherein said I / O device has a built-in function module functioning as a peripheral device of said host device.
【請求項3】 前記I/O装置は、前記ホスト装置の周
辺機器として機能する外部機能モジュールを前記ホスト
装置に接続するためのアダプタ装置であり、前記外部機
能モジュールとの接続インターフェースを有することを
特徴とする請求項1記載のI/O装置。
3. The I / O device is an adapter device for connecting an external function module functioning as a peripheral device of the host device to the host device, and has an interface for connecting to the external function module. The I / O device according to claim 1, wherein:
【請求項4】 前記I/O装置は、前記ホスト装置に設
けられた装着スロットに装着して使用されるものである
ことを特徴とする請求項1記載のI/O装置。
4. The I / O device according to claim 1, wherein said I / O device is used by being mounted in a mounting slot provided in said host device.
【請求項5】 前記ホスト装置には、メモリ装置と前記
I/O装置を交換可能に装着可能な装着スロットが設け
られており、前記I/O装置は、前記I/O装置の属性
情報を記憶しており、前記メモリ装置との間のコマンド
/ステータス転送のために前記データラインとは別に前
記装着スロット内に定義された所定の信号線を介して前
記ホスト装置から所定のコマンドを受けた場合、前記属
性情報を前記所定の信号線を介して前記ホスト装置に転
送するように構成されていることを特徴とする請求項1
記載のI/O装置。
5. The host device is provided with a mounting slot in which a memory device and the I / O device can be exchangeably mounted, and the I / O device transmits attribute information of the I / O device. A predetermined command is received from the host device via a predetermined signal line defined in the mounting slot separately from the data line for command / status transfer with the memory device. 2. The apparatus according to claim 1, wherein said attribute information is transferred to said host device via said predetermined signal line.
An I / O device as described.
【請求項6】 前記ホスト装置は、前記装着スロットに
装着されたメモリ装置を制御するためのメモリ制御手段
と、前記装着スロットに装着されたI/O装置を制御す
るためのI/O制御手段と、前記メモリ装置およびI/
O装置間で共用される前記データラインが不定状態とな
るのを防止するために前記データラインに接続され、前
記データラインを所定の固定電位にプルアップまたはプ
ルダウンするためのオン状態と前記データラインから分
離されるオフ状態との切り換えが可能なアクティブ抵抗
とを具備し、前記属性情報の読み出しによって前記装着
スロットに装着されたデバイスが前記I/O装置である
ことが検出された場合には、前記アクティブ抵抗をオン
状態からオフ状態に切り換えることを特徴とする請求項
5記載のI/O装置。
6. The host device includes a memory control unit for controlling a memory device mounted in the mounting slot, and an I / O control unit for controlling an I / O device mounted in the mounting slot. And the memory device and I /
An ON state for pulling up or pulling down the data line to a predetermined fixed potential, the data line being connected to the data line to prevent the data line shared between the O devices from being in an indefinite state; An active resistor that can be switched to an off state that is separated from the device. If the device installed in the installation slot is detected as the I / O device by reading the attribute information, The I / O device according to claim 5, wherein the active resistance is switched from an on state to an off state.
【請求項7】 メモリ装置とI/O装置を交換可能に装
着可能な装着スロットを有する電子機器であって、 前記装着スロットに装着されたメモリ装置を制御するた
めのメモリ制御手段と、 前記メモリ装置およびI/O装置間で共用される所定の
データラインが不定状態となるのを防止するために前記
データラインに接続され、前記データラインを所定の固
定電位にプルアップまたはプルダウンするためのオン状
態と前記データラインから分離されるオフ状態との切り
換えが可能なアクティブ抵抗と、 前記装着スロットに装着されたI/O装置との間のデー
タ転送を前記データラインを介して行うI/O制御手段
であって、前記データラインの論理レベルの変化に応じ
て前記装着スロットに装着されたI/O装置の種別を判
定するI/O制御手段とを具備し、 前記データラインにデバイスが接続された場合に前記デ
ータラインの論理レベルが変化するように前記電子機器
側のデータラインに接続することが必要なデバイス検出
用のプルダウン抵抗は、前記I/O装置内のデータライ
ンに接続されており、且つ前記装着スロットに装着され
たデバイスが前記I/O装置であることが検出された場
合には、前記アクティブ抵抗をオン状態からオフ状態に
切り換えるように構成されていることを特徴とする電子
機器。
7. An electronic device having a mounting slot in which a memory device and an I / O device can be interchangeably mounted, a memory control unit for controlling a memory device mounted in the mounting slot, and the memory. A predetermined data line shared between a device and an I / O device is connected to the data line to prevent the data line from being in an indefinite state, and is turned on to pull up or pull down the data line to a predetermined fixed potential. An active resistor capable of switching between a state and an off state separated from the data line; and an I / O control for transferring data between the I / O device mounted in the mounting slot via the data line. Means for determining the type of an I / O device mounted in the mounting slot according to a change in a logical level of the data line. And a device detection pull-down resistor that needs to be connected to the data line on the electronic device side so that the logic level of the data line changes when a device is connected to the data line, When it is detected that the device connected to the data line in the I / O device and mounted in the mounting slot is the I / O device, the active resistance is changed from an on state to an off state. An electronic device characterized by being configured to be switched to.
【請求項8】 前記メモリ装置およびI/O装置間で共
用される前記データラインに、前記メモリ制御手段およ
び前記I/O制御手段の一方を接続する接続切り換え手
段と、 前記メモリ装置を制御するための第1モードと前記I/
O装置を制御するための第2モードとを有し、前記第1
モードと第2モードを切り換え可能な動作モード切換手
段をさらに具備し、 前記動作モード切換手段は、 初期化時に前記第1モードに設定する手段と、 前記第1モードにおいて前記装着スロットにデバイスが
装着された場合、前記装着スロットに装着されたデバイ
スから属性情報をリードすることにより前記装着スロッ
トに装着されたデバイスが前記I/O装置であるかどう
かを検出する手段と、 前記装着スロットに装着されたデバイスが前記I/O装
置であることが検出された場合、前記アクティブ抵抗を
オン状態からオフ状態に切り換えるとともに、前記接続
切り換え手段による接続切り換えによって前記I/O制
御手段を前記データラインに接続する手段とを含むこと
を特徴とする請求項7記載の電子機器。
8. A connection switching means for connecting one of the memory control means and the I / O control means to the data line shared between the memory device and the I / O device, and controlling the memory device. Mode and the I /
A second mode for controlling the O device.
Operating mode switching means capable of switching between a mode and a second mode, wherein the operating mode switching means sets the first mode at the time of initialization; and mounts a device in the mounting slot in the first mode. If the device is mounted on the mounting slot, means for reading whether or not the device mounted on the mounting slot is the I / O device by reading attribute information from the device mounted on the mounting slot; When the detected device is the I / O device, the active resistance is switched from an on state to an off state, and the I / O control unit is connected to the data line by the connection switching unit. The electronic device according to claim 7, further comprising:
JP2000121331A 2000-04-21 2000-04-21 Electronics Expired - Fee Related JP3795725B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000121331A JP3795725B2 (en) 2000-04-21 2000-04-21 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000121331A JP3795725B2 (en) 2000-04-21 2000-04-21 Electronics

Publications (2)

Publication Number Publication Date
JP2001307025A true JP2001307025A (en) 2001-11-02
JP3795725B2 JP3795725B2 (en) 2006-07-12

Family

ID=18632002

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000121331A Expired - Fee Related JP3795725B2 (en) 2000-04-21 2000-04-21 Electronics

Country Status (1)

Country Link
JP (1) JP3795725B2 (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002048854A1 (en) * 2000-12-12 2002-06-20 Sony Corporation Ic card, ic card system, and data processor
JP2004318835A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Device and method for controlling pc card
KR100476929B1 (en) * 2002-09-03 2005-03-16 삼성전자주식회사 USB system having card type USb interface connector
WO2005062157A1 (en) * 2003-12-19 2005-07-07 Kabushiki Kaisha Toshiba Electronic device, unit driving apparatus, and method for controlling interface of unit driving apparatus
JP2006024208A (en) * 2004-07-05 2006-01-26 Samsung Electronics Co Ltd Multi-mode integrated circuit device including mode detection and method of operating the same
JP2006107392A (en) * 2004-10-08 2006-04-20 Ricoh Co Ltd Card controller
US7219839B2 (en) 2003-08-29 2007-05-22 Samsung Electronics Co., Ltd. Method for enhancing transfer rate of multimedia card using differential signal
KR100725271B1 (en) 2005-05-20 2007-06-04 주식회사 엠피오 USB-SD Memory with multiple DMA channels, and data storing method thereof
CN1330183C (en) * 2002-07-04 2007-08-01 松下电器产业株式会社 Broadcasting receiving/reproducing system and broadcasting receiving apparatus
KR100746308B1 (en) 2005-04-15 2007-08-06 주식회사 디엠스토리지 Usb card with sd card type packing and interface therefor
JP2007317236A (en) * 2007-08-27 2007-12-06 Renesas Technology Corp Nonvolatile storage device
JP2009011155A (en) * 2002-03-21 2009-01-15 Thomson Licensing Device and method of charging rechargeable battery
JP2010171589A (en) * 2009-01-21 2010-08-05 Ricoh Co Ltd Signal switching circuit
US7823793B2 (en) 2002-10-09 2010-11-02 Renesas Electronics Corporation IC card and an adapter for the same
JP2012212454A (en) * 2006-01-17 2012-11-01 Nokia Corp Method for booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device for booting host device
KR101284145B1 (en) 2007-01-29 2013-07-10 삼성전자주식회사 Read access support network processor system of memory access method PCMCIA card
KR101346910B1 (en) * 2011-04-15 2014-01-02 샤프 가부시키가이샤 Interface device and wiring board
US8713231B2 (en) 2009-11-13 2014-04-29 Panasonic Corporation Interface circuit and interface system
KR101792503B1 (en) * 2010-10-19 2017-11-02 엘지전자 주식회사 Computer system and method for controlling thereof
JP2022514900A (en) * 2018-12-20 2022-02-16 華為技術有限公司 How to identify memory cards, connectors, and functional cards

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002048854A1 (en) * 2000-12-12 2002-06-20 Sony Corporation Ic card, ic card system, and data processor
US6941402B2 (en) 2000-12-12 2005-09-06 Sony Corporation IC card, data processing apparatus, and system using common signal lines and common resistor for differential signals and single end signals
JP2009011155A (en) * 2002-03-21 2009-01-15 Thomson Licensing Device and method of charging rechargeable battery
CN1330183C (en) * 2002-07-04 2007-08-01 松下电器产业株式会社 Broadcasting receiving/reproducing system and broadcasting receiving apparatus
KR100476929B1 (en) * 2002-09-03 2005-03-16 삼성전자주식회사 USB system having card type USb interface connector
US7823793B2 (en) 2002-10-09 2010-11-02 Renesas Electronics Corporation IC card and an adapter for the same
JP4526836B2 (en) * 2003-03-31 2010-08-18 株式会社リコー Card recognition system and new card recognition method
JP2004318835A (en) * 2003-03-31 2004-11-11 Ricoh Co Ltd Device and method for controlling pc card
US7219839B2 (en) 2003-08-29 2007-05-22 Samsung Electronics Co., Ltd. Method for enhancing transfer rate of multimedia card using differential signal
CN1328679C (en) * 2003-08-29 2007-07-25 三星电子株式会社 Method for enhancing transfer rate of multimedia card using differential signal
WO2005062157A1 (en) * 2003-12-19 2005-07-07 Kabushiki Kaisha Toshiba Electronic device, unit driving apparatus, and method for controlling interface of unit driving apparatus
JP2006024208A (en) * 2004-07-05 2006-01-26 Samsung Electronics Co Ltd Multi-mode integrated circuit device including mode detection and method of operating the same
JP2006107392A (en) * 2004-10-08 2006-04-20 Ricoh Co Ltd Card controller
JP4713122B2 (en) * 2004-10-08 2011-06-29 株式会社リコー Card controller
KR100746308B1 (en) 2005-04-15 2007-08-06 주식회사 디엠스토리지 Usb card with sd card type packing and interface therefor
KR100725271B1 (en) 2005-05-20 2007-06-04 주식회사 엠피오 USB-SD Memory with multiple DMA channels, and data storing method thereof
JP2012212454A (en) * 2006-01-17 2012-11-01 Nokia Corp Method for booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device for booting host device
JP2014220011A (en) * 2006-01-17 2014-11-20 メモリー テクノロジーズ リミティド ライアビリティ カンパニー Method for booting host device from mmc/sd device, host device bootable from mmc/sd device and mmc/sd device for booting host device
KR101284145B1 (en) 2007-01-29 2013-07-10 삼성전자주식회사 Read access support network processor system of memory access method PCMCIA card
JP2007317236A (en) * 2007-08-27 2007-12-06 Renesas Technology Corp Nonvolatile storage device
JP2010171589A (en) * 2009-01-21 2010-08-05 Ricoh Co Ltd Signal switching circuit
US8713231B2 (en) 2009-11-13 2014-04-29 Panasonic Corporation Interface circuit and interface system
KR101792503B1 (en) * 2010-10-19 2017-11-02 엘지전자 주식회사 Computer system and method for controlling thereof
KR101346910B1 (en) * 2011-04-15 2014-01-02 샤프 가부시키가이샤 Interface device and wiring board
JP2022514900A (en) * 2018-12-20 2022-02-16 華為技術有限公司 How to identify memory cards, connectors, and functional cards

Also Published As

Publication number Publication date
JP3795725B2 (en) 2006-07-12

Similar Documents

Publication Publication Date Title
JP3795725B2 (en) Electronics
EP1224559B1 (en) Method and apparatus for detecting the type of interface to which a peripheral device is connected
US7761645B2 (en) Physical device (PHY) support of the USB2.0 link power management addendum using a ULPI PHY interface standard
US8352657B2 (en) Digital device interconnect interface and system
KR100572165B1 (en) Universal Serial Bus Device Controller
US5678065A (en) Computer system employing an enable line for selectively adjusting a peripheral bus clock frequency
US5878234A (en) Low power serial protocol translator for use in multi-circuit board electronic systems
EP2040174B1 (en) Card-type peripheral device
US20050160196A1 (en) Power managed USB for computing applications using a controller
JP2005209204A (en) Peripheral device allowing processor to enter a low power state
WO2001025942A1 (en) Method and apparatus for detecting the type of interface to which a peripheral device is connected
US6275240B1 (en) Method and apparatus for maintaining load balance on a graphics bus when an upgrade device is installed
US7124235B2 (en) USB apparatus with switchable host/hub functions and control method thereof
US5892930A (en) Target peripheral device detection
US7099966B2 (en) Point-to-point electrical loading for a multi-drop bus
US20070005847A1 (en) Data transfer control device and electronic instrument
US7509439B2 (en) Method for maintaining register integrity and receive packet protection during ULPI PHY to LINK bus transactions
JP2002041441A (en) Communication equipment connection device and peripheral device having connection function
JPH118030A (en) Pc card connector, pc card, and pc card processor
US7730233B2 (en) Data transfer control device and electronic instrument

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050816

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050830

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20051014

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: 20060411

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060413

LAPS Cancellation because of no payment of annual fees