Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5041402B2 - Interface circuit and electronic equipment - Google Patents
[go: Go Back, main page]

JP5041402B2 - Interface circuit and electronic equipment - Google Patents

Interface circuit and electronic equipment Download PDF

Info

Publication number
JP5041402B2
JP5041402B2 JP2006351905A JP2006351905A JP5041402B2 JP 5041402 B2 JP5041402 B2 JP 5041402B2 JP 2006351905 A JP2006351905 A JP 2006351905A JP 2006351905 A JP2006351905 A JP 2006351905A JP 5041402 B2 JP5041402 B2 JP 5041402B2
Authority
JP
Japan
Prior art keywords
signal
output
clock
generated
interface circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2006351905A
Other languages
Japanese (ja)
Other versions
JP2008165344A (en
Inventor
秀樹 根岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2006351905A priority Critical patent/JP5041402B2/en
Publication of JP2008165344A publication Critical patent/JP2008165344A/en
Application granted granted Critical
Publication of JP5041402B2 publication Critical patent/JP5041402B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Description

本発明は、特に、CPU等の処理装置とメモリ間のデータ転送を制御する用途に用いて好適な、インタフェース回路および電子機器に関するものである。   The present invention particularly relates to an interface circuit and an electronic apparatus suitable for use in controlling data transfer between a processing device such as a CPU and a memory.

CPUとメモリ間のデータ転送において、1回のアドレス指定で複数データを纏めて連続的に転送するバーストモード転送が知られている。バーストモード転送は、データ転送時にいちいちアドレスを転送するサイクルを実行する必要が無い分だけデータ転送速度が向上するため携帯電話等の電子機器において頻繁に用いられている。   In data transfer between a CPU and a memory, burst mode transfer is known in which a plurality of data is transferred continuously by a single address designation. Burst mode transfer is frequently used in electronic devices such as mobile phones because the data transfer speed is improved by the amount that it is not necessary to execute a cycle for transferring addresses every time data is transferred.

携帯電話に実装されたCPUが上記したバーストモードを用い、クロック(Clock)に同期してメモリからデータを取得する場合のメモリインタフェースの構成例が図4に示されている。   FIG. 4 shows a configuration example of a memory interface when a CPU mounted on a mobile phone uses the burst mode described above to acquire data from a memory in synchronization with a clock (Clock).

図4のメモリインタフェースにおいて、CPUが実装された本体チップ100は、メモリ200からウエイト信号(M_WAIT)を受信し、そのタイミングに同期してチップセレクト信号(CS)を出力して必要なデータを取得する。
このとき、ウエイト信号(M_WAIT)は抵抗によりプルアップされているが、信号間干渉や外部回路の引き廻し等の問題により、メモリ200から受信したウエイト信号(M_WAIT)にノイズが含まれていることがあり、このときCPUは、ウエイトが解除されたと誤判定して同期の確立に失敗し、誤動作もしくはハングアップすることがあった。
In the memory interface of FIG. 4, the main body chip 100 on which the CPU is mounted receives a wait signal (M_WAIT) from the memory 200, and outputs a chip select signal (CS) in synchronization with the timing to obtain necessary data. To do.
At this time, the wait signal (M_WAIT) is pulled up by a resistor, but the wait signal (M_WAIT) received from the memory 200 contains noise due to problems such as inter-signal interference and external circuit routing. At this time, the CPU may erroneously determine that the wait has been released, fail to establish synchronization, and may malfunction or hang up.

従来、メモリデータを取り込む際のノイズによる誤動作を防止するために、データストローブ信号に2種類の遅延回路を付加し、一方の遅延回路によって遅延が付加された信号をクロックとし、他方の遅延回路によって遅延が付加された信号をイネーブル信号としてメモリからデータを取り込むメモリデバイス制御回路が提案されている(例えば、特許文献1参照)。   Conventionally, in order to prevent malfunction due to noise at the time of fetching memory data, two types of delay circuits are added to the data strobe signal, a signal to which a delay is added by one delay circuit is used as a clock, and the other delay circuit is used. A memory device control circuit that takes in data from a memory using a signal with a delay as an enable signal has been proposed (for example, see Patent Document 1).

また、テレビ放送信号が断絶された際に発生するスノーノイズを記録せず、正常状態信号のみを記録するために2種類のカウンタとタイマを用いたスノーノイズ除去機能を備えたVCR記録回路も提案されている(例えば、特許文献2参照)。
特開2006−40318号公報 特開平7−192205号公報
We also propose a VCR recording circuit with a snow noise removal function that uses two types of counters and timers to record only normal state signals without recording snow noise that occurs when a TV broadcast signal is interrupted. (For example, refer to Patent Document 2).
JP 2006-40318 A JP-A-7-192205

しかしながら特許文献1に開示された技術によれば、DDR(ダブルデータレート)モードと称されるクロックの立上りと立下りの両方でデータのリードライトを行い通常の倍の転送速度が実現されるDDRSDRAM(Double Data Rate Synchronous Dynamic Random Access Memory)が実装されたメモリ素子を対象としたものであり、これをそのままクロック同期型のバーストモード転送に応用することはできない。   However, according to the technique disclosed in Patent Document 1, a DDR SDRAM called a DDR (double data rate) mode, in which data is read and written at both rising and falling of a clock to realize a normal double transfer rate. (Double Data Rate Synchronous Dynamic Random Access Memory) is intended for memory devices, which cannot be directly applied to clock synchronous burst mode transfer.

また、特許文献2に開示された技術によれば、カウンタを使用してノイズ除去を行うため、許容される動作周波数の上限が低く、百MHz以上の高速で動作するCPUが実装される携帯電話等の電子機器に利用することはできない。   Further, according to the technique disclosed in Patent Document 2, since a noise is removed using a counter, the upper limit of an allowable operating frequency is low, and a mobile phone on which a CPU operating at a high speed of 100 MHz or more is mounted. It cannot be used for electronic equipment.

本発明は上記した課題を解決するためになされたものであり、正規の信号とノイズとを的確に識別して信頼性の高いデータ転送を実現する、インタフェース回路および電子機器を提供することを目的とする。   The present invention has been made to solve the above-described problems, and an object of the present invention is to provide an interface circuit and an electronic apparatus that can accurately identify a regular signal and noise and realize highly reliable data transfer. And

上記した課題を解決するために本発明の第1の観点のインタフェース回路は、第1の装置により生成されるクロックに同期して、前記第1の装置と、第2の装置との間で信号の送受信を行うインタフェース回路であって、前記クロックの位相を所定時間分遅延させる位相制御部と、前記位相制御部が出力するクロックに基づき、前記第2の装置により生成出力される信号が正規の同期信号であるか否かを判定したタイミング信号を生成する信号生成部と、を有し、前記信号生成部は、前記位相制御部により出力されるクロックがクロック入力端子に接続され、前記第2の装置により生成出力される同期信号がD入力端子およびセット端子に接続され、前記第1の装置により生成出力される制御信号がリセット端子に接続された、セットリセット端子付きDタイプフリップフロップであるIn order to solve the above-described problem, an interface circuit according to a first aspect of the present invention provides a signal between the first device and the second device in synchronization with a clock generated by the first device. A phase control unit that delays the phase of the clock by a predetermined time, and a signal generated and output by the second device based on a clock output from the phase control unit a signal generator for generating a timing signal determining whether a synchronizing signal, the possess, the signal generator, a clock output by the phase control unit is connected to a clock input terminal, said second A reset signal generated and output by the first device is connected to the D input terminal and the set terminal, and a control signal generated and output by the first device is connected to the reset terminal. It is a D-type flip-flop with a terminal.

また、本発明のインタフェース回路において、前記信号生成部は、前記第2の装置により生成出力される同期信号が所定の時間マージンを持つ場合に当該信号を前記第1の装置へ転送し、前記時間マージンを持たない場合に当該信号を前記第1の装置へ転送しないように構成してもよい。   Further, in the interface circuit of the present invention, the signal generator transfers the signal to the first device when the synchronization signal generated and output by the second device has a predetermined time margin, and the time If there is no margin, the signal may not be transferred to the first device.

また、本発明のインタフェース回路において、前記信号生成部は、前記第2の装置により生成出力される正規の同期信号を受信したとき、そのタイミングで同期をとって制御信号を生成し、前記第2の装置からデータを取得するように構成してもよい。   In the interface circuit of the present invention, when the signal generation unit receives a normal synchronization signal generated and output by the second device, the signal generation unit generates a control signal in synchronization with the timing, and generates the control signal. You may comprise so that data may be acquired from this apparatus.

また、本発明のインタフェース回路において、前記位相制御部は、前記第2の装置により生成出力される同期信号の判別のために付加される時間マージンに適合した遅延時間を有する遅延素子で構成してもよい。   Further, in the interface circuit of the present invention, the phase control unit is configured by a delay element having a delay time suitable for a time margin added for discrimination of a synchronization signal generated and output by the second device. Also good.

また、本発明のインタフェース回路において、前記第2の装置により生成出力される同期信号は、クロックに同期してデータを転送するバーストモードにおいて、前記第1の装置と同期をとるために出力されるウエイト信号であってもよい。   In the interface circuit of the present invention, the synchronization signal generated and output by the second device is output for synchronization with the first device in a burst mode in which data is transferred in synchronization with a clock. It may be a wait signal.

本発明の第2の観点の電子機器は、処理装置が実装される電子機器本体と、前記処理装置により生成されるクロックに同期してデータがリードライトされるメモリモジュールと、前記クロックの位相を所定時間分遅延させる位相制御部、および前記位相制御部が出力するクロックに基づき、前記メモリモジュールにより生成出力されるウエイト信号が正規の信号であるか否か判別したタイミング信号を生成する信号生成部を備えたメモリインタフェース回路と、を有し、前記信号生成部は、前記位相制御部により出力されるクロックがクロック入力端子に接続され、前記第2の装置により生成出力される同期信号がD入力端子およびセット端子に接続され、前記第1の装置により生成出力される制御信号がリセット端子に接続された、セットリセット端子付きDタイプフリップフロップであるAn electronic device according to a second aspect of the present invention includes an electronic device main body on which a processing device is mounted, a memory module in which data is read / written in synchronization with a clock generated by the processing device, and a phase of the clock. A phase control unit that delays by a predetermined time, and a signal generation unit that generates a timing signal that determines whether or not the weight signal generated and output by the memory module is a normal signal based on a clock output from the phase control unit have a, a memory interface circuit wherein the signal generator, the clock signal output by the phase control unit is connected to the clock input terminal, a synchronization signal is generated and outputted by the second device D input A set connected to a terminal and a set terminal, and a control signal generated and output by the first device connected to a reset terminal Set is a D-type flip-flop with a terminal.

本発明によれば、正規の信号とノイズとを的確に識別して信頼性の高いデータ転送を実現することができる。   According to the present invention, it is possible to accurately identify a regular signal and noise and realize highly reliable data transfer.

図1は、本発明の実施の形態に係る電子機器の構成を示すブロック図である。ここでは、電子機器として、携帯電話等の携帯情報端末が例示されている。   FIG. 1 is a block diagram showing a configuration of an electronic apparatus according to an embodiment of the present invention. Here, a portable information terminal such as a mobile phone is exemplified as the electronic device.

携帯電話は、第1の装置としてCPU(処理装置)が実装される本体チップ1(電子機器)と、第2の装置としてSDRAMやフラッシュメモリ等クロック同期型の複数のメモリモジュール(MEM)20と、不図示の基地局との間で行われる通信のための変復調を行う高周波回路2とを主な構成要素とする。なお、操作部、表示部、音声入出力部等のユーザインタフェースを司る回路ブロックは図示省略されている。   The mobile phone includes a main body chip 1 (electronic device) on which a CPU (processing device) is mounted as a first device, and a plurality of clock-synchronized memory modules (MEM) 20 such as SDRAM and flash memory as a second device. The high-frequency circuit 2 that performs modulation / demodulation for communication with a base station (not shown) is a main component. Note that circuit blocks that manage user interfaces such as an operation unit, a display unit, and a voice input / output unit are not shown.

本体チップ1には、CPU11の他に、MEM20のデータのリードライトを行うメモリコントローラ(MEMC)12が1チップ集積され実装されている。ここで、MEMC12は、複数のMEM20とはメモリバス21を介して接続され、メモリバス21には、本発明のインタフェース回路22(ここではメモリインタフェース)経由で複数のMEM20が接続されている。   In addition to the CPU 11, the main body chip 1 is mounted with a memory controller (MEMC) 12 that reads / writes data of the MEM 20 in one chip. Here, the MEMC 12 is connected to a plurality of MEMs 20 via a memory bus 21, and the memory bus 21 is connected to a plurality of MEMs 20 via an interface circuit 22 (here, a memory interface) of the present invention.

インタフェース回路22は、MEMC12と、MEM20との間の信号送受信のためのインタフェースを司り、CPU11により生成されるクロックの位相を所定時間分遅延させる位相制御部と、位相制御部が出力するクロックに基づき、MEM20により生成出力されるウエイト信号が正規の信号であるか否かを判定したタイミング信号を生成する信号生成部と、により構成される。詳細は後述する。   The interface circuit 22 controls an interface for signal transmission / reception between the MEMC 12 and the MEM 20, and is based on a phase control unit that delays a phase of a clock generated by the CPU 11 by a predetermined time, and a clock output from the phase control unit. And a signal generator that generates a timing signal that determines whether or not the weight signal generated and output by the MEM 20 is a regular signal. Details will be described later.

図2は、本発明の実施の形態に係るインタフェース回路22の回路構成図であり、ここでは、周辺回路との接続関係もあわせて示している。   FIG. 2 is a circuit configuration diagram of the interface circuit 22 according to the embodiment of the present invention. Here, the connection relationship with peripheral circuits is also shown.

図2において、図1に示されるブロックと同一番号が付されたブロックは、図1に示すそれと同じとする。図2に示されるように、インタフェース回路22は、遅延素子221と、セットリセット端子付きのDタイプフリッブフロップ222と、インバータ223とにより構成される。   In FIG. 2, blocks denoted by the same reference numerals as those shown in FIG. 1 are the same as those shown in FIG. As shown in FIG. 2, the interface circuit 22 includes a delay element 221, a D-type flip flop 222 with a set / reset terminal, and an inverter 223.

遅延素子221は、CPU11により生成されるクロック(Clock)を後述するインタフェース設計の際に設定されるマージンに相当する分だけ時間遅延させた確認用クロック(DCLK)を生成してセットリセット端子付きのDタイプフリッブフロップ222のクロック入力端子(CLK)に供給する。このため、遅延素子221は、クロック(Clock)の位相を所定時間分遅延させる位相制御部として動作する。   The delay element 221 generates a confirmation clock (DCLK) obtained by delaying the clock (Clock) generated by the CPU 11 by an amount corresponding to a margin set in interface design described later, and has a set / reset terminal. It is supplied to the clock input terminal (CLK) of the D type flip-flop 222. For this reason, the delay element 221 operates as a phase control unit that delays the phase of the clock by a predetermined time.

一方、MEMC12により生成されるチップセレクト信号(CS)は、MEM20に供給される他に、セットリセット端子付きのDタイプフリッブフロップ222のリセット端子(R)にも供給される。また、セットリセット端子付きのDタイプフリッブフロップ222のD入力端子(D)およびセット端子(S)には、MEM20により生成出力されるウエイト信号(M_WAIT)がインバータ223を介して供給され、その出力(/Q)は、判定タイミング信号としてMEMC12経由CPU11へ供給される。   On the other hand, the chip select signal (CS) generated by the MEMC 12 is supplied not only to the MEM 20 but also to the reset terminal (R) of the D-type flip flop 222 with a set reset terminal. Also, the D input terminal (D) and the set terminal (S) of the D type flip flop 222 with a set reset terminal are supplied with a wait signal (M_WAIT) generated and output by the MEM 20 via the inverter 223. The output (/ Q) is supplied to the CPU 11 via the MEMC 12 as a determination timing signal.

上記したインタフェース回路22の回路構成において、CPU11側では、MEM20と同期をとるために、生成されたクロック(Clock)の立上りエッジでMEM20が出力するウエイト信号(M_WAIT)を取り込む。ここでは、インバータ223を付加してアクティブローである場合のウエイト信号(M_WAIT)について説明する。アクティブローのウエイト信号(M_WAIT)とは、M_WAITがローレベルのときにウエイト状態を示し、M_WAITがハイレベルのときにウエイト解除状態を示す。   In the circuit configuration of the interface circuit 22 described above, on the CPU 11 side, in order to synchronize with the MEM 20, a wait signal (M_WAIT) output by the MEM 20 is captured at the rising edge of the generated clock (Clock). Here, a wait signal (M_WAIT) in the case where the inverter 223 is added to be active low will be described. The active low wait signal (M_WAIT) indicates a wait state when M_WAIT is at a low level, and indicates a wait release state when M_WAIT is at a high level.

CPU11は、クロック(Clock)の立上りエッジでセットアップタイム以上ハイレベルが保持された状態でウエイトが解除されたと判定し、データの読み出し等次の段階の動作に移行する。   The CPU 11 determines that the wait has been released in a state where the high level is maintained for the setup time or more at the rising edge of the clock (Clock), and proceeds to the next stage operation such as data reading.

ここでは、MEM20に供給するクロック(Clock)を遅延させた確認クロック(DCLK)をセットリセット端子付きDタイブフリップフロップ222に入力しており、それにより、設計者がCPU11とメモリモジュール20との間のインタフェースを設計する際に設けたマージンを持たないM_WAIT信号はノイズであると判定してそのM_WAIT信号をCPU11に入力せず、マージンを持つM_WAIT信号を正規の信号としてCPU11に入力し、ノイズによる誤動作を防止している。このため、遅延素子221は、設定したマージン分に合致した遅延容量を持つ必要がある。
したがって、上記したセットリセット端子付きのDタイプフリッブフロップ222は、遅延素子221が出力するクロック(DCLK)に基づき、MEM20により生成出力される信号(M_WAIT)が正規の信号であるか否かを判定したタイミング信号を生成する信号生成部として動作する。
Here, the confirmation clock (DCLK) obtained by delaying the clock (Clock) supplied to the MEM 20 is input to the D-type flip-flop 222 with a set / reset terminal, so that the designer can connect the CPU 11 and the memory module 20. The M_WAIT signal having no margin provided when designing the interface is determined to be noise and the M_WAIT signal is not input to the CPU 11, but the M_WAIT signal having a margin is input to the CPU 11 as a normal signal, and the It prevents malfunction. Therefore, the delay element 221 needs to have a delay capacity that matches the set margin.
Therefore, the D-type flip-flop 222 with the set / reset terminal described above determines whether the signal (M_WAIT) generated and output by the MEM 20 is a normal signal based on the clock (DCLK) output from the delay element 221. It operates as a signal generator that generates the determined timing signal.

図3は、本発明の実施の形態に係るインタフェース回路22の動作を説明するために引用したタイミング図である。   FIG. 3 is a timing diagram cited for explaining the operation of the interface circuit 22 according to the embodiment of the present invention.

図3(a)はCPU11からMEM20へ供給されるクロック(Clock)を、図3(b)は遅延素子221出力である確認用クロック(DCLK)、図3(c)はCPU11により生成されるリードライトコマンドに基づきMEMC12により生成されメモリ20に供給されるチップセレクト信号(CS)を、図3(d)はMEM20からCPU11へ供給されるウエイト信号(M_WAIT)を、図3(e)セットリセット端子付きDタイプフリッブフロップ222のリセット端子入力(CS)を、図3(f)はセット端子入力(/M_WAIT)を、図3(g)はD入力端子(/M_WAIT)を、図3(h)は/Q出力端子(/Q)をそれぞれ示している。   3A shows a clock (Clock) supplied from the CPU 11 to the MEM 20, FIG. 3B shows a confirmation clock (DCLK) output from the delay element 221, and FIG. 3C shows a read generated by the CPU 11. A chip select signal (CS) generated by the MEMC 12 based on the write command and supplied to the memory 20, FIG. 3D shows a wait signal (M_WAIT) supplied from the MEM 20 to the CPU 11, and FIG. 3 shows the reset terminal input (CS) of the D-type flip-flop 222, FIG. 3F shows the set terminal input (/ M_WAIT), FIG. 3G shows the D input terminal (/ M_WAIT), and FIG. ) Indicates the / Q output terminal (/ Q), respectively.

