• 検索結果がありません。

Match Device and Host Bit Rates (デバイスとホストのビットレートマッチング)

ドキュメント内 CoaXPress Standard (ページ 130-133)

10 Device Setup (デバイスのセットアップ)

10.1 Device Discovery (デバイスのディスカバリ処理)

10.1.2 Match Device and Host Bit Rates (デバイスとホストのビットレートマッチング)

Without prior knowledge the Device and Host connection scheme is unknown and the bit rates of the Device transmitters and Host receivers may not match. However the low speed Host to Device link has a fixed standard bit rate allowing transfer of control packets from Host to Device. During Device discovery the Host shall use a maximum control packet data size of 128 bytes (see section 8.6.4).

事前の情報がないとき,デバイスとホストの接続システムが成り立たず,デバイス側トランスミッタとホスト側レシーバ のビットレートが適合していない場合がある。しかしながらロースピードのホストからデバイスへのリンクは,ホストか

らデバイスへコントロールパケットを伝送可能な標準ビットレートに固定されている。デバイスのディスカバリ処理中,

ホストは 128 バイトの最大コントロールデータサイズを使用すること<SHALL>(セクション8.6.4参照)。

The process to match the downlink bit rates is described below and shown in Figure 30.

 For each Host link the Host shall write a link reset command by writing the value 1 to the Device LinkReset bootstrap registers.

 A Device receiving this link reset command via its Master link (link 0) shall execute link reset and activate its discovery link configuration within 200ms (see section 10.4.16).

 The Host shall wait 200ms to allow for the Device to complete link configuration.

 The Host shall initialize its receiver to the lowest discovery bit rate it supports (see section 4.3 ).

 The Host shall monitor the link state.

 If the link state is Detected within a timeout period then the Host and Device have established a link.

Comment: A timeout period allows the Host receiver to attain lock and alignment. The required time is implementation specific and therefore not specified here.

 If the link state is Undetected after the timeout period then the Host may repeat the process using another discovery bit rate.

Start

Reset link by writing 1 to the LinkReset register.

(do not wait for ack)

Figure 30 ― Matching Device and Host bit rates Link

State

Select one of the discovery bit rates and Initialize Host receiver.

time out Detected

No Undetected

Wait for 200ms

Yes

Note: This scheme assumes link state detection to be preset to Undetected after initializing the Host receiver.

Done for this link

ダウンリンクのビットレートマッチング処理は以下の記述と図 30のようになる。

 各ホストのリンクについて,ホストはデバイスのLinkReset ブートストラップレジスタに値1を書き込むことによって リンクリセットコマンドを送信する<SHALL>。

 そのマスタリンク(リンク 0)経由でこのリンクリセットコマンドを受信したデバイスはリンクリセットを実行し,200ms 以内にこのディスカバリ リンクコンフィグレーションを有効化する<SHALL>(セクション10.4.16参照)。

 ホストはデバイスがリンクコンフィグレーションを完了できるように 200ms 待機する<SHALL>。

 ホストは自身のレシーバがサポートする最低速度のディスカバリビットレートに初期化する<SHALL>。(セクショ ン4.3 参照)。

 ホストはリンクステートを監視する<SHALL>。

 一定のタイムアウト期間以内にリンクステートが「検出」されると,ホストとデバイスのリンクが確立する。

コメント: 一定のタイムアウト周期はホスト側レシーバのロックとアライメントを許容する。必要な時間はベンダー固有のため,

ここでは規定しない。

 一定のタイムアウト周期後にリンクステートが「未検出」となったとき,ホストは別のディスカバリビットレートで処理 を繰り返す場合がある。

開始

(ACKを待たずに)

LinkResetレジスタに 1を書 き込んでリンクをリセットする。

30 ―デバイス/ホストのビットレートマッチング

リンク ステート

ディスカバリ用ビットレート をひとつ選んでホスト側レ シーバを初期化する。

タイム アウト

検出

No 未検出

200ms 待機

Yes

注: このシステムではホスト側レシーバ初期 化後のリンクステートが「未検出」にプリセッ トされると想定している。

このリンクは完了

ドキュメント内 CoaXPress Standard (ページ 130-133)