Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3619983B2 - Signal switching circuit and bus analyzer using the same - Google Patents
[go: Go Back, main page]

JP3619983B2 - Signal switching circuit and bus analyzer using the same - Google Patents

Signal switching circuit and bus analyzer using the same Download PDF

Info

Publication number
JP3619983B2
JP3619983B2 JP15915299A JP15915299A JP3619983B2 JP 3619983 B2 JP3619983 B2 JP 3619983B2 JP 15915299 A JP15915299 A JP 15915299A JP 15915299 A JP15915299 A JP 15915299A JP 3619983 B2 JP3619983 B2 JP 3619983B2
Authority
JP
Japan
Prior art keywords
physical layer
signal
circuit
external communication
communication 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.)
Expired - Fee Related
Application number
JP15915299A
Other languages
Japanese (ja)
Other versions
JP2000349858A (en
Inventor
靖 古川
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric 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 Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP15915299A priority Critical patent/JP3619983B2/en
Publication of JP2000349858A publication Critical patent/JP2000349858A/en
Application granted granted Critical
Publication of JP3619983B2 publication Critical patent/JP3619983B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、信号切換回路に関し、特に物理層/リンク層インターフェースの信号を外部通信回路に取り出すことが可能な信号切換回路及びこれを用いたIEEEE1394バス・アナライザに関する。
【0002】
【従来の技術】
動画像、静止画像、音声及び文字等のマルチメディア情報をコンピュータ、周辺機器及びデジタルビデオカメラ等の一般向けのAV機器との間で高速に通信するための新しい通信プロトコルがIEEE(Institute of Electrical and Electronics Engineers)で国際標準化されつつある。
【0003】
前記通信プロトコルはIEEE1394シリアルバス(以下、単に1394シリアルバスと呼ぶ。)により通信が行われ、1394シリアルバスに新たにノードを接続したり、1394シリアルバスからノードを切り離したり自由にトポロジーを変更することが可能である。
【0004】
また、このような1394シリアルバスに接続する端末のノードでは1394シリアルバスに接続される物理層ICと、この物理層ICに対して物理層/リンク層インターフェースを介して信号を送受信するリンク層ICとが一般に用いられる。
【0005】
図6はこのような従来のノードの物理層IC及びリンク層ICの部分の一例を示す構成ブロック図である。図6において1は物理層IC,2はリンク層IC、100はIEEE1394シリアルバス(以下、単に1394シリアルバスと呼ぶ。)、101は物理層/リンク層インターフェース(以下、単にインターフェースと呼ぶ。)である。
【0006】
1394シリアルバス100は物理層IC1に接続され、物理層IC1とリンク層IC2はインターフェース101により相互に接続される。
【0007】
また、インターフェース101の詳細を図7を用いて説明する。図7はインターフェース101の信号の名称及びその意味を説明する表である。
【0008】
図7中”SCLK”は50MHzのクロック信号、図7中”LReq”はリンク層IC2から物理層IC1への送信要求信号、図7中”CTL[0:1]”はインターフェース101の制御信号である。
【0009】
また、図7中”D[0:n]”はインターフェース101のデータ信号であり、例えば、転送速度が”100Mbps”の場合は”n=1”で2本のデータ信号となる。また、転送速度が”200Mbps”及び”400Mbps”の場合には”n=3”及び”n=7”となり、それぞれ4本及び8本のデータ信号となる。
【0010】
ここで、図6に示す従来例の動作を説明する。物理層IC1は1394シリアルバス100上のアナログ信号を制御して、ディジタル送受信データを変換して1394シリアルバス100上に送受信する。
【0011】
また、リンク層IC2はディジタル送受信データを制御して、インターフェース101を介して物理層IC1とのデータ通信を行う。また、リンク層IC2は送受信データの冗長符号によるエラーチェックであるCRC(Cyclic Redundancy Check)演算等を行う。
【0012】
すなわち、1394シリアルバス100上の信号は物理層IC1により受信されて、受信データはリンク層IC2に送信されて受信処理が行われて制御回路等の上位機器(図示せず。)に対して受信データを送信する。一方、リンク層IC2からの送信データは物理層IC1に送信されて1394シリアルバス100上に送信される。
【0013】
また、ここで、図7中”CTL[0:1]”に示すインターフェース101の制御信号の詳細を図8、図9、図10及び図11を用いて説明する。
【0014】
図8及び図10はインターフェース101の制御権が物理層IC1及びリンク層IC2側にある場合の制御信号の詳細を説明する表、図9は物理層IC1からリンク層IC2へインターフェース101の制御権が移る場合のアルゴリズムを示すフロー図、図11はリンク層IC2から物理層IC1へインターフェース101の制御権が移る場合のアルゴリズムを示すフロー図である。
【0015】
初期状態ではインターフェース101の制御権は物理層IC1側にあり、制御信号は図8に示すような意味を有する。すなわち、”CTL[0:1]=00”の場合には待機中”Idle”を示し、”CTL[0:1]=01”の場合には物理層IC1からリンク層IC2へステータス情報が送信”Status”されていることを示す。
【0016】
また、”CTL[0:1]=10”の場合には物理層IC1からリンク層IC2へパケット転送”Receive”が行われていることを示し、”CTL[0:1]=11”の場合にはリンク層IC2に対して送信許可”Grant”、言い換えれば、インターフェース101の制御権の譲渡が許可されることを示す。
【0017】
ここで、物理層IC1からリンク層IC2へインターフェース101の制御権が移る場合のリンク層IC2の動作を図9を用いて説明する。図9中”S001”においてリンク層IC2は送信要求信号”LReq”をアクティブにしてインターフェース101の制御権の委譲を要求する。
【0018】
この送信要求信号”LReq”に対して物理層IC1が送信を許可する場合には物理層IC1は制御信号を”CTL[0:1]=11”とするので、図9中”S002”においてリンク層IC2は物理層IC1が送信許可をしたか否かを判断して、もし、送信許可であれば図9中”S003”においてリンク層IC2はインターフェース101の制御権が自分に委譲されたことを確認する。
【0019】
このように、物理層IC1からリンク層IC2へインターフェース101の制御権が移った場合には制御信号は図10に示すような意味に変更される。すなわち、”CTL[0:1]=00”の場合にはリンク層IC2が転送完了若しくは制御権の開放”Idle”を示し、”CTL[0:1]=01”の場合にはリンク層IC2が制御権を保持”Hold”していることを示す。
【0020】
また、”CTL[0:1]=10”の場合にはリンク層IC2から物理層IC1へパケット転送”Transmit”が行われていることを示し、”CTL[0:1]=11”は未使用である。
【0021】
一方、リンク層IC2から物理層IC1へインターフェース101の制御権が移る場合の物理層IC1の動作を図11を用いて説明する。図11中”S101”において物理層IC1はリンク層IC2が”CTL[0:1]=00、Idle”を2回続けて送信したか否かを判断する。
【0022】
図11中”S101”において前記送信が確認されない場合、図11中”S102”において物理層IC1はリンク層IC2が”CTL[0:1]=01、Hold”、”CTL[0:1]=00、Idle”の順番で送信したか否かを判断する。
【0023】
もし、図11中”S101”及び”S102”において当該送信が確認された場合、図11中”S103”において物理層IC1はインターフェース101の制御権が自分に委譲されたことを確認する。
【0024】
【発明が解決しようとする課題】
しかし、図6に示すような従来例では物理層IC1との通信はインターフェース101にのみであり、データの送受信にはリンク層IC2を介してデータの授受を行う必要がある。
【0025】
一方、リンク層IC2は一般にエラーを含むパケット送信することができないのでIEEE1394バス・アナライザとして要求のあるエラーパケットの発生や、エラーパケットの検出等をこのような汎用のリンク層ICを用いて行うことはできないと言った問題点があった。但し、RAWパケットと呼ばれる動作モードでエラーパケットを送信することが可能なリンク層ICもあるが転送速度が遅いと言った問題点があった。
【0026】
また、汎用のリンク層ICではコスト低減のためにIC内のバッファメモリの容量を制限しているものが多く、このため、IEEE1394で規定されている最大転送サイズよりも前記容量が小さい場合がある。
【0027】
この場合、例えば、物理層IC1が最大転送サイズのデータを受信した場合であってもリンク層IC2のバッファメモリがあふれてしまい、IEEE1394で規定されている性能を最大限利用することができない場合があると言った問題点があった。
従って本発明が解決しようとする課題は、物理層/リンク層インターフェースの信号を外部通信回路に取り出すことが可能な信号切換回路及びこれを用いたIEEE1394バス・アナライザを実現することにある。
【0028】
【課題を解決するための手段】
このような課題を達成するために、本発明のうち請求項1記載の発明は、
物理層/リンク層インターフェースの信号を外部通信回路に取り出す信号切換回路において、
前記物理層/リンク層インターフェースからリンク層ICを切断すると共に物理層ICと外部通信回路とを接続することにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0029】
請求項2記載の発明は、
請求項1記載の発明である信号切換回路において、
前記外部通信回路からの切断信号により前記物理層/リンク層インターフェースから前記リンク層ICを切断する切断回路と、前記外部通信回路からの信号を前記物理層ICに接続する外部接続回路とから構成されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0030】
請求項3記載の発明は、
請求項2記載の発明である信号切換回路において、
前記切断回路が、
前記リンク層ICに一端が接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0031】
請求項4記載の発明は、
請求項2記載の発明である信号切換回路において、
前記外部接続回路が、
前記物理層ICと前記外部通信回路の送信要求信号、制御信号及びデータ信号とが一端に接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0032】
請求項5記載の発明は、
IEEE1394シリアルバスのバス・アナライザにおいて、
前記IEEE1394シリアルバス上にデータを送受信する物理層ICと、送受信データを制御して、物理層/リンク層インターフェースを介して前記物理層ICとのデータ通信を行うリンク層ICと、前記物理層ICとの送受信を行う外部通信回路と、前記物理層/リンク層インターフェースからリンク層ICを切断すると共に前記物理層ICと前記外部通信回路とを接続する信号切換回路とを備えたことにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0033】
請求項6記載の発明は、
請求項5記載の発明であるバス・アナライザにおいて、
前記信号切換回路が、
前記外部通信回路からの切断信号により前記物理層/リンク層インターフェースから前記リンク層ICを切断する切断回路と、前記外部通信回路からの信号を前記物理層ICに接続する外部接続回路とから構成されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0034】
請求項7記載の発明は、
請求項6記載の発明であるバス・アナライザにおいて、
前記切断回路が、
前記リンク層ICに一端が接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0035】
請求項8記載の発明は、
請求項6記載の発明であるバス・アナライザにおいて、
前記外部接続回路が、
前記物理層ICと前記外部通信回路の送信要求信号、制御信号及びデータ信号とが一端に接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0036】
請求項9記載の発明は、
請求項5乃至請求項8記載の発明であるバス・アナライザにおいて、
前記外部通信回路が、
前記物理層ICと前記リンク層ICとの間の送信要求信号の回路接続を切断しておき、送信要求信号を用いて前記物理層ICに対して送信の許可を要求し、前記物理層ICから送信許可が得られた場合に前記物理層ICと前記リンク層ICとの間の制御信号及びデータ信号の回路接続を切断し、前記制御信号及び前記データ信号を用いて前記物理層ICに対してデータ送信を行い、データ送信が完了時に全ての信号をハイインピーダンスにすることにより、外部通信回路がリンク層ICを介することなしに、物理層ICに対する送信が可能になる。
【0037】
請求項10記載の発明は、
請求項5乃至請求項8記載の発明であるバス・アナライザにおいて、
前記外部通信回路が、
前記リンク層ICが待機中である場合に前記物理層ICと前記リンク層ICとの間の制御信号及びデータ信号の回路接続を切断し、前記制御信号及び前記データ信号を用いて前記物理層ICからのデータを受信し処理を行い、受信完了時に全ての信号をハイインピーダンスにすることにより、外部通信回路がリンク層ICを介することなしに、物理層ICからのデータを受信することが可能になる。
【0038】
請求項11記載の発明は、
請求項5乃至請求項8記載の発明であるバス・アナライザにおいて、
前記外部通信回路が、
エラーを含むパケットを前記物理層ICを介してIEEE1394シリアルバス上に送信することにより、エラーパケットの送受信が可能になる。
【0039】
請求項12記載の発明は、
請求項5乃至請求項8記載の発明であるバス・アナライザにおいて、
前記外部通信回路が、
最大転送サイズのデータの送受信を行う場合に前記外部通信回路のバッファメモリから直接送信、若しくは、受信データを直接蓄積することにより、IEEE1394で規定されている性能を最大限利用することができる。
【0040】
【発明の実施の形態】
以下本発明を図面を用いて詳細に説明する。図1は本発明に係る信号切換回路を用いたバスアナライザの一実施例を示す構成ブロック図である。図1において1,2,100及び101は図6と同一符号を付してあり、3は外部接続回路、4は切断回路、5は外部通信回路である。また、3及び4は信号切換回路50を構成している。
【0041】
1394シリアルバス100は物理層IC1に接続され、インターフェース101のうちクロック信号”SCLK”はリンク層IC2に接続され、インターフェース101の残りである送信要求信号”LReq”、制御信号”CTL[0:1]”及びデータ信号”D[0:n]”は外部接続回路3及び切断回路4を介してリンク層IC2に接続される。
【0042】
また、外部通信回路5からの送信要求信号、制御信号及びデータ信号が外部接続回路3に接続され、外部通信回路5からの各種切断信号が切断回路4に接続される。
【0043】
また、外部通信回路5からの信号の詳細を図2を用いて説明する。図2はインターフェース101及び外部通信回路5の信号の名称及びその意味を説明する表である。
【0044】
図2中”LReq”、”CTL[0:1]”及び”D[0:n]”は図7における説明と同様であるので説明は省略する。図2中”LReq_A”は外部通信回路5から物理層IC1への送信要求信号、図2中”CTL_A[0:1]”は物理層/外部通信回路インターフェースの制御信号、図2中”D_A[0:n]”は物理層IC1と外部通信回路5との間のデータ信号である。
【0045】
また、図2中”LReq_B”、”CTL_B[0:1]”及び”D_B[0:n]”は物理層IC1とリンク層IC2との回路を切断するための切断信号である。
【0046】
ここで、図1に示す実施例の動作を説明する。但し、図6に示す従来例と同様動作に関しては説明は省略する。切断回路4は外部通信回路5からの切断信号に基づきクロック信号”SCLK”以外の物理層IC1とリンク層IC2との間の回路接続を切断する。この時、切断されたリンク層IC2側の信号入力端子は”ローレベル”となる。
【0047】
例えば、図1中”LReq_B”に示す切断信号が”ローレベル”になると、切断回路4はインターフェース101のうち送信要求信号”LReq”の回路接続を切断する。
【0048】
また、例えば、図1中”D_B[n]”に示す切断信号が”ローレベル”になると、切断回路4はインターフェース101のうちデータ信号”D[n]”の回路接続のみを切断する。
【0049】
すなわち、外部通信回路5からの切断信号によりインターフェース101の各種信号を任意に切断することができる。
【0050】
一方、外部接続回路3は外部通信回路5から物理層IC1への送信要求信号”LReq_A”、物理層/外部通信回路インターフェースの制御信号”CTL_A[0:1]”及び物理層IC1と外部通信回路5との間のデータ信号”D_A[0:n]”をそれぞれインターフェース101の送信要求信号”LReq”、制御信号”CTL_A[0:1]”及びデータ信号”D_A[0:n]”に接続する。
【0051】
外部通信回路5は通常状態では全ての信号を”ハイインピーダンス”にして、外部接続回路3の接続を停止し、また、切断回路4の切断動作を停止させている。
【0052】
そして、外部通信回路5がリンク層IC2を介さないで物理層IC1と送受信をする場合は、外部通信回路5は切断信号により切断回路4を制御して物理層IC1とリンク層IC2との間の回路接続を切断した上で、外部接続回路3により外部通信回路5からの各種信号をインターフェース101に接続して物理層IC1との間で送受信を行う。
【0053】
この結果、インターフェース101からリンク層IC2を切断して、物理層IC1と外部通信回路5とを接続して送受信を行うことにより、リンク層IC2を介することなしに、物理層IC1との送受信が可能になる。また、外部通信回路5で送信したエラーを含むパケットを物理層IC1を介して1394シリアルバス100上に送信することが可能になる。
【0054】
また、IEEE1394で規定されている最大転送サイズのデータの送受信を行う場合にはリンク層IC2を介さないで外部通信回路5のバッファメモリから直接送信、若しくは、受信データを直接蓄積することが可能になるので、IEEE1394で規定されている性能を最大限利用することができる。
【0055】
ここで、さらに、外部通信回路5の送受信の動作を図3及び図4を用いて説明する。図3及び図4は外部通信回路5のデータ送信及びデータ受信の動作を説明するフロー図である。
【0056】
先ず、リンク層IC2の送信を停止しデータを送信する場合、図3中”S201”において外部通信回路5は切断信号”LReq_B”を”ローレベル”にし、切断回路4によって物理層IC1とリンク層IC2との間の送信要求信号”LReq”の回路接続を切断する。
【0057】
この時、リンク層IC2は物理層IC1からの受信を継続、言い換えれば、他のノードからのデータ受信やデータ書込みに対する応答等をしているので、制御信号”CTL[0:1]”及びデータ信号”D[0:n]”の回路接続の切断はしない。
【0058】
そして、図3中”S202”において外部通信回路5は送信要求信号”LReq_A”を用いて物理層IC1に対して送信の許可を要求する。
【0059】
図3中”S203”において外部通信回路5は物理層IC1からの送信許可である制御信号”CTL[0:1]=11、Grant”を検出した否かを判断し、物理層IC1から送信許可が得られた場合には、図3中”S204”において外部通信回路5は切断信号”CTL_B[0:1]”及び”D_B[0:n]”を”ローレベル”にし、切断回路4によって物理層IC1とリンク層IC2との間の制御信号”CTL[0:1]”及びデータ信号”D[0:n]”の回路接続を切断する。
【0060】
この時、リンク層IC2は自ら送信要求信号を出力していないので、本来受信するはずのない物理層IC1からの送信許可を受信しても何らデータ送信動作を行うことはない。
【0061】
また、切断回路4により回路接続が切断された場合、リンク層IC2の制御信号”CTL[0:1]”の信号が全て”ローレベル(00)”となるので、リンク層IC2は”Idle”状態を保持したまま物理層IC1から切断される。
【0062】
そして、図3中”S205”において外部通信回路5は制御信号”CTL_A[0:1]”及びデータ信号”D_A[0:n]”を用いて物理層IC1に対してIEEE1394で規定されているプロトコルに従ってデータ送信を行う。
【0063】
図3中”S206”において外部通信回路5はデータ送信が完了したと判断した場合、図3中”S207”において全ての信号”LReq_A”、”CTL_A[0:1]”、”D_A[0:n]”、”LReq_B”、”CTL_B[0:1]”及び”D_B[0:n]”を”ハイインピーダンス”にする。
【0064】
これにより、外部接続回路3の接続が停止し、また、切断回路4の切断動作が停止するので、物理層IC1とリンク層IC2とはインターフェース101によって従来例と同様の回路接続に回復する。
【0065】
この結果、リンク層IC2に影響を与えることなく回路接続を切断して、外部通信回路5から物理層IC1に対してデータ送信を行うことが可能になる。
【0066】
一方、リンク層IC2の受信を停止しデータを受信する場合、図4中”S301”において外部通信回路5はリンク層IC2が待機中であるかどうかを制御信号”CTL[0:1]=00、Idle”が否かに基づき判断して、もし、待機中であれば図4中”S302”の処理を行う。
【0067】
図4中”S302”において外部通信回路5は切断信号”CTL_B[0:1]”及び”D_B[0:n]”を”ローレベル”にし、切断回路4によって物理層IC1とリンク層IC2との間の制御信号”CTL[0:1]”及びデータ信号”D[0:n]”の回路接続を切断する。
【0068】
そして、図4中”S303”において外部通信回路5は制御信号”CTL_A[0:1]”及びデータ信号”D_A[0:n]”を用いて物理層IC1からのデータをIEEE1394で規定されているプロトコルに従って受信する。
【0069】
また、図4中”S304”において外部通信回路5は受信したデータに対してCRC演算を行ったり、切断されたリンク層IC2へのCSR(Control And Status Register)アクセスに応答する等の処理を行う。
【0070】
図4中”S305”において外部通信回路5はデータの受信が完了したか否かを判断し、受信完了の場合はさらに、図4中”S306”において物理層IC1が待機中であるかどうかを制御信号”CTL[0:1]=00、Idle”が否かに基づき判断して、もし、待機中であれば図4中”S307”の処理を行う。
【0071】
図4中”S305”及び”S306”において外部通信回路5はデータ受信完了且つ物理層ICが待機中と判断した場合、図4中”S307”において全ての信号”LReq_A”、”CTL_A[0:1]”、”D_A[0:n]”、”LReq_B”、”CTL_B[0:1]”及び”D_B[0:n]”を”ハイインピーダンス”にする。
【0072】
これにより、外部接続回路3の接続が停止し、また、切断回路4の切断動作が停止するので、物理層IC1とリンク層IC2とはインターフェース101によって従来例と同様の回路接続に回復する。
【0073】
この結果、リンク層IC2に影響を与えることなく回路接続を切断して、外部通信回路5が物理層IC1からのデータの受信を行うことが可能になる。
【0074】
また、図5は外部接続回路3及び切断回路4の具体例を示すバスアナライザの一実施例を示す構成ブロック図である。図5において1〜5,50,100及び101は図1と同一符号を付してあり、6a,6b,6c,6d,6e,6f,7a,7b,7c,7d,7e及び7fは抵抗である。また、6a〜6fは外部接続回路3を、7a〜7fは切断回路4をそれぞれ構成している。
【0075】
1394シリアルバス100は物理層IC1に接続され、インターフェース101のうちクロック信号”SCLK”はリンク層IC2に接続され、インターフェース101の送信要求信号”LReq”は外部通信回路5の送信要求信号”LReq_A”に接続されると共に抵抗6aの一端に接続される。
【0076】
同様に、制御信号”CTL[0]”及び”CTL[1]”はそれぞれ外部通信回路5の制御信号”CTL_A[0]”及び”CTL_A[1]”に接続されると共に抵抗6b及び6cの一端に接続される。
【0077】
また、データ信号”D[0]”、”D[1]”〜”D[n]”はそれぞれ外部通信回路5のデータ信号”D_A[0]”、”D_A[1]”〜”D_A[n]”に接続されると共に抵抗6d,6e及び6fの一端に接続される。
【0078】
抵抗6aの他端は外部通信回路5の切断信号”LReq_B”に接続されると共に抵抗7aの一端に接続される。
【0079】
同様に、抵抗6b及び6cの他端はそれぞれ外部通信回路5の切断信号”CTL_B[0]”及び”CTL_B[1]”に接続されると共に抵抗7b及び7cの一端に接続される。
【0080】
また、抵抗6d,6e及び6fの他端はそれぞれ外部通信回路5の切断信号”D_B[0]”、”D_B[1]”〜”D_B[n]”に接続されると共に抵抗7d,7e及び7fの一端に接続される。
【0081】
最後に、抵抗7a,7b,7c,7d,7e及び7fの他端はそれぞれリンク層IC2の送信要求信号”LReq”、制御信号”CTL[0]”及び”CTL[1]”、データ信号”D[0]”、”D[1]”〜”D[n]”に接続される。
【0082】
ここで、図5に示す実施例の動作を説明する。但し、基本動作は図1に示す実施例と同様であるのでその部分の説明は省略する。
【0083】
外部通信回路5の全ての信号”LReq_A”、”CTL_A[0:1]”、”D_A[0:n]”、”LReq_B”、”CTL_B[0:1]”及び”D_B[0:n]”を”ハイインピーダンス”にすると、インターフェース101と外部通信回路5との回路接続はなくなるので、インターフェース101には抵抗6aと抵抗7aとの直列抵抗等がそれぞれの信号に挿入された状態になる。
【0084】
すなわち、外部接続回路3の接続が停止し、また、切断回路4の切断動作も停止するので、物理層IC1とリンク層IC2とはインターフェース101によって接続される。
【0085】
一方、外部通信回路5からの切断信号を”ローレベル”にすると抵抗7a等がプルダウンされてリンク層IC2には物理層IC1等の出力に関わりなく”ローレベル”が印加されることになり、物理層IC1からの回路接続が切断される。
【0086】
一方、この状態において、外部通信回路5からの送信要求信号”LReq_A”、制御信号”CTL_A[0:1]”及びデータ信号”D_A[0:n]”は直接物理層IC1に接続され抵抗6a等によってプルダウンされているので物理層IC1と外部通信回路5との間の送受信が可能になる。
【0087】
この結果、リンク層IC2に一端が接続された各抵抗の他端に外部通信回路5の切断信号が印加される切断回路4と、物理層IC1と外部通信回路5の送信要求信号、制御信号及びデータ信号とが一端に接続された各抵抗の他端に外部通信回路5の切断信号が印加される外部接続回路3を設けることより、インターフェース101の信号を外部通信回路に取り出すことが可能になる。
【0088】
すなわち、外部通信回路5の全ての信号を”ハイインピーダンス”にすることにより、物理層IC1とリンク層IC2とはインターフェース101によって接続され、また、外部通信回路5からの切断信号を”ローレベル”にすることにより、リンク層IC2と物理層IC1との回路接続が切断される。
【0089】
さらに、この状態で外部通信回路5からの送信要求信号”LReq_A”、制御信号”CTL_A[0:1]”及びデータ信号”D_A[0:n]”は物理層IC1に対して接続されることになる。
【0090】
なお、図5に示す実施例ではハイインピーダンスによって外部通信回路5との回路接続を切断しているが、抵抗以外の素子、例えば、FETやトランジスタ等を利用した切断回路を用いても構わない。
【0091】
この場合には”CTL_B”、”D_B”や”LReq_B”と言った信号を”ハイレベル”にすることによって回路接続を切断することが可能になり、また、逆に”ローレベル”にすることにより回路接続を切断することも可能になる。
【0092】
【発明の効果】
以上説明したことから明らかなように、本発明によれば次のような効果がある。
請求項1乃至請求項10の発明によれば、物理層/リンク層インターフェースからリンク層ICを切断して、物理層ICと外部通信回路とを接続して送受信を行うことにより、外部通信回路がリンク層ICを介することなしに、物理層ICとの送受信が可能になる。
【0093】
また、請求項11の発明によれば、外部通信回路が、エラーを含むパケットを前記物理層ICを介してIEEE1394シリアルバス上に送信することにより、エラーパケットの送受信が可能になる。
【0094】
また、請求項12の発明によれば、外部通信回路が、最大転送サイズのデータの送受信を行う場合に外部通信回路のバッファメモリから直接送信、若しくは、受信データを直接蓄積することにより、IEEE1394で規定されている性能を最大限利用することができる。
【図面の簡単な説明】
【図1】本発明に係る信号切換回路を用いたバスアナライザの一実施例を示す構成ブロック図である。
【図2】信号の名称及びその意味を説明する表である。
【図3】外部通信回路のデータ送信の動作を説明するフロー図である。
【図4】外部通信回路のデータ受信の動作を説明するフロー図である。
【図5】外部接続回路及び切断回路の具体例を示すバスアナライザの一実施例を示す構成ブロック図である。
【図6】従来のノードの物理層IC及びリンク層ICの部分の一例を示す構成ブロック図である。
【図7】信号の名称及びその意味を説明する表である。
【図8】制御信号の詳細を説明する表である。
【図9】物理層ICからリンク層ICへインターフェースの制御権が移る場合のアルゴリズムを示すフロー図である。
【図10】制御信号の詳細を説明する表である。
【図11】リンク層ICから物理層ICへインターフェースの制御権が移る場合のアルゴリズムを示すフロー図である。
【符号の説明】
1 物理層IC
2 リンク層IC
3 外部接続回路
4 切断回路
5 外部通信回路
6a,6b,6c,6d,6e,6f,7a,7b,7c,7d,7e,7f抵抗
50 信号切換回路
100 IEEE1394シリアルバス
101 物理層/リンク層インターフェース
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a signal switching circuit, and more particularly to a signal switching circuit that can extract a physical layer / link layer interface signal to an external communication circuit and an IEEE 1394 bus analyzer using the signal switching circuit.
[0002]
[Prior art]
A new communication protocol for communicating multimedia information such as moving images, still images, audio and text with general-purpose AV devices such as computers, peripheral devices and digital video cameras at high speed is IEEE (Institut of Electrical and (Electronics Engineers) is being standardized internationally.
[0003]
The communication protocol is communication using an IEEE 1394 serial bus (hereinafter simply referred to as a 1394 serial bus), and a new node is connected to the 1394 serial bus, a node is disconnected from the 1394 serial bus, or the topology is freely changed. It is possible.
[0004]
In addition, in a node of a terminal connected to such a 1394 serial bus, a physical layer IC connected to the 1394 serial bus, and a link layer IC that transmits / receives signals to / from the physical layer IC via a physical layer / link layer interface. Are generally used.
[0005]
FIG. 6 is a block diagram showing an example of the physical layer IC and the link layer IC of such a conventional node. In FIG. 6, 1 is a physical layer IC, 2 is a link layer IC, 100 is an IEEE 1394 serial bus (hereinafter simply referred to as 1394 serial bus), and 101 is a physical layer / link layer interface (hereinafter simply referred to as interface). is there.
[0006]
The 1394 serial bus 100 is connected to the physical layer IC 1, and the physical layer IC 1 and the link layer IC 2 are connected to each other by the interface 101.
[0007]
Details of the interface 101 will be described with reference to FIG. FIG. 7 is a table for explaining the names of the signals of the interface 101 and their meanings.
[0008]
“SCLK” in FIG. 7 is a 50 MHz clock signal, “LReq” in FIG. 7 is a transmission request signal from the link layer IC 2 to the physical layer IC 1, and “CTL [0: 1]” in FIG. is there.
[0009]
In FIG. 7, “D [0: n]” is a data signal of the interface 101. For example, when the transfer rate is “100 Mbps”, “n = 1” and two data signals are obtained. In addition, when the transfer rate is “200 Mbps” and “400 Mbps”, “n = 3” and “n = 7”, respectively, and four data signals and eight data signals, respectively.
[0010]
Here, the operation of the conventional example shown in FIG. 6 will be described. The physical layer IC1 controls analog signals on the 1394 serial bus 100, converts digital transmission / reception data, and transmits / receives data on the 1394 serial bus 100.
[0011]
The link layer IC 2 controls digital transmission / reception data and performs data communication with the physical layer IC 1 via the interface 101. Further, the link layer IC2 performs a CRC (Cyclic Redundancy Check) operation, which is an error check using redundant codes of transmission / reception data.
[0012]
That is, the signal on the 1394 serial bus 100 is received by the physical layer IC1, and the received data is transmitted to the link layer IC2 to be received and received by a host device (not shown) such as a control circuit. Send data. On the other hand, transmission data from the link layer IC 2 is transmitted to the physical layer IC 1 and transmitted onto the 1394 serial bus 100.
[0013]
The details of the control signal of the interface 101 indicated by “CTL [0: 1]” in FIG. 7 will be described with reference to FIGS. 8, 9, 10 and 11. FIG.
[0014]
8 and 10 are tables for explaining the details of the control signal when the control right of the interface 101 is on the physical layer IC1 and the link layer IC2 side, and FIG. 9 is the control right of the interface 101 from the physical layer IC1 to the link layer IC2. FIG. 11 is a flowchart showing an algorithm when the control right of the interface 101 is transferred from the link layer IC2 to the physical layer IC1.
[0015]
In the initial state, the control right of the interface 101 is on the physical layer IC 1 side, and the control signal has a meaning as shown in FIG. That is, when “CTL [0: 1] = 00”, “Idle” indicating standby is indicated, and when “CTL [0: 1] = 01”, status information is transmitted from the physical layer IC1 to the link layer IC2. Indicates that “Status” has been set.
[0016]
Further, when “CTL [0: 1] = 10”, it indicates that packet transfer “Receive” is being performed from the physical layer IC1 to the link layer IC2, and when “CTL [0: 1] = 11”. Indicates transmission permission “Grant” to the link layer IC 2, in other words, transfer of the control right of the interface 101 is permitted.
[0017]
Here, the operation of the link layer IC2 when the control right of the interface 101 is transferred from the physical layer IC1 to the link layer IC2 will be described with reference to FIG. In “S001” in FIG. 9, the link layer IC2 activates the transmission request signal “LReq” to request delegation of the control right of the interface 101.
[0018]
When the physical layer IC1 permits transmission for the transmission request signal “LReq”, the physical layer IC1 sets the control signal to “CTL [0: 1] = 11”. Therefore, the link is made at “S002” in FIG. The layer IC2 determines whether or not the physical layer IC1 has permitted transmission. If the transmission is permitted, the link layer IC2 confirms that the control right of the interface 101 has been delegated to itself in "S003" in FIG. Confirm.
[0019]
Thus, when the control right of the interface 101 is transferred from the physical layer IC1 to the link layer IC2, the control signal is changed to the meaning shown in FIG. That is, when “CTL [0: 1] = 00”, the link layer IC2 indicates transfer completion or release of control right “Idle”, and when “CTL [0: 1] = 01”, the link layer IC2 Indicates that “Hold” holds the control right.
[0020]
In addition, when “CTL [0: 1] = 10”, it indicates that packet transfer “Transmit” is being performed from the link layer IC2 to the physical layer IC1, and “CTL [0: 1] = 11” is not yet performed. Is use.
[0021]
On the other hand, the operation of the physical layer IC1 when the control right of the interface 101 is transferred from the link layer IC2 to the physical layer IC1 will be described with reference to FIG. In “S101” in FIG. 11, the physical layer IC1 determines whether or not the link layer IC2 has transmitted “CTL [0: 1] = 00, Idle” twice in succession.
[0022]
If the transmission is not confirmed in “S101” in FIG. 11, the physical layer IC1 is “CTL [0: 1] = 01,“ Hold ”,“ CTL [0: 1] = ”in the physical layer IC1 in“ S102 ”in FIG. It is determined whether or not the transmission is in the order of 00, Idle ".
[0023]
If the transmission is confirmed in “S101” and “S102” in FIG. 11, the physical layer IC 1 confirms that the control right of the interface 101 is transferred to itself in “S103” in FIG.
[0024]
[Problems to be solved by the invention]
However, in the conventional example as shown in FIG. 6, communication with the physical layer IC1 is only performed by the interface 101, and data transmission / reception needs to be performed via the link layer IC2.
[0025]
On the other hand, since the link layer IC 2 cannot generally transmit a packet including an error, the generation of an error packet required as an IEEE 1394 bus analyzer, the detection of an error packet, and the like are performed using such a general-purpose link layer IC. There was a problem that I could not do. However, although there is a link layer IC that can transmit an error packet in an operation mode called a RAW packet, there is a problem that a transfer speed is low.
[0026]
Further, many general-purpose link layer ICs limit the capacity of the buffer memory in the IC in order to reduce the cost. For this reason, the capacity may be smaller than the maximum transfer size defined in IEEE1394. .
[0027]
In this case, for example, even when the physical layer IC1 receives data of the maximum transfer size, the buffer memory of the link layer IC2 overflows, and the performance defined in IEEE 1394 cannot be used to the maximum extent. There was a problem that there was.
Therefore, the problem to be solved by the present invention is to realize a signal switching circuit capable of extracting a physical layer / link layer interface signal to an external communication circuit and an IEEE 1394 bus analyzer using the signal switching circuit.
[0028]
[Means for Solving the Problems]
In order to achieve such a problem, the invention according to claim 1 of the present invention is:
In a signal switching circuit that extracts a physical layer / link layer interface signal to an external communication circuit,
By disconnecting the link layer IC from the physical layer / link layer interface and connecting the physical layer IC and the external communication circuit, the external communication circuit can transmit to and receive from the physical layer IC without going through the link layer IC. become.
[0029]
The invention according to claim 2
In the signal switching circuit of the invention according to claim 1,
A disconnect circuit that disconnects the link layer IC from the physical layer / link layer interface according to a disconnect signal from the external communication circuit, and an external connection circuit that connects a signal from the external communication circuit to the physical layer IC. As a result, the external communication circuit can perform transmission / reception with the physical layer IC without going through the link layer IC.
[0030]
The invention described in claim 3
In the signal switching circuit according to the invention of claim 2,
The cutting circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor whose one end is connected to the link layer IC, so that the external communication circuit can transmit and receive with the physical layer IC without going through the link layer IC. It becomes possible.
[0031]
The invention according to claim 4
In the signal switching circuit according to the invention of claim 2,
The external connection circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor to which the transmission request signal, the control signal, and the data signal of the physical layer IC and the external communication circuit are connected to one end, so that the external communication circuit Transmission / reception with the physical layer IC can be performed without going through the link layer IC.
[0032]
The invention according to claim 5
In the bus analyzer of the IEEE1394 serial bus,
A physical layer IC that transmits and receives data on the IEEE 1394 serial bus; a link layer IC that controls transmission and reception data and performs data communication with the physical layer IC via a physical layer / link layer interface; and the physical layer IC. An external communication circuit that transmits and receives data to and from the physical layer / link layer interface, and a signal switching circuit that disconnects the link layer IC from the physical layer / link layer interface and connects the physical layer IC and the external communication circuit. Transmission / reception with the physical layer IC becomes possible without the circuit passing through the link layer IC.
[0033]
The invention described in claim 6
In the bus analyzer according to claim 5,
The signal switching circuit is
A disconnect circuit that disconnects the link layer IC from the physical layer / link layer interface according to a disconnect signal from the external communication circuit, and an external connection circuit that connects a signal from the external communication circuit to the physical layer IC. As a result, the external communication circuit can perform transmission / reception with the physical layer IC without going through the link layer IC.
[0034]
The invention described in claim 7
In the bus analyzer as claimed in claim 6,
The cutting circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor whose one end is connected to the link layer IC, so that the external communication circuit can transmit and receive with the physical layer IC without going through the link layer IC. It becomes possible.
[0035]
The invention described in claim 8
In the bus analyzer as claimed in claim 6,
The external connection circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor to which the transmission request signal, the control signal, and the data signal of the physical layer IC and the external communication circuit are connected to one end, so that the external communication circuit Transmission / reception with the physical layer IC can be performed without going through the link layer IC.
[0036]
The invention according to claim 9
In the bus analyzer as claimed in claim 5 to claim 8,
The external communication circuit is
Disconnecting the circuit connection of the transmission request signal between the physical layer IC and the link layer IC, requesting permission of transmission from the physical layer IC using the transmission request signal, from the physical layer IC When transmission permission is obtained, the circuit connection of the control signal and the data signal between the physical layer IC and the link layer IC is disconnected, and the physical layer IC is connected to the physical layer IC using the control signal and the data signal. By performing data transmission and setting all signals to high impedance when data transmission is completed, transmission to the physical layer IC becomes possible without the external communication circuit passing through the link layer IC.
[0037]
The invention according to claim 10 is:
In the bus analyzer as claimed in claim 5 to claim 8,
The external communication circuit is
When the link layer IC is in a standby state, the circuit connection of the control signal and the data signal between the physical layer IC and the link layer IC is disconnected, and the physical layer IC is used by using the control signal and the data signal. Data is received and processed, and all signals are set to high impedance when reception is completed, enabling external communication circuits to receive data from the physical layer IC without going through the link layer IC Become.
[0038]
The invention according to claim 11
In the bus analyzer as claimed in claim 5 to claim 8,
The external communication circuit is
By transmitting a packet including an error on the IEEE 1394 serial bus via the physical layer IC, the error packet can be transmitted and received.
[0039]
The invention according to claim 12
In the bus analyzer as claimed in claim 5 to claim 8,
The external communication circuit is
When data of the maximum transfer size is transmitted / received, the performance defined in IEEE 1394 can be utilized to the maximum by directly transmitting or storing received data from the buffer memory of the external communication circuit.
[0040]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a bus analyzer using a signal switching circuit according to the present invention. In FIG. 1, 1, 2, 100 and 101 are assigned the same reference numerals as in FIG. 6, 3 is an external connection circuit, 4 is a disconnection circuit, and 5 is an external communication circuit. Reference numerals 3 and 4 form a signal switching circuit 50.
[0041]
The 1394 serial bus 100 is connected to the physical layer IC1, the clock signal “SCLK” of the interface 101 is connected to the link layer IC2, and the remaining transmission request signal “LReq” and control signal “CTL [0: 1] of the interface 101 are connected. ] And the data signal “D [0: n]” are connected to the link layer IC 2 via the external connection circuit 3 and the disconnection circuit 4.
[0042]
In addition, a transmission request signal, a control signal, and a data signal from the external communication circuit 5 are connected to the external connection circuit 3, and various disconnection signals from the external communication circuit 5 are connected to the disconnection circuit 4.
[0043]
Details of signals from the external communication circuit 5 will be described with reference to FIG. FIG. 2 is a table explaining the names of the signals of the interface 101 and the external communication circuit 5 and their meanings.
[0044]
In FIG. 2, “LReq”, “CTL [0: 1]”, and “D [0: n]” are the same as those in FIG. In FIG. 2, “LLeq_A” is a transmission request signal from the external communication circuit 5 to the physical layer IC1, “CTL_A [0: 1]” in FIG. 2 is a control signal for the physical layer / external communication circuit interface, and “D_A [ 0: n] ”is a data signal between the physical layer IC 1 and the external communication circuit 5.
[0045]
In FIG. 2, “LReq_B”, “CTL_B [0: 1]” and “D_B [0: n]” are disconnection signals for disconnecting the circuits of the physical layer IC1 and the link layer IC2.
[0046]
Here, the operation of the embodiment shown in FIG. 1 will be described. However, the description of the same operation as the conventional example shown in FIG. 6 is omitted. The disconnect circuit 4 disconnects the circuit connection between the physical layer IC 1 and the link layer IC 2 other than the clock signal “SCLK” based on the disconnect signal from the external communication circuit 5. At this time, the signal input terminal on the cut link layer IC2 side becomes “low level”.
[0047]
For example, when the disconnection signal indicated by “LReq_B” in FIG. 1 becomes “low level”, the disconnection circuit 4 disconnects the circuit connection of the transmission request signal “LReq” in the interface 101.
[0048]
For example, when the disconnection signal indicated by “D_B [n]” in FIG. 1 becomes “low level”, the disconnection circuit 4 disconnects only the circuit connection of the data signal “D [n]” in the interface 101.
[0049]
That is, various signals of the interface 101 can be arbitrarily disconnected by a disconnection signal from the external communication circuit 5.
[0050]
On the other hand, the external connection circuit 3 includes a transmission request signal “LReq_A” from the external communication circuit 5 to the physical layer IC1, a control signal “CTL_A [0: 1]” of the physical layer / external communication circuit interface, and the physical layer IC1 and the external communication circuit. 5 are connected to the transmission request signal “LReq”, the control signal “CTL_A [0: 1]” and the data signal “D_A [0: n]” of the interface 101, respectively. To do.
[0051]
In the normal state, the external communication circuit 5 sets all signals to “high impedance”, stops the connection of the external connection circuit 3, and stops the cutting operation of the cutting circuit 4.
[0052]
When the external communication circuit 5 transmits / receives to / from the physical layer IC1 without passing through the link layer IC2, the external communication circuit 5 controls the disconnection circuit 4 by the disconnection signal, and between the physical layer IC1 and the link layer IC2. After disconnecting the circuit connection, the external connection circuit 3 connects various signals from the external communication circuit 5 to the interface 101 to perform transmission / reception with the physical layer IC 1.
[0053]
As a result, by disconnecting the link layer IC2 from the interface 101 and connecting the physical layer IC1 and the external communication circuit 5 to perform transmission / reception, transmission / reception to / from the physical layer IC1 is possible without going through the link layer IC2. become. Further, a packet including an error transmitted by the external communication circuit 5 can be transmitted on the 1394 serial bus 100 via the physical layer IC1.
[0054]
In addition, when transmitting / receiving data of the maximum transfer size specified in IEEE 1394, it is possible to directly transmit or store received data from the buffer memory of the external communication circuit 5 without going through the link layer IC2. As a result, the performance defined in IEEE 1394 can be utilized to the maximum.
[0055]
Here, the transmission / reception operation of the external communication circuit 5 will be described with reference to FIGS. 3 and 4 are flowcharts for explaining the data transmission and data reception operations of the external communication circuit 5.
[0056]
First, when the transmission of the link layer IC2 is stopped and the data is transmitted, the external communication circuit 5 sets the disconnection signal “LReq_B” to “low level” in “S201” in FIG. The circuit connection of the transmission request signal “LReq” with the IC 2 is disconnected.
[0057]
At this time, since the link layer IC2 continues to receive from the physical layer IC1, in other words, responds to data reception or data writing from other nodes, the control signal “CTL [0: 1]” and the data The circuit connection of the signal “D [0: n]” is not disconnected.
[0058]
Then, in “S202” in FIG. 3, the external communication circuit 5 requests the physical layer IC 1 to permit transmission using the transmission request signal “LReq_A”.
[0059]
In “S203” in FIG. 3, the external communication circuit 5 determines whether or not the control signal “CTL [0: 1] = 11, Grant”, which is transmission permission from the physical layer IC1, is detected, and transmission permission from the physical layer IC1. Is obtained, the external communication circuit 5 sets the disconnection signals “CTL_B [0: 1]” and “D_B [0: n]” to “low level” in “S204” in FIG. The circuit connection of the control signal “CTL [0: 1]” and the data signal “D [0: n]” between the physical layer IC1 and the link layer IC2 is disconnected.
[0060]
At this time, since the link layer IC2 does not itself output a transmission request signal, no data transmission operation is performed even if a transmission permission is received from the physical layer IC1 that should not be received.
[0061]
When the circuit connection is disconnected by the disconnection circuit 4, all the control signals “CTL [0: 1]” of the link layer IC2 become “low level (00)”, so that the link layer IC2 is “Idle”. The physical layer IC1 is disconnected while maintaining the state.
[0062]
Then, in “S205” in FIG. 3, the external communication circuit 5 is defined by IEEE 1394 for the physical layer IC1 using the control signal “CTL_A [0: 1]” and the data signal “D_A [0: n]”. Data transmission is performed according to the protocol.
[0063]
If the external communication circuit 5 determines that the data transmission has been completed in “S206” in FIG. 3, all signals “LReq_A”, “CTL_A [0: 1]”, “D_A [0: n] ”,“ LReq_B ”,“ CTL_B [0: 1] ”and“ D_B [0: n] ”are set to“ high impedance ”.
[0064]
As a result, the connection of the external connection circuit 3 is stopped and the disconnection operation of the disconnection circuit 4 is stopped, so that the physical layer IC1 and the link layer IC2 are restored to the same circuit connection as in the conventional example by the interface 101.
[0065]
As a result, it is possible to disconnect the circuit connection without affecting the link layer IC2 and perform data transmission from the external communication circuit 5 to the physical layer IC1.
[0066]
On the other hand, when the reception of the link layer IC2 is stopped and data is received, the external communication circuit 5 determines whether or not the link layer IC2 is on standby in “S301” in FIG. , Idle ”is determined based on whether or not, and if“ Idle ”is waiting, the processing of“ S302 ”in FIG. 4 is performed.
[0067]
In “S302” in FIG. 4, the external communication circuit 5 sets the disconnection signals “CTL_B [0: 1]” and “D_B [0: n]” to “low level”, and the disconnection circuit 4 causes the physical layer IC1 and the link layer IC2 to The circuit connection between the control signal “CTL [0: 1]” and the data signal “D [0: n]” is disconnected.
[0068]
Then, in “S303” in FIG. 4, the external communication circuit 5 uses the control signal “CTL_A [0: 1]” and the data signal “D_A [0: n]” to define the data from the physical layer IC1 according to IEEE1394. Receiving according to the protocol in use.
[0069]
Also, in “S304” in FIG. 4, the external communication circuit 5 performs a CRC operation on the received data, or performs a process such as responding to a CSR (Control And Status Register) access to the disconnected link layer IC2. .
[0070]
In “S305” in FIG. 4, the external communication circuit 5 determines whether or not the data reception is completed. If the reception is completed, it is further determined whether or not the physical layer IC1 is in standby in “S306” in FIG. Judgment is made based on whether or not the control signal “CTL [0: 1] = 00, Idle”. If the control signal is on standby, the processing of “S307” in FIG. 4 is performed.
[0071]
When “S305” and “S306” in FIG. 4 indicate that the external communication circuit 5 has received data and the physical layer IC is on standby, all signals “LReq_A” and “CTL_A [0: 1] ”,“ D_A [0: n] ”,“ LReq_B ”,“ CTL_B [0: 1] ”and“ D_B [0: n] ”are set to“ high impedance ”.
[0072]
As a result, the connection of the external connection circuit 3 is stopped and the disconnection operation of the disconnection circuit 4 is stopped, so that the physical layer IC1 and the link layer IC2 are restored to the same circuit connection as in the conventional example by the interface 101.
[0073]
As a result, the circuit connection is disconnected without affecting the link layer IC2, and the external communication circuit 5 can receive data from the physical layer IC1.
[0074]
FIG. 5 is a configuration block diagram showing an embodiment of a bus analyzer showing specific examples of the external connection circuit 3 and the disconnection circuit 4. In FIG. 5, 1 to 5, 50, 100 and 101 are given the same reference numerals as in FIG. 1, and 6a, 6b, 6c, 6d, 6e, 6f, 7a, 7b, 7c, 7d, 7e and 7f are resistors. is there. Further, 6a to 6f constitute an external connection circuit 3, and 7a to 7f constitute a cutting circuit 4.
[0075]
The 1394 serial bus 100 is connected to the physical layer IC1, the clock signal “SCLK” of the interface 101 is connected to the link layer IC2, and the transmission request signal “LReq” of the interface 101 is the transmission request signal “LReq_A” of the external communication circuit 5. And is connected to one end of the resistor 6a.
[0076]
Similarly, the control signals “CTL [0]” and “CTL [1]” are respectively connected to the control signals “CTL_A [0]” and “CTL_A [1]” of the external communication circuit 5 and the resistors 6b and 6c. Connected to one end.
[0077]
The data signals “D [0]”, “D [1]” to “D [n]” are the data signals “D_A [0]”, “D_A [1]” to “D_A [] of the external communication circuit 5, respectively. n] "and one end of resistors 6d, 6e and 6f.
[0078]
The other end of the resistor 6a is connected to the disconnection signal “LReq_B” of the external communication circuit 5 and to one end of the resistor 7a.
[0079]
Similarly, the other ends of the resistors 6b and 6c are connected to disconnection signals “CTL_B [0]” and “CTL_B [1]” of the external communication circuit 5, respectively, and to one ends of the resistors 7b and 7c.
[0080]
The other ends of the resistors 6d, 6e, and 6f are connected to disconnection signals “D_B [0]” and “D_B [1]” to “D_B [n]” of the external communication circuit 5, respectively, and the resistors 7d, 7e, and It is connected to one end of 7f.
[0081]
Finally, the other ends of the resistors 7a, 7b, 7c, 7d, 7e, and 7f are the transmission request signal “LReq”, the control signals “CTL [0]”, “CTL [1]”, and the data signal ”of the link layer IC2, respectively. D [0] ”,“ D [1] ”to“ D [n] ”.
[0082]
Here, the operation of the embodiment shown in FIG. 5 will be described. However, the basic operation is the same as that of the embodiment shown in FIG.
[0083]
All signals “LReq_A”, “CTL_A [0: 1]”, “D_A [0: n]”, “LReq_B”, “CTL_B [0: 1]”, and “D_B [0: n]” of the external communication circuit 5 When “is set to“ high impedance ”, there is no circuit connection between the interface 101 and the external communication circuit 5, so that a series resistance of a resistor 6 a and a resistor 7 a or the like is inserted into each signal in the interface 101.
[0084]
That is, the connection of the external connection circuit 3 is stopped and the cutting operation of the cutting circuit 4 is also stopped, so that the physical layer IC1 and the link layer IC2 are connected by the interface 101.
[0085]
On the other hand, when the disconnection signal from the external communication circuit 5 is set to “low level”, the resistor 7a and the like are pulled down, and “low level” is applied to the link layer IC2 regardless of the output of the physical layer IC1 and the like. The circuit connection from the physical layer IC1 is disconnected.
[0086]
On the other hand, in this state, the transmission request signal “LReq_A”, the control signal “CTL_A [0: 1]”, and the data signal “D_A [0: n]” from the external communication circuit 5 are directly connected to the physical layer IC1 and connected to the resistor 6a. Since it is pulled down by, etc., transmission / reception between the physical layer IC 1 and the external communication circuit 5 becomes possible.
[0087]
As a result, the disconnection circuit 4 in which the disconnection signal of the external communication circuit 5 is applied to the other end of each resistor whose one end is connected to the link layer IC2, the transmission request signal of the physical layer IC1 and the external communication circuit 5, the control signal, By providing the external connection circuit 3 to which the disconnection signal of the external communication circuit 5 is applied at the other end of each resistor connected to one end of the data signal, the signal of the interface 101 can be taken out to the external communication circuit. .
[0088]
That is, by setting all the signals of the external communication circuit 5 to “high impedance”, the physical layer IC1 and the link layer IC2 are connected by the interface 101, and the disconnection signal from the external communication circuit 5 is set to “low level”. By doing so, the circuit connection between the link layer IC2 and the physical layer IC1 is disconnected.
[0089]
In this state, the transmission request signal “LReq_A”, the control signal “CTL_A [0: 1]”, and the data signal “D_A [0: n]” from the external communication circuit 5 are connected to the physical layer IC1. become.
[0090]
In the embodiment shown in FIG. 5, the circuit connection with the external communication circuit 5 is disconnected by high impedance, but a disconnection circuit using an element other than a resistor, such as an FET or a transistor, may be used.
[0091]
In this case, it is possible to disconnect the circuit connection by setting the signals such as “CTL_B”, “D_B” and “LReq_B” to “high level”, and conversely to “low level”. This also makes it possible to disconnect the circuit connection.
[0092]
【The invention's effect】
As is apparent from the above description, the present invention has the following effects.
According to the first to tenth aspects of the present invention, the link layer IC is disconnected from the physical layer / link layer interface, and the physical layer IC and the external communication circuit are connected to perform transmission / reception, whereby the external communication circuit is Transmission / reception with the physical layer IC can be performed without going through the link layer IC.
[0093]
According to the eleventh aspect of the present invention, an external communication circuit transmits / receives an error packet by transmitting a packet including an error onto the IEEE 1394 serial bus via the physical layer IC.
[0094]
According to the twelfth aspect of the present invention, when the external communication circuit transmits / receives data of the maximum transfer size, it directly transmits or stores received data from the buffer memory of the external communication circuit. The specified performance can be used to the maximum.
[Brief description of the drawings]
FIG. 1 is a configuration block diagram showing an embodiment of a bus analyzer using a signal switching circuit according to the present invention.
FIG. 2 is a table explaining signal names and their meanings.
FIG. 3 is a flowchart for explaining the data transmission operation of the external communication circuit.
FIG. 4 is a flowchart illustrating an operation of receiving data by an external communication circuit.
FIG. 5 is a configuration block diagram showing an embodiment of a bus analyzer showing a specific example of an external connection circuit and a disconnection circuit.
FIG. 6 is a configuration block diagram showing an example of a physical layer IC and a link layer IC portion of a conventional node.
FIG. 7 is a table explaining signal names and their meanings.
FIG. 8 is a table illustrating details of control signals.
FIG. 9 is a flowchart showing an algorithm when the control right of the interface is transferred from the physical layer IC to the link layer IC.
FIG. 10 is a table explaining details of control signals.
FIG. 11 is a flowchart showing an algorithm when the interface control right is transferred from the link layer IC to the physical layer IC.
[Explanation of symbols]
1 Physical layer IC
2 Link layer IC
3 External connection circuit
4 cutting circuit
5 External communication circuit
6a, 6b, 6c, 6d, 6e, 6f, 7a, 7b, 7c, 7d, 7e, 7f resistors
50 Signal switching circuit
100 IEEE1394 serial bus
101 Physical layer / link layer interface