図3のタイミング図において、真のウエイト解除タイミング時(図3中、符号Bで示す)、MEM20は、CPU11から供給されるクロック(Clock)の立上りエッジに対してローレベルであったウエイト信号(M_WAIT)をウエイト解除のタイミングでハイレベルに設定して出力する。
インタフェース設計者は、あらかじめCPU11により設定される最小のセットアップタイムS(例えば、5ns)に遅延素子221の遅延容量に相当する時間マージンMを付加しても問題の無いMEM20を採用している。このため、当該時間マージンMに相当する部分に、丁度確認用クロック(DCLK)の立上り部分が重なるように遅延素子221によって元のクロック(Clock)の位相が制御される。
In the timing chart of FIG. 3, at the true wait release timing (indicated by reference sign B in FIG. 3), the MEM 20 waits for a wait signal (low level) with respect to the rising edge of the clock (Clock) supplied from the CPU 11. Set M_WAIT) to high level at the timing of wait release and output.
The interface designer employs the MEM 20 that has no problem even if the time margin M corresponding to the delay capacity of the delay element 221 is added to the minimum setup time S (for example, 5 ns) set in advance by the CPU 11. For this reason, the phase of the original clock (Clock) is controlled by the delay element 221 so that the rising portion of the confirmation clock (DCLK) just overlaps the portion corresponding to the time margin M.

