JP2014021821A - Peripheral device and host device - Google Patents
Peripheral device and host device Download PDFInfo
- Publication number
- JP2014021821A JP2014021821A JP2012161400A JP2012161400A JP2014021821A JP 2014021821 A JP2014021821 A JP 2014021821A JP 2012161400 A JP2012161400 A JP 2012161400A JP 2012161400 A JP2012161400 A JP 2012161400A JP 2014021821 A JP2014021821 A JP 2014021821A
- Authority
- JP
- Japan
- Prior art keywords
- usb
- peripheral device
- hub
- circuit
- communication
- 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
Links
Images
Abstract
Description
本発明は、USB(Universal Serial Bus)通信、例えばUSB3.0に準拠するホスト装置と接続して使用されるペリフェラルデバイスとの通信に関する。 The present invention relates to USB (Universal Serial Bus) communication, for example, communication with a peripheral device used in connection with a host device conforming to USB 3.0.
USB通信システムに関して、様々な視点からの技術が提案されている。
例えば、特許文献1には、USB2.0通信システムにおいて、電力消費を削減するための技術が開示されている。この技術は、所定量以上のデータの転送を開始する前に、転送速度が高い転送モードに切り替え、該データの転送の終了後に、転送速度の低い転送モードに切り替える。
With respect to the USB communication system, technologies from various viewpoints have been proposed.
For example, Patent Document 1 discloses a technique for reducing power consumption in a USB 2.0 communication system. This technique switches to a transfer mode with a high transfer rate before starting to transfer more than a predetermined amount of data, and switches to a transfer mode with a low transfer rate after the end of the data transfer.
また、特許文献2には、USB2.0通信システムにおいて、通信量に応じてHigh−Speed接続とFull−Speed接続を切り替える技術が開示されている。この技術も、電力消費を削減するためのものであり、例えば、USBホスト装置からステータス情報のやり取り場合にはFull−Speed接続を維持し、USBホスト装置からジョブを受け付けた場合、すなわち通信量が増える場合にはFull−Speed接続を一旦切断してHigh−Speedで再接続する。 Patent Document 2 discloses a technique for switching between a High-Speed connection and a Full-Speed connection in accordance with the amount of communication in a USB 2.0 communication system. This technique is also for reducing power consumption. For example, when status information is exchanged from a USB host device, a Full-Speed connection is maintained, and when a job is received from the USB host device, that is, the communication amount is low. In the case of increase, the Full-Speed connection is temporarily disconnected and reconnected with High-Speed.
USB3.0規格の誕生により、USB通信のモードは、USB2.0規格で定められた各種モード以外に、SS(Super Speed)モードが加わった。SSモードは、通信速度がHigh−Speedモードの約10倍である一方、消費電力も大きい。 With the birth of the USB 3.0 standard, the USB communication mode has been added to the SS (Super Speed) mode in addition to the various modes defined by the USB 2.0 standard. In the SS mode, the communication speed is about 10 times that of the High-Speed mode, but the power consumption is also large.
USB3.0のペリフェラルデバイスとUSB3.0のホスト装置は、通常SSモードで接続される。しかし、ホスト装置とペリフェラルデバイス間の通信量は、常に多いとは限らない。従って、通信速度の確保と電力消費の抑制を両立させるために、例えば、特許文献1または特許文献2に記載された技術を適用し、通信量に応じて、ホスト装置とペリフェラルデバイス間の接続を、SS接続と、Non−SS接続(SS接続以外のHigh−Speedなどの接続)との間で切り替えることが考えられる。 The USB 3.0 peripheral device and the USB 3.0 host device are normally connected in the SS mode. However, the amount of communication between the host device and the peripheral device is not always large. Therefore, in order to achieve both ensuring the communication speed and suppressing the power consumption, for example, the technology described in Patent Document 1 or Patent Document 2 is applied, and the connection between the host device and the peripheral device is made according to the amount of communication. Switching between SS connection and Non-SS connection (connection such as High-Speed other than SS connection) can be considered.
しかし、このような接続モードの切替えは、既に確立された接続を一旦切断し、別のモードで再接続することにより実現され、時間がかかる。これでは、アイソクロナス転送などのピリオディック転送のような通信を行う場合、一定の転送速度、一定の周期で転送が行われるため、接続モードの切替えにかかる時間により、通信が失敗してしまう恐れがある。 However, such connection mode switching is realized by temporarily disconnecting an already established connection and reconnecting in another mode, which takes time. In this case, when communication such as periodic transfer such as isochronous transfer is performed, transfer is performed at a constant transfer speed and a constant cycle. Therefore, there is a possibility that the communication may fail due to the time required for switching the connection mode. is there.
その他の課題と新規な特徴は、本明細書の記述および添付図面から明らかになるであろう。 Other problems and novel features will become apparent from the description of the specification and the accompanying drawings.
一実施の形態は、USB3.0のホスト装置と接続して使用されるペリフェラルデバイスの通信方法に関する。この通信方法では、上記ペリフェラルデバイスは、ホスト装置との間で、SS接続とNon−SS接続を並行に確立させると共に、ホスト装置に対して、自身が、2つのDSP(Down Stream Port)に同様の機能を有するUSB3.0ペリフェラルデバイスとUSB2.0ペリフェラルデバイスが夫々接続されているUSB3.0ハブであると見せかける。 One embodiment relates to a communication method for a peripheral device used in connection with a USB 3.0 host device. In this communication method, the peripheral device establishes an SS connection and a Non-SS connection in parallel with the host device, and the host device itself is similar to two DSPs (Down Stream Port). It appears that the USB 3.0 peripheral device and the USB 2.0 peripheral device having the above functions are connected to each other.
なお、上記通信方法を適用したペリフェラルデバイスや、該ペリフェラルデバイスを実現するための半導体集積回路、該半導体集積回路に上記通信方法を実行させるプログラム、該ペリフェラルデバイスに対応するホスト装置なども、本発明の態様としては、有効である。 The present invention also includes a peripheral device to which the communication method is applied, a semiconductor integrated circuit for realizing the peripheral device, a program for causing the semiconductor integrated circuit to execute the communication method, a host device corresponding to the peripheral device, and the like. This aspect is effective.
上述した一実施の形態及び後述する各実施の形態によれば、USB3.0のホスト装置に接続使用されるペリフェラルデバイスとの通信速度をシームレスに切替可能である。 According to the above-described embodiment and each embodiment described later, it is possible to seamlessly switch the communication speed with the peripheral device connected to the USB 3.0 host device.
説明の明確化のため、以下の記載及び図面は、適宜、省略、及び簡略化がなされている。また、様々な処理を行う機能ブロックとして図面に記載される各要素は、ハードウェア的には、CPU、メモリ、その他の回路で構成することができ、ソフトウェア的には、メモリにロードされたプログラムなどによって実現される。したがって、これらの機能ブロックがハードウェアのみ、ソフトウェアのみ、またはそれらの組合せによっていろいろな形で実現できることは当業者には理解されるところであり、いずれかに限定されるものではない。なお、各図面において、同一の要素には同一の符号が付されており、必要に応じて重複説明は省略されている。 For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. Each element described in the drawings as a functional block for performing various processes can be configured by a CPU, a memory, and other circuits in terms of hardware, and a program loaded in the memory in terms of software. Etc. Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or a combination thereof, and is not limited to any one. Note that, in each drawing, the same element is denoted by the same reference numeral, and redundant description is omitted as necessary.
また、上述したプログラムは、様々なタイプの非一時的なコンピュータ可読媒体(non−transitory computer readable medium)を用いて格納され、コンピュータに供給することができる。非一時的なコンピュータ可読媒体は、様々なタイプの実体のある記録媒体(tangible storage medium)を含む。非一時的なコンピュータ可読媒体の例は、磁気記録媒体(例えばフレキシブルディスク、磁気テープ、ハードディスクドライブ)、光磁気記録媒体(例えば光磁気ディスク)、CD−ROM(Read Only Memory)CD−R、CD−R/W、半導体メモリ(例えば、マスクROM、PROM(Programmable ROM)、EPROM(Erasable PROM)、フラッシュROM、RAM(Random Access Memory))を含む。また、プログラムは、様々なタイプの一時的なコンピュータ可読媒体(transitory computer readable medium)によってコンピュータに供給されてもよい。一時的なコンピュータ可読媒体の例は、電気信号、光信号、及び電磁波を含む。一時的なコンピュータ可読媒体は、電線及び光ファイバ等の有線通信路、又は無線通信路を介して、プログラムをコンピュータに供給できる。 Further, the above-described program can be stored using various types of non-transitory computer readable media and supplied to a computer. Non-transitory computer readable media include various types of tangible storage media. Examples of non-transitory computer-readable media include magnetic recording media (for example, flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (for example, magneto-optical disks), CD-ROM (Read Only Memory) CD-R, CD -R / W, semiconductor memory (for example, mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may also be supplied to the computer by various types of transitory computer readable media. Examples of transitory computer readable media include electrical signals, optical signals, and electromagnetic waves. The temporary computer-readable medium can supply the program to the computer via a wired communication path such as an electric wire and an optical fiber, or a wireless communication path.
図1は、一実施の形態にかかるUSB通信システム100を示す。USB通信システム100は、USBケーブル170を介して接続されたホスト装置110とペリフェラルデバイス120を備える。
FIG. 1 shows a
ホスト装置110とUSBケーブル170は、USB3.0規格に準拠する。
ペリフェラルデバイス120は、バス140を介して接続された上位システム130と半導体集積回路150を備える。
The
The
上位システム130は、USB3.0規格により規定された、プロトコル層より上の各層の処理を行うものであり、CPU(Central Processing Unit)132、RAM(Random Access Memory)134、ROM(Read Only Memory)136、周辺回路138を備える。
The
ROM136には、起動プログラムやアプリケーションプログラムを含む各種処理プログラムを記憶し、RAM134は、プログラムやデータを一時的に記憶する。周辺回路138は、この種の装置に通常備えられ、固有の制御を行う。CPU132は、ROM136に記憶したプログラムをRAM134にロードして実行し、時には周辺回路138と協働する。
The
半導体集積回路150は、ホスト装置110と接続するためのUSP(Up Stream Port)160、SS通信に関連する処理を行うSS処理部200、Non−SS通信に関連する処理を行うNon−SS処理部300を備える。
The semiconductor integrated
SS処理部200は、SSのリンク層と物理層の処理を担うSS P/L回路210(P/L:Rhysical/Link)、SSのプロトコル層の処理を行うSSプロトコル回路220を有する。
The
SSプロトコル回路220は、SSハブ向けのパケットを処理するSSハブ回路230、SSペリフェラルデバイス回路240を有する。
The
SSハブ回路230は、データ処理回路232とアドレス判定回路234を有する。アドレス判定回路234は、後述する初期化時にホスト装置110により付与される第1のアドレスADDR1を記憶している。データ処理回路232は、SSハブ向けのパケットを処理するものであり、通常のUSB3.0ハブに設けられる、SSハブ向けのパケットを処理する回路と同様である。
The
SSペリフェラルデバイス回路240は、データ処理回路242とアドレス判定回路244を備える。アドレス判定回路244は、後述する初期化時にホスト装置110により付与される第3のアドレスADDR3を記憶している。データ処理回路242は、USB3.0のペリフェラルデバイスがSS通信時のパケットを処理するものであり、通常のUSB3.0のペリフェラルデバイスに設けられる、SS通信時のパケットを処理する回路と同様である。
The SS
Non−SS処理部300は、USB2.0のリンク層と物理層の処理を担うUSB2.0P/L回路310、USB2.0のプロトコル層の処理を行うUSB2.0プロトコル回路320を有する。
The
USB2.0プロトコル回路320は、USB2.0ハブ向けのパケットを処理するUSB2.0ハブ回路330、USB2.0ペリフェラルデバイス回路340を有する。
The USB 2.0
USB2.0ハブ回路330は、データ処理回路332とアドレス判定回路334を有する。アドレス判定回路334は、後述する初期化時にホスト装置110により付与される第2のアドレスADDR2を記憶している。データ処理回路332は、USB2.0ハブ向けのパケットを処理するものであり、通常のUSB3.0ハブまたはUSB2.0ハブに設けられる、USB2.0ハブ向けのパケットを処理する回路と同様である。
The USB 2.0
USB2.0ペリフェラルデバイス回路340は、データ処理回路342とアドレス判定回路344を備える。アドレス判定回路344は、後述する初期化時にホスト装置110により付与される第4のアドレスADDR4を記憶している。データ処理回路342は、通常のUSB3.0のペリフェラルデバイスまたは通常のUSB2.0のペリフェラルデバイスに設けられる、Non−SS通信時のパケットを処理する回路と同様である。
The USB 2.0
なお、SSペリフェラルデバイス回路240とUSB2.0ペリフェラルデバイス回路340は、USBカメラやUSBスピーカなどのUSBペリフェラルデバイスの種類のうちの同種のペリフェラルデバイスに対応する。
Note that the SS
USB通信システム100の具体的な動作の前に、本実施の形態のUSB通信システム100におけるデータ経路を説明する。本実施の形態において、4つのデータ経路がある。
Before a specific operation of the
<第1のデータ経路>
このデータ経路は、ホスト装置110とペリフェラルデバイス120がSS通信を行うときのデータ経路である。該経路は、上位システム130、SSハブ回路230、SS P/L回路210、USP160、ホスト装置110により構成される。
<First data path>
This data path is a data path when the
ペリフェラルデバイス120からホスト装置110への送信時には、上位システム130がSSハブ回路230にデータを出力し、SSハブ回路230におけるデータ処理回路232は、該データのパケット化を行い、アドレス判定回路234に記憶されている第1のアドレスADDR1を含むパケットを、SS P/L回路210、USP160を介してホスト装置110に送信する。
At the time of transmission from the
ホスト装置110から受信するときには、SSハブ回路230におけるアドレス判定回路234は、USP160、SS P/L回路210を経由して受信したパケットに含まれるアドレスが第1のアドレスADDR1であるときに、該パケットをデータ処理回路232に出力し、データ処理回路232は、該パケットをSSハブ向けのパケットとして処理すると共に、処理の結果を上位システム130に出力する。なお、受信したパケットに含まれるアドレスが第1のアドレスADDR1ではないときに、アドレス判定回路234は、該パケットを無視する。
When receiving from the
<第2のデータ経路>
このデータ経路も、ホスト装置110とペリフェラルデバイス120がSS通信を行うときのデータ経路である。該経路は、上位システム130、SSペリフェラルデバイス回路240、SS P/L回路210、USP160、ホスト装置110により構成される。
<Second data path>
This data path is also a data path when the
ペリフェラルデバイス120からホスト装置110への送信時には、上位システム130がSSペリフェラルデバイス回路240にデータを出力し、SSペリフェラルデバイス回路240におけるデータ処理回路242は、該データのパケット化を行い、アドレス判定回路244に記憶されている第3のアドレスADDR3を含むパケットを、SS P/L回路210、USP160を介してホスト装置110に送信する。
At the time of transmission from the
ホスト装置110から受信するときには、SSペリフェラルデバイス回路240におけるアドレス判定回路244は、USP160、SS P/L回路210を経由して受信したパケットに含まれるアドレスが第3のアドレスADDR3であるときに、該パケットをデータ処理回路242に出力し、データ処理回路242は、該パケットをペリフェラルデバイス向けのパケットとして処理すると共に、処理の結果を上位システム130に出力する。なお、受信したパケットに含まれるアドレスが第3のアドレスADDR3ではないときに、アドレス判定回路244は、該パケットを無視する。
When receiving from the
<第3のデータ経路>
このデータ経路は、ホスト装置110とペリフェラルデバイス120がNon−SS通信を行うときのデータ経路である。該経路は、上位システム130、USB2.0ハブ回路330、USB2.0P/L回路310、USP160、ホスト装置110により構成される。
<Third data path>
This data path is a data path when the
ペリフェラルデバイス120からホスト装置110への送信時には、上位システム130がUSB2.0ハブ回路330にデータを出力し、USB2.0ハブ回路330におけるデータ処理回路332は、該データのパケット化を行い、アドレス判定回路334に記憶されている第2のアドレスADDR2を含むパケットを、USB2.0P/L回路310、USP160を介してホスト装置110に送信する。
At the time of transmission from the
ホスト装置110から受信するときには、USB2.0ハブ回路330におけるアドレス判定回路334は、USP160、USB2.0P/L回路310を経由して受信したパケットに含まれるアドレスが第2のアドレスADDR2であるときに、該パケットをデータ処理回路332に出力し、データ処理回路332は、該パケットをUSB2.0ハブ向けのパケットとして処理すると共に、処理の結果を上位システム130に出力する。なお、受信したパケットに含まれるアドレスが第2のアドレスADDR2ではないときに、アドレス判定回路244は、該パケットを無視する。
When receiving from the
<第4のデータ経路>
このデータ経路も、ホスト装置110とペリフェラルデバイス120がNon−SS通信を行うときのデータ経路である。該経路は、上位システム130、USB2.0ペリフェラルデバイス回路340、USB2.0P/L回路310、USP160、ホスト装置110により構成される。
<Fourth data path>
This data path is also a data path when the
ペリフェラルデバイス120からホスト装置110への送信時には、上位システム130がUSB2.0ペリフェラルデバイス回路340にデータを出力し、USB2.0ペリフェラルデバイス回路340におけるデータ処理回路342は、該データのパケット化を行い、アドレス判定回路344に記憶されている第4のアドレスADDR4を含むパケットを、USB2.0P/L回路310、USP160を介してホスト装置110に送信する。
At the time of transmission from the
ホスト装置110から受信するときには、USB2.0ペリフェラルデバイス回路340におけるアドレス判定回路344は、USP160、USB2.0P/L回路310を経由して受信したパケットに含まれるアドレスが第4のアドレスADDR4であるときに該パケットをデータ処理回路342に出力し、データ処理回路342は、該パケットをペリフェラルデバイス向けのパケットとして処理すると共に、処理の結果を上位システム130に出力する。なお、受信したパケットに含まれるアドレスが第4のアドレスADDR4ではないときに、アドレス判定回路344は、該パケットを無視する。
When receiving from the
図2を参照して、USB通信システム100の動作を詳細に説明する。
接続時に、まず、ペリフェラルデバイス120とホスト装置110間でリンクアップする(S100)。
The operation of the
At the time of connection, first, link-up is performed between the
具体的には、SS P/L回路210を介して、ペリフェラルデバイス120とホスト装置110との間でSS接続が確立する。これは、規格に定められた通りに、ホスト装置110がVBUS(図示せず)をオンし、SS P/L回路210がそれを検出してRx Terminationをオンする手順で行われる。
Specifically, the SS connection is established between the
並行して、USB2.0P/L回路310を介して、ペリフェラルデバイス120とホスト装置110との間でNon−SS接続が確立する。これも、規格に定められた通りに、ホスト装置110がVBUSをオンすることでUSB2.0P/L回路310がそれを検出し、USB2.0のD+またはD−をプルアップする手順で行われる。
In parallel, a Non-SS connection is established between the
リンクアップ後、ホスト装置110は、ペリフェラルデバイス120に対して、2つのアドレス(SSハブ用の第1のアドレスADDR1と、USB2.0ハブ用の第2のアドレスADDR2)を付与すると共に(S102)、USB3.0ペリフェラルデバイスに対して第3のアドレスADDR3、USB2.0ペリフェラルデバイスに対して第4のアドレスを付与し(S104)。これも、規格に定められた通りの動作である。
After linking up, the
そして、ペリフェラルデバイス120は、ホスト装置110に対して、自身が特殊なUSB3.0ハブであることを通知する(S106)。この通知は、ホスト装置110からのゲット・デスクリプタデバイス(Get Descriptor−Device)コマンドに応じて、例えば、SSプロトコル回路220やUSB2.0プロトコル回路320により行ったものである。
Then, the
ペリフェラルデバイス120からの通知により、ホスト装置110は、ペリフェラルデバイス120がUSB3.0ハブであり、2つのDSP(Down Stream Port)を有し、該2つのDSPに同様の機能を有するUSB3.0ペリフェラルデバイスとUSB2.0ペリフェラルデバイスが夫々接続されていると認識する。さらに、ホスト装置110は、該USB3.0ハブの特殊性として、上記2つのDSPが、排他的に動作することも認識する。
By the notification from the
すなわち、ステップS100におけるペリフェラルデバイス120からの通知により、ホスト装置110は、ペリフェラルデバイス120を、1つのUSB3.0ハブと、該USB3.0ハブに接続された1つのUSB3.0ペリフェラルデバイスと1つのUSB2.0デバイスとを有し、該2つのペリフェラルデバイスが排他的に動作する同種のペリフェラルデバイス例えばUSBカメラである装置として認識する。
That is, by the notification from the
なお、ホスト装置110において、上記2つのDSPが排他的に動作すること、すなわち、該2つのDSPに夫々接続された2つのペリフェラルデバイスが排他的に動作する同種のペリフェラルデバイスであることを認識するのは、ホスト装置110を担うコンピュータに実装されたアプリケーションである。
Note that the
ステップS110以降は、ペリフェラルデバイス120とホスト装置110との通信時の処理を示す。
Steps S110 and after show processing at the time of communication between the
ホスト装置110は、通信データが無いときには(S110:No)、SS処理部200とNon−SS処理部300のいずれも低電力状態(Low Power State)になるように制御を行う(S112:Yes、またはS112:No、S114)。SS処理部200の低電力状態とは、USB3.0規格で定められるU1、U2、U3のいずれか1つである。また、Non−SS処理部300の低電力状態は、USB2.0規格で定められた「スリープ」(L1)、「サスペンド」(L2)である。
When there is no communication data (S110: No), the
一方、通信データがあるときには(S110:Yes)、ホスト装置110は、通信データの量が閾値Tを超えている場合には(S120:Yes)、SS処理部200が低電力状態ではなければ(S122:No)、SS処理部200をそのままにしておき、SS処理部200が低電力状態であればSS処理部200を低電力状態からアクティブ状態「U0」に復帰させる(S122:Yes、S124)。また、Non−SS処理部300が低電力状態であれば(S126:Yes)、Non−SS処理部300をそのままにしておき、Non−SS処理部300が低電力状態ではなければNon−SS処理部300を低電力状態に遷移させる(S126:No、S128)。そして、ホスト装置110は、ペリフェラルデバイス120とSS通信を行い、SS P/L回路210、SSハブ回路230を介して、データの転送を行う(S130)。
On the other hand, when there is communication data (S110: Yes), the
また、通信データがあるものの、通信データの量が閾値T以下である場合には(S110:Yes、S120:Yes)、ホスト装置110は、Non−SS処理部300が低電力状態ではなければ(S142:No)、Non−SS処理部300をそのままにしておき、Non−SS処理部300が低電力状態であればNon−SS処理部300を低電力状態からアクティブ状態「L0」に復帰させる(S140:Yes、S142)。また、SS処理部200が低電力状態であれば(S144:Yes)、SS処理部200をそのままにしておき、SS処理部200が低電力状態ではなければSS処理部200を低電力状態に遷移させる(S144:No、S146)。そして、ホスト装置110は、ペリフェラルデバイス120とNon−SS通信を行い、USB2.0P/L回路310、USB2.0ハブ回路330を介して、データの転送を行う(S148)。
If there is communication data but the amount of communication data is equal to or less than the threshold value T (S110: Yes, S120: Yes), the
つまり、ホスト装置110は、SS通信、すなわち、SS P/L回路210、SSペリフェラルデバイス回路240との通信を行っているときに、通信データの量が閾値T以下になった場合に、Non−SS処理部300を低電力状態から復帰させると共に、Non−SS通信、すなわちUSB2.0P/L回路310、USB2.0ペリフェラルデバイス回路340との通信に切り替える。同時に、SS処理部200を低電力状態に遷移させる。
That is, the
また、ホスト装置110は、Non−SS通信、すなわち、USB2.0P/L回路310、USB2.0ペリフェラルデバイス回路340との通信を行っているときに、通信データの量が閾値Tを超えた場合に、SS処理部200を低電力状態から復帰させると共に、SS通信、すなわちSS P/L回路210、SSペリフェラルデバイス回路240との通信に切り替える。同時に、Non−SS処理部300を低電力状態に遷移させる。
Further, when the
図3は、USB通信システム100において、Non−SS通信からSS通信に切り替わる場合のタイミングチャートの例を示す図である。
FIG. 3 is a diagram illustrating an example of a timing chart when the
時刻t0から時刻t1まで、通信データ量が閾値Tより少なく、ホスト装置110は、ペリフェラルデバイス120のNon−SS処理部300とNon−SS通信を行っており、ペリフェラルデバイス120のSS処理部200は、低電力状態にある。
From time t0 to time t1, the amount of communication data is less than the threshold T, and the
時刻t1は、通信データ量が閾値Tを超えた時点である。
そのため、時刻t1から時刻t2まで、ホスト装置110は、ペリフェラルデバイス120のSS処理部200を低電力状態からアクティブ状態に復帰させる。
Time t1 is a time when the communication data amount exceeds the threshold T.
Therefore, from time t1 to time t2, the
時刻t2において、ホスト装置110は、Non−SS通信をSS通信に切り替えると共に、SS通信に使用しないペリフェラルデバイス120のNon−SS処理部300に対して、低電力状態へ遷移するよう制御する。
At time t2, the
時刻t2から時刻t3まで、Non−SS処理部300は、低電力状態へ遷移する。この間、ホスト装置110は、ペリフェラルデバイス120のSS処理部200とSS通信を行う。
From time t2 to time t3, the
時刻t3以降、Non−SS処理部300は低電力状態であり、SS処理部200は、引き続きSS通信を行う。
After time t3, the
このように、USB通信システム100において、ペリフェラルデバイス120は、ホスト装置110との間でSS接続とNon−SS接続を並行に確立させると共に、自身が、USB3.0ペリフェラルデバイスとUSB2.0ペリフェラルデバイスが接続されているUSB3.0ハブであることをホスト装置110に通知する。従って、USB3.0ハブを介してペリフェラルデバイス120のNon−SS処理部300とNon−SS通信をしている間に、ペリフェラルデバイス120のSS処理部200を低電力状態から復帰させ、シームレスにSS通信に切り替えることができる。また、SS通信からNon−SS通信の切り替えも同様にUSB3.0ハブを介して、ペリフェラルデバイス120のSS処理部200とSS通信をしている間に、ペリフェラルデバイス120のNon−SS処理部300を低電力状態から復帰させ、シームレスにNon−SS通信に切り替えることができる。
As described above, in the
その結果、アイソクロナス転送のようなピリオディック転送を用いるUSBペリフェラルデバイスに対しても、通信の失敗をせずに省電力化を図るができる。 As a result, even for a USB peripheral device that uses periodic transfer such as isochronous transfer, power saving can be achieved without communication failure.
以上、本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は既に述べた実施の形態に限定されるものではなく、その要旨を逸脱しない範囲において種々の変更が可能であることはいうまでもない。 As mentioned above, the invention made by the present inventor has been specifically described based on the embodiments. However, the present invention is not limited to the embodiments already described, and various modifications can be made without departing from the scope of the invention. It goes without saying that it is possible.
1 第1のアドレスADDR
2 第2のアドレスADDR
3 第3のアドレスADDR
4 第4のアドレスADDR
100 USB通信システム
110 ホスト装置
120 ペリフェラルデバイス
130 上位システム
132 CPU
134 RAM
136 ROM
138 周辺回路
140 バス
150 半導体集積回路
160 USP
170 USBケーブル
200 SS処理部
210 SS P/L回路
220 SSプロトコル回路
230 SSハブ回路
232 データ処理回路
234 アドレス判定回路
240 SSペリフェラルデバイス回路
242 データ処理回路
244 アドレス判定回路
300 Non−SS処理部
310 USB2.0P/L回路
320 USB2.0プロトコル回路
330 USB2.0ハブ回路
332 データ処理回路
334 アドレス判定回路
340 USB2.0ペリフェラルデバイス回路
342 データ処理回路
344 アドレス判定回路
1 First address ADDR
2 Second address ADDR
3 Third address ADDR
4 Fourth address ADDR
100
134 RAM
136 ROM
138
170
Claims (3)
SS(Super Speed)通信に関連する処理を行うSS処理部と、
Non−SS通信に関連する処理を行うNon−SS処理部と、
前記SS処理部は、
SSのリンク層と物理層の処理を担うSS P/L回路と、
SSハブ向けのパケットを処理するSSハブ回路と、
USB3.0のペリフェラルデバイスに設けられる、SS通信時のパケットを処理するSSペリフェラルデバイス回路とを有し、
前記Non−SS処理部は、
USB2.0のリンク層と物理層の処理を担うUSB2.0 P/L回路と、
USB2.0ハブ向けのパケットを処理するUSB2.0ハブ回路と、
USB3.0またはUSB2.0のペリフェラルデバイスに設けられる、Non−SS通信時のパケットを処理するUSB2.0ペリフェラルデバイス回路とを有し、
前記ホスト装置と接続する際に、前記SS P/L回路と前記USB2.0P/L回路により、前記ホスト装置との間でSS接続とNon−SS接続を夫々確立すると共に、2つのDSP(Down Stream Port)を有し、該2つのDSPに同様の機能を有するUSB3.0ペリフェラルデバイスとUSB2.0ペリフェラルデバイスが夫々接続されているUSB3.0ハブであることを前記ホスト装置に通知する、
ペリフェラルデバイス。 A peripheral device used by connecting to a USB (Universal Serial Bus) 3.0 host device,
An SS processing unit for performing processing related to SS (Super Speed) communication;
A Non-SS processing unit that performs processing related to Non-SS communication;
The SS processing unit
SSP / L circuit responsible for SS link layer and physical layer processing;
An SS hub circuit for processing packets for the SS hub;
An SS peripheral device circuit for processing a packet during SS communication provided in a USB 3.0 peripheral device;
The Non-SS processing unit
USB 2.0 P / L circuit responsible for USB 2.0 link layer and physical layer processing;
A USB 2.0 hub circuit that processes packets for a USB 2.0 hub;
A USB 2.0 peripheral device circuit for processing a packet during Non-SS communication provided in a USB 3.0 or USB 2.0 peripheral device;
When connecting to the host device, the SSP / L circuit and the USB 2.0P / L circuit establish SS connection and Non-SS connection with the host device, respectively, and two DSPs (Down) A USB 3.0 hub to which a USB 3.0 peripheral device and a USB 2.0 peripheral device having a similar function are connected to the two DSPs.
Peripheral device.
請求項1に記載のペリフェラルデバイス。 When the SS hub circuit, the USB 2.0 hub circuit, the SS peripheral device circuit, and the USB 2.0 peripheral device circuit are connected to the host device, the host device causes the first SS hub circuit to , A second address for a USB 2.0 hub, a third address for a USB 3.0 peripheral device, and a fourth address for a USB 2.0 peripheral device, respectively.
The peripheral device according to claim 1.
排他的に動作する2つのDSP(Down Stream Port)を有し、該2つのDSPに同種の機能を有するUSB3.0ペリフェラルデバイスとUSB2.0ペリフェラルデバイスが夫々接続されている特殊なUSB3.0ハブに対応し、
接続に際して、前記特殊なUSB3.0ハブとの間でSS(Super Speed)接続とNon−SS接続を確立させると共に、SSハブ用の第1のアドレスと、USB2.0ハブ用の第2のアドレスと、USB3.0ペリフェラルデバイス用の第3のアドレスと、USB2.0ペリフェラルデバイス用の第4のアドレスを付与し、
前記USB3.0ハブにおけるSSハブを介して前記USB3.0ペリフェラルデバイスとSS通信を行っているときに、通信量が所定の閾値以下になったときに、前記USB3.0ハブにおけるUSB2.0ハブと前記USB2.0ペリフェラルデバイスを低電力状態から復帰させ、通信対象を前記USB2.0ペリフェラルデバイスに切り替えると共に、前記USB3.0ハブにおけるSSハブと前記USB3.0ペリフェラルデバイスを低電力状態に遷移させ、
前記USB2.0ハブを介して前記USB2.0ペリフェラルデバイスと通信を行っているときに、通信量が前記所定の閾値を超えたときに、前記USB3.0ハブにおけるSSハブと前記USB3.0ペリフェラルデバイスを低電力状態から復帰させ、通信対象を前記USB3.0ペリフェラルデバイスに切り替えると共に、前記USB3.0ハブにおけるUSB2.0ハブと前記USB2.0ペリフェラルデバイスを低電力状態に遷移させる、
ホスト装置。 A USB (Universal Serial Bus) 3.0 host device,
A special USB3.0 hub that has two DSPs (Down Stream Port) that operate exclusively, and a USB3.0 peripheral device and a USB2.0 peripheral device that have the same type of function connected to the two DSPs. Corresponding to
Upon connection, an SS (Super Speed) connection and a Non-SS connection are established with the special USB 3.0 hub, and a first address for the SS hub and a second address for the USB 2.0 hub are established. And a third address for a USB 3.0 peripheral device and a fourth address for a USB 2.0 peripheral device,
When performing SS communication with the USB 3.0 peripheral device via the SS hub in the USB 3.0 hub, when the communication amount becomes a predetermined threshold value or less, the USB 2.0 hub in the USB 3.0 hub The USB 2.0 peripheral device is returned from the low power state, the communication target is switched to the USB 2.0 peripheral device, and the SS hub and the USB 3.0 peripheral device in the USB 3.0 hub are shifted to the low power state. ,
When communicating with the USB 2.0 peripheral device via the USB 2.0 hub, when the communication amount exceeds the predetermined threshold, the SS hub and the USB 3.0 peripheral in the USB 3.0 hub The device is returned from the low power state, the communication target is switched to the USB 3.0 peripheral device, and the USB 2.0 hub and the USB 2.0 peripheral device in the USB 3.0 hub are transitioned to the low power state.
Host device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012161400A JP2014021821A (en) | 2012-07-20 | 2012-07-20 | Peripheral device and host device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012161400A JP2014021821A (en) | 2012-07-20 | 2012-07-20 | Peripheral device and host device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2014021821A true JP2014021821A (en) | 2014-02-03 |
Family
ID=50196605
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012161400A Pending JP2014021821A (en) | 2012-07-20 | 2012-07-20 | Peripheral device and host device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2014021821A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10124652B2 (en) * | 2015-02-04 | 2018-11-13 | Toyota Jidosha Kabushiki Kaisha | Vehicular heat management system |
-
2012
- 2012-07-20 JP JP2012161400A patent/JP2014021821A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10124652B2 (en) * | 2015-02-04 | 2018-11-13 | Toyota Jidosha Kabushiki Kaisha | Vehicular heat management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9223326B2 (en) | Distributed thermal management system for servers | |
US8775692B2 (en) | USB 3.0 device and control method thereof | |
US20090249089A1 (en) | Method and apparatus for dynamic power management control using serial bus management protocols | |
JP2009540436A (en) | SAS expander to isolate obstacles | |
TW200819961A (en) | Method and apparatus for controlling heat generation in a multi-core processor | |
CN107391419B (en) | Support general sequence busbar concentrator of many host computers and automobile-used host computer | |
KR101355326B1 (en) | Transitioning of a port in a communications system form an active state to a standby state | |
JP2010055284A (en) | Storage device | |
JP2007058310A (en) | Usb switch and kvm switch | |
JP6154827B2 (en) | Wireless mobile device | |
JP5545853B2 (en) | Communication device | |
JP2010244457A (en) | Method and system for control of usb communication, and usb hub apparatus | |
US20200226085A1 (en) | Data processing system | |
JP2014021821A (en) | Peripheral device and host device | |
JP4239930B2 (en) | Data transfer control system, electronic device and program | |
JP5309932B2 (en) | Relay device for connecting hot-plug device devices | |
WO2009145098A1 (en) | I/o connection system, method and program | |
US20120054373A1 (en) | Connection Apparatus, and Method Used in Connection Apparatus | |
TWI579704B (en) | Ssic device and link control method for ssic device | |
JP2013258619A (en) | Communication system and backup power supply method | |
US8639967B2 (en) | Controlling apparatus, method for controlling apparatus and information processing apparatus | |
JP2021101293A (en) | Information processing apparatus | |
JP2008084206A (en) | Storage device and data transfer method | |
JPWO2002056547A1 (en) | Switching relay device and switching relay system | |
JP6958110B2 (en) | Information processing equipment and programs |