JP2006146430A - Data input/output device, data input/output system and data communication method - Google Patents

Data input/output device, data input/output system and data communication method Download PDF

Info

Publication number
JP2006146430A
JP2006146430A JP2004333496A JP2004333496A JP2006146430A JP 2006146430 A JP2006146430 A JP 2006146430A JP 2004333496 A JP2004333496 A JP 2004333496A JP 2004333496 A JP2004333496 A JP 2004333496A JP 2006146430 A JP2006146430 A JP 2006146430A
Authority
JP
Japan
Prior art keywords
data
clock
output
input
data input
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
JP2004333496A
Other languages
Japanese (ja)
Inventor
Akira Ueno
晃 上野
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.)
Olympus Corp
Original Assignee
Olympus 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 Olympus Corp filed Critical Olympus Corp
Priority to JP2004333496A priority Critical patent/JP2006146430A/en
Publication of JP2006146430A publication Critical patent/JP2006146430A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To attain data input/output for performing a high speed operation in a simple configuration. <P>SOLUTION: A first data input/output device 10 is configured as an IC chip equipped with a transmission clock terminal 103 for transmitting a clock to a second data input/output device 20, a transmission data output part having an output timing control circuit 104 for outputting transmission data synchronously with the timing of the clock, a transmission data terminal 107 for transmitting the transmission data to the second data input/output device 20, a reception clock terminal 110 for receiving an external clock different from the clock, a reception data inputting part having an input timing control circuit 115 for inputting the reception data synchronizing with the external clock from the second data input/output device 20 and a reception data terminal 116 for receiving the reception data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、外部装置との間でデータ転送を行うデータ入出力装置、並びに、そのようなデータ入出力装置を用いたデータ入出力システム及びデータ通信方法に関する。   The present invention relates to a data input / output device that transfers data to and from an external device, and a data input / output system and a data communication method using such a data input / output device.

特許文献1には、論理素子の動作速度、配線による遅延、これらの値のばらつきに影響されずに、より高い周波の共通クロック信号になるよう、クロック基準信号出力と、共通クロック信号との位相差に基づいて補正データを作成する技術が開示されている。
特開平3−171945号公報
Japanese Patent Laid-Open No. 2004-260688 discloses the relationship between the clock reference signal output and the common clock signal so that the common clock signal has a higher frequency without being affected by the operation speed of the logic element, the delay due to wiring, and the variation in these values. A technique for creating correction data based on a phase difference is disclosed.
Japanese Patent Laid-Open No. 3-171945

しかしながら、遅延に対応するための補正回路、設定等を行うのは複雑化、規模の増大を招く。   However, performing a correction circuit, setting, and the like to cope with the delay increases complexity and scale.

本発明は、上記の点に鑑みてなされたもので、簡単な構成で、高速動作が可能なデータ入出力を可能にするデータ入出力装置、データ入出力システム、及びデータ通信方法を提供することを目的とする。   The present invention has been made in view of the above points, and provides a data input / output device, a data input / output system, and a data communication method that enable data input / output capable of high-speed operation with a simple configuration. With the goal.

上記の目的を達成するために、本発明のデータ入出力装置の一態様は、
外部装置に対してクロックを送信するための送信クロック端子と、
上記クロックのタイミングに同期した送信データを出力する出力タイミング制御回路を有する送信データ出力部と、
上記送信データ出力部から出力された上記送信データを上記外部装置に対して送信するための送信データ端子と、
上記クロックとは異なる外部クロックを受信するための受信クロック端子と、
上記受信クロック端子によって受信する上記外部クロックに同期した受信データを上記外部装置から入力する入力タイミング制御回路を有する受信データ入力部と、
上記受信データ入力部に入力される上記受信データを受信するための受信データ端子と、
を具備することを特徴とする。
In order to achieve the above object, one aspect of the data input / output device of the present invention is:
A transmission clock terminal for transmitting a clock to an external device;
A transmission data output unit having an output timing control circuit for outputting transmission data synchronized with the timing of the clock;
A transmission data terminal for transmitting the transmission data output from the transmission data output unit to the external device;
A reception clock terminal for receiving an external clock different from the above clock;
A reception data input unit having an input timing control circuit for inputting reception data synchronized with the external clock received by the reception clock terminal from the external device;
A reception data terminal for receiving the reception data input to the reception data input unit;
It is characterized by comprising.

また、本発明のデータ入出力システムの一態様は、
第1のデータ入出力装置と第2のデータ入出力装置とからなるデータ入出力システムにおいて、
上記第1のデータ入出力装置は、
第1のクロックを発生するクロック発生部と、
上記第2のデータ入出力装置に対して、上記クロック発生部で発生した上記第1のクロックを送信するための送信クロック端子と、
上記クロック発生部で発生した上記第1のクロックのタイミングに同期した第1のデータを出力する出力タイミング制御回路を有する送信データ出力部と、
上記送信データ出力部から出力された上記第1のデータを上記第2のデータ入出力装置に対して送信するための送信データ端子と、
上記クロック発生部で発生した上記第1のクロックとは異なる第2のクロックを受信するための受信クロック端子と、
上記受信クロック端子によって受信する上記第2のクロックに同期した第2のデータを上記第2のデータ入出力装置から入力する入力タイミング制御回路を有する受信データ入力部と、
上記受信データ入力部に入力される上記第2のデータを受信するための受信データ端子と、
を備え、
上記第2のデータ入出力装置は、
上記第1のデータ入出力装置の上記送信クロック端子と接続され、上記第1のクロックを受信するためのクロック入力端子と、
上記第1のデータ入出力装置の上記出力データ端子と接続され、上記第1のデータを受信するためのデータ入力端子と、
上記クロック入力端子によって受信する上記第1のクロックに同期した、上記データ入力端子で受信した上記第1のデータを入力するタイミング制御回路を有するデータ入力部と、
上記クロック入力端子で受信した上記第1のクロックを元に生成された第2のクロックに、上記第1のデータ入出力装置に対して出力すべき上記第2のデータを同期させて出力する出力タイミング制御回路を有するデータ出力部と、
上記第1のデータ入出力装置の上記受信データ端子に接続され、上記データ出力部から出力された上記第2のデータを出力するためのデータ出力端子と、
上記第1のデータ入出力装置の上記受信クロック端子と接続され、上記第2のクロックを出力するためのクロック出力端子と、
を備える、
ことを特徴とする。
Also, one aspect of the data input / output system of the present invention is:
In a data input / output system comprising a first data input / output device and a second data input / output device,
The first data input / output device includes:
A clock generator for generating a first clock;
A transmission clock terminal for transmitting the first clock generated by the clock generation unit to the second data input / output device;
A transmission data output unit having an output timing control circuit for outputting first data synchronized with the timing of the first clock generated by the clock generation unit;
A transmission data terminal for transmitting the first data output from the transmission data output unit to the second data input / output device;
A reception clock terminal for receiving a second clock different from the first clock generated by the clock generator;
A reception data input unit having an input timing control circuit for inputting second data synchronized with the second clock received by the reception clock terminal from the second data input / output device;
A reception data terminal for receiving the second data input to the reception data input unit;
With
The second data input / output device is
A clock input terminal connected to the transmission clock terminal of the first data input / output device for receiving the first clock;
A data input terminal connected to the output data terminal of the first data input / output device for receiving the first data;
A data input unit having a timing control circuit for inputting the first data received at the data input terminal in synchronization with the first clock received by the clock input terminal;
Output for outputting the second data to be output to the first data input / output device in synchronization with a second clock generated based on the first clock received at the clock input terminal A data output unit having a timing control circuit;
A data output terminal connected to the reception data terminal of the first data input / output device and for outputting the second data output from the data output unit;
A clock output terminal connected to the reception clock terminal of the first data input / output device for outputting the second clock;
Comprising
It is characterized by that.

また、本発明のデータ通信方法の一態様は、
第1のデータ入出力装置と第2のデータ入出力装置との間でのデータ通信方法であって、
上記第1のデータ入出力装置から上記第2のデータ入出力装置に対してデータを送信する際は、
上記第1のデータ入出力装置において、送信すべきデータを該第1のデータ入出力装置が備えるクロック発生部で発生した第1のクロックのタイミングに同期した第1のデータとした上で上記第2のデータ入出力装置に送信すると共に、その第1のクロックも上記第2のデータ入出力装置に送信し、
上記第2のデータ入出力装置においては、上記第1のクロック及びその第1のクロックに同期した上記第1のデータを受信して入力し、
上記第2のデータ入出力装置から上記第1のデータ入出力装置に対してデータを送信する際は、
上記第2のデータ入出力装置において、上記受信した上記第1のクロックを元に第2のクロックを生成し、送信すべきデータを該第2のクロックのタイミングに同期した第2のデータとした上で上記第1のデータ入出力装置に送信すると共に、その第2のクロックも上記第1のデータ入出力装置に送信し、
上記第1のデータ入出力装置においては、上記第2のクロック及びその第2のクロックに同期した上記第2のデータを受信して入力する、
ことを特徴とする。
Also, one aspect of the data communication method of the present invention is:
A data communication method between a first data input / output device and a second data input / output device, comprising:
When transmitting data from the first data input / output device to the second data input / output device,
In the first data input / output device, the data to be transmitted is set as the first data synchronized with the timing of the first clock generated by the clock generator included in the first data input / output device. 2 to the second data input / output device, and the first clock is also transmitted to the second data input / output device,
In the second data input / output device, the first clock and the first data synchronized with the first clock are received and input,
When transmitting data from the second data input / output device to the first data input / output device,
In the second data input / output device, a second clock is generated based on the received first clock, and data to be transmitted is set as second data synchronized with the timing of the second clock. In addition to transmitting to the first data input / output device above, the second clock is also transmitted to the first data input / output device,
The first data input / output device receives and inputs the second clock and the second data synchronized with the second clock;
It is characterized by that.

本発明によれば、簡単な構成で、高速動作が可能なデータ入出力を可能にするデータ入出力装置、データ入出力システム、及びデータ通信方法を提供することができる。   According to the present invention, it is possible to provide a data input / output device, a data input / output system, and a data communication method that enable data input / output capable of high-speed operation with a simple configuration.

以下、本発明を実施するための最良の形態を図面を参照して説明する。   The best mode for carrying out the present invention will be described below with reference to the drawings.

[第1実施形態]
図1は、本発明の第1実施形態に係るデータ入出力システムの構成を示す図である。
[First Embodiment]
FIG. 1 is a diagram showing a configuration of a data input / output system according to the first embodiment of the present invention.

このデータ入出力システムは、本発明の第1実施形態に係るデータ入出力である第1のデータ入出力装置10と、同じく本発明の第1実施形態に係るデータ入出力である第2のデータ入出力装置20とからなる。ここで、第1のデータ入出力装置10はマスタ装置、第2のデータ入出力装置20はスレーブ装置として機能するものであり、それぞれICチップの形態で提供される。   The data input / output system includes a first data input / output device 10 that is a data input / output according to the first embodiment of the present invention, and a second data that is also a data input / output according to the first embodiment of the present invention. It comprises an input / output device 20. Here, the first data input / output device 10 functions as a master device, and the second data input / output device 20 functions as a slave device, and each is provided in the form of an IC chip.

上記第1のデータ入出力装置10は、第1のクロックCLK1を発生するクロック発生部101を有している。このクロック発生部101で発生された第1のクロックCLK1は、バッファ102を介して送信クロック端子103に与えられ、該送信クロック端子103から図示しない基板上の配線を通して上記第2のデータ入出力装置20に対し送信される。また、上記第1のクロックCLK1は、送信データ出力部の一部を構成する出力タイミング制御回路104のクロック端子、及び、制御信号出力部の一部を構成する制御信号出力タイミング制御回路105のクロック端子にもそれぞれ与えられる。   The first data input / output device 10 includes a clock generation unit 101 that generates a first clock CLK1. The first clock CLK1 generated by the clock generator 101 is applied to the transmission clock terminal 103 via the buffer 102, and the second data input / output device is connected from the transmission clock terminal 103 to a wiring on a substrate (not shown). 20 is transmitted. The first clock CLK1 is a clock terminal of the output timing control circuit 104 that forms part of the transmission data output unit, and a clock of the control signal output timing control circuit 105 that forms part of the control signal output unit. Also given to each terminal.

ここで、上記出力タイミング制御回路104は、フリップフロップ(F/F)で構成され、この第1のデータ入出力装置10に入力されて該F/Fのデータ端子に与えられたデータを、上記クロック発生部101で発生した上記第1のクロックCLK1のタイミングに同期して出力する。そして、その出力されたデータは、同じく送信データ出力部の一部を構成するバッファ106を介して送信データ端子107に与えられる。なお、特に図示はしていないが、実際には、上記出力タイミング制御回路104による遅延や配線容量による遅延等を考慮して、上記送信クロック端子103に与えられる第1のクロックCLK1のタイミングと上記送信データ端子107に与えられるデータとが確実に同期するよう、適宜ディレイ素子を配してディレイ調整している。そして、上記送信データ端子107に与えられたデータは、該送信データ端子107から第1のデータDAT1として、図示しない基板上の配線を通して上記第2のデータ入出力装置20に対し送信される。   The output timing control circuit 104 is composed of a flip-flop (F / F), and the data input to the first data input / output device 10 and applied to the data terminal of the F / F It is output in synchronization with the timing of the first clock CLK1 generated by the clock generator 101. Then, the output data is given to the transmission data terminal 107 via the buffer 106 that also constitutes a part of the transmission data output unit. Although not specifically shown, actually, the timing of the first clock CLK1 applied to the transmission clock terminal 103 and the timing described above are considered in consideration of the delay due to the output timing control circuit 104 and the delay due to the wiring capacitance. In order to ensure synchronization with the data supplied to the transmission data terminal 107, a delay element is appropriately arranged to adjust the delay. The data supplied to the transmission data terminal 107 is transmitted from the transmission data terminal 107 as the first data DAT1 to the second data input / output device 20 through wiring on a substrate (not shown).

これにより、図2(A)に示すように、第1のクロックCLK1のタイミングに同期した第1のデータDATA1が、第1のデータ入出力装置10から第2のデータ入出力装置20に送信されることになる。   Thereby, as shown in FIG. 2A, the first data DATA1 synchronized with the timing of the first clock CLK1 is transmitted from the first data input / output device 10 to the second data input / output device 20. Will be.

また、上記制御信号出力タイミング制御回路105も同様にF/Fで構成され、この第1のデータ入出力装置10に入力されて該F/Fのデータ端子に与えられた制御信号を、上記クロック発生部101で発生した上記第1のクロックCLK1のタイミングに同期して出力する。そして、この出力された制御信号は、同じく制御信号出力部の一部を構成するバッファ108を介して制御信号送信端子109に与えられる。なお、この場合も特に図示はしていないが、上記送信クロック端子103に与えられる第1のクロックCLK1のタイミングに上記制御信号送信端子109に与えられる制御信号が確実に同期するよう、適宜ディレイ素子を配してディレイ調整している。そして、上記制御信号送信端子109に与えられた制御信号は、該制御信号送信端子109から第1の制御信号DEN1として、図示しない基板上の配線を通して上記第2のデータ入出力装置20に対し送信される。なおここで、上記第1の制御信号DEN1は、データ通信のイネーブル信号である。   Similarly, the control signal output timing control circuit 105 is also composed of an F / F, and the control signal input to the first data input / output device 10 and applied to the data terminal of the F / F is converted to the clock signal. The signal is output in synchronization with the timing of the first clock CLK1 generated by the generator 101. The outputted control signal is given to the control signal transmission terminal 109 via the buffer 108 that also constitutes a part of the control signal output unit. In this case as well, although not particularly illustrated, an appropriate delay element is used so that the control signal applied to the control signal transmission terminal 109 is surely synchronized with the timing of the first clock CLK1 applied to the transmission clock terminal 103. To adjust the delay. The control signal applied to the control signal transmission terminal 109 is transmitted from the control signal transmission terminal 109 to the second data input / output device 20 as a first control signal DEN1 through a wiring on a substrate (not shown). Is done. Here, the first control signal DEN1 is an enable signal for data communication.

また、この第1のデータ入出力装置10は、上記第2のデータ入出力装置20から図示しない基板上の配線を通して送られてきた第2のクロックCLK2を受信するための受信クロック端子110を備える。ここで、上記第2のクロックCLK2は、図2(A)に示すように、上記クロック発生部101で発生した上記第1のクロックCLK1とは非同期となっているものである。上記受信クロック端子110で受信した第2のクロックCLK2は、バッファ111を介して、制御信号入力部の一部を構成する制御信号入力タイミング制御回路112に与えられる。この制御信号入力タイミング制御回路112はF/Fで構成され、上記第2のクロックCLK2はこのF/Fのクロック端子に与えられる。この制御信号入力タイミング制御回路112のデータ端子には、制御信号受信端子113で受信した、上記第2のクロックCLK2に同期した第2の制御信号GRNT2が、制御信号入力部の一部を構成するバッファ114を介して入力される。ここで、上記第2の制御信号GRNT2は、上記第1の制御信号DEN1に応じて、上記第2のデータ入出力装置20から図示しない基板上の配線を通して送られてくるデータ通信の許可信号である。そして、上記制御信号入力タイミング制御回路112を構成するF/Fは、そのクロック端子に与えられる上記第2のクロックCLK2のタイミングに従って、そのデータ端子に入力された上記第2の制御信号GRNT2を出力する。これにより、上記第2のクロックCLK2のタイミングに同期している上記第2の制御信号GRNT2を、該第1のデータ入出力装置10に入力させることができる。   The first data input / output device 10 also includes a reception clock terminal 110 for receiving the second clock CLK2 sent from the second data input / output device 20 through a wiring on a substrate (not shown). . Here, the second clock CLK2 is asynchronous with the first clock CLK1 generated by the clock generator 101, as shown in FIG. The second clock CLK2 received at the reception clock terminal 110 is supplied to the control signal input timing control circuit 112 constituting a part of the control signal input unit via the buffer 111. The control signal input timing control circuit 112 is constituted by an F / F, and the second clock CLK2 is applied to the clock terminal of the F / F. At the data terminal of the control signal input timing control circuit 112, the second control signal GRNT2 synchronized with the second clock CLK2 received at the control signal receiving terminal 113 constitutes a part of the control signal input unit. It is input via the buffer 114. Here, the second control signal GRNT2 is a data communication permission signal sent from the second data input / output device 20 through a wiring on a substrate (not shown) in accordance with the first control signal DEN1. is there. The F / F constituting the control signal input timing control circuit 112 outputs the second control signal GRNT2 input to the data terminal in accordance with the timing of the second clock CLK2 applied to the clock terminal. To do. As a result, the second control signal GRNT2 synchronized with the timing of the second clock CLK2 can be input to the first data input / output device 10.

以上の構成により、上記第1のデータ入出力装置10は、データ出力装置として機能することができる。   With the above configuration, the first data input / output device 10 can function as a data output device.

また更に、この第1のデータ入出力装置10は、データ入力装置として機能することができる。そのために、上記第1のデータ入出力装置10においては、上記受信クロック端子110で受信した第2のクロックCLK2が、上記バッファ111を介して、受信データ入力部の一部を構成する入力タイミング制御回路115にも与えられるようになっている。この入力タイミング制御回路115はF/Fで構成され、上記第2のクロックCLK2はこのF/Fのクロック端子に与えられる。この入力タイミング制御回路115を構成するF/Fのデータ端子には、受信データ端子116で受信した上記第2のクロックCLK2に同期した第2のデータDAT2が、受信データ入力部の一部を構成するバッファ117を介して入力される。そして、この入力タイミング制御回路115を構成するF/Fは、そのクロック端子に与えられる上記第2のクロックCLK2のタイミングに従って、そのデータ端子に入力された第2のデータDAT2を出力する。これにより、図2(A)に示すように上記第2のクロックCLK2のタイミングに同期している上記第2のデータDATA2を、該第1のデータ入出力装置10に入力させることができる。   Furthermore, the first data input / output device 10 can function as a data input device. Therefore, in the first data input / output device 10, the input clock control that the second clock CLK 2 received at the reception clock terminal 110 constitutes a part of the reception data input unit via the buffer 111. The circuit 115 is also provided. The input timing control circuit 115 is composed of an F / F, and the second clock CLK2 is applied to the clock terminal of the F / F. At the data terminal of the F / F constituting the input timing control circuit 115, the second data DAT2 synchronized with the second clock CLK2 received at the reception data terminal 116 constitutes a part of the reception data input unit. Input via the buffer 117. The F / F constituting the input timing control circuit 115 outputs the second data DAT2 input to the data terminal in accordance with the timing of the second clock CLK2 applied to the clock terminal. As a result, as shown in FIG. 2A, the second data DATA2 synchronized with the timing of the second clock CLK2 can be input to the first data input / output device 10.

なおこの場合、上記第2の制御信号は、データ通信の許可信号であるGRNT2ではなく、データ通信のイネーブル信号であるDEN2となる。また、上記第1の制御信号は、データ通信のイネーブル信号であるDEN1ではなく、データ通信の許可信号であるGRNT1となる。   In this case, the second control signal is not GRNT2, which is a data communication permission signal, but DEN2, which is a data communication enable signal. The first control signal is not DEN1, which is a data communication enable signal, but GRNT1, which is a data communication permission signal.

このような第1のデータ入出力装置10に対して、上記第2のデータ入出力装置20は、上記第1のデータ入出力装置10のような独自のクロック発生部を持たないこと以外は、上記第1のデータ入出力装置10と同様の構成を有している。   The second data input / output device 20 is different from the first data input / output device 10 except that the second data input / output device 20 does not have its own clock generation unit, unlike the first data input / output device 10. The configuration is the same as that of the first data input / output device 10.

即ち、上記第2のデータ入出力装置20は、図示しない基板上の配線を介して上記第1のデータ入出力装置10の上記送信クロック端子103と接続され、上記第1のクロックCLK1を受信するためのクロック入力端子201を有している。このクロック入力端子201で受信した上記第1のクロックCLK1は、バッファ202を介して、データ入力部の一部を構成するタイミング制御回路203に与えられる。このタイミング制御回路203はF/Fで構成され、上記第1のクロックCLK1はこのF/Fのクロック端子に与えられる。このタイミング制御回路203を構成するF/Fのデータ端子には、上記第1のデータ入出力装置10の上記送信データ端子107と図示しない基板上の配線を介して接続されたデータ入力端子204で受信した、上記第1のクロックCLK1に同期した第1のデータDAT1が、同じく上記データ入力部の一部を構成するバッファ205を介して入力される。そして、上記タイミング制御回路203を構成するF/Fは、そのクロック端子に与えられる上記第1のクロックCLK1のタイミングに従って、そのデータ端子に入力された第1のデータDAT1を出力する。このようにして、図2(A)に示すように上記第1のクロックCLK1のタイミングに同期している上記第1のデータDATA1を、該第2のデータ入出力装置20に入力させることができる。   That is, the second data input / output device 20 is connected to the transmission clock terminal 103 of the first data input / output device 10 via a wiring on a substrate (not shown) and receives the first clock CLK1. A clock input terminal 201 is provided. The first clock CLK1 received at the clock input terminal 201 is supplied via the buffer 202 to the timing control circuit 203 constituting a part of the data input unit. The timing control circuit 203 is composed of an F / F, and the first clock CLK1 is applied to the clock terminal of the F / F. The data terminal of the F / F constituting the timing control circuit 203 is a data input terminal 204 connected to the transmission data terminal 107 of the first data input / output device 10 via a wiring on a substrate (not shown). The received first data DAT1 synchronized with the first clock CLK1 is input via the buffer 205 which also constitutes a part of the data input unit. The F / F constituting the timing control circuit 203 outputs the first data DAT1 input to the data terminal in accordance with the timing of the first clock CLK1 applied to the clock terminal. In this way, as shown in FIG. 2A, the first data DATA1 synchronized with the timing of the first clock CLK1 can be input to the second data input / output device 20. .

また、上記バッファ202から出力された第1のクロックCLK1は、制御入力部の一部を構成する制御入力タイミング制御回路206にも与えられるようになっている。この制御入力タイミング制御回路206はF/Fで構成され、上記第1のクロックCLK1はこのF/Fのクロック端子に与えられる。この制御入力タイミング制御回路206のデータ端子には、上記第1のデータ入出力装置10の制御信号送信端子109と図示しない基板上の配線を介して接続された制御信号入力端子207で受信した、上記第1のクロックCLK1に同期した第1の制御信号DEN1が、同じく制御入力部の一部を構成するバッファ208を介して入力される。そして、この制御入力タイミング制御回路206を構成するF/Fは、そのクロック端子に与えられる上記第1のクロックCLK1のタイミングに従って、そのデータ端子に入力された上記第1の制御信号DEN1を出力する。このようにして、上記第1のクロックCLK1のタイミングに同期している上記第1の制御信号DEN1を、該第2のデータ入出力装置20に入力させることができる。   The first clock CLK1 output from the buffer 202 is also supplied to a control input timing control circuit 206 constituting a part of the control input unit. The control input timing control circuit 206 is constituted by an F / F, and the first clock CLK1 is applied to the clock terminal of the F / F. The data terminal of the control input timing control circuit 206 is received by the control signal input terminal 207 connected to the control signal transmission terminal 109 of the first data input / output device 10 via a wiring on the substrate (not shown). A first control signal DEN1 synchronized with the first clock CLK1 is input via a buffer 208 that also constitutes a part of the control input unit. The F / F constituting the control input timing control circuit 206 outputs the first control signal DEN1 input to the data terminal according to the timing of the first clock CLK1 applied to the clock terminal. . In this manner, the first control signal DEN1 synchronized with the timing of the first clock CLK1 can be input to the second data input / output device 20.

以上の構成により、上記第2のデータ入出力装置20は、データ入力装置として機能することができる。   With the above configuration, the second data input / output device 20 can function as a data input device.

また更に、この第2のデータ入出力装置20は、データ出力装置として機能することができる。そのために、上記第2のデータ入出力装置20においては、上記バッファ202から出力された第1のクロックCLK1が、配線容量等によって上記第1のデータ入出力装置10の送信クロック端子103から送信された第1のクロックCLK1とは非同期となった第2のクロックCLK2として、バッファ209を介してクロック出力端子210に与えられ、該クロック出力端子210から図示しない基板上の配線を通して上記第1のデータ入出力装置10の上記受信クロック端子110に対し送信されるようになっている。また、この第2のクロックCLK2は、データ出力部の一部を構成する出力タイミング制御回路211のクロック端子、及び、制御出力部の一部を構成する制御出力タイミング制御回路212のクロック端子にもそれぞれ与えられる。   Still further, the second data input / output device 20 can function as a data output device. Therefore, in the second data input / output device 20, the first clock CLK1 output from the buffer 202 is transmitted from the transmission clock terminal 103 of the first data input / output device 10 by the wiring capacity or the like. The second clock CLK2 that is asynchronous with the first clock CLK1 is supplied to the clock output terminal 210 via the buffer 209, and the first data is transmitted from the clock output terminal 210 through a wiring (not shown) on the substrate. The data is transmitted to the reception clock terminal 110 of the input / output device 10. The second clock CLK2 is also supplied to the clock terminal of the output timing control circuit 211 that forms part of the data output unit and the clock terminal of the control output timing control circuit 212 that forms part of the control output unit. Given each.

ここで、上記出力タイミング制御回路211はF/Fで構成され、この第2のデータ入出力装置20に入力されて該F/Fのデータ端子に与えられたデータを、上記第2のクロックCLK2のタイミングに同期して出力する。そして、その出力されたデータは、同じくデータ出力部の一部を構成するバッファ213を介してデータ出力端子214に与えられる。なお、特に図示はしていないが、実際には、上記出力タイミング制御回路211による遅延や配線容量による遅延等を考慮して、上記クロック出力端子210に与えられる第2のクロックCLK2のタイミングと上記データ出力端子214に与えられるデータとが確実に同期するよう、適宜ディレイ素子を配してディレイ調整している。そして、上記データ出力端子214に与えられたデータは、該データ出力端子214から第2のデータDAT2として、図示しない基板上の配線を通して上記第1のデータ入出力装置10の上記受信データ端子116に対し送信される。   Here, the output timing control circuit 211 is constituted by an F / F, and the data input to the second data input / output device 20 and applied to the data terminal of the F / F is converted to the second clock CLK2. Output in sync with the timing of. Then, the output data is given to the data output terminal 214 via the buffer 213 that also constitutes a part of the data output unit. Although not specifically shown, actually, the timing of the second clock CLK2 applied to the clock output terminal 210 and the timing described above in consideration of the delay due to the output timing control circuit 211, the delay due to the wiring capacitance, and the like. In order to ensure synchronization with the data supplied to the data output terminal 214, a delay element is appropriately arranged to adjust the delay. Then, the data supplied to the data output terminal 214 is supplied as the second data DAT2 from the data output terminal 214 to the reception data terminal 116 of the first data input / output device 10 through a wiring on the substrate (not shown). It is sent to.

これにより、図2(A)に示すように第2のクロックCLK2のタイミングに同期した第2のデータDATA2が、該第2のデータ入出力装置20から上記第1のデータ入出力装置10に送信されることになる。   As a result, as shown in FIG. 2A, the second data DATA2 synchronized with the timing of the second clock CLK2 is transmitted from the second data input / output device 20 to the first data input / output device 10. Will be.

また、上記制御出力タイミング制御回路212も同様にF/Fで構成され、この第2のデータ入出力装置20に入力されて該F/Fのデータ端子に与えられた制御信号を、上記第2のクロックCLK2のタイミングに同期して出力する。そして、この出力された制御信号は、同じく制御出力部の一部を構成するバッファ215を介して制御信号出力端子216に与えられる。なお、この場合も特に図示はしていないが、上記クロック出力端子210に与えられる第2のクロックCLK2のタイミングに上記制御信号出力端子216に与えられる制御信号が確実に同期するよう、適宜ディレイ素子を配してディレイ調整している。そして、上記制御信号出力端子216に与えられた制御信号は、該制御信号出力端子216から第2の制御信号DEN2として、図示しない基板上の配線を通して上記第1のデータ入出力装置10の上記制御信号受信端子113に対し送信される。   Similarly, the control output timing control circuit 212 is also composed of an F / F, and the control signal input to the second data input / output device 20 and applied to the data terminal of the F / F is sent to the second data input / output device 20. Is output in synchronization with the timing of the clock CLK2. The output control signal is applied to the control signal output terminal 216 via a buffer 215 that also constitutes a part of the control output unit. In this case as well, although not particularly illustrated, an appropriate delay element is used so that the control signal applied to the control signal output terminal 216 is surely synchronized with the timing of the second clock CLK2 applied to the clock output terminal 210. To adjust the delay. Then, the control signal given to the control signal output terminal 216 is used as the second control signal DEN2 from the control signal output terminal 216 through the wiring on the substrate (not shown), and the control of the first data input / output device 10 is performed. It is transmitted to the signal receiving terminal 113.

以上のように、本第1実施形態によれば、通信する双方にクロック発信部を有する一般的な通信、双方に共通クロックを入力する回路とは異なり、上記第1のクロックCLK1と上記第2のクロックCLK2とは非同期としている。しかしながら、上記第1のクロックCLK1と上記第1のデータDAT1とは同期され、また、上記第2のクロックCLK2と上記第2のデータDAT2とは同期されるようにしてデータの送受信を行うようにしている。従って、2つのデータ入出力装置間で同期を取る必要がないので、遅延に対応するための補正回路、設定等を不要とし、簡単な構成で、データを入出力できる。また、それぞれが独自のクロックに従って高速にデータを入出力することができる。   As described above, according to the first embodiment, the first clock CLK1 and the second clock are different from the general communication having the clock transmission unit for both communication and the circuit that inputs the common clock to both. Asynchronous with the clock CLK2. However, the first clock CLK1 and the first data DAT1 are synchronized, and the second clock CLK2 and the second data DAT2 are synchronized so that data is transmitted and received. ing. Therefore, since it is not necessary to synchronize between the two data input / output devices, correction circuits and settings for dealing with delays are unnecessary, and data can be input / output with a simple configuration. In addition, each can input / output data at high speed according to its own clock.

さらに、データ入出力装置は複数系統有しても良く、マルチチップ構成で外部I/Fを利用できる。このとき、元となるクロックは、少なくとも1系統、マスタとなるデータ入出力装置のICチップに存在すれば良い。   Further, the data input / output device may have a plurality of systems, and an external I / F can be used in a multi-chip configuration. At this time, the original clock may be present in at least one system and the IC chip of the data input / output device as the master.

これにより、マルチチップ構成として利用できるため、機能の拡張、性能向上のための様々な構成に対応可能となる。   Thereby, since it can utilize as a multichip structure, it becomes possible to respond to various structures for expanding functions and improving performance.

[第2実施形態]
図3は、このような第2実施形態に係るデータ入出力システムの構成を示す図である。本実施形態に係るデータ入出力システムは、本発明の第2実施形態に係るデータ入出力である第1のデータ入出力装置10と、同じく本発明の第2実施形態に係るデータ入出力である第2のデータ入出力装置20とからなる。ここで、第1のデータ入出力装置10はマスタ装置、第2のデータ入出力装置20はスレーブ装置として機能するものであり、それぞれICチップの形態で提供される。
[Second Embodiment]
FIG. 3 is a diagram showing the configuration of the data input / output system according to the second embodiment. The data input / output system according to this embodiment is the same as the first data input / output device 10 that is a data input / output according to the second embodiment of the present invention, and the data input / output according to the second embodiment of the present invention. It consists of a second data input / output device 20. Here, the first data input / output device 10 functions as a master device, and the second data input / output device 20 functions as a slave device, and each is provided in the form of an IC chip.

そして、上記第1のデータ入出力装置10の送信データ端子及び受信データ端子が双方向の送受信データ端子として兼用され、また、上記第2のデータ入出力装置20のデータ入力端子及びデータ出力端子が双方向のデータ入出力端子として兼用されるものである。この場合、両データ入出力装置間の配線のうち、少なくともデータ通信用の配線は双方向バスとして構成される。   The transmission data terminal and the reception data terminal of the first data input / output device 10 are also used as bidirectional transmission / reception data terminals, and the data input terminal and the data output terminal of the second data input / output device 20 are used. It is also used as a bidirectional data input / output terminal. In this case, of the wiring between the two data input / output devices, at least the wiring for data communication is configured as a bidirectional bus.

即ち、このような第2実施形態に係るデータ入出力システムにおいては、第1のデータ入出力装置10は、n個の双方向の送受信データ端子118−1〜118−nを有している。これら送受信データ端子118−1〜118−nには、上記第1実施形態における送信データ出力部と同様の構成である出力タイミング制御回路104−1〜104−n及びバッファ106−1〜106−nが接続されている。また、上記第1実施形態における受信データ入力部のような入力タイミング制御回路115−1〜115−n及びバッファ117−1〜117−nが接続されている。但しこの場合、入力タイミング制御回路115−1〜115−nとバッファ117−1〜117−nとの間には、ディレイ119−1〜119−nが配されている。これは、入力タイミング制御回路115−1〜115−nを構成するF/Fのクロック端子に与えられるクロックとして、受信クロック端子110で受信した第2のクロックCLK2をバッファ111を介してクロックツリー120に入力し、該クロックツリー120で生成したクロックを用いているので、入力タイミング制御回路115−1〜115−nを構成するF/Fのデータ端子の前で、その分の時間を遅延させるために設けているものである。   That is, in such a data input / output system according to the second embodiment, the first data input / output device 10 has n bidirectional transmission / reception data terminals 118-1 to 118-n. These transmission / reception data terminals 118-1 to 118-n have output timing control circuits 104-1 to 104-n and buffers 106-1 to 106-n having the same configuration as that of the transmission data output unit in the first embodiment. Is connected. In addition, input timing control circuits 115-1 to 115-n and buffers 117-1 to 117-n such as the reception data input unit in the first embodiment are connected. However, in this case, delays 119-1 to 119-n are arranged between the input timing control circuits 115-1 to 115-n and the buffers 117-1 to 117-n. This is because the second clock CLK2 received at the reception clock terminal 110 is supplied to the clock terminals of the F / Fs constituting the input timing control circuits 115-1 to 115-n via the buffer 111 as the clock tree 120. Since the clock generated by the clock tree 120 is used, the time corresponding to the data terminals of the F / Fs constituting the input timing control circuits 115-1 to 115-n is delayed. Is provided.

さらに、この第1のデータ入出力装置10では、2つの双方向の制御信号送受信端子121a,121bを有している。これら制御信号送受信端子121a,121bには、上記第1実施形態における制御信号出力部と同様の構成である制御信号出力タイミング制御回路105a,105b及びバッファ108a,108bが接続されている。また、上記第1実施形態における制御信号入力部のような制御信号入力タイミング制御回路112a,112b及びバッファ114a,114bが接続されている。但しこの場合も、上記クロックツリー120による遅延時間を補償するためのディレイ122a,122bが、制御信号入力タイミング制御回路112a,112bとバッファ114a,114bとの間に配されている。   Further, the first data input / output device 10 has two bidirectional control signal transmission / reception terminals 121a and 121b. The control signal transmission / reception terminals 121a and 121b are connected to control signal output timing control circuits 105a and 105b and buffers 108a and 108b having the same configuration as the control signal output unit in the first embodiment. Also, control signal input timing control circuits 112a and 112b and buffers 114a and 114b such as the control signal input unit in the first embodiment are connected. In this case, however, delays 122a and 122b for compensating for the delay time due to the clock tree 120 are arranged between the control signal input timing control circuits 112a and 112b and the buffers 114a and 114b.

一方、第2のデータ入出力装置20は、n個の双方向のデータ入出力端子217−1〜217−nを有している。これらデータ入出力端子217−1〜217−nには、上記第1実施形態におけるデータ出力部と同様の構成である出力タイミング制御回路211−1〜211−n及びバッファ213−1〜213−nが接続されている。また、上記第1実施形態におけるデータ入力部のようなタイミング制御回路203−1〜203−n及びバッファ205−1〜205−nが接続されている。但しこの場合、タイミング制御回路203−1〜203−nとバッファ205−1〜205−nとの間には、ディレイ218−1〜218−nが配されている。これは、タイミング制御回路203−1〜203−nを構成するF/Fのクロック端子に与えられるクロックとして、クロック入力端子201で受信した第1のクロックCLK1をバッファ202を介してクロックツリー219に入力し、該クロックツリー219で生成したクロックを用いているので、タイミング制御回路203−1〜203−nを構成するF/Fのデータ端子の前で、その分の時間を遅延させるために設けているものである。   On the other hand, the second data input / output device 20 has n bidirectional data input / output terminals 217-1 to 217-n. These data input / output terminals 217-1 to 217-n include output timing control circuits 211-1 to 211-n and buffers 213-1 to 213-n having the same configuration as that of the data output unit in the first embodiment. Is connected. In addition, timing control circuits 203-1 to 203-n and buffers 205-1 to 205-n such as data input units in the first embodiment are connected. However, in this case, delays 218-1 to 218-n are arranged between the timing control circuits 203-1 to 203-n and the buffers 205-1 to 205-n. This is because the first clock CLK1 received at the clock input terminal 201 is sent to the clock tree 219 via the buffer 202 as a clock given to the clock terminals of the F / Fs constituting the timing control circuits 203-1 to 203-n. Since the clock input and generated by the clock tree 219 is used, it is provided to delay the time corresponding to the data terminals of the F / F constituting the timing control circuits 203-1 to 203-n. It is what.

さらに、この第2のデータ入出力装置20では、2つの双方向の制御信号入出力端子220a,220bを有している。これら制御信号入出力端子220a,220bには、上記第1実施形態における制御出力部と同様の構成である制御出力タイミング制御回路212a,212b及びバッファ215a,215bが接続されている。また、上記第1実施形態における制御入力部のような制御入力タイミング制御回路206a,206b及びバッファ208a,208bが接続されている。但しこの場合も、上記クロックツリー219による遅延時間を補償するためのディレイ221a,221bが、制御入力タイミング制御回路206a,206bとバッファ208a,208bとの間に配されている。   Further, the second data input / output device 20 has two bidirectional control signal input / output terminals 220a and 220b. The control signal input / output terminals 220a and 220b are connected to control output timing control circuits 212a and 212b and buffers 215a and 215b having the same configuration as that of the control output unit in the first embodiment. Further, control input timing control circuits 206a and 206b and buffers 208a and 208b such as the control input unit in the first embodiment are connected. In this case, however, delays 221a and 221b for compensating for the delay time due to the clock tree 219 are arranged between the control input timing control circuits 206a and 206b and the buffers 208a and 208b.

このような構成としても、上記第1実施形態と同様の効果を奏することができる。さらに、本実施形態では、nビットのデータを一度に通信できるので、更なる高速化を成し遂げることができる。   Even with such a configuration, the same effects as those of the first embodiment can be obtained. Furthermore, in this embodiment, since n-bit data can be communicated at a time, further speedup can be achieved.

但し、受け側となるデータ通信装置で受信したデータを、例えば当該データ通信装置のICチップ外に設けられたSDRAM等に格納するような、動作速度の遅い外部装置に転送することを考慮した場合、図2(B)に示すように、例えば第2のデータ入出力装置20であればタイミング制御回路203−1〜203−nの後段に入力データバッファ222を設けることが好ましい。この入力データバッファ222は、例えばSDRAMの通信単位として1ページを16バイトのバースト長とした場合、4ページ分の容量を持つように構成する。   However, in consideration of transferring the data received by the data communication device on the receiving side to an external device having a low operating speed, for example, storing it in an SDRAM or the like provided outside the IC chip of the data communication device. As shown in FIG. 2B, for example, in the case of the second data input / output device 20, it is preferable to provide an input data buffer 222 in the subsequent stage of the timing control circuits 203-1 to 203-n. The input data buffer 222 is configured to have a capacity of 4 pages, for example, when one page is a 16-byte burst length as an SDRAM communication unit.

この場合、図4に示すように、入力データバッファ222の残りページ数(つまり空き容量)が1ページになったところで、制御出力タイミング制御回路212bのデータ端子に与えられる制御信号GRNT2が立ち下がる。そして、第1のクロックCLK1とは非同期の第2のクロックCLK2に同期して、制御信号GRANT2が上記制御信号入出力端子220bから第1のデータ入出力装置10へ出力される。このとき、この制御信号GRANT2は、図示しない基板上の配線での配線容量等により、更には第1のデータ入出力装置10の制御信号送受信端子121bで受信された後のディレイ122bにより、遅延を持って制御信号入力タイミング制御回路112bに該第1のデータ入出力装置10に入力されることになる。従って、上記第2のデータ入出力装置20からの上記制御信号GRANT2の出力後、上記第1のデータ入出力装置10の上記送受信データ端子118−1〜118−nからのデータ出力が直ちに停止されるということはできず、若干の遅れを持って停止され、同様に、上記制御信号送受信端子121aからの制御信号DEN1も遅れて停止される。   In this case, as shown in FIG. 4, the control signal GRNT2 applied to the data terminal of the control output timing control circuit 212b falls when the number of remaining pages (that is, free capacity) of the input data buffer 222 becomes one page. The control signal GRANT2 is output from the control signal input / output terminal 220b to the first data input / output device 10 in synchronization with the second clock CLK2 that is asynchronous with the first clock CLK1. At this time, the control signal GRANT2 is delayed by the delay 122b after it is received by the control signal transmission / reception terminal 121b of the first data input / output device 10 due to the wiring capacity of the wiring on the substrate (not shown). Then, the first data input / output device 10 is input to the control signal input timing control circuit 112b. Therefore, after the output of the control signal GRANT2 from the second data input / output device 20, the data output from the transmission / reception data terminals 118-1 to 118-n of the first data input / output device 10 is immediately stopped. However, the control signal DEN1 from the control signal transmission / reception terminal 121a is also stopped with a delay.

そして、入力データバッファ222からSDRAM等へのデータ転送が進み、その残りページ数が2ページに戻ったならば、上記制御出力タイミング制御回路212bのデータ端子に与えられる制御信号GRNT2を立ち上げて、第2のクロックCLK2に同期して、その制御信号GRANT2を上記制御信号入出力端子220bから第1のデータ入出力装置10へ出力する。これにより、上述の遅れを持って、上記第1のデータ入出力装置10の上記制御信号送受信端子121aからの制御信号DEN1が出力されると共に、上記送受信データ端子118−1〜118−nからのデータ出力が再開されることとなる。   When data transfer from the input data buffer 222 to the SDRAM or the like proceeds and the remaining number of pages returns to two pages, the control signal GRNT2 applied to the data terminal of the control output timing control circuit 212b is raised, The control signal GRANT2 is output from the control signal input / output terminal 220b to the first data input / output device 10 in synchronization with the second clock CLK2. As a result, the control signal DEN1 from the control signal transmission / reception terminal 121a of the first data input / output device 10 is output with the above-mentioned delay, and also from the transmission / reception data terminals 118-1 to 118-n. Data output will be resumed.

このように、入力データバッファ222の残りページ数が1ページになったときに、第1のデータ入出力装置10からのデータ出力を停止させることで、この入力データバッファ222がオーバフローしないようにすることができる。   As described above, when the number of remaining pages of the input data buffer 222 becomes one page, the data output from the first data input / output device 10 is stopped so that the input data buffer 222 does not overflow. be able to.

なお、ここでは第2のデータ入出力装置20の入力データバッファ222のみ説明したが、第1のデータ入出力装置10においても同様の入力データバッファを設けても良いことは勿論である。また、上記図4では、入力データバッファ222の残りページ数が1ページになったところで制御信号GRANT2が立ち下がる場合について述べたが、上記制御信号GRANT2を立ち下げられてから制御信号DEN1が立ち下がるまでに転送されるデータを確保できるタイミングであれば良い。   Although only the input data buffer 222 of the second data input / output device 20 has been described here, it is needless to say that a similar input data buffer may be provided in the first data input / output device 10 as well. In FIG. 4, the case where the control signal GRANT2 falls when the number of remaining pages of the input data buffer 222 becomes one page has been described. However, the control signal DEN1 falls after the control signal GRANT2 falls. Any timing can be used as long as the data to be transferred can be secured.

以上説明したような本実施形態に係るデータ入出力システムは、例えば、図5に示すような、RGBそれぞれ別個に撮像する3つの撮像部30−1〜30−3を持つ所謂三板式のデジタルカメラに適用すると好適である。   The data input / output system according to the present embodiment as described above is, for example, a so-called three-plate digital camera having three image capturing units 30-1 to 30-3 that individually capture RGB as shown in FIG. It is preferable to apply to.

即ち、このデジタルカメラは、画像データに対しガンマ補正等の各種画像処理を行う画像処理部40と、画像データを格納するSDRAM50−1,50−2と、図示しない液晶ディスプレイ等へ画像データを表示するための表示I/F60と、図示しない記録媒体に画像データを記録するためのカードI/F70とを持つものである。   That is, the digital camera displays image data on an image processing unit 40 that performs various image processing such as gamma correction on the image data, SDRAMs 50-1 and 50-2 that store the image data, and a liquid crystal display (not shown). A display I / F 60 and a card I / F 70 for recording image data on a recording medium (not shown).

ここで、SDRAM50−1は例えば画像処理部40で処理後の画像データを格納するのに使用し、SDRAM50−2は例えば撮像部30−1〜30−3で撮像した画像データを合成するために、それら撮像部30−1〜30−3からの画像データを格納するのに使用することができる。そのため、撮像部30−1で撮像した画像データを高速に転送するために、本実施形態による第1のデータ入出力装置10としてのデータ入出力部10−1と本実施形態による第2のデータ入出力装置20としてのデータ入出力部20−1とを設け、また、撮像部30−3で撮像した画像データを高速に転送するために、本実施形態による第1のデータ入出力装置10としてのデータ入出力部10−2と本実施形態による第2のデータ入出力装置20としてのデータ入出力部20−2とを設けている。   Here, the SDRAM 50-1 is used for storing image data processed by the image processing unit 40, for example, and the SDRAM 50-2 is used for synthesizing image data captured by the imaging units 30-1 to 30-3, for example. , And can be used to store image data from the imaging units 30-1 to 30-3. Therefore, in order to transfer the image data captured by the imaging unit 30-1 at high speed, the data input / output unit 10-1 as the first data input / output device 10 according to the present embodiment and the second data according to the present embodiment. A data input / output unit 20-1 is provided as the input / output device 20, and the first data input / output device 10 according to the present embodiment is used to transfer image data captured by the imaging unit 30-3 at high speed. The data input / output unit 10-2 and the data input / output unit 20-2 as the second data input / output device 20 according to the present embodiment are provided.

また、データ入出力部10−2からデータ入出力部10−1に出力するデータとしては、SDRAM50−2上での画像合成処理の結果のデータが考えられ、これがデータ入出力部10−1から画像処理部40に転送されて画像処理が行われることとなる。   The data output from the data input / output unit 10-2 to the data input / output unit 10-1 may be data resulting from the image composition processing on the SDRAM 50-2. The image data is transferred to the image processing unit 40 and image processing is performed.

このような構成とすることにより、高速にデータの転送が行えるので、撮像から最終的な不図示の記録媒体への画像データの書き込みまでを高速に実行することが可能なデジタルカメラを提供できるようになる。   With such a configuration, since data can be transferred at high speed, it is possible to provide a digital camera capable of performing from imaging to writing image data to a final recording medium (not shown) at high speed. become.

以上実施形態に基づいて本発明を説明したが、本発明は上述した実施形態に限定されるものではなく、本発明の要旨の範囲内で種々の変形や応用が可能なことは勿論である。   Although the present invention has been described above based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications and applications are naturally possible within the scope of the gist of the present invention.

例えば、上記実施形態では、高速転送すべきデータとして画像データを例に挙げたが、音声データ等、どのようなデータであっても構わない。   For example, in the above embodiment, image data is taken as an example of data to be transferred at high speed, but any data such as audio data may be used.

図1は本発明の第1実施形態に係るデータ入出力システムの構成を示す図である。FIG. 1 is a diagram showing a configuration of a data input / output system according to the first embodiment of the present invention. 図2(A)は第1実施形態に係るデータ入出力システムの動作を説明するためのタイミングチャートを示す図であり、図2(B)は本発明の第2実施形態に係るデータ入出力システムの変形例における第2のデータ入出力装置の構成を説明するための図である。FIG. 2A is a timing chart for explaining the operation of the data input / output system according to the first embodiment, and FIG. 2B is a data input / output system according to the second embodiment of the present invention. It is a figure for demonstrating the structure of the 2nd data input / output device in the modification. 図3は本発明の第2実施形態に係るデータ入出力システムの構成を示す図である。FIG. 3 is a diagram showing a configuration of a data input / output system according to the second embodiment of the present invention. 図4は第2実施形態に係るデータ入出力システムの変形例の動作を説明するためのタイミングチャートを示す図である。FIG. 4 is a timing chart for explaining the operation of the modified example of the data input / output system according to the second embodiment. 図5は第2実施形態に係るデータ入出力システムを適用したデジタルカメラの構成を示す図である。FIG. 5 is a diagram showing a configuration of a digital camera to which the data input / output system according to the second embodiment is applied.

符号の説明Explanation of symbols

10…第1のデータ入出力装置、 10−1,10−2,20−1,20−2…データ入出力部、 20…第2のデータ入出力装置、 30−1〜30−3…撮像部、 40…画像処理部、 50−1,50−2…SDRAM、 60…表示I/F、 70…カードI/F、 101…クロック発生部、 102,106,106−1〜106−n,108,108a,108b,111,114,114a,114b,117,117−1〜117−n,202,205,205−1〜205−n,208,208a,208b,209,213,213−1〜213−n,215,215a,215b…バッファ、 103…送信クロック端子、 104,104−1〜104−n,211,211−1〜211−n…出力タイミング制御回路、 105,105a,105b…制御信号出力タイミング制御回路、 107…送信データ端子、 109…制御信号送信端子、 110…受信クロック端子、 112,112a,112b…制御信号入力タイミング制御回路、 113…制御信号受信端子、 115,115−1〜115−n…入力タイミング制御回路、 116…受信データ端子、 118−1〜118−n…送受信データ端子、 119−1〜119−n,122a,122b,218−1〜218−n,221a,221b…ディレイ、 120,219…クロックツリー、 121a,121b…制御信号送受信端子、 201…クロック入力端子、 203,203−1〜203−n…タイミング制御回路、 204…データ入力端子、 206,206a,206b…制御入力タイミング制御回路、 207…制御信号入力端子、 210…クロック出力端子、 212,212a,212b…制御出力タイミング制御回路、 214…データ出力端子、 216…制御信号出力端子、 217−1〜217−n…データ入出力端子、 220a,220b…制御信号入出力端子、 222…入力データバッファ。     DESCRIPTION OF SYMBOLS 10 ... 1st data input / output device, 10-1, 10-2, 20-1, 20-2 ... Data input / output part, 20 ... 2nd data input / output device, 30-1 to 30-3 ... Imaging 40: Image processing unit, 50-1, 50-2 ... SDRAM, 60: Display I / F, 70 ... Card I / F, 101 ... Clock generation unit, 102, 106, 106-1 to 106-n, 108, 108a, 108b, 111, 114, 114a, 114b, 117, 117-1 to 117-n, 202, 205, 205-1 to 205-n, 208, 208a, 208b, 209, 213, 213-1 to 213-n, 215, 215a, 215b ... buffer, 103 ... transmission clock terminal, 104, 104-1 to 104-n, 211, 211-1 to 211-n ... output timing control circuit, 105, 105a, 105b ... control signal output timing control circuit, 107 ... transmission data terminal, 109 ... control signal transmission terminal, 110 ... reception clock terminal, 112, 112a, 112b ... control signal input timing control circuit, 113 ... control signal reception 115, 115-1 to 115-n, input timing control circuit, 116, reception data terminal, 118-1, 118-n, transmission / reception data terminal, 1191-1 to 119-n, 122a, 122b, 218-1 218-n, 221a, 221b ... delay, 120, 219 ... clock tree, 121a, 121b ... control signal transmission / reception terminal, 201 ... clock input terminal, 203, 203-1 to 203-n ... timing control circuit, 204 ... data Input terminals 206, 206a, 206b ... Control input timing control circuit, 207 ... Control signal input terminal, 210 ... Clock output terminal, 212, 212a, 212b ... Control output timing control circuit, 214 ... Data output terminal, 216 ... Control signal output terminal, 217-1 to 217- n: Data input / output terminals, 220a, 220b: Control signal input / output terminals, 222: Input data buffer.

Claims (14)

外部装置に対してクロックを送信するための送信クロック端子と、
上記クロックのタイミングに同期した送信データを出力する出力タイミング制御回路を有する送信データ出力部と、
上記送信データ出力部から出力された上記送信データを上記外部装置に対して送信するための送信データ端子と、
上記クロックとは異なる外部クロックを受信するための受信クロック端子と、
上記受信クロック端子によって受信する上記外部クロックに同期した受信データを上記外部装置から入力する入力タイミング制御回路を有する受信データ入力部と、
上記受信データ入力部に入力される上記受信データを受信するための受信データ端子と、
を具備することを特徴とするデータ入出力装置。
A transmission clock terminal for transmitting a clock to an external device;
A transmission data output unit having an output timing control circuit for outputting transmission data synchronized with the timing of the clock;
A transmission data terminal for transmitting the transmission data output from the transmission data output unit to the external device;
A reception clock terminal for receiving an external clock different from the above clock;
A reception data input unit having an input timing control circuit for inputting reception data synchronized with the external clock received by the reception clock terminal from the external device;
A reception data terminal for receiving the reception data input to the reception data input unit;
A data input / output device comprising:
上記クロックと上記外部クロックとは非同期である一方、上記クロックと上記送信データ、及び、上記外部クロックと上記受信データとはそれぞれ同期されていることを特徴とする請求項1に記載のデータ入出力装置。   2. The data input / output according to claim 1, wherein the clock and the external clock are asynchronous, and the clock and the transmission data are synchronized with each other. apparatus. 上記送信データ端子及び上記受信データ端子は、双方向のデータ端子として兼用されることを特徴とする請求項1に記載のデータ入出力装置。   The data input / output device according to claim 1, wherein the transmission data terminal and the reception data terminal are also used as bidirectional data terminals. 上記送信データ及び上記受信データの少なくとも一方は画像データであることを特徴とする請求項1に記載のデータ入出力装置。   2. The data input / output device according to claim 1, wherein at least one of the transmission data and the reception data is image data. 上記クロックのタイミングに同期した第1の制御信号を出力する制御信号出力タイミング制御回路を有する制御信号出力部と、
上記制御信号出力部から出力された上記第1の制御信号を上記外部装置に対して送信するための制御信号送信端子と、
上記受信クロック端子によって受信する上記外部クロックに同期した第2の制御信号を上記外部装置から入力する制御信号入力タイミング制御回路を有する制御信号入力部と、
上記制御信号入力部に入力される上記第2の制御信号を受信するための制御信号受信端子と、
を更に具備する、
ことを特徴とする請求項1に記載のデータ入出力装置。
A control signal output unit having a control signal output timing control circuit for outputting a first control signal synchronized with the timing of the clock;
A control signal transmission terminal for transmitting the first control signal output from the control signal output unit to the external device;
A control signal input unit having a control signal input timing control circuit for inputting, from the external device, a second control signal synchronized with the external clock received by the reception clock terminal;
A control signal receiving terminal for receiving the second control signal input to the control signal input unit;
Further comprising
The data input / output device according to claim 1.
上記制御信号送信端子及び上記制御信号受信端子は、双方向の制御信号端子として兼用されることを特徴とする請求項5に記載のデータ入出力装置。   6. The data input / output device according to claim 5, wherein the control signal transmitting terminal and the control signal receiving terminal are also used as bidirectional control signal terminals. 第1のデータ入出力装置と第2のデータ入出力装置とからなるデータ入出力システムにおいて、
上記第1のデータ入出力装置は、
第1のクロックを発生するクロック発生部と、
上記第2のデータ入出力装置に対して、上記クロック発生部で発生した上記第1のクロックを送信するための送信クロック端子と、
上記クロック発生部で発生した上記第1のクロックのタイミングに同期した第1のデータを出力する出力タイミング制御回路を有する送信データ出力部と、
上記送信データ出力部から出力された上記第1のデータを上記第2のデータ入出力装置に対して送信するための送信データ端子と、
上記クロック発生部で発生した上記第1のクロックとは異なる第2のクロックを受信するための受信クロック端子と、
上記受信クロック端子によって受信する上記第2のクロックに同期した第2のデータを上記第2のデータ入出力装置から入力する入力タイミング制御回路を有する受信データ入力部と、
上記受信データ入力部に入力される上記第2のデータを受信するための受信データ端子と、
を備え、
上記第2のデータ入出力装置は、
上記第1のデータ入出力装置の上記送信クロック端子と接続され、上記第1のクロックを受信するためのクロック入力端子と、
上記第1のデータ入出力装置の上記出力データ端子と接続され、上記第1のデータを受信するためのデータ入力端子と、
上記クロック入力端子によって受信する上記第1のクロックに同期した、上記データ入力端子で受信した上記第1のデータを入力するタイミング制御回路を有するデータ入力部と、
上記クロック入力端子で受信した上記第1のクロックを元に生成された第2のクロックに、上記第1のデータ入出力装置に対して出力すべき上記第2のデータを同期させて出力する出力タイミング制御回路を有するデータ出力部と、
上記第1のデータ入出力装置の上記受信データ端子に接続され、上記データ出力部から出力された上記第2のデータを出力するためのデータ出力端子と、
上記第1のデータ入出力装置の上記受信クロック端子と接続され、上記第2のクロックを出力するためのクロック出力端子と、
を備える、
ことを特徴とするデータ入出力システム。
In a data input / output system comprising a first data input / output device and a second data input / output device,
The first data input / output device includes:
A clock generator for generating a first clock;
A transmission clock terminal for transmitting the first clock generated by the clock generation unit to the second data input / output device;
A transmission data output unit having an output timing control circuit for outputting first data synchronized with the timing of the first clock generated by the clock generation unit;
A transmission data terminal for transmitting the first data output from the transmission data output unit to the second data input / output device;
A reception clock terminal for receiving a second clock different from the first clock generated by the clock generator;
A reception data input unit having an input timing control circuit for inputting second data synchronized with the second clock received by the reception clock terminal from the second data input / output device;
A reception data terminal for receiving the second data input to the reception data input unit;
With
The second data input / output device is
A clock input terminal connected to the transmission clock terminal of the first data input / output device for receiving the first clock;
A data input terminal connected to the output data terminal of the first data input / output device for receiving the first data;
A data input unit having a timing control circuit for inputting the first data received at the data input terminal in synchronization with the first clock received by the clock input terminal;
Output for outputting the second data to be output to the first data input / output device in synchronization with a second clock generated based on the first clock received at the clock input terminal A data output unit having a timing control circuit;
A data output terminal connected to the reception data terminal of the first data input / output device and for outputting the second data output from the data output unit;
A clock output terminal connected to the reception clock terminal of the first data input / output device for outputting the second clock;
Comprising
A data input / output system characterized by this.
上記第1のクロックと上記第2のクロックとは非同期である一方、上記第1のクロックと上記第1のデータ、及び、上記第2のクロックと上記第2のデータとはそれぞれ同期されていることを特徴とする請求項7に記載のデータ入出力システム。   While the first clock and the second clock are asynchronous, the first clock and the first data, and the second clock and the second data are synchronized, respectively. The data input / output system according to claim 7. 上記第1のデータ入出力装置の上記送信データ端子及び上記受信データ端子は、双方向の送受信データ端子として兼用され、
上記第2のデータ入出力装置の上記データ入力端子及び上記データ出力端子は、双方向のデータ入出力端子として兼用される、
ことを特徴とする請求項7に記載のデータ入出力システム。
The transmission data terminal and the reception data terminal of the first data input / output device are also used as bidirectional transmission / reception data terminals,
The data input terminal and the data output terminal of the second data input / output device are also used as bidirectional data input / output terminals.
The data input / output system according to claim 7.
上記第1のデータ及び上記第2のデータの少なくとも一方は画像データであることを特徴とする請求項7に記載のデータ入出力システム。   8. The data input / output system according to claim 7, wherein at least one of the first data and the second data is image data. 上記第1のデータ入出力装置は、
上記第1のクロックのタイミングに同期した第1の制御信号を出力する制御信号出力タイミング制御回路を有する制御信号出力部と、
上記制御信号出力部から出力された上記第1の制御信号を上記第2のデータ入出力装置に対して送信するための制御信号送信端子と、
上記受信クロック端子によって受信する上記第2のクロックに同期した第2の制御信号を上記第2のデータ入出力装置から入力する制御信号入力タイミング制御回路を有する制御信号入力部と、
上記制御信号入力部に入力される上記第2の制御信号を受信するための制御信号受信端子と、
を更に備え、
上記第2のデータ入出力装置は、
上記第1のデータ入出力装置の制御信号送信端子と接続され、上記第1の制御信号を受信するための制御信号入力端子と、
上記クロック入力端子によって受信する上記第1のクロックに同期した、上記制御信号入力端子で受信した上記第1の制御信号を入力する制御入力タイミング制御回路を有する制御入力部と、
上記第2のクロックのタイミングに同期した上記第2の制御信号を出力する制御出力タイミング制御回路を有する制御出力部と、
上記制御出力部から出力された上記第2の制御信号を上記第1のデータ入出力装置に対して送信するための制御信号出力端子と、
を更に備える、
ことを特徴とする請求項7に記載のデータ入出力システム。
The first data input / output device includes:
A control signal output unit having a control signal output timing control circuit for outputting a first control signal synchronized with the timing of the first clock;
A control signal transmission terminal for transmitting the first control signal output from the control signal output unit to the second data input / output device;
A control signal input unit having a control signal input timing control circuit for inputting a second control signal synchronized with the second clock received by the reception clock terminal from the second data input / output device;
A control signal receiving terminal for receiving the second control signal input to the control signal input unit;
Further comprising
The second data input / output device is
A control signal input terminal connected to the control signal transmission terminal of the first data input / output device and receiving the first control signal;
A control input unit having a control input timing control circuit for inputting the first control signal received at the control signal input terminal synchronized with the first clock received by the clock input terminal;
A control output unit having a control output timing control circuit for outputting the second control signal synchronized with the timing of the second clock;
A control signal output terminal for transmitting the second control signal output from the control output unit to the first data input / output device;
Further comprising
The data input / output system according to claim 7.
上記第1のデータ入出力装置の上記制御信号送信端子及び上記制御信号受信端子は、双方向の制御信号送受信端子として兼用され、
上記第2のデータ入出力装置の上記制御信号入力端子及び上記制御信号出力端子は、双方向の制御信号入出力端子として兼用される、
ことを特徴とする請求項11に記載のデータ入出力システム。
The control signal transmission terminal and the control signal reception terminal of the first data input / output device are also used as bidirectional control signal transmission / reception terminals,
The control signal input terminal and the control signal output terminal of the second data input / output device are also used as bidirectional control signal input / output terminals.
The data input / output system according to claim 11.
第1のデータ入出力装置と第2のデータ入出力装置との間でのデータ通信方法であって、
上記第1のデータ入出力装置から上記第2のデータ入出力装置に対してデータを送信する際は、
上記第1のデータ入出力装置において、送信すべきデータを該第1のデータ入出力装置が備えるクロック発生部で発生した第1のクロックのタイミングに同期した第1のデータとした上で上記第2のデータ入出力装置に送信すると共に、その第1のクロックも上記第2のデータ入出力装置に送信し、
上記第2のデータ入出力装置においては、上記第1のクロック及びその第1のクロックに同期した上記第1のデータを受信して入力し、
上記第2のデータ入出力装置から上記第1のデータ入出力装置に対してデータを送信する際は、
上記第2のデータ入出力装置において、上記受信した上記第1のクロックを元に第2のクロックを生成し、送信すべきデータを該第2のクロックのタイミングに同期した第2のデータとした上で上記第1のデータ入出力装置に送信すると共に、その第2のクロックも上記第1のデータ入出力装置に送信し、
上記第1のデータ入出力装置においては、上記第2のクロック及びその第2のクロックに同期した上記第2のデータを受信して入力する、
ことを特徴とするデータ通信方法。
A data communication method between a first data input / output device and a second data input / output device, comprising:
When transmitting data from the first data input / output device to the second data input / output device,
In the first data input / output device, the data to be transmitted is set as the first data synchronized with the timing of the first clock generated by the clock generator included in the first data input / output device. 2 to the second data input / output device, and the first clock is also transmitted to the second data input / output device,
In the second data input / output device, the first clock and the first data synchronized with the first clock are received and input,
When transmitting data from the second data input / output device to the first data input / output device,
In the second data input / output device, a second clock is generated based on the received first clock, and data to be transmitted is set as second data synchronized with the timing of the second clock. In addition to transmitting to the first data input / output device above, the second clock is also transmitted to the first data input / output device,
The first data input / output device receives and inputs the second clock and the second data synchronized with the second clock;
A data communication method characterized by the above.
上記第2のデータ入出力装置が、上記入力した第1のデータをバッファリングするための入力データバッファを備え、
該入力データバッファがバッファリング可能なデータ量よりも少ない所定のデータ量分、上記第1のデータをバッファリングしたとき、上記第2のデータ入出力装置から上記第1のデータ入出力装置に対して、上記第1のデータの送信停止を指示する信号を送信する、
ことを特徴とする請求項13に記載のデータ通信方法。
The second data input / output device includes an input data buffer for buffering the input first data;
When the first data is buffered by a predetermined amount of data smaller than the amount of data that can be buffered by the input data buffer, the second data input / output device to the first data input / output device. Transmitting a signal instructing to stop transmission of the first data,
The data communication method according to claim 13.
JP2004333496A 2004-11-17 2004-11-17 Data input/output device, data input/output system and data communication method Pending JP2006146430A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004333496A JP2006146430A (en) 2004-11-17 2004-11-17 Data input/output device, data input/output system and data communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004333496A JP2006146430A (en) 2004-11-17 2004-11-17 Data input/output device, data input/output system and data communication method

Publications (1)

Publication Number Publication Date
JP2006146430A true JP2006146430A (en) 2006-06-08

Family

ID=36626052

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004333496A Pending JP2006146430A (en) 2004-11-17 2004-11-17 Data input/output device, data input/output system and data communication method

Country Status (1)

Country Link
JP (1) JP2006146430A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189081A (en) * 1991-07-20 1993-07-30 Internatl Business Mach Corp <Ibm> Signal transfer method and signal transfer device
JP2001067309A (en) * 1999-08-25 2001-03-16 Toshiba Corp Data processor and its bus control method
JP2001265716A (en) * 2000-03-17 2001-09-28 Hitachi Koki Co Ltd Device and method for transmitting information
JP2002183692A (en) * 2000-12-14 2002-06-28 Sony Corp Ic card and ic card system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05189081A (en) * 1991-07-20 1993-07-30 Internatl Business Mach Corp <Ibm> Signal transfer method and signal transfer device
JP2001067309A (en) * 1999-08-25 2001-03-16 Toshiba Corp Data processor and its bus control method
JP2001265716A (en) * 2000-03-17 2001-09-28 Hitachi Koki Co Ltd Device and method for transmitting information
JP2002183692A (en) * 2000-12-14 2002-06-28 Sony Corp Ic card and ic card system

Similar Documents

Publication Publication Date Title
US7571337B1 (en) Integrated circuits and methods with transmit-side data bus deskew
JP4416580B2 (en) Delay control device
US8194652B2 (en) Serializer for generating serial clock based on independent clock source and method for serial data transmission
JP5544896B2 (en) Reception circuit, information processing apparatus, and buffer control method
JP2004233580A (en) Display device
JP2007133527A (en) Clock signal generation circuit, semiconductor integrated circuit, and frequency-division rate control method
KR101880700B1 (en) Bidirectional Communication Method and Bidirectional Communication Apparatus using thereof
KR100681287B1 (en) System clock distributing apparatus and system clock distributing method
WO2007107059A1 (en) Embedded system and controlling method thereof
JP2006146430A (en) Data input/output device, data input/output system and data communication method
JP2007048264A (en) Data processor having a synchronizing function of multiple chips
US7205815B2 (en) Method and integrated circuit apparatus for reducing simultaneously switching output
JP2009272998A (en) Phase synchronizing circuit and semiconductor chip
KR101046730B1 (en) Semiconductor memory device and driving method thereof
JP2008199156A (en) Interface circuit for serial communication
KR100885053B1 (en) Data Capture Circuit for Semiconductor Test Device
US7899955B2 (en) Asynchronous data buffer
JP2005094597A (en) Delay control device
JP2007219875A (en) Data transfer device
JP6026001B2 (en) Data transfer apparatus and data transfer method
JP3791433B2 (en) System, control processing apparatus, and system control method
JP2000029561A (en) Clock supply circuit
JP2010141388A (en) Clock generating device, integrated circuit device, electronic device and method of generating clock
KR101128253B1 (en) Apparatus and Method for disposing stream data
JP2000174739A (en) Data transfer system and device therefor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20071005

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100202

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100209

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100615