このハイレベルのウエイト信号(M_WAIT)がインバータ223経由で入力されるセットリセット端子付きDタイプフリッブフロップ222の出力(/Q)はハイレベルとなり、CPU11は、このセットリセット端子付きDタイプフリッブフロップ222の出力(/Q)を参照することにより真のウエイト解除タイミングを判定することができる。すなわち、CPU11は、確認用クロック(DCLK)の立上りエッジでセットアップタイムS+時間マージンM以上ハイレベルが保持された状態でウエイトが解除されたと判定し、データの読み出し等、次の段階の動作に移行する。   The high-level wait signal (M_WAIT) is input via the inverter 223. The output (/ Q) of the D-type flip flop 222 with set / reset terminal becomes high level, and the CPU 11 has the D-type flip with set / reset terminal. The true wait release timing can be determined by referring to the output (/ Q) of the flop 222. That is, the CPU 11 determines that the wait has been released while the high level is maintained for the setup time S + time margin M at the rising edge of the confirmation clock (DCLK), and proceeds to the next stage operation such as data reading. To do.

一方、本来のウエイト信号ではない論理的にハイレベルのノイズ信号が出力された場合(図3中、符号Aで示す)、当該ノイズ信号は、設計者が設定した時間マージンMに満たない信号である(対応する確認用クロック(DCLK)の立上りエッジとずれる)ため、確認用クロック(DCLK)の立上りエッジにおいてセットリセット端子付きDタイプフリッブフロップ222の出力(/Q)はローのままであり、したがって、CPU11は、ノイズ信号をウエイト解除タイミングと判定することはない。   On the other hand, when a logically high level noise signal that is not the original wait signal is output (indicated by symbol A in FIG. 3), the noise signal is a signal that does not satisfy the time margin M set by the designer. Because there is a deviation from the rising edge of the corresponding confirmation clock (DCLK), the output (/ Q) of the D-type flip flop 222 with the set-reset terminal remains low at the rising edge of the confirmation clock (DCLK). Therefore, the CPU 11 does not determine the noise signal as the wait release timing.