Claims (12)

物理層/リンク層インターフェースの信号を外部通信回路に取り出す信号切換回路において、
前記物理層/リンク層インターフェースからリンク層ICを切断すると共に物理層ICと外部通信回路とを接続することを特徴とする
信号切換回路。
In a signal switching circuit that extracts a physical layer / link layer interface signal to an external communication circuit,
A signal switching circuit characterized by disconnecting a link layer IC from the physical layer / link layer interface and connecting the physical layer IC and an external communication circuit.
前記外部通信回路からの切断信号により前記物理層/リンク層インターフェースから前記リンク層ICを切断する切断回路と、
前記外部通信回路からの信号を前記物理層ICに接続する外部接続回路と
から構成されることを特徴とする
請求項1記載の信号切換回路。
A disconnect circuit that disconnects the link layer IC from the physical layer / link layer interface in response to a disconnect signal from the external communication circuit;
2. The signal switching circuit according to claim 1, further comprising an external connection circuit that connects a signal from the external communication circuit to the physical layer IC.
前記切断回路が、
前記リンク層ICに一端が接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることを特徴とする
請求項2記載の信号切換回路。
The cutting circuit is
3. The signal switching circuit according to claim 2, wherein a disconnection signal of the external communication circuit is applied to the other end of each resistor having one end connected to the link layer IC.
前記外部接続回路が、
前記物理層ICと前記外部通信回路の送信要求信号、制御信号及びデータ信号とが一端に接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることを特徴とする
請求項2記載の信号切換回路。
The external connection circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor to which a transmission request signal, a control signal, and a data signal of the physical layer IC and the external communication circuit are connected at one end. 3. The signal switching circuit according to 2.
IEEE1394シリアルバスのバス・アナライザにおいて、
前記IEEE1394シリアルバス上にデータを送受信する物理層ICと、
送受信データを制御して、物理層/リンク層インターフェースを介して前記物理層ICとのデータ通信を行うリンク層ICと、
前記物理層ICとの送受信を行う外部通信回路と、
前記物理層/リンク層インターフェースからリンク層ICを切断すると共に前記物理層ICと前記外部通信回路とを接続する信号切換回路と
を備えたことを特徴とするバス・アナライザ。
In the bus analyzer of the IEEE1394 serial bus,
A physical layer IC for transmitting and receiving data on the IEEE 1394 serial bus;
A link layer IC that controls transmission / reception data and performs data communication with the physical layer IC via a physical layer / link layer interface;
An external communication circuit that performs transmission and reception with the physical layer IC;
A bus analyzer comprising: a signal switching circuit that disconnects a link layer IC from the physical layer / link layer interface and connects the physical layer IC and the external communication circuit.
前記信号切換回路が、
前記外部通信回路からの切断信号により前記物理層/リンク層インターフェースから前記リンク層ICを切断する切断回路と、
前記外部通信回路からの信号を前記物理層ICに接続する外部接続回路と
から構成されることを特徴とする
請求項5記載のバス・アナライザ。
The signal switching circuit is
A disconnect circuit that disconnects the link layer IC from the physical layer / link layer interface in response to a disconnect signal from the external communication circuit;
6. The bus analyzer according to claim 5, further comprising an external connection circuit for connecting a signal from the external communication circuit to the physical layer IC.
前記切断回路が、
前記リンク層ICに一端が接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることを特徴とする
請求項6記載のバス・アナライザ。
The cutting circuit is
7. The bus analyzer according to claim 6, wherein a disconnection signal of the external communication circuit is applied to the other end of each resistor having one end connected to the link layer IC.
前記外部接続回路が、
前記物理層ICと前記外部通信回路の送信要求信号、制御信号及びデータ信号とが一端に接続された各抵抗の他端に前記外部通信回路の切断信号が印加されることを特徴とする
請求項6記載のバス・アナライザ。
The external connection circuit is
The disconnection signal of the external communication circuit is applied to the other end of each resistor to which a transmission request signal, a control signal, and a data signal of the physical layer IC and the external communication circuit are connected at one end. 6. The bus analyzer according to 6.
前記外部通信回路が、
前記物理層ICと前記リンク層ICとの間の送信要求信号の回路接続を切断しておき、
送信要求信号を用いて前記物理層ICに対して送信の許可を要求し、
前記物理層ICから送信許可が得られた場合に前記物理層ICと前記リンク層ICとの間の制御信号及びデータ信号の回路接続を切断し、
前記制御信号及び前記データ信号を用いて前記物理層ICに対してデータ送信を行い、
データ送信が完了時に全ての信号をハイインピーダンスにする
ことを特徴とする
請求項5乃至請求項8記載のバス・アナライザ。
The external communication circuit is
Disconnect the circuit connection of the transmission request signal between the physical layer IC and the link layer IC,
Request permission of transmission to the physical layer IC using a transmission request signal,
When transmission permission is obtained from the physical layer IC, the circuit connection of the control signal and the data signal between the physical layer IC and the link layer IC is disconnected,
Data is transmitted to the physical layer IC using the control signal and the data signal,
9. The bus analyzer according to claim 5, wherein all signals are set to high impedance when data transmission is completed.
前記外部通信回路が、
前記リンク層ICが待機中である場合に前記物理層ICと前記リンク層ICとの間の制御信号及びデータ信号の回路接続を切断し、
前記制御信号及び前記データ信号を用いて前記物理層ICからのデータを受信し処理を行い、
受信完了時に全ての信号をハイインピーダンスにする
ことを特徴とする
請求項5乃至請求項8記載のバス・アナライザ。
The external communication circuit is
Disconnecting the control signal and data signal circuit connection between the physical layer IC and the link layer IC when the link layer IC is waiting;
Receive and process data from the physical layer IC using the control signal and the data signal,
9. The bus analyzer according to claim 5, wherein all signals are set to high impedance when reception is completed.
前記外部通信回路が、
エラーを含むパケットを前記物理層ICを介してIEEE1394シリアルバス上に送信することを特徴とする
請求項5乃至請求項8記載のバス・アナライザ。
The external communication circuit is
9. The bus analyzer according to claim 5, wherein a packet including an error is transmitted on the IEEE 1394 serial bus through the physical layer IC.
前記外部通信回路が、
最大転送サイズのデータの送受信を行う場合に前記外部通信回路のバッファメモリから直接送信、若しくは、受信データを直接蓄積することを特徴とする
請求項5乃至請求項8記載のバス・アナライザ。
The external communication circuit is
9. The bus analyzer according to claim 5, wherein when data having a maximum transfer size is transmitted / received, direct transmission or reception data is directly accumulated from a buffer memory of the external communication circuit.
JP15915299A 1999-06-07 1999-06-07 Signal switching circuit and bus analyzer using the same Expired - Fee Related JP3619983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15915299A JP3619983B2 (en) 1999-06-07 1999-06-07 Signal switching circuit and bus analyzer using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15915299A JP3619983B2 (en) 1999-06-07 1999-06-07 Signal switching circuit and bus analyzer using the same

Publications (2)

Publication Number Publication Date
JP2000349858A JP2000349858A (en) 2000-12-15
JP3619983B2 true JP3619983B2 (en) 2005-02-16

Family

ID=15687412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15915299A Expired - Fee Related JP3619983B2 (en) 1999-06-07 1999-06-07 Signal switching circuit and bus analyzer using the same

Country Status (1)

Country Link
JP (1) JP3619983B2 (en)

Also Published As

Publication number Publication date
JP2000349858A (en) 2000-12-15

Similar Documents

Publication Publication Date Title
US6247083B1 (en) Method and apparatus for bi-directionally transferring data between an IEEE 1394 bus and a device to be controlled by a control signal transmitted via the bus
CN1770771B (en) Method for managing control commands of consumer electronics products
TW384611B (en) Data communication apparatus and method
US5919261A (en) Methods and apparatus for controlling operation of a link layer controller based upon a state of connection between multiple electronic apparatus
CA2247341C (en) Asynchronous data pipe for automatically managing asynchronous data transfers between an application and a bus structure
US6928563B2 (en) System for controlling power supplies of a device connected to a network depends on communication mode
JPH10164107A (en) Data communication method, electronic device, and physical layer integrated circuit
US20020010824A1 (en) Electronic equipment and method for processing digital serial data at bus initialization phase in interface unit
AU751233B2 (en) Parallel backplane physical layer interface with scalable data bandwidth
JP4949816B2 (en) Bidirectional communication circuit, bidirectional communication system, and bidirectional communication circuit communication method
KR101351929B1 (en) Method and device to transmit a busy medium signal to another device
CN115632900A (en) a computing device
JPH10229410A (en) Data processing device, electronic equipment and communication system
JP3619983B2 (en) Signal switching circuit and bus analyzer using the same
EP1384355B1 (en) Interface circuit
JP3640844B2 (en) Transmission apparatus having error processing function and error processing method
CN100433623C (en) Serial advanced technology attachment (sata) switch
US20100088709A1 (en) Transmission Method and Circuit Device Capable of Automatic Transmission Interface Selection
JPH11145995A (en) Bus data transmission method
EP0932104B1 (en) Method and apparatus for transferring bi-directionally data between an IEEE 1394 bus and a device
US7167940B2 (en) Data processing method, data processing apparatus, communications device, communications method, communications protocol and program
EP4280487B1 (en) Communication device and data transmission method
KR100364744B1 (en) Apparatus for duplexing link port Synchronous Transport Module
JP2001086131A (en) Information processor
US20120151096A1 (en) Communication device, network system, and communication method

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040712

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040714

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041104

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20071126

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20081126

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20091126

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees