JP2018190256A - Data transfer device - Google Patents

Data transfer device Download PDF

Info

Publication number
JP2018190256A
JP2018190256A JP2017093471A JP2017093471A JP2018190256A JP 2018190256 A JP2018190256 A JP 2018190256A JP 2017093471 A JP2017093471 A JP 2017093471A JP 2017093471 A JP2017093471 A JP 2017093471A JP 2018190256 A JP2018190256 A JP 2018190256A
Authority
JP
Japan
Prior art keywords
transmission
transmission method
transfer
data
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2017093471A
Other languages
Japanese (ja)
Inventor
純 鈴木
Jun Suzuki
純 鈴木
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2017093471A priority Critical patent/JP2018190256A/en
Publication of JP2018190256A publication Critical patent/JP2018190256A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a data transfer device capable of efficiently transferring data even when transferring a small amount of data.SOLUTION: A data transfer device includes a transmission unit and a reception unit. The transmission unit includes first transmission method transmission means for performing transmission by a first transmission method that does not require a training sequence when restarting transfer, second transmission method transmission means for performing transmission by a second transmission method that is a clock embedded method, and transmission method switching means for switching to the first transmission method transmission means or the second transmission method transmission means. The reception unit includes first transmission method reception means for receiving by the first transmission method, second transmission method reception means for receiving by the second transmission method, and reception method switching means for switching to the first transmission method reception means or the second transmission method reception means, and controls the transmission method switching means and the reception method switching means on the basis of an amount of data transferred from the transmission unit to the reception unit.SELECTED DRAWING: Figure 1

Description

本発明は、データ転送装置に関し、特にチップ間通信に関する。   The present invention relates to a data transfer apparatus, and more particularly to inter-chip communication.

デジタルカメラなどの撮像装置において、撮像素子の多画素化や動画像の高フレームレート化などに伴い、取り扱うデータ量が増大している。そのため、画像処理プロセッサと撮像素子や液晶パネル等の周辺デバイス間を流れるデータ量も増大し、デバイス間のデータ通信は、より高速化が求められてきている。   In an imaging apparatus such as a digital camera, the amount of data to be handled has increased with the increase in the number of pixels of an imaging element and the increase in the frame rate of a moving image. For this reason, the amount of data flowing between the image processing processor and peripheral devices such as an image sensor and a liquid crystal panel has also increased, and data communication between devices has been required to be faster.

デバイス間のデータ通信には、ソースシンクロナス方式やクロックエンベデッド方式が用いられてきている。ソースシンクロナス方式が多く利用されてきたが、ソースシンクロナス方式は、データとクロックを別々に送信するため、データとクロック間のスキューが生じ、この点が高速化のネックとなる。   For data communication between devices, a source synchronous method or a clock embedded method has been used. The source-synchronous method has been widely used. However, since the source-synchronous method transmits data and a clock separately, a skew occurs between the data and the clock, and this point becomes a bottleneck for speeding up.

そこで、より高速化が必要な箇所にはデータにクロックを埋め込むクロックエンベデッド方式が用いられている。しかし、クロックエンベデッド方式は、起動時やパワーダウンからの復帰時に、対向デバイスとのリンクを確立するために、所定のトレーニングシーケンスを行い、タイミング調整を行う必要がある。そのため、転送を行うまでに時間を要する。このように、各伝送方式には特徴があり、条件に応じて適切な伝送方式を選択する必要がある。   Therefore, a clock embedded system in which a clock is embedded in data is used at a place where higher speed is required. However, in the clock embedded system, it is necessary to perform a predetermined training sequence and adjust timing in order to establish a link with the opposite device at the time of start-up or recovery from power-down. Therefore, it takes time to perform the transfer. As described above, each transmission method has its characteristics, and it is necessary to select an appropriate transmission method according to conditions.

特許文献1には、再送可能なエラーフリー方式と、再送できない低遅延データ方式を用意して、受信側の仕様目的に応じて切り替えるシステムが記載されている。   Patent Document 1 describes a system that prepares an error-free method that can be retransmitted and a low-delay data method that cannot be retransmitted, and switches according to the specification purpose on the receiving side.

特開平7−143104号公報JP 7-143104 A

しかしながら、特許文献1においては、データ転送に要する時間や電力に関しての記載はなかった。   However, in Patent Document 1, there is no description regarding the time and power required for data transfer.

また、クロックエンベデッド方式の場合には、起動時やパワーダウンからの復帰の際に転送を行うまでに時間を要するという課題があった。特に、間欠的に少量のデータを転送する場合で、かつ、消費電力を低減するためにパワーダウンを活用する場合、転送のたびに所定のトレーニングシーケンスが必要となり、転送時間が長くかかってしまうという課題があった。   In the case of the clock embedded method, there is a problem that it takes time to perform transfer at the time of start-up or recovery from power-down. In particular, when a small amount of data is transferred intermittently, and when power down is used to reduce power consumption, a predetermined training sequence is required for each transfer, and it takes a long transfer time. There was a problem.

本発明の目的は、間欠的に少量のデータを転送する場合においても、効率よくデータ転送を行うことが可能なデータ転送装置を提供することにある。   An object of the present invention is to provide a data transfer apparatus capable of efficiently transferring data even when a small amount of data is intermittently transferred.

上記の目的を達成するため、本発明に係るデータ転送装置は、
送信部と受信部とを有するデータ転送装置であって、前記送信部は、転送再開時にトレーニングシーケンスが不要な第1の伝送方式で送信を行う第1の伝送方式送信手段と、クロックエンベデッド方式である第2の伝送方式で送信を行う第2の伝送方式送信手段と、前記第1の伝送方式送信手段または前記第2の伝送方式送信手段に切り替える送信方式切替手段とを有し、前記受信部は、前記第1の伝送方式で受信を行う第1の伝送方式受信手段と、前記第2の伝送方式で受信を行う第2の伝送方式受信手段と、前記第1の伝送方式受信手段または前記第2の伝送方式受信手段に切り替える受信方式切替手段とを有し、前記送信部から前記受信部への転送データ量に基づき、前記送信方式切替手段及び前記受信方式切替手段を制御することを特徴とする。
In order to achieve the above object, a data transfer device according to the present invention provides:
A data transfer apparatus having a transmission unit and a reception unit, wherein the transmission unit includes a first transmission method transmission unit that performs transmission using a first transmission method that does not require a training sequence when transfer is resumed, and a clock embedded method. A second transmission method transmitting means for transmitting in a second transmission method; and a transmission method switching means for switching to the first transmission method transmitting means or the second transmission method transmitting means, and the receiving unit Includes: a first transmission scheme receiving means for receiving in the first transmission scheme; a second transmission scheme receiving means for receiving in the second transmission scheme; the first transmission scheme receiving means; Receiving method switching means for switching to second transmission method receiving means, and controlling the transmission method switching means and the receiving method switching means based on the amount of data transferred from the transmitting unit to the receiving unit. And butterflies.

本発明に係るデータ転送装置によれば、間欠的に少量のデータを転送する場合においても、効率よくデータ転送を行うことが可能になる。   The data transfer apparatus according to the present invention enables efficient data transfer even when a small amount of data is transferred intermittently.

第1の実施形態におけるデータ転送装置100の構成の一例を説明するためのブロック図である。It is a block diagram for demonstrating an example of a structure of the data transfer apparatus 100 in 1st Embodiment. 伝送方式決定部115の構成の一例を説明するためのブロック図である。It is a block diagram for demonstrating an example of a structure of the transmission system determination part. 第1の転送情報保持部200及び第2の転送情報保持部210が保持する情報の一例を説明するための図である。It is a figure for demonstrating an example of the information which the 1st transfer information holding part 200 and the 2nd transfer information holding part 210 hold | maintain. 32bit(4Byte)を送信する際のデータ列の一例を説明するための図である。It is a figure for demonstrating an example of the data sequence at the time of transmitting 32 bits (4 bytes). 8192bit(1Kbyte)を送信する際のデータ列の一例を説明するための図である。It is a figure for demonstrating an example of the data sequence at the time of transmitting 8192bit (1Kbyte). 第2の実施形態におけるデータ転送装置600の構成の一例を説明するためのブロック図である。It is a block diagram for demonstrating an example of a structure of the data transfer apparatus 600 in 2nd Embodiment. データ転送時の一例を説明するためのタイミングチャートである。It is a timing chart for explaining an example at the time of data transfer. データ転送時の一例を説明するためのシーケンス図である。It is a sequence diagram for demonstrating an example at the time of data transfer. 送信側ステートマシン619及び受信側ステートマシン629についての状態遷移図である。FIG. 10 is a state transition diagram for a transmission-side state machine 619 and a reception-side state machine 629.

以下、図面を参照して本発明の実施形態を説明する。ただし、本発明は以下の実施形態に限定されるものではない。   Hereinafter, embodiments of the present invention will be described with reference to the drawings. However, the present invention is not limited to the following embodiments.

[第1の実施形態]
図1を参照して、実施形態1におけるデータ転送装置100の構成の一例を説明する。
[First Embodiment]
An example of the configuration of the data transfer apparatus 100 according to the first embodiment will be described with reference to FIG.

図1に示すように、データ転送装置100は、送信部110と、受信部120とを有する。まず、送信部110について説明する。処理部111は、転送データを生成し、第1の伝送方式送信部113及び第2の伝送方式送信部114に送出する。   As illustrated in FIG. 1, the data transfer apparatus 100 includes a transmission unit 110 and a reception unit 120. First, the transmission unit 110 will be described. The processing unit 111 generates transfer data and sends it to the first transmission method transmission unit 113 and the second transmission method transmission unit 114.

第1の伝送方式送信部113は、処理部111から受け取ったデータをソースシンクロナス方式で伝送するための処理を行う。第2の伝送方式送信部114は、処理部111から受け取ったデータをクロックエンベデッド方式で伝送するための処理を行う。例としては、パケット化や8b10b変換などがあげられる。   The first transmission method transmission unit 113 performs processing for transmitting data received from the processing unit 111 in a source synchronous method. The second transmission method transmission unit 114 performs processing for transmitting the data received from the processing unit 111 by the clock embedded method. Examples include packetization and 8b10b conversion.

転送データ量取得部112は、処理部111から送出した転送データの転送データ量を取得し、伝送方式決定部115に送出する。伝送方式決定部115は、転送データ量取得部112から転送データ量を受けとり、その転送データ量に応じて判定した結果である伝送方式切替信号を送信方式切替部116と、受信部120内の第1の受信方式切替部126及び第2の受信方式切替部127とに送出する。伝送方式決定部115の詳細は後述する。   The transfer data amount acquisition unit 112 acquires the transfer data amount of the transfer data sent from the processing unit 111 and sends it to the transmission method determination unit 115. The transmission method determination unit 115 receives the transfer data amount from the transfer data amount acquisition unit 112, and transmits a transmission method switch signal, which is a result determined according to the transfer data amount, in the transmission method switch unit 116 and the reception unit 120. 1 to the first reception method switching unit 126 and the second reception method switching unit 127. Details of the transmission method determination unit 115 will be described later.

送信方式切替部116は、伝送方式決定部115から伝送方式切替信号を受け取り、第1の伝送方式送信部113及び第2の伝送方式送信部114からの信号のいずれかを受信部120に送出するかを切り替える。   The transmission method switching unit 116 receives the transmission method switching signal from the transmission method determination unit 115 and sends one of the signals from the first transmission method transmission unit 113 and the second transmission method transmission unit 114 to the reception unit 120. Switch between.

次に、受信部120について説明する。第1の受信方式切替部126は、伝送方式決定部115から伝送方式切替信号を受け取り、第1の伝送方式受信部123及び第2の伝送方式受信部124のいずれかに送出するかを切り替える。第1の伝送方式受信部123は、第1の受信方式切替部126を経由して送信部110からのソースシンクロナス方式のデータを受信する処理を行う。   Next, the receiving unit 120 will be described. The first reception method switching unit 126 receives the transmission method switching signal from the transmission method determining unit 115 and switches between sending out to either the first transmission method receiving unit 123 or the second transmission method receiving unit 124. The first transmission method receiving unit 123 performs a process of receiving source-synchronous data from the transmission unit 110 via the first reception method switching unit 126.

第2の伝送方式受信部124は、第1の受信方式切替部126を経由して送信部110からのクロックエンベデッド方式のデータを受信する処理を行う。具体的には、10b/8b変換やパケットからのデータの抽出である。   The second transmission method reception unit 124 performs processing for receiving clock embedded method data from the transmission unit 110 via the first reception method switching unit 126. Specifically, 10b / 8b conversion and data extraction from a packet.

第2の受信方式切替部127は、第1の伝送方式受信部123及び第2の伝送方式受信部124からの信号のいずれかを処理部121に送出するかを切り替える。処理部121は、第2の受信方式切替部127を経由して受け取ったデータを用いて、様々な処理を行う。   The second reception method switching unit 127 switches whether to send one of the signals from the first transmission method reception unit 123 and the second transmission method reception unit 124 to the processing unit 121. The processing unit 121 performs various processes using data received via the second reception method switching unit 127.

次に、図2を参照して、伝送方式決定部115の構成の一例を説明する。   Next, an example of the configuration of the transmission method determination unit 115 will be described with reference to FIG.

伝送方式決定部115は、第1の伝送方式転送情報保持部200、第2の伝送方式転送情報保持部210、第1の伝送方式転送時間算出部220、第2の伝送方式転送時間算出部230及び比較部240を有する。第1の伝送方式転送情報保持部200は、第1の伝送方式であるソースシンクロナス方式の転送情報を保持する箇所である。第1の伝送方式転送速度201を保持している。第2の伝送方式転送情報保持部210は、第2の伝送方式であるクロックエンベデッド方式の転送情報を保持する箇所である。第2の伝送方式転送速度211、トレーニングシーケンス数212、ヘッダ数213、フッタ数214及び最大ペイロード数215を保持している。   The transmission method determination unit 115 includes a first transmission method transfer information holding unit 200, a second transmission method transfer information holding unit 210, a first transmission method transfer time calculation unit 220, and a second transmission method transfer time calculation unit 230. And a comparison unit 240. The first transmission method transfer information holding unit 200 is a part that holds transfer information of the source synchronous method that is the first transmission method. The first transmission method transfer rate 201 is maintained. The second transmission method transfer information holding unit 210 is a part that holds transfer information of a clock embedded method that is the second transmission method. A second transmission method transfer rate 211, a training sequence number 212, a header number 213, a footer number 214, and a maximum payload number 215 are held.

第1の伝送方式転送時間算出部220は、転送データ量と第1の伝送方式転送情報保持部200からの情報に基づき、第1の伝送方式であるソースシンクロナス方式で転送データ量を送信するのに要する時間を算出し、算出結果を比較部240に送出する。   The first transmission method transfer time calculation unit 220 transmits the transfer data amount by the source synchronous method, which is the first transmission method, based on the transfer data amount and the information from the first transmission method transfer information holding unit 200. The time required for the calculation is calculated, and the calculation result is sent to the comparison unit 240.

第2の伝送方式転送時間算出部230は、転送データ量と第2の伝送方式転送情報保持部210からの情報に基づき、第2の伝送方式であるクロックエンベデッド方式で転送データ量を送信するのに要する時間を算出し、算出結果を比較部240に送出する。   The second transmission method transfer time calculation unit 230 transmits the transfer data amount by the clock embedded method, which is the second transmission method, based on the transfer data amount and the information from the second transmission method transfer information holding unit 210. The time required for the calculation is calculated, and the calculation result is sent to the comparison unit 240.

比較部240は、第1の伝送方式転送時間算出部220からの算出結果と第2の伝送方式転送時間算出部220からの算出結果を比較して、どちらの伝送方式のほうが早く伝送できるかを比較する。その比較結果を伝送方式決定部115の出力として送信方式切替部116、第1の受信方式切替部126及び第2の受信方式切替部127に送出する。   The comparison unit 240 compares the calculation result from the first transmission method transfer time calculation unit 220 and the calculation result from the second transmission method transfer time calculation unit 220 to determine which transmission method can be transmitted earlier. Compare. The comparison result is sent as an output of the transmission method determination unit 115 to the transmission method switching unit 116, the first reception method switching unit 126, and the second reception method switching unit 127.

次に、図3(a)及び図3(b)を参照して、第1の転送情報保持部200及び第2の転送情報保持部210が保持する情報の一例を説明する。図3(a)は、第1の伝送方式転送速度201を保持していることを示している。ここで、第1の伝送方式であるソースシンクロナスの伝送方式の転送速度は1Gbpsとする。図3(b)は、第2の伝送方式転送速度211、トレーニングシーケンス数212、ヘッダ数213、フッタ数214及び最大ペイロード数215を保持していることを示している。   Next, an example of information held by the first transfer information holding unit 200 and the second transfer information holding unit 210 will be described with reference to FIGS. 3 (a) and 3 (b). FIG. 3A shows that the first transmission method transfer rate 201 is maintained. Here, the transfer rate of the source-synchronous transmission system which is the first transmission system is 1 Gbps. FIG. 3B shows that the second transmission method transfer rate 211, the training sequence number 212, the header number 213, the footer number 214, and the maximum payload number 215 are held.

ここで、第2の伝送方式であるクロックエンベデッド方式の転送速度は5Gbps、リンクを確立する際に必要なトレーニング数は800Byte、パケット化する際に付与するヘッダは19Byte、フッタは5Byteとする。また、1つのパケットに格納することができる最大ペイロード数は128Byteとする。   Here, the transfer speed of the clock embedded system, which is the second transmission system, is 5 Gbps, the number of training necessary for establishing a link is 800 bytes, the header to be added when packetizing is 19 bytes, and the footer is 5 bytes. The maximum number of payloads that can be stored in one packet is 128 bytes.

このような転送情報のもと、32bit(4Byte)と8192bit(1Kbyte)を送信する際の転送時間を算出する。   Based on such transfer information, the transfer time for transmitting 32 bits (4 bytes) and 8192 bits (1 Kbyte) is calculated.

次に、図4(a)及び図4(b)を参照して、32bit(4Byte)を送信する際のデータ列の一例を説明する。   Next, an example of a data string when transmitting 32 bits (4 bytes) will be described with reference to FIGS. 4 (a) and 4 (b).

第1の伝送方式転送時間算出部220にてソースシンクロナス方式で伝送する場合の転送時間を算出すると、32[bit]*1[ns/bit]=32[ns]である(図4(a))。第2の伝送方式転送時間算出部230にてソースシンクロナス方式で伝送する場合の転送時間を算出すると、総転送データ量は6624[bit]となり、6624[bit]*0.2[ns/bit]=1325[ns]である(図4(b))。   When the first transmission method transfer time calculation unit 220 calculates the transfer time in the case of transmission by the source synchronous method, 32 [bit] * 1 [ns / bit] = 32 [ns] (FIG. 4A )). When the second transmission method transfer time calculation unit 230 calculates the transfer time for transmission in the source synchronous method, the total transfer data amount is 6624 [bit], and 6624 [bit] * 0.2 [ns / bit]. ] = 1325 [ns] (FIG. 4B).

それぞれの算出結果を比較部240で比較を行う。この例の場合、第1の伝送方式であるソースシンクロナス方式で伝送したほうが有利であるため、第1の伝送方式を選択するように出力する。   Each calculation result is compared by the comparison unit 240. In the case of this example, since it is more advantageous to transmit by the source synchronous system which is the first transmission system, output is performed so as to select the first transmission system.

次に、図5(a)及び図5(b)を参照して、8192bit(1Kbyte)を送信する際のデータ列の一例を説明する。   Next, an example of a data string when 8192 bits (1 Kbyte) is transmitted will be described with reference to FIGS. 5A and 5B.

第1の伝送方式転送時間算出部220にてソースシンクロナス方式で伝送する場合の転送時間を算出すると、8192[bit]*1[ns/bit]=8192[ns]である(図5(a))。第2の伝送方式転送時間算出部230にてソースシンクロナス方式で伝送する場合の転送時間を算出すると、総転送データ量は16128[bit]となり、16128[bit]*0.2[ns/bit]=3226[ns]である(図5(b))。   When the first transmission method transfer time calculation unit 220 calculates the transfer time for transmission in the source synchronous method, it is 8192 [bit] * 1 [ns / bit] = 8192 [ns] (FIG. 5A )). When the second transmission method transfer time calculation unit 230 calculates the transfer time in the case of transmission by the source synchronous method, the total transfer data amount is 16128 [bits], and 16128 [bits] * 0.2 [ns / bits]. ] = 3226 [ns] (FIG. 5B).

それぞれの算出結果を比較部240で比較を行う。この例の場合、第2の伝送方式であるクロックエンベデッド方式で伝送したほうが有利であるため、第2の伝送方式を選択するように出力する。   Each calculation result is compared by the comparison unit 240. In the case of this example, since it is more advantageous to transmit by the clock embedded system which is the second transmission system, output is performed so as to select the second transmission system.

上記のようにすることで、32bit(4Byte)のような少量のデータ量を有する制御コードの場合にはソースシンクロナス方式、8192bit(1Kbyte)やさらに大きな数MBのデータ量となる画像データの場合にはクロックエンベデッド方式が選択される。その結果、データ量に応じて適切な伝送を選択することができ、間欠的に小量なデータを送信する場合においても効率よくデータ転送することが可能となる。   As described above, in the case of a control code having a small amount of data such as 32 bits (4 bytes), in the case of image data having a source synchronous method, 8192 bits (1 Kbyte), or a larger amount of data of several MBs. The clock embedded method is selected for. As a result, appropriate transmission can be selected according to the amount of data, and even when a small amount of data is intermittently transmitted, the data can be efficiently transferred.

本実施形態では、伝送方式決定部115を転送に要する時間を算出するように示したが、その他の方法でも構わない。例えば、予め第1の伝送方式の転送情報と第2の伝送方式の転送情報から閾値を算出し、閾値以上のデータ量の場合は第2の伝送方式、閾値以下のデータ量の場合は第1の伝送方式を選択するようにしてもよい。   In this embodiment, the transmission method determination unit 115 is shown to calculate the time required for transfer, but other methods may be used. For example, a threshold value is calculated in advance from the transfer information of the first transmission method and the transfer information of the second transmission method, and the second transmission method is used when the data amount is greater than or equal to the threshold value, and the first is used when the data amount is less than the threshold value. The transmission method may be selected.

また、本実施形態では、8b10b変換による転送レートの影響や、伝送方式の切り替えに要する時間は算出の際に組み込んでいないが、実際のシステムにおいては、システムに応じて算出に組み込んでよい。   In this embodiment, the influence of the transfer rate due to the 8b10b conversion and the time required for switching the transmission method are not incorporated in the calculation, but may be incorporated in the calculation according to the system in an actual system.

[第2の実施形態]
本発明の第2の実施形態においては、第1の伝送方式と第2の伝送方式とで端子を兼用する場合について記載する。図6を参照して、本実施形態におけるデータ転送装置600の構成の一例を説明する。
[Second Embodiment]
In the second embodiment of the present invention, the case where the first transmission method and the second transmission method are used as terminals will be described. With reference to FIG. 6, an example of a configuration of the data transfer apparatus 600 in the present embodiment will be described.

図6に示すように、データ転送装置600は、送信部610と、受信部620とを有する。なお、本実施形態におけるデータ転送装置600において、第1の実施形態におけるデータ転送装置100が有する構成要素と同様の構成要素については、同一の番号を付し、その説明を省略する。   As illustrated in FIG. 6, the data transfer apparatus 600 includes a transmission unit 610 and a reception unit 620. In the data transfer device 600 according to the present embodiment, the same components as those of the data transfer device 100 according to the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.

まず、送信部610について説明する。   First, the transmission unit 610 will be described.

送信部610は、送信側ステートマシン619を有する。ステートマシンについては後述する。伝送方式通知信号生成部610は、伝送方式決定部115から送出された伝送方式切替信号を受け、対向デバイスに伝送方式の切り替えを通知するための伝送方式通知信号を第1の伝送方式送信部613に送出する。   The transmission unit 610 includes a transmission state machine 619. The state machine will be described later. The transmission method notification signal generation unit 610 receives the transmission method switching signal sent from the transmission method determination unit 115, and transmits a transmission method notification signal for notifying the opposite device of the switching of the transmission method to the first transmission method transmission unit 613. To send.

第1の伝送方式送信部613は、伝送方式通知信号生成部610から送出される伝送方式通知信号もしくは処理部111から送出される転送データのいずれかを送信側ステートマシン619からのステートに応じて送出する。   The first transmission method transmission unit 613 transmits either the transmission method notification signal transmitted from the transmission method notification signal generation unit 610 or the transfer data transmitted from the processing unit 111 according to the state from the transmission-side state machine 619. Send it out.

次に、受信部620について説明する。   Next, the receiving unit 620 will be described.

受信部620は、受信側ステートマシン629を有する。第1の伝送方式受信部623は、第1の受信方式切替部126を経由して送信部610からのソースシンクロナス方式のデータを受信する処理を行う。その際、受信側ステートマシン629から送出されるステートに応じて、送出先を第2の受信方式切替部127と伝送方式検知部628で切り替える。   The receiving unit 620 includes a receiving state machine 629. The first transmission method reception unit 623 performs processing for receiving source-synchronous data from the transmission unit 610 via the first reception method switching unit 126. At this time, the transmission destination is switched between the second reception method switching unit 127 and the transmission method detection unit 628 in accordance with the state transmitted from the reception-side state machine 629.

伝送方式検知部628は、伝送方式通知信号を受け取り、第1の受信方式切替部126と第2の受信方式切替部127を通知内容に応じ切り替えるように切替信号を送出する。   The transmission method detection unit 628 receives the transmission method notification signal and sends a switching signal so as to switch the first reception method switching unit 126 and the second reception method switching unit 127 according to the notification content.

図6において、601、602、603及び604はIC等の端子である。601は第1のTX端子、602は第1のRX端子、603は第2のTX端子、604は第2のRX端子とする。   In FIG. 6, reference numerals 601, 602, 603, and 604 denote terminals such as ICs. Reference numeral 601 denotes a first TX terminal, 602 denotes a first RX terminal, 603 denotes a second TX terminal, and 604 denotes a second RX terminal.

第1の実施形態では、端子について明記をしなかったが、本実施形態ではソースシンクロナス方式とクロックエンベデッド方式の端子を兼用する。具体的には、ソースシンクロナス方式の場合は、第1のTX端子601と第1のRX端子602との間にクロック信号を、第2のTX端子603と第2のRX端子604との間にデータ信号を割り当てる。また、クロックエンベデッド方式の場合には、第1のTX端子601と第1のRX端子602との間と、第2のTX端子603と第2のRX端子604との間とにクロックエンベデッド信号を割り当てる。なお、クロックエンベデッド方式の場合は、1レーンだけ使用しても構わない。   In the first embodiment, the terminal is not specified, but in this embodiment, the terminal of the source synchronous method and the clock embedded method are used together. Specifically, in the case of the source synchronous method, a clock signal is transmitted between the first TX terminal 601 and the first RX terminal 602, and between the second TX terminal 603 and the second RX terminal 604. Assign a data signal to. In the case of the clock embedded method, the clock embedded signal is transmitted between the first TX terminal 601 and the first RX terminal 602 and between the second TX terminal 603 and the second RX terminal 604. assign. In the case of the clock embedded method, only one lane may be used.

また、図6では2レーンで1レーンあたり1端子で示しているが、3レーン以上でも構わないし、差動信号のように1レーンあたり2端子以上でも構わない。   In FIG. 6, two lanes are shown with one terminal per lane. However, three or more lanes may be used, or two terminals or more may be used per lane like a differential signal.

次に、図9を参照して、送信側ステートマシン619及び受信側ステートマシン629についての状態遷移図を説明する。   Next, with reference to FIG. 9, a state transition diagram for the transmission-side state machine 619 and the reception-side state machine 629 will be described.

図9のS900はパワーダウンステートであり、デバイス間のリンクが停止している状態である。処理部111からデータを転送する際にS900からS910に遷移する。S910は伝送方式決定ステートである。このステートでは、どちらの伝送方式でデータを伝送するかを伝送方式決定部115が算出する。算出が終わるとS920に遷移する。S920は第1の伝送方式ステートであり、このステートでは第1の伝送方式での伝送を行う。   S900 in FIG. 9 is a power-down state in which the link between devices is stopped. When data is transferred from the processing unit 111, the process proceeds from S900 to S910. S910 is a transmission method determination state. In this state, the transmission method determination unit 115 calculates which transmission method is used to transmit data. When the calculation is completed, the process proceeds to S920. S920 is the first transmission method state, and transmission is performed in the first transmission method in this state.

S921はS920のサブステートであり、伝送方式の伝送ステートである。このステートでは、伝送方式決定部115で決定した内容を受け、伝送方式通知信号生成部619が生成した伝送信号通知信号を受信部620に送出する。S921において、第1の伝送方式で伝送する場合はS922に遷移し、第2の伝送方式で伝送する場合はS930内のS931に遷移する。   S921 is a substate of S920 and is a transmission state of the transmission method. In this state, the transmission method notification signal generated by the transmission method notification signal generation unit 619 is received by the transmission method determination unit 115 and sent to the reception unit 620. In S921, when transmitting by the first transmission method, the process proceeds to S922, and when transmitting by the second transmission method, the process proceeds to S931 in S930.

S922は第1の伝送方式での伝送ステートである。ここでは第1の伝送方式でデータを伝送する。データの転送が完了し、送信するデータが無い場合はS900パワーダウンステートに遷移する。   S922 is a transmission state in the first transmission method. Here, data is transmitted by the first transmission method. When the data transfer is completed and there is no data to be transmitted, the flow goes to the S900 power down state.

S930は第2の伝送方式ステートであり、このステートでは第2の伝送方式での伝送を行う。S931はトレーニングシーケンスステートであり、クロックエンベデッド方式でリンクを確立するためのトレーニングシーケンスを行う。トレーニングシーケンスが完了するとS932に遷移する。S932は第2の伝送方式での伝送ステートである。ここでは第2の伝送方式でデータを伝送する。データを転送後、送信するデータが無いアイドルが続いた場合は、S933に遷移する。   S930 is a second transmission method state, and transmission is performed in the second transmission method in this state. S931 is a training sequence state, and performs a training sequence for establishing a link by a clock embedded method. When the training sequence is completed, the process proceeds to S932. S932 is a transmission state in the second transmission method. Here, data is transmitted by the second transmission method. After the data is transferred, when idle without data to be transmitted continues, the process proceeds to S933.

S933は一時休止ステートである。アイドル状態の時間を数えており、所定の時間内に送信するデータが生じた場合には、S932に遷移し、送信するデータが無い場合はS900に遷移する。   S933 is a temporary suspension state. When the idle state time is counted and data to be transmitted is generated within a predetermined time, the process proceeds to S932, and when there is no data to be transmitted, the process proceeds to S900.

図7は、データ転送時の一例を説明するためのタイミングチャートであり、図8はデータ転送時の一例を説明するためのシーケンス図である。   FIG. 7 is a timing chart for explaining an example at the time of data transfer, and FIG. 8 is a sequence diagram for explaining an example at the time of data transfer.

図8を用いてデータ転送の流れについて説明する。図8の中の転送するデータについては図7のタイミングチャートと同じ番号を付けている。   The flow of data transfer will be described with reference to FIG. The data to be transferred in FIG. 8 is assigned the same number as the timing chart of FIG.

初期状態のパワーダウンステートから開始する。その後、処理部111からデータ1の転送を実施する(S800)。まず、伝送方式の決定を行う。本例では転送データ量が小さいために、第1の伝送方式であるソースシンクロナス方式で送出することに決定する(S801)。   Start from the initial power-down state. Thereafter, data 1 is transferred from the processing unit 111 (S800). First, the transmission method is determined. In this example, since the amount of transfer data is small, it is determined that the data is transmitted by the source synchronous method which is the first transmission method (S801).

伝送方法を決定した後、受信部620に伝送方法(701)を通知する。伝送方法を通知した後、データ1(702)の送信を行う。転送を行うものが無いため、パワーダウンステートに遷移する。その後、処理部111からデータ2の転送を実施する。先ほどと同様に、伝送方式の決定を行う。本例では転送データ量が大きいために、第2の伝送方式で送出することに決定する。   After determining the transmission method, the reception unit 620 is notified of the transmission method (701). After notifying the transmission method, data 1 (702) is transmitted. Since there is nothing to transfer, transition to the power down state. Thereafter, the data 2 is transferred from the processing unit 111. As before, the transmission method is determined. In this example, since the amount of transfer data is large, it is determined to be transmitted by the second transmission method.

伝送方法を決定した後、受信部620に伝送方法(703)を通知する。送信部610は送信方式を第2の伝送方式に切り替える(S800)。受信部620は受信方式を第2の伝送方式に切り替える(S801)。受信部620は受信準備が整ったことを送信部610に通知する(S802)。   After determining the transmission method, the reception unit 620 is notified of the transmission method (703). The transmission unit 610 switches the transmission method to the second transmission method (S800). The receiving unit 620 switches the reception method to the second transmission method (S801). The reception unit 620 notifies the transmission unit 610 that preparation for reception is complete (S802).

第2の伝送方式であるクロックエンベデッド方式で伝送するために、トレーニングシーケンスを送出する(704)。トレーニングシーケンスが完了した後、パケット2(705)を送信する。その後、転送するデータが無いため、一時休止ステートに遷移し、その後も転送するデータが無いとパワーダウンステートに遷移する。   A training sequence is transmitted in order to transmit in the clock embedded system which is the second transmission system (704). After the training sequence is completed, packet 2 (705) is transmitted. Thereafter, since there is no data to be transferred, the state transits to a temporary suspension state, and when there is no further data to be transferred, the state transits to a power down state.

その際、送信部610は送信方式を第1の伝送方式に切り替え(S803)、その際、受信部620は受信方式を第1の伝送方式に切り替える(S804)。しばらくした後、処理部111からデータ3の転送を実施する。先ほどと同様に、伝送方式の決定を行う。本例では転送データ量が大きいために、第2の伝送方式で送出することに決定する。   At that time, the transmission unit 610 switches the transmission method to the first transmission method (S803), and at that time, the reception unit 620 switches the reception method to the first transmission method (S804). After a while, the data 3 is transferred from the processing unit 111. As before, the transmission method is determined. In this example, since the amount of transfer data is large, it is determined to be transmitted by the second transmission method.

伝送方法を決定した後、受信部620に伝送方法(707)を通知する。先ほどのS800及びS801と同様に、送信部610は送信方式を第2の伝送方式に切り替え(S805)、受信部620は受信方式を第2の伝送方式に切り替える(S806)。   After determining the transmission method, the reception unit 620 is notified of the transmission method (707). Similar to S800 and S801, the transmission unit 610 switches the transmission method to the second transmission method (S805), and the reception unit 620 switches the reception method to the second transmission method (S806).

第2の伝送方式であるクロックエンベデッド方式で伝送するために、トレーニングシーケンス(708)を送出する。トレーニングシーケンスが完了した後、パケット3(709)を送信する。パケット3の転送が終了するとIdolを発行し一時休止ステートに遷移する。今度は、あまり間隔を置かずに処理部111からデータ4の転送を実施する。その場合、一時休止ステートから第2の伝送方式での伝送ステートに遷移することができ、パケット4(711)を送信する。   A training sequence (708) is transmitted for transmission by the clock embedded system which is the second transmission system. After the training sequence is completed, packet 3 (709) is transmitted. When the transfer of the packet 3 is completed, Idol is issued, and a transition is made to the pause state. This time, the data 4 is transferred from the processing unit 111 without much interval. In that case, it is possible to transit from the temporary suspension state to the transmission state in the second transmission method, and packet 4 (711) is transmitted.

以上、ソースシンクロナス方式とクロックエンベデッド方式の2つの伝送方式の端子を兼用した場合について説明した。第1および第2の実施形態のようにすることにより、ソースシンクロナス方式とクロックエンベデッド方式の端子を兼用した場合でも、2つの伝送方式を転送するデータ量に応じて切替ることで、効率のよいデータの転送が可能となる。   In the above, the case where the terminal of the two transmission systems of the source synchronous system and the clock embedded system is used has been described. By adopting the first and second embodiments, even when both the source synchronous method and the clock embedded method are used, the two transmission methods can be switched according to the amount of data to be transferred. Good data transfer is possible.

100 データ転送装置、110 送信部、111 処理部、
112 転送データ量取得部、113 第1の伝送方式送信部、
114 第2の伝送方式送信部、115 伝送方式決定部、
116 送信方式切替部、120 受信部、121 処理部、
123 第1の伝送方式受信部、124 第2の伝送方式受信部、
126 第1の受信方式切替部、127 第2の受信方式切替部
100 data transfer device, 110 transmission unit, 111 processing unit,
112 transfer data amount acquisition unit, 113 first transmission method transmission unit,
114 second transmission method transmission unit, 115 transmission method determination unit,
116 transmission method switching unit, 120 receiving unit, 121 processing unit,
123 first transmission method receiver, 124 second transmission method receiver,
126 1st reception system switching part, 127 2nd reception system switching part

Claims (7)

送信部と受信部とを有するデータ転送装置であって、
前記送信部は、
転送再開時にトレーニングシーケンスが不要な第1の伝送方式で送信を行う第1の伝送方式送信手段と、
クロックエンベデッド方式である第2の伝送方式で送信を行う第2の伝送方式送信手段と、
前記第1の伝送方式送信手段または前記第2の伝送方式送信手段に切り替える送信方式切替手段と
を有し、
前記受信部は、
前記第1の伝送方式で受信を行う第1の伝送方式受信手段と、
前記第2の伝送方式で受信を行う第2の伝送方式受信手段と、
前記第1の伝送方式受信手段または前記第2の伝送方式受信手段に切り替える受信方式切替手段と
を有し、
前記送信部から前記受信部への転送データ量に基づき、前記送信方式切替手段及び前記受信方式切替手段を制御することを特徴とするデータ転送装置。
A data transfer device having a transmitter and a receiver,
The transmitter is
A first transmission method transmission means for performing transmission in the first transmission method that does not require a training sequence when transfer is resumed;
A second transmission method transmitting means for performing transmission using the second transmission method which is a clock embedded method;
Transmission method switching means for switching to the first transmission method transmission means or the second transmission method transmission means,
The receiver is
First transmission scheme receiving means for receiving in the first transmission scheme;
Second transmission method receiving means for receiving in the second transmission method;
Receiving method switching means for switching to the first transmission method receiving means or the second transmission method receiving means;
A data transfer apparatus that controls the transmission method switching means and the reception method switching means based on the amount of data transferred from the transmission unit to the reception unit.
前記第1の伝送方式についての情報を有する第1の伝送情報保持手段と、
前記第2の伝送方式についての情報を有する第2の伝送情報保持手段と、
前記送信部から前記受信部への転送データ量と第1の伝送情報保持手段から得られる情報とから前記第1の転送方式での転送時間を算出する第1の伝送方式転送時間算出手段と、
前記送信部から前記受信部への転送データ量と第2の伝送情報保持手段から得られる情報とから前記第2の転送方式での転送時間を算出する第2の伝送方式転送時間算出手段と、
前記第1の転送方式での転送時間と前記第2の転送方式での転送時間とを比較する比較手段と
をさらに有し、
前記第1の伝送情報保持手段は、前記第1の伝送方式の転送速度についての情報を有し、
前記第2の伝送情報保持手段は、前記第2の伝送方式の転送速度と、トレーニングシーケンス数と、1パケットあたりのヘッダ数及びフッタ数と、最大ペイロードサイズとについての情報を有し、
前記比較手段は、
前記第1の転送方式での転送時間が前記第2の転送方式での転送時間より短い場合には前記第1の転送方式を選択し、
前記第1の転送方式での転送時間が前記第2の転送方式での転送時間より長い場合には前記第2の転送方式を選択することを特徴とする請求項1に記載のデータ転送装置。
First transmission information holding means having information about the first transmission method;
Second transmission information holding means having information about the second transmission method;
First transmission method transfer time calculating means for calculating a transfer time in the first transfer method from the amount of data transferred from the transmitting unit to the receiving unit and information obtained from the first transmission information holding means;
Second transmission method transfer time calculating means for calculating the transfer time in the second transfer method from the amount of data transferred from the transmitting unit to the receiving unit and information obtained from the second transmission information holding means;
Comparing means for comparing the transfer time in the first transfer method with the transfer time in the second transfer method,
The first transmission information holding unit has information on a transfer rate of the first transmission method,
The second transmission information holding means has information on the transfer rate of the second transmission method, the number of training sequences, the number of headers and footers per packet, and the maximum payload size,
The comparison means includes
When the transfer time in the first transfer method is shorter than the transfer time in the second transfer method, the first transfer method is selected,
2. The data transfer apparatus according to claim 1, wherein when the transfer time in the first transfer method is longer than the transfer time in the second transfer method, the second transfer method is selected.
前記第1の伝送方式についての情報を有する第1の伝送情報保持手段と、
前記第2の伝送方式についての情報を有する第2の伝送情報保持手段と、
前記第1の伝送情報保持手段が有する情報と前記第2の伝送情報保持手段とが有する情報から閾値を算出する閾値算出手段と、
算出された閾値を有する閾値保持手段と
をさらに有し、
前記第1の伝送情報保持手段は、前記第1の伝送方式の転送速度についての情報を有し、
前記第2の伝送情報保持手段は、前記第2の伝送方式の転送速度と、トレーニングシーケンス数と、1パケットあたりのヘッダ数及びフッタ数と、最大ペイロードサイズとについての情報を有し、
前記比較部は、
前記送信部から前記受信部への転送データ量が閾値より小さい場合には前記第1の伝送方式を選択し、
前記送信部から前記受信部への転送データ量が閾値より大きい場合には前記第2の伝送方式を選択することを特徴とする請求項1に記載のデータ転送装置。
First transmission information holding means having information about the first transmission method;
Second transmission information holding means having information about the second transmission method;
A threshold value calculating means for calculating a threshold value from information held by the first transmission information holding means and information held by the second transmission information holding means;
A threshold value holding means having the calculated threshold value;
The first transmission information holding unit has information on a transfer rate of the first transmission method,
The second transmission information holding means has information on the transfer rate of the second transmission method, the number of training sequences, the number of headers and footers per packet, and the maximum payload size,
The comparison unit includes:
If the amount of data transferred from the transmitter to the receiver is smaller than a threshold, select the first transmission method,
2. The data transfer apparatus according to claim 1, wherein the second transmission method is selected when a transfer data amount from the transmission unit to the reception unit is larger than a threshold value.
転送データが制御データの場合には前記第1の伝送方式を選択し、
転送データが画像データの場合には前記第2の伝送方式を選択することを特徴とする請求項1乃至請求項3の何れか一項に記載のデータ転送装置
If the transfer data is control data, select the first transmission method,
4. The data transfer device according to claim 1, wherein the second transmission method is selected when the transfer data is image data. 5.
前記第1の伝送方式は、ソースシンクロナス方式であることを特徴とする請求項1乃至請求項4の何れか一項に記載のデータ転送装置。   5. The data transfer apparatus according to claim 1, wherein the first transmission method is a source synchronous method. 6. 前記送信部と前記受信部との間を接続する端子をさらに有し、
前記第1の伝送方式と前記第2の伝送方式とで前記端子を兼用し、
前記第1の伝送方式の場合には少なくとも1レーン分のクロック信号と少なくとも1レーン分のデータ信号を端子に割り当て、
前記第2の伝送方式の場合には少なくとも1レーン分のクロックエンベデッド信号を端子に割り当てることを特徴とする請求項1乃至請求項5の何れか一項に記載のデータ転送装置。
A terminal that connects between the transmitter and the receiver;
The first transmission method and the second transmission method share the terminal,
In the case of the first transmission method, a clock signal for at least one lane and a data signal for at least one lane are allocated to the terminals,
6. The data transfer apparatus according to claim 1, wherein in the second transmission method, a clock embedded signal for at least one lane is assigned to a terminal.
起動時、または、パワーダウンからの復帰時は、第1の転送方式から開始することを特徴とする請求項1乃至請求項6の何れか一項に記載のデータ転送装置。   The data transfer device according to any one of claims 1 to 6, wherein the data transfer device starts from the first transfer method at the time of start-up or return from power-down.
JP2017093471A 2017-05-10 2017-05-10 Data transfer device Pending JP2018190256A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017093471A JP2018190256A (en) 2017-05-10 2017-05-10 Data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017093471A JP2018190256A (en) 2017-05-10 2017-05-10 Data transfer device

Publications (1)

Publication Number Publication Date
JP2018190256A true JP2018190256A (en) 2018-11-29

Family

ID=64480128

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017093471A Pending JP2018190256A (en) 2017-05-10 2017-05-10 Data transfer device

Country Status (1)

Country Link
JP (1) JP2018190256A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002187A (en) * 2019-06-21 2021-01-07 京セラドキュメントソリューションズ株式会社 Data transfer device and data transfer method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021002187A (en) * 2019-06-21 2021-01-07 京セラドキュメントソリューションズ株式会社 Data transfer device and data transfer method

Similar Documents

Publication Publication Date Title
US10924745B2 (en) Image processing method and device
WO2011088769A1 (en) Method and apparatus for video resolution switch, terminal and switch system
US20180027174A1 (en) Signaling camera configuration changes using metadata defined for a camera command set
US9900268B2 (en) System, method and apparatus for multi-lane auto-negotiation over reduced lane media
CN104918003A (en) Multiple camera synchronization system
CN103746938A (en) Method and device for transmitting data packet
CN109246648A (en) A kind of data processing method, device, equipment and computer readable storage medium
US9489331B2 (en) Method and protocol for high-speed data channel detection control
JP2018190256A (en) Data transfer device
US10582152B2 (en) Dynamic direction control in active cable
CN103024460B (en) The adaptive method and system of many code streams
US9344372B2 (en) Up-converter for ethernet physical layer
US10326612B2 (en) Packet data protocol
WO2017000737A1 (en) Transmission checking method, node, system and computer storage medium
US7849209B2 (en) System and method for link rate negotiation
KR101640926B1 (en) Apparatus for unidirectional communication system using GPS time synchronization
WO2014019214A1 (en) Method and apparatus for managing uplink operations
EP3188423B1 (en) Frame reception monitoring method in serial communications
EP1491016B1 (en) Impedance compensation control
JP6146409B2 (en) Communication apparatus and communication method
TWI473498B (en) A video resolution switching method and device, a terminal and a switching system
US11722728B2 (en) Data processing method and device
US20160072601A1 (en) Enhanced Communication Link Using Synchronization Signal as Link Command
CN113038069B (en) Data transmission system
KR20160031199A (en) Enhanced communication link using synchronization signal as link command

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20191125