以上説明のように、本発明の実施の形態に係るインタフェース回路22は、第1の装置(例えば、CPU11)により生成されるクロックの位相を遅延素子221等で構成される位相制御部により所定時間分遅延させて確認クロックを出力するとともに、当該確認クロックに基づき、セットリセット端子付きDフリップフロップ222等タイミング生成部が、第2の装置(例えば、MEM20)によって生成出力される同期信号が正規の信号であるか否かを判定したタイミング信号を生成しCPU11に出力するものである。このことにより、CPU11は、MEM20から出力された正規の同期信号か否かを判定することができ、同期の確立に失敗したことに起因して発生する誤動作もしくはハングアップを回避することができる。   As described above, the interface circuit 22 according to the embodiment of the present invention sets the phase of the clock generated by the first device (for example, the CPU 11) to a predetermined time by the phase control unit including the delay element 221 and the like. A confirmation clock is output with a delay, and a timing generator such as the D flip-flop 222 with a set / reset terminal based on the confirmation clock generates a synchronization signal generated and output by the second device (for example, MEM20). A timing signal for determining whether or not the signal is generated is generated and output to the CPU 11. Thus, the CPU 11 can determine whether or not the synchronization signal is a regular synchronization signal output from the MEM 20, and can avoid a malfunction or hang-up that occurs due to the failure to establish synchronization.

また、本発明の実施の形態に係る電子機器は、CPU11が実装される電子機器本体と、CPU11により生成されるクロックに同期してデータがリードライトされるMEM20とを備え、CPU11とMEM20とをインタフェースするメモリインタフェース(例えば、インタフェース回路22)が、クロックの位相を遅延素子221等で構成される位相制御部により所定時間分遅延させて確認クロックを出力するとともに、当該確認クロックに基づき、セットリセット端子付きDフリップフロップ222等タイミング生成部により、MEM20によって生成出力されるウエイト信号が正規の信号であるか否かを判定したタイミング信号を生成してCPU11に出力するものである。
このことにより、本体チップ1は、メモリ20から出力されたウエイト解除信号のうち、正規の信号のみを受け取ることができ、同期の確立に失敗したことに起因して発生する誤動作もしくはハングアップを回避することができ、このため、信頼性の高いデータ転送を実現することができる。また、カウンタを使用してノイズ除去を行う方式と比較して動作周波数の制限が撤廃されるため、百MHz以上の高速で動作するCPUが実装される携帯電話等の電子機器に利用することができる。
The electronic device according to the embodiment of the present invention includes an electronic device main body on which the CPU 11 is mounted, and a MEM 20 in which data is read / written in synchronization with a clock generated by the CPU 11, and the CPU 11 and the MEM 20 are provided. A memory interface (for example, the interface circuit 22) to be interfaced outputs a confirmation clock by delaying a clock phase by a predetermined time by a phase control unit including a delay element 221 and the like, and sets and resets based on the confirmation clock The timing generation unit such as the terminal-equipped D flip-flop 222 or the like generates a timing signal that determines whether or not the wait signal generated and output by the MEM 20 is a regular signal, and outputs the generated timing signal to the CPU 11.
As a result, the main body chip 1 can receive only a legitimate signal among the wait cancellation signals output from the memory 20, and avoids malfunctions or hang-ups that occur due to failure to establish synchronization. Therefore, highly reliable data transfer can be realized. In addition, since the restriction on the operating frequency is eliminated compared with a method of removing noise using a counter, it can be used for electronic devices such as mobile phones on which a CPU operating at a high speed of 100 MHz or more is mounted. it can.

なお、上記した本発明の実施の形態によれば、電子機器として、携帯電話のみ例示したが、携帯電話に限らず、PDA(Personal Digital Assistants)、ゲーム機等にも同様に適用が可能である。   In addition, according to the above-described embodiment of the present invention, only a mobile phone is illustrated as an electronic device. However, the present invention is not limited to a mobile phone and can be similarly applied to a PDA (Personal Digital Assistants), a game machine, and the like. .

本発明の実施の形態に係る電子機器の構成を示すブロック図である。It is a block diagram which shows the structure of the electronic device which concerns on embodiment of this invention. 本発明の実施の形態に係るインタフェース回路の構成図である。It is a block diagram of the interface circuit which concerns on embodiment of this invention. 本発明の実施の形態に係るインタフェース回路の動作を説明するために引用した動作タイミング図である。FIG. 5 is an operation timing diagram cited for explaining the operation of the interface circuit according to the embodiment of the present invention. 従来のノイズ対策回路を持たないインタフェース回路の構成図である。It is a block diagram of the interface circuit which does not have the conventional noise countermeasure circuit.

符号の説明Explanation of symbols

1…本体チップ(電子機器)、2…高周波回路部、11…CPU(第1の装置)、12…メモリコントローラ(MEMC)、20…メモリモジュール(MEM)(第2の装置)、21…メモリバス、22…インタフェース回路、221…遅延素子、222…セットリセット端子付きDタイプフリップフロップ、223…インバータ。   DESCRIPTION OF SYMBOLS 1 ... Main body chip (electronic device), 2 ... High frequency circuit part, 11 ... CPU (1st apparatus), 12 ... Memory controller (MEMC), 20 ... Memory module (MEM) (2nd apparatus), 21 ... Memory Bus, 22 ... interface circuit, 221 ... delay element, 222 ... D type flip-flop with set / reset terminal, 223 ... inverter.

