JP2007265239A - Electronic equipment and data communication equipment thereof - Google Patents

Electronic equipment and data communication equipment thereof Download PDF

Info

Publication number
JP2007265239A
JP2007265239A JP2006091875A JP2006091875A JP2007265239A JP 2007265239 A JP2007265239 A JP 2007265239A JP 2006091875 A JP2006091875 A JP 2006091875A JP 2006091875 A JP2006091875 A JP 2006091875A JP 2007265239 A JP2007265239 A JP 2007265239A
Authority
JP
Japan
Prior art keywords
clock
output
data
reference clock
delay
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.)
Withdrawn
Application number
JP2006091875A
Other languages
Japanese (ja)
Inventor
Akihiko Naya
明彦 納谷
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.)
Fujifilm Corp
Original Assignee
Fujifilm 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 Fujifilm Corp filed Critical Fujifilm Corp
Priority to JP2006091875A priority Critical patent/JP2007265239A/en
Publication of JP2007265239A publication Critical patent/JP2007265239A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Logic Circuits (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide data communication equipment capable of highly accurately adjusting an amount of delay inexpensively, that is, performing timing adjustment. <P>SOLUTION: The data communication equipment for transmitting and receiving data synchronized with a clock to/from an external device 2 is provided with a reference clock generating means 12 for dividing the frequency of a source clock of a high frequency and generating and outputting a reference clock, a clock delaying means 13 for capturing the reference clock and composed of shift registers 13a to 13m of a plurality of cascaded steps and generating and outputting a delay reference clock delayed by the predetermined amount of delay, a clock outputting means 14 for outputting to the external device 2 a clock output from one of the means 12 and 13, and a data inputting means 15 operated by a clock output from the other of the means 12 and 13 to receive data read from the external device 2. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、電子装置のデータ処理部と外部機器との間のデータ送受信インタフェース処理を行うデータ通信装置に関する。   The present invention relates to a data communication apparatus that performs data transmission / reception interface processing between a data processing unit of an electronic device and an external device.

携帯電話機やデジタルカメラ,パーソナルコンピュータ,PDA(パーソナルデジタルアシスタント),テレビジョン受像機等の近年の電子装置にはメモリカード装着部が設けられ、メモリカードの格納データを読み込んだり、新たなデータをメモリカードに書き込める様になっている。   Recent electronic devices such as mobile phones, digital cameras, personal computers, PDAs (personal digital assistants), and television receivers are equipped with a memory card loading unit to read data stored in the memory card and store new data in memory. You can write on the card.

このため、斯かる電子装置には、外部機器であるメモリカードとの間で同期をとりながらデータの送受信を行うデータ通信装置が設けられる。データ通信装置は、装着されるメモリカードが一種類であれば、そのメモリカード特有のクロック遅延量やデータ遅延量に応じたタイミング調整回路を設ければ済む。   For this reason, such an electronic device is provided with a data communication device that transmits and receives data while synchronizing with a memory card that is an external device. If the data communication device has only one type of memory card to be installed, a timing adjustment circuit corresponding to the clock delay amount or data delay amount specific to the memory card may be provided.

しかし、現状のメモリカードには、複数種類のメモリカード(登録商標名で識別されるSDカード,MMCカード,xDカード,メモリスティック,スマートメディア,コンパクトフラッシュ等)が存在し、電子装置は多種類のメモリカードの夫々に対応する必要がある。ところが、種類の異なるメモリカードは、夫々のクロック遅延量等が微妙に異なり、互換性があると思われているメモリカード間においても、無視できない差違がある。   However, there are multiple types of memory cards (SD cards, MMC cards, xD cards, memory sticks, smart media, compact flash, etc., identified by registered trade names) among current memory cards, and there are many types of electronic devices. It is necessary to correspond to each of the memory cards. However, different types of memory cards have slightly different clock delay amounts, and there are differences that cannot be ignored even between memory cards that are considered compatible.

このため、特許文献1記載の従来技術では、半導体集積回路で構成されるデータ通信装置内に抵抗素子及び容量素子でなる時定数回路(遅延回路)を複数段設け、クロック遅延量を、使用する時定数回路の段数で調整する様にしている。   For this reason, in the prior art described in Patent Document 1, a plurality of stages of time constant circuits (delay circuits) made up of resistive elements and capacitive elements are provided in a data communication device made up of a semiconductor integrated circuit, and the amount of clock delay is used. Adjustment is made with the number of stages of the time constant circuit.

特開2004―355163号公報JP 2004-355163 A

半導体集積回路内に微細に形成されアナログ動作を行う回路は、一般的にその動作が不安定であり、また、この回路を構成する半導体素子も、特性に大きなバラツキを持つ。このため、半導体集積回路内に抵抗素子と容量素子とで作った遅延回路で安定した遅延量を得るには、高精度に半導体集積回路を製造する必要が生じ、製造コストが嵩んでしまう。   A circuit that is finely formed in a semiconductor integrated circuit and performs an analog operation is generally unstable in operation, and semiconductor elements constituting the circuit also have large variations in characteristics. For this reason, in order to obtain a stable delay amount with a delay circuit made of a resistor element and a capacitor element in the semiconductor integrated circuit, it is necessary to manufacture the semiconductor integrated circuit with high accuracy, and the manufacturing cost increases.

本発明の目的は、安価に且つ精度良く遅延量の調整すなわちタイミング調整を行うことができるデータ通信装置及びこのデータ通信装置を備えた電子装置を提供することにある。   An object of the present invention is to provide a data communication apparatus capable of adjusting a delay amount, that is, a timing adjustment accurately and inexpensively, and an electronic apparatus including the data communication apparatus.

本発明のデータ通信装置は、外部機器との間でクロックに同期したデータ送受信を行うデータ通信装置において、高周波の元クロックを分周して基準クロックを生成し出力する基準クロック発生手段と、カスケード接続された複数段のシフトレジスタで構成され前記基準クロックを取り込み所定遅延量だけ遅延させた遅延基準クロックを生成し出力するクロック遅延手段と、前記基準クロック発生手段および前記クロック遅延手段の一方から出力される前記基準クロックまたは前記遅延基準クロックを前記外部機器に出力するクロック出力手段と、前記基準クロック発生手段および前記クロック遅延手段の他方から出力される前記基準クロックまたは前記遅延基準クロックにより動作し前記外部機器から読み出されたデータを受信するデータ入力手段とを備えることを特徴とする。   A data communication apparatus according to the present invention includes a reference clock generation means for generating and outputting a reference clock by dividing a high-frequency original clock in a data communication apparatus that performs data transmission / reception synchronized with a clock with an external device, and a cascade A clock delay unit configured by a plurality of shift registers connected to generate and output a delayed reference clock obtained by taking in the reference clock and delayed by a predetermined delay amount; and output from one of the reference clock generation unit and the clock delay unit A clock output means for outputting the reference clock or the delayed reference clock to the external device, and the reference clock or the delayed reference clock output from the other of the reference clock generating means and the clock delay means. Data to receive data read from external equipment Characterized in that it comprises a power means.

本発明のデータ通信装置は、前記クロック遅延手段を構成する各シフトレジスタ出力を並列に取り込みその中の1つを選択し前記遅延基準クロックとして出力するセレクタ手段を備えることを特徴とする。   The data communication apparatus of the present invention is characterized by comprising selector means for taking in parallel the outputs of the shift registers constituting the clock delay means and selecting one of them and outputting it as the delay reference clock.

本発明のデータ通信装置は、前記シフトレジスタが前記元クロックで駆動されることを特徴とする。   The data communication apparatus of the present invention is characterized in that the shift register is driven by the original clock.

本発明のデータ通信装置は、前記外部機器側に送信するデータを遅延させてから該外部機器に送信するデータ出力手段を備えることを特徴とする。   The data communication apparatus according to the present invention includes data output means for delaying data to be transmitted to the external device and transmitting the data to the external device.

本発明のデータ通信装置は、前記データ出力手段が前記クロック遅延手段の出力クロックで駆動されることで出力データが遅延されることを特徴とする。   The data communication apparatus of the present invention is characterized in that output data is delayed by driving the data output means with an output clock of the clock delay means.

本発明のデータ通信装置は、前記クロック遅延手段と別の遅延手段によって前記基準クロックが遅延され該遅延手段の出力クロックによって前記データ出力手段が駆動されることで前記出力データが遅延されることを特徴とする。   In the data communication apparatus of the present invention, the output data is delayed by delaying the reference clock by a delay means different from the clock delay means, and driving the data output means by an output clock of the delay means. Features.

本発明のデータ通信装置は、前記クロック出力手段が前記遅延基準クロックを前記外部機器に出力する構成としたことを特徴とする。   The data communication apparatus according to the present invention is characterized in that the clock output means outputs the delay reference clock to the external device.

本発明のデータ通信装置は、前記基準クロックのモニタ端子を備えることを特徴とする。   The data communication apparatus according to the present invention includes a monitor terminal for the reference clock.

本発明のデータ通信装置は、前記クロック出力手段が前記基準クロックを前記外部機器に出力する構成としたことを特徴とする。   The data communication apparatus according to the present invention is characterized in that the clock output means outputs the reference clock to the external device.

本発明の電子装置は、上述したいずれかに記載のデータ通信装置を入出力インタフェース部に備えることを特徴とする。   An electronic apparatus according to the present invention includes any of the data communication apparatuses described above in an input / output interface unit.

本発明の電子装置は、前記外部機器がメモリカードであることを特徴とする。   The electronic apparatus according to the present invention is characterized in that the external device is a memory card.

本発明によれば、遅延量制御をシフトレジスタで行う構成としたため、シフトレジスタを構成する個々の回路素子の特性にバラツキがあってもシフトレジスタの動作はそのバラツキの影響を受けず、精度の高い遅延量制御が可能となる。また、半導体集積回路でデータ通信装置を構成する場合でも回路素子の特性バラツキを許容して製造でき、製造コストが安価となる。   According to the present invention, since the delay amount control is performed by the shift register, even if there is a variation in the characteristics of the individual circuit elements constituting the shift register, the operation of the shift register is not affected by the variation, and the accuracy is improved. High delay amount control is possible. In addition, even when a data communication device is constituted by a semiconductor integrated circuit, it can be manufactured while allowing variation in characteristics of circuit elements, and the manufacturing cost is reduced.

以下、本発明の一実施形態について、図面を参照して説明する。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings.

(第1の実施形態)
図1は、本発明の第1の実施形態に係る電子装置の要部構成図である。この電子装置は、データ処理装置本体1と、電子装置の図示しないカード装着部に着脱自在に装着されるメモリカード2との間でデータ送受信インタフェース処理を行うデータ通信装置3とを備える。
(First embodiment)
FIG. 1 is a main part configuration diagram of an electronic device according to a first embodiment of the present invention. This electronic device includes a data processing device main body 1 and a data communication device 3 that performs data transmission / reception interface processing between a memory card 2 that is detachably attached to a card attachment portion (not shown) of the electronic device.

データ通信装置3は、PLL(フェーズロックドループ)回路でなる元クロック供給源11と、元クロック供給源11から出力される高周波の元クロックを1/Nに分周し分周クロックを基準クロックとして出力する分周回路12と、基準クロックに所定の遅延量を付与して遅延基準クロックを生成し出力する遅延回路13と、遅延回路13から出力される遅延基準クロックをメモリカード2に出力する出力ドライバ14と、受信した遅延基準クロックに同期してメモリカード2から読み出されたデータを受け取りデータ処理装置本体1に出力する入力レジスタ15とを備える。   The data communication device 3 divides an original clock supply source 11 formed of a PLL (phase locked loop) circuit and a high-frequency original clock output from the original clock supply source 11 into 1 / N and uses the divided clock as a reference clock. A frequency dividing circuit 12 for outputting, a delay circuit 13 for generating and outputting a delay reference clock by giving a predetermined delay amount to the reference clock, and an output for outputting the delay reference clock output from the delay circuit 13 to the memory card 2 The driver 14 includes an input register 15 that receives data read from the memory card 2 in synchronization with the received delay reference clock and outputs the data to the data processing apparatus main body 1.

インタフェース用の基準クロックは周波数を変更する場合があり、このため、高い周波数の元クロックを分周回路12により分周して基準クロックが生成される。   The frequency of the interface reference clock may be changed. For this reason, the high-frequency original clock is divided by the frequency dividing circuit 12 to generate the reference clock.

本実施形態の遅延回路13は、所定数個例えばm個(mは正整数)のシフトレジスタ13a,13b,…,13mをカスケード接続して構成され、各シフトレジスタ13a,13b,…,13mは、高周波の元クロックにて駆動される。   The delay circuit 13 of this embodiment is configured by cascading a predetermined number, for example, m (m is a positive integer) shift registers 13a, 13b,..., 13m, and each shift register 13a, 13b,. Driven by a high frequency original clock.

この遅延回路13に入力する基準クロックは、1段目のシフトレジスタ13aから出力されるとき元クロック1つ分だけ遅延されて2段目のシフトレジスタ13bに取り込まれ、2段目のシフトレジスタ13bから出力されるとき更に元クロック1つ分だけ遅延されるという処理が繰り返される。   When the reference clock input to the delay circuit 13 is output from the first-stage shift register 13a, it is delayed by one original clock and taken into the second-stage shift register 13b, and the second-stage shift register 13b. The process of further delaying by one original clock is repeated.

従って、m段目のシフトレジスタ13mから出力される基準クロックは、入力される基準クロック(分周回路12の出力クロック)に対して元クロックm個分の遅延量が付与されたクロックとなる。   Therefore, the reference clock output from the m-th shift register 13m is a clock in which a delay amount of m original clocks is given to the input reference clock (output clock of the frequency dividing circuit 12).

入力レジスタ15は、遅延回路13による遅延前の基準クロックすなわち分周回路12から出力された分周クロックのタイミングでデータを取り込み、受信データをデータ処理装置本体1側に出力する。   The input register 15 captures data at the timing of the reference clock before the delay by the delay circuit 13, that is, the frequency-divided clock output from the frequency-dividing circuit 12, and outputs the received data to the data processing device main body 1 side.

斯かる構成により、電子装置の外部機器となるメモリカード2には、データ通信装置3から遅延された基準クロックが与えられ、この遅延基準クロックに同期してメモリカード2からデータが読み出される。メモリカード2から読み出されたデータは、入力レジスタ15に取り込まれ、入力レジスタ15からデータ処理装置本体1に出力される。   With such a configuration, a reference clock delayed from the data communication device 3 is given to the memory card 2 which is an external device of the electronic device, and data is read from the memory card 2 in synchronization with the delay reference clock. The data read from the memory card 2 is taken into the input register 15 and output from the input register 15 to the data processing device main body 1.

仮に、遅延回路13を設けずに分周回路12の出力クロックをメモリカード2に与えると、分周回路12の出力クロックによって動作する入力レジスタ15は、メモリカード2から読み出されたデータを取り込むことができなくなってしまう。   If the output clock of the frequency dividing circuit 12 is given to the memory card 2 without providing the delay circuit 13, the input register 15 operated by the output clock of the frequency dividing circuit 12 takes in the data read from the memory card 2. It becomes impossible to do.

これは、メモリカード2自身や、クロック用配線,データ用配線に「遅延」が存在するためであり、入力レジスタ15のデータ受け取りタイミングと、入力レジスタ15の入力端に伝送されてきたメモリカード2からのデータのタイミングとの間にずれが生じるためである。   This is because there is a “delay” in the memory card 2 itself, the clock wiring, and the data wiring, and the data reception timing of the input register 15 and the memory card 2 transmitted to the input terminal of the input register 15. This is because there is a deviation from the timing of the data.

しかし、本実施形態のデータ通信装置3では、遅延回路13によって基準クロック(分周クロック)に所定量の遅延を与え、この遅延基準クロックをメモリカード2に出力するため、遅延前の基準クロックにて動作する入力レジスタ15は、遅延基準クロックに同期してメモリカード2から読み出されたデータを基準クロックのタイミングで取り込むことができる。   However, in the data communication device 3 of the present embodiment, a predetermined amount of delay is given to the reference clock (divided clock) by the delay circuit 13, and this delayed reference clock is output to the memory card 2, so that the reference clock before the delay is used. The input register 15 that operates in this manner can capture data read from the memory card 2 in synchronization with the delay reference clock at the timing of the reference clock.

遅延回路13の遅延量、即ちシフトレジスタ13a,…の段数mは、メモリカード2自身の遅延量や、メモリカード2までのクロック用配線の遅延量,メモリカード2からのデータ用配線の遅延量により決定する。   The delay amount of the delay circuit 13, that is, the number m of stages of the shift registers 13a,... Is the delay amount of the memory card 2 itself, the delay amount of the clock wiring to the memory card 2, and the delay amount of the data wiring from the memory card 2. Determined by

本実施形態の構成によれば、入力レジスタ15の駆動クロックを分周回路12から出力される基準クロックに固定できるため、データの入力タイミングが固定となり、データ処理装置本体1が行うデータ処理が容易となる。   According to the configuration of the present embodiment, since the drive clock of the input register 15 can be fixed to the reference clock output from the frequency divider circuit 12, the data input timing is fixed, and the data processing performed by the data processing apparatus body 1 is easy. It becomes.

尚、図1に示す符号30は、分周回路12から出力される基準クロックのモニタ端子である。電子装置の設計者は、ICチップ化された本実施形態のデータ通信装置3を電子装置に組み込む際に、遅延前の基準クロックのタイミングを知る必要が生じる場合がある。この場合のために、モニタ端子30を設けてある。   Reference numeral 30 shown in FIG. 1 is a monitor terminal for a reference clock output from the frequency divider circuit 12. The designer of the electronic device may need to know the timing of the reference clock before the delay when incorporating the data communication device 3 of the present embodiment in the form of an IC chip into the electronic device. For this case, a monitor terminal 30 is provided.

(第2の実施形態)
図2は、本発明の第2の実施形態に係る電子装置の要部構成図である。本実施形態の電子装置の構成は第1の実施形態と基本的な部分は同じであるが、データ通信装置における遅延量を可変設定できる様にした点が異なる。他の点は第1実施形態と同じであるため、同一構成回路には同一符号を付してその説明は省略する。
(Second Embodiment)
FIG. 2 is a main part configuration diagram of an electronic device according to a second embodiment of the present invention. The configuration of the electronic device of the present embodiment is basically the same as that of the first embodiment, except that the delay amount in the data communication device can be variably set. Since the other points are the same as those of the first embodiment, the same components are denoted by the same reference numerals and the description thereof is omitted.

本実施形態のデータ通信装置3は、元クロック供給源11と、分周回路12と、遅延回路13と、出力ドライバ14と、入力レジスタ15の他に、セレクタ16及びCPU17を備える。CPU17は、データ処理装置本体1のCPUがその機能を代替することも可能である。   The data communication apparatus 3 of this embodiment includes a selector 16 and a CPU 17 in addition to the original clock supply source 11, the frequency divider circuit 12, the delay circuit 13, the output driver 14, and the input register 15. The function of the CPU 17 can be replaced by the CPU of the data processing apparatus main body 1.

本実施形態の遅延回路13は、第1実施形態と同様にカスケード接続されたm段のシフトレジスタ13a,13b,…,13mを備える。そして更に、各シフトレジスタ13a,13b,…,13mの出力が並列に取り出され、セレクタ16に入力される。セレクタ16は、CPU17の設定指示により、いずれか1つのシフトレジスタ出力を選択して出力ドライバ14に出力する。   The delay circuit 13 of this embodiment includes m stages of shift registers 13a, 13b,..., 13m that are cascade-connected as in the first embodiment. Further, the outputs of the shift registers 13a, 13b,..., 13m are taken out in parallel and inputted to the selector 16. The selector 16 selects any one shift register output according to the setting instruction of the CPU 17 and outputs the selected output to the output driver 14.

例えばCPU17は、メモリカード装着口に装着されたメモリカード2の種類を判別し、このメモリカード2の種類に応じた遅延量と、データ用配線,クロック用配線の遅延量とにより、セレクタ16にセレクタ信号を出力する。   For example, the CPU 17 determines the type of the memory card 2 attached to the memory card insertion slot, and determines the type of the memory card 2 to the selector 16 based on the delay amount corresponding to the type of the memory card 2 and the delay amounts of the data wiring and the clock wiring. A selector signal is output.

これにより、セレクタ16は、メモリカード2の種類に応じて、3段目のシフトレジスタの出力を選択して出力ドライバ14に出力したり、4段目のシフトレジスタの出力を選択して出力ドライバ14に出力することが可能となる。   Thus, the selector 16 selects the output of the third-stage shift register and outputs it to the output driver 14 according to the type of the memory card 2, or selects the output of the fourth-stage shift register and outputs the output driver. 14 can be output.

(第3の実施形態)
図3は、本発明の第3の実施形態に係る電子装置の要部構成図である。本実施形態の電子装置は、図1に示す第1の実施形態の構成に加え、メモリカード2にデータ処理本体1がデータを書き込む構成を付加している。
(Third embodiment)
FIG. 3 is a main part configuration diagram of an electronic device according to the third embodiment of the present invention. In addition to the configuration of the first embodiment shown in FIG. 1, the electronic device of this embodiment has a configuration in which the data processing body 1 writes data to the memory card 2.

即ち、データ処理装置本体1からデータを受け取りメモリカード2に出力する出力レジスタ18と、分周回路12から出力される基準クロックを遅延させて出力レジスタ18の駆動クロックとする遅延回路19とを備える。   That is, an output register 18 that receives data from the data processing device main body 1 and outputs the data to the memory card 2 and a delay circuit 19 that delays the reference clock output from the frequency dividing circuit 12 to drive the output register 18 are provided. .

遅延回路19の構成は図1に示す遅延回路13の構成と同じであり、所定段数のシフトレジスタをカスケード接続して構成され、各シフトレジスタは元クロックによって駆動される。   The configuration of the delay circuit 19 is the same as that of the delay circuit 13 shown in FIG. 1, and is configured by cascading a predetermined number of shift registers, and each shift register is driven by an original clock.

本実施形態では、遅延回路19と遅延回路13を別々に設け夫々の遅延量制御を別に行う構成とし、メモリカード2側が要求する様々なタイミングでのデータ送信を可能としている。しかし、データ送信の遅延量とクロック遅延量とが同じで良ければ、遅延回路19を設けずに、遅延回路13の出力を分岐して出力レジスタ18に入力させる構成とすることも可能である。   In the present embodiment, the delay circuit 19 and the delay circuit 13 are separately provided and the delay amount control is performed separately, so that data transmission at various timings requested by the memory card 2 side is possible. However, if the data transmission delay amount and the clock delay amount are the same, the delay circuit 19 may not be provided, and the output of the delay circuit 13 may be branched and input to the output register 18.

(第4の実施形態)
図4は、本発明の第4の実施形態に係る電子装置の要部構成図である。本実施形態の電子装置は、図2に示す第2の実施形態の構成に加え、メモリカード2にデータ処理本体1がデータを書き込む構成を付加している。
(Fourth embodiment)
FIG. 4 is a main part configuration diagram of an electronic device according to the fourth embodiment of the present invention. In addition to the configuration of the second embodiment shown in FIG. 2, the electronic device of this embodiment has a configuration in which the data processing body 1 writes data to the memory card 2.

即ち、データ処理装置本体1からデータを受け取りメモリカード2に出力する出力レジスタ18と、分周回路12から出力される基準クロックを遅延させて出力レジスタ18の駆動クロックとする遅延回路19と、遅延回路13の各シフトレジスタ出力を並列に取り込みその中の1つをCPU17から設定指示によって選択し出力レジスタ18に出力するセレクタ20とを備える。   That is, an output register 18 that receives data from the data processing device main body 1 and outputs the data to the memory card 2, a delay circuit 19 that delays the reference clock output from the frequency divider circuit 12 to drive the output register 18, and a delay A selector 20 is provided which takes in each shift register output of the circuit 13 in parallel and selects one of them in accordance with a setting instruction from the CPU 17 and outputs it to the output register 18.

本実施形態では、遅延回路13とセレクタ16の組、遅延回路19とセレクタ20の組を別々に設け、夫々の遅延量をCPU17が制御する構成とし、メモリカード2側が要求する様々なタイミングでのデータ送信を可能としている。   In the present embodiment, a set of the delay circuit 13 and the selector 16 and a set of the delay circuit 19 and the selector 20 are provided separately, and the CPU 17 controls the respective delay amounts, and at various timings required by the memory card 2 side. Data transmission is possible.

しかし、データ送信の遅延量とクロック遅延量とが同じで良ければ、遅延回路19及びセレクタ20を設けずに、セレクタ16の出力を分岐して出力レジスタ18に入力させる構成としても良い。   However, if the data transmission delay amount and the clock delay amount are the same, the delay circuit 19 and the selector 20 may be omitted, and the output of the selector 16 may be branched and input to the output register 18.

また、遅延回路19は設けずに、遅延回路13の各シフトレジスタ出力を夫々分岐してセレクタ20に入力させ、セレクタ16とセレクタ20の選択をCPU17が別々に制御する構成とすることも可能である。   Further, without providing the delay circuit 19, each shift register output of the delay circuit 13 may be branched and input to the selector 20, and the selection of the selector 16 and the selector 20 may be controlled separately by the CPU 17. is there.

(第5の実施形態)
図5は、本発明の第5の実施形態に係る電子装置の要部構成図である。上述した各実施形態では、メモリカード2に出力するクロック信号を遅延回路で遅延させる構成としている。
(Fifth embodiment)
FIG. 5 is a main part configuration diagram of an electronic device according to a fifth embodiment of the present invention. In each embodiment described above, the clock signal output to the memory card 2 is configured to be delayed by the delay circuit.

これに対し、本実施形態では、セレクタ16で選択した遅延基準クロックを入力レジスタ15の駆動クロックとし、メモリカード2に出力するクロックを分周回路12の出力クロックとしている。この構成でも、メモリカード2への出力クロックに同期してメモリカード2から読み出されるデータを、該データの遅延量に応じて入力レジスタ15が取り込むことが可能となる。   On the other hand, in the present embodiment, the delay reference clock selected by the selector 16 is used as the drive clock for the input register 15, and the clock output to the memory card 2 is used as the output clock for the frequency divider circuit 12. Even in this configuration, the input register 15 can capture the data read from the memory card 2 in synchronization with the output clock to the memory card 2 in accordance with the delay amount of the data.

以上述べた様に、本発明の各実施形態によれば、シフトレジスタを用いシフトレジスタの段数によって遅延量制御を行うため、シフトレジスタを構成する個々の回路素子の特性にバラツキがあってもシフトレジスタの動作はそのバラツキの影響を受けず、精度の高い遅延量制御が可能となる。また、半導体集積回路でデータ通信装置を構成する場合でも回路素子の特性バラツキを許容して製造でき、製造コストが安価となる。   As described above, according to each embodiment of the present invention, the shift amount is controlled by the number of stages of the shift register using the shift register. Therefore, even if the characteristics of the individual circuit elements constituting the shift register vary, the shift is performed. The register operation is not affected by the variation, and the delay amount can be controlled with high accuracy. In addition, even when a data communication device is constituted by a semiconductor integrated circuit, it can be manufactured while allowing variation in characteristics of circuit elements, and the manufacturing cost is reduced.

尚、上述した実施形態では、高周波クロックである元クロックをデータ通信装置内に設けたPLL回路で発生させたが、外部クロック回路から元クロックを入力する構成としても良い。   In the above-described embodiment, the original clock, which is a high-frequency clock, is generated by the PLL circuit provided in the data communication apparatus. However, the original clock may be input from an external clock circuit.

また、外部機器がメモリカードである場合について説明したが、上述した各実施形態は、クロックに同期するデータインタフェース全般に使用することが可能である。例えば、配線遅延の影響が大きいデータ半二重通信にも適用可能である。また、シリアル伝送のみならずデータビット数が複数のパラレル伝送にも適用可能である。   Although the case where the external device is a memory card has been described, each of the above-described embodiments can be used for all data interfaces synchronized with a clock. For example, the present invention can be applied to data half-duplex communication where the influence of wiring delay is large. Further, it is applicable not only to serial transmission but also to parallel transmission with a plurality of data bits.

本発明に係るデータ通信装置は、安価且つ精度の高いデータ通信が可能となるため、各種電子装置に適用すると有用である。例えば、各種メモリカードを外部記憶装置として用いるデジタルカメラや携帯電話機等の電子装置に適用すると有用である。   The data communication device according to the present invention is useful when applied to various electronic devices because inexpensive and highly accurate data communication is possible. For example, the present invention is useful when applied to electronic devices such as digital cameras and mobile phones that use various memory cards as external storage devices.

本発明の第1の実施形態に係る電子装置の要部構成図である。It is a principal part block diagram of the electronic apparatus which concerns on the 1st Embodiment of this invention. 本発明の第2の実施形態に係る電子装置の要部構成図である。It is a principal part block diagram of the electronic device which concerns on the 2nd Embodiment of this invention. 本発明の第3の実施形態に係る電子装置の要部構成図である。It is a principal part block diagram of the electronic device which concerns on the 3rd Embodiment of this invention. 本発明の第4の実施形態に係る電子装置の要部構成図である。It is a principal part block diagram of the electronic device which concerns on the 4th Embodiment of this invention. 本発明の第5の実施形態に係る電子装置の要部構成図である。It is a principal part block diagram of the electronic device which concerns on the 5th Embodiment of this invention.

符号の説明Explanation of symbols

1 データ処理装置本体
2 メモリカード(外部機器)
3 データ通信装置
11 元クロック供給源
12 分周回路(基準クロック生成部)
13,19 遅延回路
13a,… シフトレジスタ
14 出力ドライバ
15 入力レジスタ
16,20 セレクタ
17 CPU
30 基準クロックモニタ端子
1 Data processor 2 Memory card (external device)
3 Data communication device 11 Original clock supply source 12 Frequency divider (reference clock generator)
13, 19 Delay circuit 13a,... Shift register 14 output driver 15 input register 16, 20 selector 17 CPU
30 Reference clock monitor terminal

Claims (11)

外部機器との間でクロックに同期したデータ送受信を行うデータ通信装置において、高周波の元クロックを分周して基準クロックを生成し出力する基準クロック発生手段と、カスケード接続された複数段のシフトレジスタで構成され前記基準クロックを取り込み所定遅延量だけ遅延させた遅延基準クロックを生成し出力するクロック遅延手段と、前記基準クロック発生手段および前記クロック遅延手段の一方から出力される前記基準クロックまたは前記遅延基準クロックを前記外部機器に出力するクロック出力手段と、前記基準クロック発生手段および前記クロック遅延手段の他方から出力される前記基準クロックまたは前記遅延基準クロックにより動作し前記外部機器から読み出されたデータを受信するデータ入力手段とを備えることを特徴とするデータ通信装置。   Reference clock generating means for generating and outputting a reference clock by dividing a high-frequency original clock in a data communication device that performs data transmission / reception synchronized with a clock with an external device, and a cascade-connected multi-stage shift register A clock delay means configured to take in the reference clock and generate and output a delayed reference clock delayed by a predetermined delay amount; and the reference clock or the delay output from one of the reference clock generation means and the clock delay means Clock output means for outputting a reference clock to the external device, and data read from the external device operated by the reference clock or the delayed reference clock output from the other of the reference clock generation means and the clock delay means Data input means for receiving And the data communication device. 前記クロック遅延手段を構成する各シフトレジスタ出力を並列に取り込みその中の1つを選択し前記遅延基準クロックとして出力するセレクタ手段を備えることを特徴とする請求項1に記載のデータ通信装置。   2. The data communication apparatus according to claim 1, further comprising selector means for receiving in parallel the outputs of the shift registers constituting the clock delay means and selecting one of them to output as the delay reference clock. 前記シフトレジスタが前記元クロックで駆動されることを特徴とする請求項1または請求項2に記載のデータ通信装置。   The data communication apparatus according to claim 1, wherein the shift register is driven by the original clock. 前記外部機器側に送信するデータを遅延させてから該外部機器に送信するデータ出力手段を備えることを特徴とする請求項1乃至請求項3のいずれかに記載のデータ通信装置。   4. The data communication apparatus according to claim 1, further comprising data output means for delaying data to be transmitted to the external device and transmitting the data to the external device. 前記データ出力手段が前記クロック遅延手段の出力クロックで駆動されることで出力データが遅延されることを特徴とする請求項4に記載のデータ通信装置。   5. The data communication apparatus according to claim 4, wherein output data is delayed by driving the data output means with an output clock of the clock delay means. 前記クロック遅延手段と別の遅延手段によって前記基準クロックが遅延され該遅延手段の出力クロックによって前記データ出力手段が駆動されることで前記出力データが遅延されることを特徴とする請求項4に記載のデータ通信装置。   5. The output data is delayed by delaying the reference clock by a delay means different from the clock delay means, and driving the data output means by an output clock of the delay means. Data communication equipment. 前記クロック出力手段が前記遅延基準クロックを前記外部機器に出力する構成としたことを特徴とする請求項1乃至請求項6のいずれかに記載のデータ通信装置。   7. The data communication apparatus according to claim 1, wherein the clock output unit is configured to output the delay reference clock to the external device. 前記基準クロックのモニタ端子を備えることを特徴とする請求項7に記載のデータ通信装置。   The data communication apparatus according to claim 7, further comprising a monitor terminal for the reference clock. 前記クロック出力手段が前記基準クロックを前記外部機器に出力する構成としたことを特徴とする請求項1乃至請求項6のいずれかに記載のデータ通信装置。   7. The data communication apparatus according to claim 1, wherein the clock output unit is configured to output the reference clock to the external device. 請求項1乃至請求項9のいずれかに記載のデータ通信装置を入出力インタフェース部に備えることを特徴とする電子装置。   An electronic device comprising the data communication device according to claim 1 in an input / output interface unit. 前記外部機器がメモリカードであることを特徴とする請求項10に記載の電子装置。   The electronic device according to claim 10, wherein the external device is a memory card.
JP2006091875A 2006-03-29 2006-03-29 Electronic equipment and data communication equipment thereof Withdrawn JP2007265239A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006091875A JP2007265239A (en) 2006-03-29 2006-03-29 Electronic equipment and data communication equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006091875A JP2007265239A (en) 2006-03-29 2006-03-29 Electronic equipment and data communication equipment thereof

Publications (1)

Publication Number Publication Date
JP2007265239A true JP2007265239A (en) 2007-10-11

Family

ID=38638137

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006091875A Withdrawn JP2007265239A (en) 2006-03-29 2006-03-29 Electronic equipment and data communication equipment thereof

Country Status (1)

Country Link
JP (1) JP2007265239A (en)

Similar Documents

Publication Publication Date Title
KR102328014B1 (en) Device including single wire interface and data processing system having the same
US7889581B2 (en) Digital DLL circuit
US9058134B2 (en) Signal synchronizing device
US10146251B2 (en) Semiconductor device
US7586348B2 (en) Systems, apparatuses and methods for synchronizing clock signals
US8495409B2 (en) Host controller, semiconductor device and method for setting sampling phase
US10181353B2 (en) Memory control circuit and method thereof
JP4624928B2 (en) Semiconductor integrated circuit device
JP2007265239A (en) Electronic equipment and data communication equipment thereof
CN115826678A (en) Method, device and system for calibrating clock phases of multiple FPGAs (field programmable gate arrays) and storage medium
JP2009272998A (en) Phase synchronizing circuit and semiconductor chip
CN109981085B (en) Clock monitoring circuit
JP2007094603A (en) Programmable device control unit and programmable device control method
US9804634B2 (en) Peripheral interface circuit at host side and electronic system using the same
JP4691791B2 (en) Data processing system
US6928025B1 (en) Synchronous integrated memory
JP4502644B2 (en) Memory control device
JP2006196973A (en) Variable frequency divider
US7825713B2 (en) Absolute time delay generating device
JP6289110B2 (en) Integrated circuit
US8242824B1 (en) Signal delay apparatus for providing exact delay amount, memory apparatus utilizing the signal delay apparatus, and signal delay method
KR100800138B1 (en) DLL device
JP2005094597A (en) Delay control device
US20080309373A1 (en) Integrated circuit device and electronic instrument
JP2011228782A (en) Phase adjustment circuit and phase adjustment method

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071109

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071116

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20071126

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080710

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20100506