Claims (6)

第1の装置により生成されるクロックに同期して、前記第1の装置と、第2の装置との間で信号の送受信を行うインタフェース回路であって、
前記クロックの位相を所定時間分遅延させる位相制御部と、
前記位相制御部が出力するクロックに基づき、前記第2の装置により生成出力される信号が正規の同期信号であるか否かを判定したタイミング信号を生成する信号生成部と、
を有し、
前記信号生成部は、
前記位相制御部により出力されるクロックがクロック入力端子に接続され、前記第2の装置により生成出力される同期信号がD入力端子およびセット端子に接続され、前記第1の装置により生成出力される制御信号がリセット端子に接続された、セットリセット端子付きDタイプフリップフロップである
ことを特徴とするインタフェース回路。
An interface circuit that transmits and receives signals between the first device and the second device in synchronization with a clock generated by the first device,
A phase controller that delays the phase of the clock by a predetermined time;
A signal generation unit that generates a timing signal that determines whether or not a signal generated and output by the second device is a regular synchronization signal based on a clock output by the phase control unit;
I have a,
The signal generator is
A clock output from the phase control unit is connected to a clock input terminal, and a synchronization signal generated and output by the second device is connected to a D input terminal and a set terminal and generated and output by the first device. An interface circuit comprising a D-type flip-flop with a set-reset terminal, wherein a control signal is connected to a reset terminal .
前記信号生成部は、
前記第2の装置により生成出力される同期信号が所定の時間マージンを持つ場合に当該同期信号を前記第1の装置へ送信し、前記時間マージンを持たない場合に当該同期信号を前記第1の装置へ送信しない
ことを特徴とする請求項1に記載のインタフェース回路。
The signal generator is
When the synchronization signal generated and output by the second device has a predetermined time margin, the synchronization signal is transmitted to the first device. When the synchronization signal does not have the time margin, the synchronization signal is transmitted to the first device. The interface circuit according to claim 1, wherein the interface circuit is not transmitted to a device.
前記信号生成部は、
前記第2の装置により生成出力される正規の同期信号を受信したとき、そのタイミングで同期をとって制御信号を生成し、前記第2の装置からデータを取得する
ことを特徴とする請求項1または2に記載のインタフェース回路。
The signal generator is
The control signal is generated at the timing when a normal synchronization signal generated and output by the second device is received, and data is acquired from the second device. Or the interface circuit of 2.
前記位相制御部は、
前記第2の装置により生成出力される同期信号の判別のために付加される時間マージンに適合した遅延時間を有する遅延素子である
ことを特徴とする請求項1から3のいずれか1項に記載のインタフェース回路。
The phase control unit
4. The delay element according to claim 1, wherein the delay element has a delay time suitable for a time margin added for discrimination of a synchronization signal generated and output by the second device. 5. Interface circuit.
前記第2の装置により生成出力される同期信号は、クロックに同期してデータを転送するバーストモードにおいて、前記第1の装置と同期をとるために出力されるウエイト信号である
ことを特徴とする請求項1から4のいずれか1項に記載のインタフェース回路。
The synchronization signal generated and output by the second device is a wait signal output for synchronization with the first device in a burst mode in which data is transferred in synchronization with a clock. The interface circuit according to claim 1.
処理装置が実装される電子機器本体と、
前記処理装置により生成されるクロックに同期してデータがリードライトされるメモリモジュールと、
前記クロックの位相を所定時間分遅延させる位相制御部、および前記位相制御部が出力するクロックに基づき、前記メモリモジュールにより生成出力されるウエイト信号が正規の信号であるか否か判別したタイミング信号を生成する信号生成部を備えたメモリインタフェース回路と、
を有し、
前記信号生成部は、
前記位相制御部により出力されるクロックがクロック入力端子に接続され、前記第2の装置により生成出力される同期信号がD入力端子およびセット端子に接続され、前記第1の装置により生成出力される制御信号がリセット端子に接続された、セットリセット端子付きDタイプフリップフロップである
ことを特徴とする電子機器。
An electronic device main body on which the processing device is mounted;
A memory module in which data is read and written in synchronization with a clock generated by the processing device;
A phase control unit that delays the phase of the clock by a predetermined time, and a timing signal that determines whether or not the wait signal generated and output by the memory module is a regular signal based on the clock output by the phase control unit A memory interface circuit including a signal generation unit for generating;
I have a,
The signal generator is
A clock output from the phase control unit is connected to a clock input terminal, and a synchronization signal generated and output by the second device is connected to a D input terminal and a set terminal and generated and output by the first device. An electronic apparatus comprising a D-type flip-flop with a set-reset terminal, wherein a control signal is connected to a reset terminal .
JP2006351905A 2006-12-27 2006-12-27 Interface circuit and electronic equipment Expired - Fee Related JP5041402B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006351905A JP5041402B2 (en) 2006-12-27 2006-12-27 Interface circuit and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006351905A JP5041402B2 (en) 2006-12-27 2006-12-27 Interface circuit and electronic equipment

Publications (2)

Publication Number Publication Date
JP2008165344A JP2008165344A (en) 2008-07-17
JP5041402B2 true JP5041402B2 (en) 2012-10-03

Family

ID=39694804

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006351905A Expired - Fee Related JP5041402B2 (en) 2006-12-27 2006-12-27 Interface circuit and electronic equipment

Country Status (1)

Country Link
JP (1) JP5041402B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5396950U (en) * 1977-01-10 1978-08-07
JPH0199155A (en) * 1987-10-13 1989-04-18 Fujitsu Ltd Ready signal generation system
JPH1196112A (en) * 1997-09-19 1999-04-09 Toshiba Corp I / O port

Also Published As

Publication number Publication date
JP2008165344A (en) 2008-07-17

Similar Documents

Publication Publication Date Title
JP5068444B2 (en) Memory system and timing control method for controlling interface timing in memory module
KR100434833B1 (en) Serial/parallel conversion circuit, data transfer control device and electronic equipment
JP5532724B2 (en) Interface circuit and semiconductor device having the same
US8971469B2 (en) Serial data communication method and serial data communication device
TWI566256B (en) Memory system and memory physical layer interface circuit
KR100499417B1 (en) A method for masking the ringing in SDRAM and the device therefor
EP3739463B1 (en) Circuit for asynchronous data transfer
JP6809932B2 (en) Semiconductor device and data synchronization method
US7864626B2 (en) Interface circuit, memory interface system, and data reception method
JP5191218B2 (en) Memory control circuit
KR100845525B1 (en) Memory card system, its data transfer method, and semiconductor memory device
KR102811264B1 (en) Image device and operating method thereof
KR100360409B1 (en) Semiconductor memory device using dedicated command and address strobe signal and method for inputting command and address thereof
JP5041402B2 (en) Interface circuit and electronic equipment
JPWO2008152755A1 (en) Timing recovery circuit, communication node, network system, and electronic device
JP3861650B2 (en) Interface circuit
KR100424850B1 (en) System of Transferring Data Transmission Velocity
WO2007125519A2 (en) Latency optimized resynchronization solution for ddr/ddr2 sdram read path
KR100400933B1 (en) Apparatus for synchronization between CPU and external devices in keyphone system
JP2007249753A (en) Information processor
US20260045283A1 (en) Memory system
JP4819326B2 (en) Clock signal supply device
JP4266250B2 (en) Interface circuit
JP2001160000A (en) Memory control integrated circuit, memory card, memory device, information processor, clock setting method and recording medium
JP2012064058A (en) Electronic apparatus, communication method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091015

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120309

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120313

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120510

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120612

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120704

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150720

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees