JP5784991B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP5784991B2
JP5784991B2 JP2011124129A JP2011124129A JP5784991B2 JP 5784991 B2 JP5784991 B2 JP 5784991B2 JP 2011124129 A JP2011124129 A JP 2011124129A JP 2011124129 A JP2011124129 A JP 2011124129A JP 5784991 B2 JP5784991 B2 JP 5784991B2
Authority
JP
Japan
Prior art keywords
voltage
unit
frequency
bus
clock
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
JP2011124129A
Other languages
Japanese (ja)
Other versions
JP2012252486A (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.)
Socionext Inc
Original Assignee
Socionext Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Socionext Inc filed Critical Socionext Inc
Priority to JP2011124129A priority Critical patent/JP5784991B2/en
Publication of JP2012252486A publication Critical patent/JP2012252486A/en
Application granted granted Critical
Publication of JP5784991B2 publication Critical patent/JP5784991B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Bus Control (AREA)
  • Information Transfer Systems (AREA)

Description

本発明は,回路ユニット間でバス転送を実行する電子機器に関する。   The present invention relates to an electronic device that performs bus transfer between circuit units.

電子機器の処理能力の向上を図るための手法として,電子機器のクロックを高速化させる手法がある。このクロックの高速化に伴い,高速化されたクロックの高調波を一要因とする電磁波輻射(EMI:ElectroMagnetic Interference)が悪化する傾向にある。   As a technique for improving the processing capability of an electronic device, there is a method of increasing the clock speed of the electronic device. As the clock speed increases, electromagnetic radiation (EMI) due to higher harmonics of the clock speed tends to deteriorate.

電磁波輻射を抑制するために,スペクトラム拡散クロック生成回路(SSCG:Spread Spectrum Clock Generator)を搭載した電子機器が提案されている。スペクトラム拡散クロック生成回路は,クロックの周波数を微少変動させて周波数の拡散(スペクトラム拡散とも言う)を行うものである。このスペクトラム拡散により,クロックの周波数(基本波)のピークだけでなく,高調波のピークを抑圧することができる。その結果,電子機器の電磁波輻射が大幅に抑制される。   In order to suppress electromagnetic radiation, electronic devices equipped with a spread spectrum clock generator (SSCG) have been proposed. The spread spectrum clock generation circuit performs frequency spread (also referred to as spread spectrum) by slightly changing the clock frequency. With this spread spectrum, not only the peak of the clock frequency (fundamental wave) but also the peak of the harmonic can be suppressed. As a result, the electromagnetic radiation of electronic equipment is greatly suppressed.

ところで,電子機器内には複数の回路ユニット(回路ブロックとも言う)が設けられている。この回路ユニットには,例えば,電子機器の制御を実行するCPUなどの制御用の回路ユニット,さらに,リソースとして計時処理を実行するタイマ用の回路ユニット,通信処理を実行する通信用の回路ユニットなどがある。なお,通信用の回路ユニットには,例えばUART(Universal Asynchronous Receiver Transmitter)がある。   Incidentally, a plurality of circuit units (also referred to as circuit blocks) are provided in the electronic device. This circuit unit includes, for example, a control circuit unit such as a CPU that performs control of electronic equipment, a timer circuit unit that performs timekeeping processing as a resource, and a communication circuit unit that performs communication processing. There is. An example of a communication circuit unit is a UART (Universal Asynchronous Receiver Transmitter).

タイマ用の回路ユニットは,高精度の計時が要求されるので,クロックの周波数が変動しない高精度のクロックに基づき動作する必要がある。同じく,通信用の回路ユニットは,高精度のタイミング調整が要求されるので,高精度のクロックに基づき動作する必要がある。そのため,これらの回路ユニットは,周波数が変動するスペクトラム拡散クロックではなく,位相同期回路(PLL:Phase Locked Loop)が生成する一定の周波数を有するクロック(以下,PLLクロックと記す)に基づき動作する必要がある。一方,高精度の計時,高精度のタイミング調整が要求されない回路ユニット,例えば制御回路ユニットは,スペクトラム拡散クロックに基づき動作する。   Since the timer circuit unit is required to measure time with high accuracy, it is necessary to operate based on a high-accuracy clock whose clock frequency does not fluctuate. Similarly, a communication circuit unit is required to operate based on a high-accuracy clock because high-accuracy timing adjustment is required. For this reason, these circuit units must operate based on a clock having a constant frequency (hereinafter referred to as a PLL clock) generated by a phase locked loop (PLL), not a spread spectrum clock whose frequency varies. There is. On the other hand, a circuit unit that does not require high-precision timing and high-precision timing adjustment, such as a control circuit unit, operates based on a spread spectrum clock.

スペクトラム拡散クロックに基づき動作する第1の回路ユニットとPLLクロックに基づき動作する第2の回路ユニットの間で通信を行う場合を想定する。この場合,第1の回路ユニットと第2の回路ユニットは,両回路ユニットの間に設けられた非同期通信用の非同期ブリッジ部(非同期バスブリッジとも言う)を介して通信を実行する。   Assume that communication is performed between a first circuit unit that operates based on a spread spectrum clock and a second circuit unit that operates based on a PLL clock. In this case, the first circuit unit and the second circuit unit perform communication via an asynchronous communication asynchronous bridge unit (also referred to as an asynchronous bus bridge) provided between the two circuit units.

特開2006-195948号公報JP 2006-195948 A

非同期ブリッジ部は,いわゆるクロック乗り換え処理を行うことにより,第1の回路ユニットと第2の回路ユニットとの通信をブリッジする。すなわち,非同期ブリッジ部は,スペクトラム拡散クロックに同期して第1の回路ユニットから送出されるデータをラッチし,PLLクロックに同期して第2の回路ユニットに出力する処理を実行する。また,非同期ブリッジ部は,PLLクロックに同期して第2の回路ユニットから送出されるデータをラッチし,スペクトラム拡散クロックに同期して第1の回路ユニットに出力する処理を実行する。   The asynchronous bridge unit bridges communication between the first circuit unit and the second circuit unit by performing so-called clock transfer processing. That is, the asynchronous bridge unit executes a process of latching data transmitted from the first circuit unit in synchronization with the spread spectrum clock and outputting the data to the second circuit unit in synchronization with the PLL clock. The asynchronous bridge unit latches data transmitted from the second circuit unit in synchronization with the PLL clock, and executes processing for outputting to the first circuit unit in synchronization with the spread spectrum clock.

このようなクロック乗り換え処理を行う場合,クロック乗り換え処理によるデータ通信のレイテンシが大きくなり,第1の回路ユニットと第2の回路ユニットにおける単位時間当たりのデータ通信量が低下する。   When such a clock change process is performed, the latency of data communication by the clock change process increases, and the amount of data communication per unit time in the first circuit unit and the second circuit unit decreases.

そこで,本発明の目的は,スペクトラム拡散クロックに基づき動作する第1の回路ユニットとPLLクロックに基づき動作する第2の回路ユニットとの間で通信を行う場合,クロック乗り換え処理によるデータ通信のレイテンシを小さくし,単位時間当たりのデータ通信量の低下を防止する電子機器を提供する。   Therefore, an object of the present invention is to reduce the latency of data communication by clock transfer processing when communication is performed between a first circuit unit that operates based on a spread spectrum clock and a second circuit unit that operates based on a PLL clock. To provide an electronic device that is reduced in size and prevents a decrease in data communication volume per unit time.

電子機器の第1の側面は,第2の周波数を基準にして周波数が変動する第1の周波数を有する第1のクロックを生成する第1のクロック生成回路と,
前記第2の周波数を有する第2のクロックを生成する第2のクロック生成回路と,
前記第1のクロックに基づき動作する第1の回路ユニットと,
前記第2のクロックに基づき動作する第2の回路ユニットと,
前記第1の回路ユニットと前記第2の回路ユニットとを接続するバスと,
前記第1の周波数と前記第2の周波数との周波数差が第1の所定範囲内か否かを検出する検出部と,
前記周波数差が前記第1の所定範囲内の場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で同期通信を実行する同期バスと,前記周波数差が前記第1の所定範囲外の場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で非同期通信を実行する非同期ブリッジ部とを有するバスブリッジ部と
を有する。
The first aspect of the electronic device includes a first clock generation circuit that generates a first clock having a first frequency that varies in frequency with respect to the second frequency, and
A second clock generation circuit for generating a second clock having the second frequency;
A first circuit unit that operates based on the first clock;
A second circuit unit that operates based on the second clock;
A bus connecting the first circuit unit and the second circuit unit;
A detection unit for detecting whether a frequency difference between the first frequency and the second frequency is within a first predetermined range;
A synchronization bus that performs synchronous communication between the first circuit unit and the second circuit unit when the frequency difference is within the first predetermined range; and the frequency difference is the first predetermined range. A bus bridge unit having an asynchronous bridge unit for executing asynchronous communication between the first circuit unit and the second circuit unit when the range is out of the range.

第1の側面によれば,スペクトラム拡散クロックに基づき動作する第1の回路ユニットとPLLクロックに基づき動作する第2の回路ユニットとの間で通信を行う場合であっても,単位時間当たりのデータ通信量の低下を防止することができる。   According to the first aspect, even when communication is performed between the first circuit unit that operates based on the spread spectrum clock and the second circuit unit that operates based on the PLL clock, the data per unit time A decrease in communication volume can be prevented.

本実施の形態の電子機器のブロック図である。It is a block diagram of the electronic device of this Embodiment. バスブリッジ部のブロック図である。It is a block diagram of a bus bridge part. 非同期ブリッジ部のブロック図である。It is a block diagram of an asynchronous bridge part. PLLクロックの周波数およびスペクトラム拡散クロックの周波数の時間変化を示す図である。It is a figure which shows the time change of the frequency of a PLL clock, and the frequency of a spread spectrum clock. PLL回路のブロック図である。It is a block diagram of a PLL circuit. SSCG回路のブロック図である。It is a block diagram of an SSCG circuit. 電圧制御発振器に入力される発振器制御電圧と,発振器制御電圧に応じて電圧制御発振器が出力するクロックの周波数との関係を示す図である。It is a figure which shows the relationship between the oscillator control voltage input into a voltage controlled oscillator, and the frequency of the clock which a voltage controlled oscillator outputs according to an oscillator control voltage. 検出部の動作を説明する図である。It is a figure explaining operation | movement of a detection part. 検出部のブロック図の一例である。It is an example of the block diagram of a detection part. 検出部のブロック図の他の例である。It is another example of the block diagram of a detection part. 検出部の動作を説明する他の図である。It is another figure explaining operation | movement of a detection part. バス制御部のバス制御を説明する第1のフロー図である。FIG. 5 is a first flowchart illustrating bus control of a bus control unit. バス制御部のバス制御を説明する第2のフロー図である。FIG. 6 is a second flowchart illustrating bus control of the bus control unit. バス制御部のバス制御を説明するタイミングチャートである。It is a timing chart explaining the bus control of a bus control part. 図1で説明した基準電圧供給部のブロック図である。FIG. 2 is a block diagram of a reference voltage supply unit described in FIG. 電圧生成部のブロック図である。It is a block diagram of a voltage generation part. 電圧選択用テーブルの一例を示す図である。It is a figure which shows an example of the table for voltage selection.

図1は,本実施の形態の電子機器のブロック図である。電子機器Eの制御回路ユニット(第1の回路ユニット)1は,CPU,バスB1に対するバスインターフェイスなどを有する。なお,制御回路ユニット1は,メモリなどを有し,ユニット内のバスを介して,CPUとメモリとを接続してもよい。制御回路ユニット1は,第2の周波数を基準として周波数が変動する第1の周波数を有する第1のクロックに基づき動作する。第1のクロックは,例えばスペクトラム拡散クロックSSCGCLKである。   FIG. 1 is a block diagram of the electronic device of this embodiment. The control circuit unit (first circuit unit) 1 of the electronic device E has a CPU, a bus interface for the bus B1, and the like. Note that the control circuit unit 1 may include a memory and the like, and the CPU and the memory may be connected via a bus in the unit. The control circuit unit 1 operates based on a first clock having a first frequency that varies with respect to the second frequency. The first clock is, for example, a spread spectrum clock SSCGCLK.

周辺回路ユニット(第2の回路ユニット)2は,タイマ用の回路ユニットや,通信用の回路ユニットであり,バスB2に対するバスインターフェイスなどを有する。周辺回路ユニット2は,第2の周波数を有する第2のクロックに基づき動作する。第2のクロックは,例えばPLLクロックPLLCLKである。この場合,第2の周波数は,一定の周波数である。   The peripheral circuit unit (second circuit unit) 2 is a timer circuit unit or a communication circuit unit, and has a bus interface for the bus B2. The peripheral circuit unit 2 operates based on the second clock having the second frequency. The second clock is, for example, a PLL clock PLLCLK. In this case, the second frequency is a constant frequency.

バスB1は,制御回路ユニット1と,バス制御部4や基準電圧供給部6とを接続するバスである。バスB2は,周辺回路ユニット2とバスブリッジ部3とを接続するバスである。バスB3は,バスブリッジ部3とバス制御部4とを接続するバスである。すなわち,バスB1,B2,B3は,制御回路ユニット1と周辺回路ユニット2とを接続するバスである。   The bus B1 is a bus that connects the control circuit unit 1 to the bus control unit 4 and the reference voltage supply unit 6. The bus B2 is a bus that connects the peripheral circuit unit 2 and the bus bridge unit 3. The bus B3 is a bus that connects the bus bridge unit 3 and the bus control unit 4. That is, the buses B1, B2, and B3 are buses that connect the control circuit unit 1 and the peripheral circuit unit 2.

バスブリッジ部3は,制御回路ユニット1と周辺回路ユニット2との間のバス通信をブリッジする。   The bus bridge unit 3 bridges bus communication between the control circuit unit 1 and the peripheral circuit unit 2.

図2は,バスブリッジ部3のブロック図である。バスB21,B22は,バスB2に対応し,バスB31,バスB32はバスB3に対応する。   FIG. 2 is a block diagram of the bus bridge unit 3. Buses B21 and B22 correspond to bus B2, and buses B31 and B32 correspond to bus B3.

バスB31,B22は,制御回路ユニット1と周辺回路ユニット2との間で同期通信を実行する同期バスである。バスB31は,非同期ブリッジ部31の入力端子,セレクタ32の入力端子に接続する。また,バスB22は,非同期ブリッジ部33の入力端子,セレクタ34の入力端子に接続する。   The buses B31 and B22 are synchronous buses that execute synchronous communication between the control circuit unit 1 and the peripheral circuit unit 2. The bus B31 is connected to the input terminal of the asynchronous bridge unit 31 and the input terminal of the selector 32. The bus B22 is connected to the input terminal of the asynchronous bridge unit 33 and the input terminal of the selector 34.

非同期ブリッジ部31,33は,制御回路ユニット1と周辺回路ユニット2との間で非同期通信を実行するバスブリッジである。非同期ブリッジ部31の出力は,バスBN1を介してセレクタ32に入力される。非同期ブリッジ部33の出力は,バスBN2を介してセレクタ34に入力される。   The asynchronous bridge units 31 and 33 are bus bridges that execute asynchronous communication between the control circuit unit 1 and the peripheral circuit unit 2. The output of the asynchronous bridge unit 31 is input to the selector 32 via the bus BN1. The output of the asynchronous bridge unit 33 is input to the selector 34 via the bus BN2.

バスB31,非同期ブリッジ部31,バスBN1,セレクタ32,バスB21が,制御回路ユニット1から周辺回路ユニット2へのバス通信を実行する。一方,バスB22,非同期ブリッジ部33,バスBN2,セレクタ34,バスB32が,周辺回路ユニット2から制御回路ユニット1へのバス通信を実行する。   The bus B31, the asynchronous bridge unit 31, the bus BN1, the selector 32, and the bus B21 execute bus communication from the control circuit unit 1 to the peripheral circuit unit 2. On the other hand, the bus B22, the asynchronous bridge unit 33, the bus BN2, the selector 34, and the bus B32 execute bus communication from the peripheral circuit unit 2 to the control circuit unit 1.

セレクタ32は,バス制御部4から入力されたバス切り換え信号BCHGに基づき,同期バスB31からの入力と非同期ブリッジ部31の出力端子に接続するバスBN1からの入力の何れかを選択し,バスB21に出力する。すなわち,セレクタ32は,同期通信に切り換えるように指示するバス切り換え信号BCHGに応答して,同期バスB31からの入力をバスB21に出力する。また,セレクタ32は,非同期通信に切り換えるように指示するバス切り換え信号BCHGに応答して,非同期ブリッジ部31からの入力をバスB21に出力する。   The selector 32 selects either the input from the synchronous bus B31 or the input from the bus BN1 connected to the output terminal of the asynchronous bridge unit 31 based on the bus switching signal BCHG input from the bus control unit 4, and the bus B21 Output to. That is, the selector 32 outputs the input from the synchronous bus B31 to the bus B21 in response to the bus switching signal BCHG instructing to switch to synchronous communication. In addition, the selector 32 outputs the input from the asynchronous bridge unit 31 to the bus B21 in response to the bus switching signal BCHG instructing to switch to asynchronous communication.

セレクタ34は,バス切り換え信号BCHGに基づき,同期バスB22からの入力と非同期ブリッジ部33の出力端子に接続するバスBN2からの入力の何れかを選択し,バスB32に出力する。すなわち,セレクタ34は,同期通信に切り換えるように指示するバス切り換え信号BCHGに応答して,同期バスB22からの入力をバスB32に出力する。また,セレクタ34は,非同期通信に切り換えるように指示するバス切り換え信号BCHGに応答して,非同期ブリッジ部33からの入力をバスB32に出力する。   The selector 34 selects either the input from the synchronous bus B22 or the input from the bus BN2 connected to the output terminal of the asynchronous bridge unit 33 based on the bus switching signal BCHG, and outputs it to the bus B32. That is, the selector 34 outputs the input from the synchronous bus B22 to the bus B32 in response to the bus switching signal BCHG instructing to switch to synchronous communication. Further, the selector 34 outputs the input from the asynchronous bridge unit 33 to the bus B32 in response to the bus switching signal BCHG instructing to switch to asynchronous communication.

すなわち,バスブリッジ部3は,制御回路ユニット1と周辺回路ユニット2とが同期して動作している同期期間の場合に,制御回路ユニット1と周辺回路ユニット2との間で同期通信を行う同期バスB31,B22と,制御回路ユニット1と周辺回路ユニット2とが非同期で動作している非同期期間の場合に,制御回路ユニット1と周辺回路ユニット2との間で非同期通信を行う非同期ブリッジ部31,33とを有する。この同期期間は,スペクトラム拡散クロックSSCGCLKの周波数とPLLクロックPLLCLKの周波数との周波数差がPLLクロックPLLCLKの周波数を基準として所定範囲内にある期間である。この非同期期間は,スペクトラム拡散クロックSSCGCLKの周波数とPLLクロックPLLCLKの周波数との周波数差がPLLクロックPLLCLKの周波数を基準として所定範囲外にある期間である。   In other words, the bus bridge unit 3 performs synchronization communication between the control circuit unit 1 and the peripheral circuit unit 2 in a synchronization period in which the control circuit unit 1 and the peripheral circuit unit 2 operate in synchronization. Asynchronous bridge unit 31 that performs asynchronous communication between control circuit unit 1 and peripheral circuit unit 2 in the asynchronous period in which buses B31 and B22, control circuit unit 1 and peripheral circuit unit 2 operate asynchronously , 33. This synchronization period is a period in which the frequency difference between the frequency of the spread spectrum clock SSCGCLK and the frequency of the PLL clock PLLCLK is within a predetermined range with reference to the frequency of the PLL clock PLLCLK. This asynchronous period is a period in which the frequency difference between the frequency of the spread spectrum clock SSCGCLK and the frequency of the PLL clock PLLCLK is outside a predetermined range with reference to the frequency of the PLL clock PLLCLK.

図3は,非同期ブリッジ部31のブロック図である。なお,図3に示す非同期ブリッジ部は,一例であり,他にも様々な非同期ブリッジ部が提案されている。入力部311は,スペクトラム拡散クロックSSCGCLKに基づき動作し,バスB31から入力される制御コマンドやデータ(以下,通信データと記す)をバスB311を介して出力部312に入力する。出力部312は,PLLクロックPLLCLKに基づき動作し,バスB311から入力される通信データをバスBN1に出力する。   FIG. 3 is a block diagram of the asynchronous bridge unit 31. The asynchronous bridge unit shown in FIG. 3 is an example, and various other asynchronous bridge units have been proposed. The input unit 311 operates based on the spread spectrum clock SSCGCLK, and inputs control commands and data (hereinafter referred to as communication data) input from the bus B31 to the output unit 312 via the bus B311. The output unit 312 operates based on the PLL clock PLLCLK, and outputs communication data input from the bus B311 to the bus BN1.

非同期ブリッジ部31は,非同期通信に切り換えるように指示するバス切り換え信号BCHGがバス制御部4から入力されると,このバス切り換え信号BCHGに応答して起動する。そして,入力部311は,バスB31から入力される所定量の通信データをスペクトラム拡散クロックSSCGCLKの立ち上がりに同期してラッチする。また,出力部312は,入力部311にラッチしている通信データを出力部312に入力するように指示する旨を示す信号CS1を出力する。   When the bus switching signal BCHG instructing to switch to asynchronous communication is input from the bus control unit 4, the asynchronous bridge unit 31 is activated in response to the bus switching signal BCHG. The input unit 311 latches a predetermined amount of communication data input from the bus B31 in synchronization with the rising edge of the spread spectrum clock SSCGCLK. In addition, the output unit 312 outputs a signal CS1 indicating that the communication data latched in the input unit 311 is instructed to be input to the output unit 312.

入力部311は,この信号CS1に応答して,ラッチしている通信データを,スペクトラム拡散クロックSSCGCLKの立ち上がりに同期して出力部312に入力する。出力部312は,入力部311から入力された通信データをPLLクロックPLLCLKの立ち上がりに同期して取り込み,バスBN1に出力する。同時に,通信データの取り込みが成功した旨を示す信号CS1を入力部311に出力する。入力部311は,この信号CS1に応答して,バスB31から次の通信データを取り込みラッチする。このようにして,非同期ブリッジ部31は,非同期通信を実行する。なお,非同期ブリッジ部33も同様の構成を有する。   In response to this signal CS1, the input unit 311 inputs the latched communication data to the output unit 312 in synchronization with the rising edge of the spread spectrum clock SSCGCLK. The output unit 312 takes the communication data input from the input unit 311 in synchronization with the rising edge of the PLL clock PLLCLK, and outputs it to the bus BN1. At the same time, a signal CS1 indicating that the communication data has been successfully fetched is output to the input unit 311. In response to the signal CS1, the input unit 311 fetches and latches the next communication data from the bus B31. In this way, the asynchronous bridge unit 31 executes asynchronous communication. The asynchronous bridge unit 33 has the same configuration.

図1の説明に戻る。バス制御部4は,バスB1,バスB3,制御回路ユニット1,バスブリッジ部3に対する各種制御を実行する。例えば,バス制御部4は,制御回路ユニット1にバスB1に対する通信データの出力を一時停止するように指示するレディ信号RDYや,バスブリッジ部3に同期通信,非同期通信を切り換えるように指示するバス切り換え信号BCHGを出力する。   Returning to the description of FIG. The bus control unit 4 executes various controls for the bus B1, the bus B3, the control circuit unit 1, and the bus bridge unit 3. For example, the bus control unit 4 is a ready signal RDY that instructs the control circuit unit 1 to temporarily stop outputting communication data to the bus B1, or a bus that instructs the bus bridge unit 3 to switch between synchronous communication and asynchronous communication. Outputs switching signal BCHG.

検出部5は,例えば,スペクトラム拡散クロックSSCGCLKを生成するSSCG回路と,PLLクロックPLLCLKを生成するPLL回路とを有し,スペクトラム拡散クロックSSCGCLKの周波数とPLLクロックPLLCLKの周波数との周波数差が第1の所定範囲内か否かを検出する。なお,検出部5の内部にSSCG回路,PLL回路を設けず,検出部5の外部に設けてもよい。   The detection unit 5 includes, for example, an SSCG circuit that generates the spread spectrum clock SSCGCLK and a PLL circuit that generates the PLL clock PLLCLK, and the frequency difference between the frequency of the spread spectrum clock SSCGCLK and the frequency of the PLL clock PLLCLK is first. It is detected whether it is in the predetermined range. Note that the SSCG circuit and the PLL circuit may not be provided inside the detection unit 5, but may be provided outside the detection unit 5.

基準電圧供給部6は,検出部5に第1の基準電圧Vr1,第2の基準電圧Vr2を供給する。第1の基準電圧Vr1,第2の基準電圧Vr2については後述する。   The reference voltage supply unit 6 supplies the detection unit 5 with the first reference voltage Vr1 and the second reference voltage Vr2. The first reference voltage Vr1 and the second reference voltage Vr2 will be described later.

なお,信号線BC1は,制御回路ユニット1と,バス制御部4や基準電圧供給部6とがバスB1の制御信号を送受信するための信号線である。信号線BC2は,周辺回路ユニット2とバスブリッジ部3とがバスB2の制御信号を送受信するための信号線である。信号線BC3は,バスブリッジ部3とバス制御部4とがバスB3の制御信号を送受信するための信号線である。これら信号線BC1〜BC3の代わりに,バスB1〜B3を利用してもよい。また,制御回路ユニット1と検出部5とをバス,信号線を介して接続してもよい。   The signal line BC1 is a signal line for the control circuit unit 1, the bus control unit 4, and the reference voltage supply unit 6 to transmit and receive the control signal of the bus B1. The signal line BC2 is a signal line for the peripheral circuit unit 2 and the bus bridge unit 3 to transmit and receive the control signal of the bus B2. The signal line BC3 is a signal line for the bus bridge unit 3 and the bus control unit 4 to transmit and receive the control signal of the bus B3. Instead of these signal lines BC1 to BC3, buses B1 to B3 may be used. Further, the control circuit unit 1 and the detection unit 5 may be connected via a bus or a signal line.

図4は,PLLクロックPLLCLKの周波数およびスペクトラム拡散クロックSSCGCLKの周波数の時間変化を示す図である。縦軸は周波数を示し,横軸は時間を示す。符号PFは,PLLクロックPLLCLKの周波数を示し,一定である。符号SSFは,スペクトラム拡散クロックSSCGCLKの周波数を示す。スペクトラム拡散クロックSSCGCLKの周波数SSFはPLLクロックPLLCLKの周波数PFを中心に変動し,その形状は三角波の形状である。すなわち,スペクトラム拡散クロックSSCGCLKの周波数SSFはPLLクロックPLLCLKの周波数PFを所定の変調周波数に基づき三角変調されたものである。この変調周波数は,初期設定では例えば4KHzである。   FIG. 4 is a diagram showing temporal changes in the frequency of the PLL clock PLLCLK and the frequency of the spread spectrum clock SSCGCLK. The vertical axis represents frequency and the horizontal axis represents time. The symbol PF indicates the frequency of the PLL clock PLLCLK and is constant. Symbol SSF indicates the frequency of the spread spectrum clock SSCGCLK. The frequency SSF of the spread spectrum clock SSCGCLK varies around the frequency PF of the PLL clock PLLCLK, and its shape is a triangular wave shape. That is, the frequency SSF of the spread spectrum clock SSCGCLK is obtained by subjecting the frequency PF of the PLL clock PLLCLK to triangular modulation based on a predetermined modulation frequency. This modulation frequency is, for example, 4 KHz by default.

符号P0で示す時間では,周波数SSFと周波数PFとが一致し,スペクトラム拡散クロックSSCGCLKの立ち上がりタイミングと,PLLクロックPLLCLKの立ち上がりタイミングが一致する。符号P1で示す期間は,スペクトラム拡散クロックSSCGCLKの変調周波数の逆数であり変調周期を示す。この変調周期は,例えば250μsecである。   At the time indicated by the symbol P0, the frequency SSF and the frequency PF coincide with each other, and the rising timing of the spread spectrum clock SSCGCLK coincides with the rising timing of the PLL clock PLLCLK. The period indicated by the symbol P1 is the reciprocal of the modulation frequency of the spread spectrum clock SSCGCLK and indicates the modulation period. This modulation period is, for example, 250 μsec.

図1の検出部5は,周波数SSFと周波数PFとの周波数差DFが所定範囲RF内か否かを検出する。すなわち,検出部5は,周波数SSFと周波数PFとの周波数差DFが,周波数PFを基準として所定範囲RF内か否かを検出する。所定範囲RFの最小値を符号RF1で示し,所定範囲RFの最大値を符号RF2で示す。所定範囲RFは第1の所定範囲である。   The detection unit 5 in FIG. 1 detects whether or not the frequency difference DF between the frequency SSF and the frequency PF is within a predetermined range RF. That is, the detection unit 5 detects whether or not the frequency difference DF between the frequency SSF and the frequency PF is within a predetermined range RF with respect to the frequency PF. The minimum value of the predetermined range RF is indicated by a symbol RF1, and the maximum value of the predetermined range RF is indicated by a symbol RF2. The predetermined range RF is a first predetermined range.

周波数SSFと周波数PFとの周波数差DFが所定範囲RF内にある期間では,周波数SSFを有するスペクトラム拡散クロックSSCGCLKに基づき動作する制御回路ユニット1と,周波数PFを有するPLLクロックPLLCLKに基づき動作する周辺回路ユニット2とが同期して動作している同期期間と見なす。この同期期間は,時間T0〜T1,時間T2〜T3で示す期間である。   During the period in which the frequency difference DF between the frequency SSF and the frequency PF is within the predetermined range RF, the control circuit unit 1 that operates based on the spread spectrum clock SSCGCLK having the frequency SSF and the peripheral that operates based on the PLL clock PLLCLK having the frequency PF This is regarded as a synchronization period in which the circuit unit 2 operates synchronously. This synchronization period is a period indicated by time T0 to T1 and time T2 to T3.

検出部5は,同期期間においてはその旨を示す信号CDをバス制御部4に出力する。バス制御部4は,この信号CDに応答して,同期通信に切り換えるように指示するバス切り換え信号BCHGをバスブリッジ部3に出力する。バスブリッジ部3は,このバス切り換え信号BCHGに応答して,図2で説明したように,同期通信を実行する。   The detection unit 5 outputs a signal CD indicating that to the bus control unit 4 during the synchronization period. In response to this signal CD, the bus control unit 4 outputs to the bus bridge unit 3 a bus switching signal BCHG instructing switching to synchronous communication. In response to the bus switching signal BCHG, the bus bridge unit 3 executes synchronous communication as described with reference to FIG.

一方,周波数SSFと周波数PFとの周波数差DFが所定範囲RF外にある期間では,制御回路ユニット1と,周辺回路ユニット2とが非同期で動作している非同期期間と見なす。この非同期期間は,時間T1〜T2,時間T3〜T4で示す期間である。   On the other hand, the period in which the frequency difference DF between the frequency SSF and the frequency PF is outside the predetermined range RF is regarded as an asynchronous period in which the control circuit unit 1 and the peripheral circuit unit 2 operate asynchronously. This asynchronous period is a period indicated by times T1 to T2 and times T3 to T4.

検出部5は,非同期期間においてはその旨を示す信号CDをバス制御部4に出力する。バス制御部4は,この信号CDに応答して,非同期通信に切り換えるように指示するバス切り換え信号BCHGをバスブリッジ部3に出力する。バスブリッジ部3は,このバス切り換え信号BCHGに応答して,図2で説明したように,非同期通信を実行する。   The detection unit 5 outputs a signal CD indicating that to the bus control unit 4 during the asynchronous period. In response to this signal CD, the bus control unit 4 outputs to the bus bridge unit 3 a bus switching signal BCHG instructing switching to asynchronous communication. In response to the bus switching signal BCHG, the bus bridge unit 3 executes asynchronous communication as described with reference to FIG.

本実施の形態によれば,バスブリッジ部3は,非同期期間においては制御回路ユニット1と周辺回路ユニット2との間で非同期通信を実行し,同期期間においては制御回路ユニット1と周辺回路ユニット2との間で同期通信を実行することができる。   According to the present embodiment, the bus bridge unit 3 performs asynchronous communication between the control circuit unit 1 and the peripheral circuit unit 2 during the asynchronous period, and the control circuit unit 1 and the peripheral circuit unit 2 during the synchronous period. Synchronous communication can be executed with

図4の符号P1で示した変調周期において,制御回路ユニット1と周辺回路ユニット2との通信を非同期通信で行う場合を想定する。ここで,1コマンドが1クロックであるとする。この場合,PLLクロックPLCKLの周波数を80MHz,変調周波数を4KHzとすると,スペクトラム拡散クロックSSCGCLKのクロック数は約20,000クロックである。そして,非同期通信を行う場合,バスに対する1アクセスに要する待ち時間(ウェイトクロック数)は10クロック程度ある。従って,変調周期P1においては,制御回路ユニット1は,バスB1に対して約2000回のアクセスが可能である。   Assume that communication between the control circuit unit 1 and the peripheral circuit unit 2 is performed by asynchronous communication in the modulation cycle indicated by the symbol P1 in FIG. Here, it is assumed that one command is one clock. In this case, assuming that the frequency of the PLL clock PLCCK is 80 MHz and the modulation frequency is 4 KHz, the number of spread spectrum clock SSCGCLK is about 20,000. When asynchronous communication is performed, the waiting time (number of wait clocks) required for one access to the bus is about 10 clocks. Therefore, in the modulation period P1, the control circuit unit 1 can access the bus B1 about 2000 times.

一方,本実施の形態の電子機器Eにより,変調期間P1において,制御回路ユニット1と周辺回路ユニット2との通信を,変調期間P1の1/3を同期通信,変調期間P1の2/3を非同期通信で行う場合を想定する。この場合,前述の例では,制御回路ユニット1は,同期通信を行う同期期間において6666アクセス(20000/3),非同期通信を行う非同期期間において1333アクセス(20000-6666)/10))がバスB1に対して可能である。すなわち,制御回路ユニット1は,変調期間P1において,合計7999回のアクセスがバスB1に対して可能である。なお,非同期通信と同期通信とを切り換える時間については含めていない。   On the other hand, in the modulation period P1, the electronic device E according to the present embodiment performs communication between the control circuit unit 1 and the peripheral circuit unit 2, synchronous communication is performed for 1/3 of the modulation period P1, and 2/3 of the modulation period P1. Assume the case of asynchronous communication. In this case, in the above-described example, the control circuit unit 1 receives the 6666 access (20000/3) in the synchronous period for performing synchronous communication and the 1333 access (20000-6666) / 10)) in the asynchronous period for performing asynchronous communication. Is possible. That is, the control circuit unit 1 can access the bus B1 a total of 7,999 times during the modulation period P1. The time for switching between asynchronous communication and synchronous communication is not included.

このように,本実施の形態の電子機器Eによれば,非同期通信のみでバス通信を行う場合と比べて,制御回路ユニット1と周辺回路ユニット2との間で単位時間当たり約4倍(7999/2000)のデータ通信が可能になる。その結果,本実施の形態の電子機器Eは,クロック乗り換え処理によるデータ通信のレイテンシを小さくし,単位時間当たりのデータ通信量の低下を防止することができる。   Thus, according to the electronic device E of the present embodiment, the control circuit unit 1 and the peripheral circuit unit 2 are about four times per unit time (7999) as compared with the case where the bus communication is performed only by asynchronous communication. / 2000) data communication. As a result, the electronic device E according to the present embodiment can reduce the latency of data communication due to the clock transfer process, and can prevent a decrease in the amount of data communication per unit time.

次に,検出部5が,スペクトラム拡散クロックSSCGCLKの周波数SSFとPLLクロックPLLCLKの周波数PFとの周波数差DFが所定範囲RF内か否かを検出する方法の一例について説明する。   Next, an example of a method in which the detection unit 5 detects whether the frequency difference DF between the frequency SSF of the spread spectrum clock SSCGCLK and the frequency PF of the PLL clock PLLCLK is within a predetermined range RF will be described.

図5は,PLL回路(第2のクロック生成回路)のブロック図である。PLL回路7は,基準クロックRCLKと,PLLクロックPLLCLKをN×P分周したクロックNPPCLK(フィードバッククロックとも言う)との位相差が小さくなるように,PLLクロックPLLCLKの位相を制御する。PLL回路7は,この制御により,基準クロックRCLKと同じ位相で,基準クロックRCLKを周波数逓倍したPLLクロックPLLCLKを出力する。すなわち,PLL回路7は,一定の周波数にロックしたPLLクロックPLLCLKを出力する。   FIG. 5 is a block diagram of the PLL circuit (second clock generation circuit). The PLL circuit 7 controls the phase of the PLL clock PLLCLK so that the phase difference between the reference clock RCLK and the clock NPPCLK (also referred to as a feedback clock) obtained by dividing the PLL clock PLLCLK by N × P is small. Under this control, the PLL circuit 7 outputs a PLL clock PLLCLK obtained by multiplying the frequency of the reference clock RCLK with the same phase as the reference clock RCLK. That is, the PLL circuit 7 outputs the PLL clock PLLCLK locked to a constant frequency.

PLL回路7の位相比較器(PFD:Phase Frequency Detector)71は,基準クロックRCLKと1/N分周器76の出力クロックNPPCLKとの位相差を比較し,位相差に応じた位相差信号PHSを生成し,チャージポンプ72に出力する。   The phase comparator (PFD: Phase Frequency Detector) 71 of the PLL circuit 7 compares the phase difference between the reference clock RCLK and the output clock NPPCLK of the 1 / N frequency divider 76, and generates a phase difference signal PHS corresponding to the phase difference. It is generated and output to the charge pump 72.

チャージポンプ72は,位相差信号PHSに応じてLPF73のキャパシタ(図示しない)に電荷を供給し,または,位相差信号PHSに応じてLPF73のキャパシタから電荷を引き抜く。   The charge pump 72 supplies charges to a capacitor (not shown) of the LPF 73 according to the phase difference signal PHS, or extracts charges from the capacitor of the LPF 73 according to the phase difference signal PHS.

LPF(Low Pass Filter)73は,キャパシタを有し,キャパシタに蓄積された電荷により生じた電圧を発振器制御電圧Vp(第2の発振器制御電圧)として電圧制御発振器74に出力する。また,LPF73は,発振器制御電圧Vpを図9に示す電圧差検出部51に出力する。   An LPF (Low Pass Filter) 73 has a capacitor, and outputs a voltage generated by the electric charge accumulated in the capacitor to the voltage controlled oscillator 74 as an oscillator control voltage Vp (second oscillator control voltage). Also, the LPF 73 outputs the oscillator control voltage Vp to the voltage difference detection unit 51 shown in FIG.

電圧制御発振器(VCO:Voltage Controlled Oscillator)74は,発振器制御電圧Vpに応じてPLLクロックPLLCLKを生成する。電圧制御発振器74は,例えば,発振器制御電圧Vpの増加に比例して周波数が高くなるPLLクロックPLLCLKを生成する。   A voltage controlled oscillator (VCO) 74 generates a PLL clock PLLCLK according to the oscillator control voltage Vp. For example, the voltage controlled oscillator 74 generates a PLL clock PLLCLK whose frequency increases in proportion to an increase in the oscillator control voltage Vp.

1/P分周器75は,PLLクロックPLLCLKをP分の1に分周したクロックPPCLKを生成し,1/N分周器76に出力する。   The 1 / P divider 75 generates a clock PPCLK obtained by dividing the PLL clock PLLCLK by 1 / P and outputs the clock PPCLK to the 1 / N divider 76.

1/N分周器76は,クロックPPCLKをN分の1に分周したNPPCLKを生成し,位相比較器71に出力する。   The 1 / N divider 76 generates NPPCLK obtained by dividing the clock PPCLK by 1 / N and outputs the generated NPPCLK to the phase comparator 71.

すなわち,PLL回路7は,発振器制御電圧Vpに応じて第2のクロック(PLLクロック)を生成する電圧制御発振器74を有する第2の位相同期回路である。   That is, the PLL circuit 7 is a second phase locked loop circuit having a voltage controlled oscillator 74 that generates a second clock (PLL clock) according to the oscillator control voltage Vp.

図6は,SSCG回路(第1のクロック生成回路)のブロック図である。   FIG. 6 is a block diagram of the SSCG circuit (first clock generation circuit).

SSCG回路8の位相比較器81,チャージポンプ82,LPF83,電圧制御発振器84,1/P分周器85は,図2の位相比較器71,チャージポンプ72,LPF73,電圧制御発振器74,1/P分周器75と同機能を有する。LPF83は,発振器制御電圧Vs(第1の発振器制御電圧)を電圧制御発振器84に出力する。また,LPF83は,発振器制御電圧Vsを図9に示す電圧差検出部51,または,図10に示すバイアス電圧生成部55に出力する。   The phase comparator 81, charge pump 82, LPF 83, voltage controlled oscillator 84, 1 / P frequency divider 85 of the SSCG circuit 8 are the same as the phase comparator 71, charge pump 72, LPF 73, voltage controlled oscillator 74, 1 / P in FIG. It has the same function as the P divider 75. The LPF 83 outputs the oscillator control voltage Vs (first oscillator control voltage) to the voltage controlled oscillator 84. Further, the LPF 83 outputs the oscillator control voltage Vs to the voltage difference detection unit 51 shown in FIG. 9 or the bias voltage generation unit 55 shown in FIG.

電圧制御発振器84は,発振器制御電圧Vsに応じてスペクトラム拡散クロックSSCGCLKを生成する。1/P分周器85は,スペクトラム拡散クロックSSCGCLKをP分の1に分周したクロックPPCLKを生成し,N分周_変調器86に出力する。   The voltage controlled oscillator 84 generates a spread spectrum clock SSCGCLK according to the oscillator control voltage Vs. The 1 / P divider 85 generates a clock PPCLK obtained by dividing the spread spectrum clock SSCGCLK by 1 / P and outputs the clock PPCLK to the N divider / modulator 86.

N分周_変調器86は,クロックPPCLKをN分の1に分周したクロックNPPCLKを生成する際に,例えばこの分周比を微少変動させてスペクトラム拡散クロックSSCGCLKの周波数を変調(変動)させる。なお,スペクトラム拡散クロックSSCGCLKの周波数を変調させるために,例えば,発振器制御電圧Vsを微少変動させてもよい。 また,電圧制御発振器84が,スペクトラム拡散クロックSSCGCLKを生成する際に,このスペクトラム拡散クロックSSCGCLKの周波数を変調してもよい。   The N-divider_modulator 86 modulates (changes) the frequency of the spread spectrum clock SSCGCLK by, for example, slightly changing this division ratio when generating the clock NPPCLK obtained by dividing the clock PPCLK by 1 / N. . For example, the oscillator control voltage Vs may be slightly changed in order to modulate the frequency of the spread spectrum clock SSCGCLK. Further, when the voltage controlled oscillator 84 generates the spread spectrum clock SSCGCLK, the frequency of the spread spectrum clock SSCGCLK may be modulated.

すなわち,SSCG回路8は,発振器制御電圧Vsに応じて第1のクロック(スペクトラム拡散クロック)を生成する電圧制御発振器84と,スペクトラム拡散クロックの周波数がPLLクロックPCLKの周波数を基準にして変動するように変調を行う変調器86とを有する第1の位相同期回路である。このとき,変調器は,PLLクロックPCLKの周波数を中心にして,スペクトラム拡散クロックSSCGCLKの周波数を変動させることが好ましい。   That is, the SSCG circuit 8 has a voltage controlled oscillator 84 that generates the first clock (spread spectrum clock) according to the oscillator control voltage Vs, and the frequency of the spread spectrum clock varies with reference to the frequency of the PLL clock PCLK. 1 is a first phase locked loop circuit having a modulator 86 for performing modulation. At this time, the modulator preferably varies the frequency of the spread spectrum clock SSCGCLK around the frequency of the PLL clock PCLK.

図7は,電圧制御発振器に入力される発振器制御電圧と,発振器制御電圧に応じて電圧制御発振器が出力するクロックの周波数との関係を示す図である。縦軸はクロックの周波数を示し,横軸は発振器制御電圧VCOを示す。図7に示すように,発振器制御電圧と電圧制御発振器が出力するクロックの周波数とは比例関係にある。   FIG. 7 is a diagram showing the relationship between the oscillator control voltage input to the voltage controlled oscillator and the frequency of the clock output from the voltage controlled oscillator according to the oscillator control voltage. The vertical axis represents the clock frequency, and the horizontal axis represents the oscillator control voltage VCO. As shown in FIG. 7, the oscillator control voltage is proportional to the frequency of the clock output from the voltage controlled oscillator.

図7によれば,PLL回路7のPLLクロックPLLCLKの周波数が例えば320MHZでロックされた場合,PLL回路7の電圧制御発振器74に入力される発振器制御電圧Vpは7mvとなる。また,SSCG回路8のスペクトラム拡散クロックSSCGCLKの周波数が,PLLクロックPLLCLKの周波数320MHZを基準にして304MHZ〜336MHZの範囲で変動するとする。この範囲に対応する,SSCG回路8の電圧制御発振器84に入力される発振器制御電圧Vsは,符号P2に示す範囲の電圧である。また,図4に示した所定範囲RFに対応する発振器制御電圧の範囲は,符号RVに示す範囲の電圧である。   According to FIG. 7, when the frequency of the PLL clock PLLCLK of the PLL circuit 7 is locked at 320 MHz, for example, the oscillator control voltage Vp input to the voltage controlled oscillator 74 of the PLL circuit 7 is 7 mV. Further, it is assumed that the frequency of the spread spectrum clock SSCGCLK of the SSCG circuit 8 varies in the range of 304 MHz to 336 MHz with reference to the frequency 320 MHz of the PLL clock PLLCLK. The oscillator control voltage Vs input to the voltage controlled oscillator 84 of the SSCG circuit 8 corresponding to this range is a voltage in the range indicated by the symbol P2. Further, the range of the oscillator control voltage corresponding to the predetermined range RF shown in FIG. 4 is a voltage in the range indicated by the symbol RV.

すなわち,発振器制御電圧が一意に定まれば,クロックの周波数も一意に定まる。そのため,検出部5は,例えば,発振器制御電圧Vsと発振器制御電圧Vpとの電圧差が所定の範囲内か否かを検出することにより,スペクトラム拡散クロックSSCGCLKの周波数SSFとPLLクロックPLLCLKの周波数PFとの周波数差DFが所定範囲RF内か否かを検出できる。   That is, if the oscillator control voltage is uniquely determined, the clock frequency is also uniquely determined. Therefore, the detection unit 5 detects, for example, whether or not the voltage difference between the oscillator control voltage Vs and the oscillator control voltage Vp is within a predetermined range, thereby detecting the frequency SSF of the spread spectrum clock SSCGCLK and the frequency PF of the PLL clock PLLCLK. It is possible to detect whether or not the frequency difference DF is within a predetermined range RF.

図8は,検出部5の動作を説明する図である。図8(A)は,発振器制御電圧Vp,発振器制御電圧Vsの時間変化を示す図であり,縦軸は電圧を示し,横軸は時間を示す。符号RVは,図4で説明した所定範囲RFに対応する第2の所定範囲RVの電圧を示す。所定範囲RVの最小値は(発振器制御電圧Vp-基準電圧Vr1)であり,所定範囲RVの最大値は(発振器制御電圧Vp+基準電圧Vr2)である。符号Vd,Vd’は,発振器制御電圧Vsと発振器制御電圧Vpとの電圧差を示す。なお,符号P3で示す時間では,発振器制御電圧Vpと発振器制御電圧Vsとが一致,すなわち,図4で説明したようにスペクトラム拡散クロックSSCGCLKの周波数SSFとPLLクロックPLLCLKの周波数PFとが一致する。   FIG. 8 is a diagram for explaining the operation of the detection unit 5. FIG. 8 (A) is a diagram showing the time change of the oscillator control voltage Vp and the oscillator control voltage Vs, with the vertical axis indicating voltage and the horizontal axis indicating time. Symbol RV indicates a voltage in the second predetermined range RV corresponding to the predetermined range RF described in FIG. The minimum value of the predetermined range RV is (oscillator control voltage Vp−reference voltage Vr1), and the maximum value of the predetermined range RV is (oscillator control voltage Vp + reference voltage Vr2). Symbols Vd and Vd ′ indicate a voltage difference between the oscillator control voltage Vs and the oscillator control voltage Vp. Note that, at the time indicated by the symbol P3, the oscillator control voltage Vp and the oscillator control voltage Vs match, that is, the frequency SSF of the spread spectrum clock SSCGCLK and the frequency PF of the PLL clock PLLCLK match as described with reference to FIG.

図8(B)は,検出部5が出力する信号CDを示す図である。   FIG. 8 (B) is a diagram showing a signal CD output from the detection unit 5.

図9は,検出部5のブロック図の一例である。   FIG. 9 is an example of a block diagram of the detection unit 5.

電圧差検出部51は,図5に示したPLL回路7のLPF73から入力される発振器制御電圧Vpと図6に示したSSCG回路8のLPF83から入力される発振器制御電圧Vsとの電圧差を検出する。ここでは,発振器制御電圧Vs-発振器制御電圧Vpを電圧差Vdとして検出し,発振器制御電圧Vp-発振器制御電圧Vsを電圧差Vd’として検出する。そして,電圧差検出部51は,電圧差Vdを比較器52の非反転入力端子(+端子)に入力し,電圧差Vd’を比較器53の非反転入力端子に入力する。   The voltage difference detector 51 detects the voltage difference between the oscillator control voltage Vp input from the LPF 73 of the PLL circuit 7 shown in FIG. 5 and the oscillator control voltage Vs input from the LPF 83 of the SSCG circuit 8 shown in FIG. To do. Here, the oscillator control voltage Vs−the oscillator control voltage Vp is detected as a voltage difference Vd, and the oscillator control voltage Vp−the oscillator control voltage Vs is detected as a voltage difference Vd ′. The voltage difference detection unit 51 inputs the voltage difference Vd to the non-inverting input terminal (+ terminal) of the comparator 52 and inputs the voltage difference Vd ′ to the non-inverting input terminal of the comparator 53.

比較器52は,非反転入力端子に入力された電圧差Vdと反転入力端子(-端子)に入力された基準電圧Vr2とを比較し比較結果信号CMP1をOR回路54に入力する。比較器53は,反転入力端子に入力された基準電圧Vr1と非反転入力端子に入力された電圧差Vd’とを比較し比較結果信号CMP2をOR回路54に入力する。   The comparator 52 compares the voltage difference Vd input to the non-inverting input terminal with the reference voltage Vr2 input to the inverting input terminal (− terminal), and inputs the comparison result signal CMP1 to the OR circuit 54. The comparator 53 compares the reference voltage Vr1 input to the inverting input terminal with the voltage difference Vd ′ input to the non-inverting input terminal, and inputs the comparison result signal CMP2 to the OR circuit 54.

OR回路54は,比較結果信号CMP1と比較結果信号CMP2との論理和をとり,信号CDをバス制御部4に出力する。   The OR circuit 54 calculates the logical sum of the comparison result signal CMP1 and the comparison result signal CMP2 and outputs the signal CD to the bus control unit 4.

検出部5は,発振器制御電圧Vsが発振器制御電圧Vpを基準として所定範囲RV内であれば,すなわち,電圧差Vd,電圧差Vd’が所定範囲RV内であれば,ローレベルの信号CDをバス制御部4に出力する。検出部5がローレベルの信号CDを出力する期間は,時間T0〜T1,時間T2〜T3で示す期間であり,この期間は同期期間である。一方,検出部5は,発振器制御電圧Vsが所定範囲RV外であれば,すなわち,電圧差Vd,電圧差Vd’が所定範囲RV外であれば,ハイレベルの信号CDをバス制御部4に出力する。検出部5がハイレベルの信号CDを出力する期間は,時間T1〜T2,時間T3〜T4で示す期間であり,この期間は非同期期間である。   If the oscillator control voltage Vs is within the predetermined range RV with respect to the oscillator control voltage Vp, that is, if the voltage difference Vd and the voltage difference Vd ′ are within the predetermined range RV, the detection unit 5 outputs the low level signal CD. Output to the bus control unit 4. The period during which the detection unit 5 outputs the low level signal CD is a period indicated by time T0 to T1 and time T2 to T3, and this period is a synchronization period. On the other hand, if the oscillator control voltage Vs is outside the predetermined range RV, that is, if the voltage difference Vd and the voltage difference Vd ′ are outside the predetermined range RV, the detection unit 5 sends the high level signal CD to the bus control unit 4. Output. The period during which the detection unit 5 outputs the high-level signal CD is a period indicated by time T1 to T2 and time T3 to T4, and this period is an asynchronous period.

なお,比較器52,53のオフセット電圧は1mv程度である。また,例えば,PLLクロックPLLCLKの周波数を基準に±5%の範囲で変調して,スペクトラム拡散クロックSSCGCLKを生成する場合,発振器制御電圧Vsの変動幅は10mv程度である。   The offset voltage of the comparators 52 and 53 is about 1 mv. For example, when the spectrum spread clock SSCGCLK is generated by modulating the frequency of the PLL clock PLLCLK within a range of ± 5%, the fluctuation range of the oscillator control voltage Vs is about 10 mV.

従って,比較器52,53は,それぞれ前記の比較結果信号CMP1,CMP2の出力が可能である。   Therefore, the comparators 52 and 53 can output the comparison result signals CMP1 and CMP2, respectively.

図10は,検出部5のブロック図の他の例である。   FIG. 10 is another example of a block diagram of the detection unit 5.

バイアス電圧生成部55は,図6に示したSSCG回路8のLPF83から入力される発振器制御電圧Vsの直流成分をカットするキャパシタCと,直流成分がカットされた発振器制御電圧Vsに印加するバイアス電圧Vbを生成するバイアス電圧生成回路55aとを有する。このバイアス電圧Vbは,図5の発振器制御電圧Vpに対応する電圧である。   The bias voltage generation unit 55 includes a capacitor C that cuts the DC component of the oscillator control voltage Vs input from the LPF 83 of the SSCG circuit 8 shown in FIG. 6, and a bias voltage that is applied to the oscillator control voltage Vs from which the DC component has been cut. And a bias voltage generation circuit 55a for generating Vb. This bias voltage Vb is a voltage corresponding to the oscillator control voltage Vp in FIG.

バイアス電圧生成部55は,バイアス電圧Vbが印加された発振器制御電圧Vs’を,図9で説明したように,比較器52の非反転入力端子,および,比較器53の反転入力端子に入力する。   The bias voltage generation unit 55 inputs the oscillator control voltage Vs ′ to which the bias voltage Vb is applied to the non-inverting input terminal of the comparator 52 and the inverting input terminal of the comparator 53 as described with reference to FIG. .

図11は,検出部5の動作を説明する他の図である。図11(A)は,発振器制御電圧Vs’の時間変化を示す図であり,縦軸は電圧を示し,横軸は時間を示す。符号Vbはバイアス電圧を示す。図11(B)は,検出部5が出力する信号CDを示す図である。   FIG. 11 is another diagram for explaining the operation of the detection unit 5. FIG. 11 (A) is a diagram showing the time change of the oscillator control voltage Vs ′, the vertical axis shows the voltage, and the horizontal axis shows the time. Symbol Vb indicates a bias voltage. FIG. 11 (B) is a diagram showing a signal CD output by the detection unit 5.

検出部5は,発振器制御電圧Vs’がバイアス電圧Vbを基準として所定範囲RV内であれば(Vr1≦発振器制御電圧Vs’≦Vr2),すなわち,発振器制御電圧Vs’とバイアス電圧Vbとの電圧差が所定範囲RV内であれば,ローレベルの信号CDをバス制御部4に出力する。検出部5がローレベルの信号CDを出力する期間は,時間T0〜T1,時間T2〜T3で示す期間である。   If the oscillator control voltage Vs ′ is within a predetermined range RV with respect to the bias voltage Vb (Vr1 ≦ oscillator control voltage Vs ′ ≦ Vr2), that is, the voltage between the oscillator control voltage Vs ′ and the bias voltage Vb is detected. If the difference is within the predetermined range RV, a low level signal CD is output to the bus control unit 4. The period during which the detection unit 5 outputs the low-level signal CD is a period indicated by times T0 to T1 and times T2 to T3.

一方,検出部5は,発振器制御電圧Vs’がバイアス電圧Vbを基準として所定範囲RV外であれば(発振器制御電圧Vs’>Vr2,または,発振器制御電圧Vs’<Vr1),すなわち,発振器制御電圧Vs’とバイアス電圧Vbとの電圧差が所定範囲RV外であれば,ハイレベルの信号CDをバス制御部4に出力する。検出部5がハイレベルの信号CDを出力する期間は,時間T1〜T2,時間T3〜T4で示す期間である。   On the other hand, if the oscillator control voltage Vs ′ is outside the predetermined range RV with reference to the bias voltage Vb (the oscillator control voltage Vs ′> Vr2, or the oscillator control voltage Vs ′ <Vr1), that is, the oscillator control If the voltage difference between the voltage Vs ′ and the bias voltage Vb is outside the predetermined range RV, a high level signal CD is output to the bus control unit 4. The period during which the detection unit 5 outputs the high-level signal CD is a period indicated by time T1 to T2 and time T3 to T4.

バス制御部4は,検出部5から入力された信号CDのレベル変化に応じて,バスブリッジ部3に,同期通信,非同期通信を切り換えるように指示するバス切り換え信号BCHGをバスブリッジ部3に出力する。すなわち,信号CDが立ち下がると,バス制御部4は,この信号の立ち下がりに応答し,同期通信に切り換えるように指示するバス切り換え信号BCHGをバスブリッジ部3に出力する。信号CDが立ち上がると,バス制御部4は,この信号の立ち上がりに応答し,非同期通信に切り換えるように指示するバス切り換え信号BCHGをバスブリッジ部3に出力する。   The bus control unit 4 outputs a bus switching signal BCHG to the bus bridge unit 3 instructing the bus bridge unit 3 to switch between synchronous communication and asynchronous communication according to the level change of the signal CD input from the detection unit 5. To do. That is, when the signal CD falls, the bus control unit 4 outputs a bus switching signal BCHG instructing to switch to synchronous communication to the bus bridge unit 3 in response to the falling of this signal. When the signal CD rises, the bus control unit 4 responds to the rise of this signal and outputs a bus switching signal BCHG to the bus bridge unit 3 instructing switching to asynchronous communication.

バス制御部4のバス制御について,図12〜図14を用いて説明する。なお,以下の説明では,信号CDが立ち上がる場合,すなわち,バスブリッジ部3が,同期通信から非同期通信に切り換える場合を説明する。なお,信号CDが立ち下がる場合には,バスブリッジ部3は,図3で説明したように,非同期通信から同期通信に切り換える。   The bus control of the bus control unit 4 will be described with reference to FIGS. In the following description, a case where the signal CD rises, that is, a case where the bus bridge unit 3 switches from synchronous communication to asynchronous communication will be described. When the signal CD falls, the bus bridge unit 3 switches from asynchronous communication to synchronous communication as described in FIG.

図12は,バス制御部4のバス制御を説明する第1のフロー図,図13は,バス制御部4のバス制御を説明する第2のフロー図である。   FIG. 12 is a first flowchart for explaining the bus control of the bus control unit 4, and FIG. 13 is a second flowchart for explaining the bus control of the bus control unit 4.

図14は,バス制御部4のバス制御を説明するタイミングチャートである。図14(A)〜図14(C)は,それぞれ,上から順にスペクトラム拡散クロックSSCGCLKの波形,バスアクセスデータ,切り換え指示信号CD,レディ信号RDYの波形,バス切り換えタイミングを示す。   FIG. 14 is a timing chart for explaining the bus control of the bus control unit 4. FIG. 14A to FIG. 14C show the waveform of the spread spectrum clock SSCGCLK, the bus access data, the switching instruction signal CD, the waveform of the ready signal RDY, and the bus switching timing, respectively, from the top.

図12のステップS1:検出部5から入力される信号CDが立ち上がると,バス制御部4は,制御回路ユニット1がバスB1にアクセスしデータ送信を実行しているか否かを判定する。すなわち,バス制御部4は,バスB1に対するバスアクセスが有るか否かを判定する。   Step S1 in FIG. 12: When the signal CD input from the detection unit 5 rises, the bus control unit 4 determines whether the control circuit unit 1 accesses the bus B1 and executes data transmission. That is, the bus control unit 4 determines whether or not there is bus access to the bus B1.

バス制御部4が,バスアクセス無しと判定した場合(ステップS1/NO),ステップS2に移る。   When the bus control unit 4 determines that there is no bus access (step S1 / NO), the process proceeds to step S2.

ステップS2:バス制御部4は,バスブリッジ部3に,非同期通信に切り換えるように指示するバス切り換え信号BCHGを出力し,バスの切り替えを開始させる。バスブリッジ部3は,このバス切り換え信号BCHGに応答して,非同期ブリッジ部31,33を動作させて,非同期通信を実行する。   Step S2: The bus control unit 4 outputs a bus switching signal BCHG instructing the bus bridge unit 3 to switch to asynchronous communication, and starts switching of the bus. In response to the bus switching signal BCHG, the bus bridge unit 3 operates the asynchronous bridge units 31 and 33 to execute asynchronous communication.

バス制御部4が,バスアクセス有りと判定した場合(ステップS1/NO),ステップS3に移る。   When the bus control unit 4 determines that there is bus access (step S1 / NO), the process proceeds to step S3.

ステップS3:バス制御部4は,バスブリッジ部3が,非同期通信,同期通信の切り換え処理を実行中か,すなわちバスを切り換え中か否かを判定する。   Step S3: The bus control unit 4 determines whether the bus bridge unit 3 is executing a switching process between asynchronous communication and synchronous communication, that is, whether the bus is being switched.

バス制御部4が,バスブリッジ部3がバスを切り換え中でないと判定した場合(ステップS3/NO),ステップS4に移る。   When the bus control unit 4 determines that the bus bridge unit 3 is not switching the bus (step S3 / NO), the process proceeds to step S4.

ステップS4:バス制御部4は,制御回路ユニット1が,連続してバスB1にアクセスしデータ通信を実行するか否かを判定する。すなわち,バス制御部4は,バスB1に対して連続してバスアクセスが有るか否かを判定する。   Step S4: The bus control unit 4 determines whether or not the control circuit unit 1 continuously accesses the bus B1 and executes data communication. That is, the bus control unit 4 determines whether or not there is continuous bus access to the bus B1.

図14(A)に示すように,制御回路ユニット1が,バスB1にアクセスし,単発のライトコマンドCMD1に次いで,このライトコマンドCMD1に対応する書き込みデータDATA1を出力する場合には,バス制御部4は,バスB1に対して連続してバスアクセスが無いと判定する。一方,図14(C)に示すように,制御回路ユニット1が,バスB1にアクセスし,ライトコマンドCMD1,このライトコマンドCMD1に対応する書き込みデータDATA1,ライトコマンドCMD2,このライトコマンドCMD2対応する書き込みデータDATA2を出力する場合には,バス制御部4は,バスB1に対して連続してバスアクセスが有ると判定する。   As shown in FIG. 14A, when the control circuit unit 1 accesses the bus B1 and outputs the write data DATA1 corresponding to the write command CMD1 after the single write command CMD1, the bus control unit 4 determines that there is no continuous bus access to bus B1. On the other hand, as shown in FIG. 14C, the control circuit unit 1 accesses the bus B1, and writes the write command CMD1, the write data DATA1 corresponding to the write command CMD1, the write command CMD2, and the write corresponding to the write command CMD2. When outputting the data DATA2, the bus control unit 4 determines that there is continuous bus access to the bus B1.

バス制御部4が,バスB1に対して連続してバスアクセスが無いと判定した場合(ステップS4/NO),バス制御部4は,制御回路ユニット1によるバスアクセスが完了したか否かを判定する(ステップS5)。バス制御部4は,このバスアクスが完了するまで待ち状態に入り(ステップS5/NO),このバスアクセスが完了すると(ステップS5/YES),ステップS2に移る。この場合,ステップS2において,図14(A)に示す時間TA21において,バスブリッジ部3に,非同期通信に切り換えるように指示するバス切り換え信号BCHGを出力する。   When the bus control unit 4 determines that there is no continuous bus access to the bus B1 (step S4 / NO), the bus control unit 4 determines whether the bus access by the control circuit unit 1 is completed. (Step S5). The bus control unit 4 enters a waiting state until this bus access is completed (step S5 / NO). When this bus access is completed (step S5 / YES), the process proceeds to step S2. In this case, in step S2, at time TA21 shown in FIG. 14A, the bus switching signal BCHG instructing the bus bridge unit 3 to switch to asynchronous communication is output.

バスブリッジ部3が,バスを切り換え中の場合(ステップS3/YES),図13のステップS6に移る。ステップS3でYESの場合を,図14(B)を参照して説明する。ステップS3でYESの場合とは,例えば,時間TB21で信号CDが立ち上がり,バス制御部4が,時間TB22で,バスブリッジ部3に非同期通信に切り換えるように指示するバス切り換え信号BCHGを出力した。しかし,バスブリッジ部3が非同期通信に切り換える処理を完了する前に,制御回路ユニット1が制御コマンドCD1,データDATA1を出力する場合である。この場合,バス制御部4は,以下に説明するように,制御回路ユニット1にバスアクセスの一時停止を指示する。   When the bus bridge unit 3 is switching the bus (step S3 / YES), the process proceeds to step S6 in FIG. The case of YES in step S3 will be described with reference to FIG. 14 (B). In the case of YES in step S3, for example, the signal CD rises at time TB21, and the bus control unit 4 outputs the bus switching signal BCHG instructing the bus bridge unit 3 to switch to asynchronous communication at time TB22. However, this is a case where the control circuit unit 1 outputs the control command CD1 and the data DATA1 before the bus bridge unit 3 completes the process of switching to asynchronous communication. In this case, the bus control unit 4 instructs the control circuit unit 1 to suspend the bus access as described below.

ステップS6:バス制御部4は,制御回路ユニット1からのアクセス信号をラッチする。図14(B)において,アクセス信号であるライトコマンドCMD1をラッチする。   Step S6: The bus control unit 4 latches the access signal from the control circuit unit 1. In FIG. 14B, the write command CMD1, which is an access signal, is latched.

ステップS7:バス制御部4は,レディ信号RDYを立ち下げる。制御回路ユニット1は,このレディ信号RDYの立ち下げに応答して,待ち状態に遷移し,ライトコマンドCMD1に対応する書き込みデータDATA1の出力を一時停止する(バスアクセスの一時停止)。   Step S7: The bus control unit 4 causes the ready signal RDY to fall. In response to the fall of the ready signal RDY, the control circuit unit 1 shifts to a wait state, and temporarily stops the output of the write data DATA1 corresponding to the write command CMD1 (bus access suspension).

バス制御部4は,バスブリッジ部3によるバス切り替えが完了したか否かを判定する(ステップS8)。バス制御部4は,このバス切り換えが完了するまで待ち状態に入り(ステップS8/NO),このバス切り換えが完了すると(ステップS8/YES),ステップS9に移る。   The bus control unit 4 determines whether or not the bus switching by the bus bridge unit 3 has been completed (step S8). The bus control unit 4 enters a wait state until the bus switching is completed (step S8 / NO), and when the bus switching is completed (step S8 / YES), the process proceeds to step S9.

ステップS9:バス制御部4は,レディ信号RDYを立ち上げて,アクセス信号を受け付ける。制御回路ユニット1は,このレディ信号RDYの立ち上げに応答して,待ち状態から復帰し,ライトコマンドCMD1に対応する書き込みデータDATA1の出力を再開する。   Step S9: The bus control unit 4 raises the ready signal RDY and accepts an access signal. In response to the rise of the ready signal RDY, the control circuit unit 1 returns from the wait state and resumes outputting the write data DATA1 corresponding to the write command CMD1.

図12のステップS4において,バス制御部4が,バスB1に対して連続してバスアクセスが有る判定した場合(ステップS4/YES),図12のステップS10に移る。   In step S4 in FIG. 12, when the bus control unit 4 determines that there is continuous bus access to the bus B1 (step S4 / YES), the process proceeds to step S10 in FIG.

ステップS10:バス制御部4は,ステップS6と同様に,制御回路ユニット1からのアクセス信号をラッチする。図14(C)において,アクセス信号であるライトコマンドCMD2をラッチする。   Step S10: The bus control unit 4 latches the access signal from the control circuit unit 1 as in step S6. In FIG. 14C, the write command CMD2, which is an access signal, is latched.

ステップS11:バス制御部4は,ステップS7と同様に,時間TC21でレディ信号RDYを立ち下げる。制御回路ユニット1は,このレディ信号RDYの立ち下げに応答して,待ち状態に遷移し,ライトコマンドCMD2に対応する書き込みデータDATA2の出力を一時停止する(バスアクセスの一時停止)。   Step S11: The bus control unit 4 causes the ready signal RDY to fall at time TC21 as in step S7. In response to the fall of the ready signal RDY, the control circuit unit 1 shifts to a wait state and temporarily stops the output of the write data DATA2 corresponding to the write command CMD2 (bus access suspension).

ステップS12:バス制御部4は,ステップS2と同様に,バスブリッジ部3に,非同期通信に切り換えるように指示するバス切り換え信号BCHGを出力し,バスの切り替えを開始させる。図14(C)の例では, バス制御部4は,レディ信号RDYが立ち下がった時間TC21と同じタイミングで,このバス切り換え信号BCHGを出力する。   Step S12: Similarly to step S2, the bus control unit 4 outputs a bus switching signal BCHG instructing the bus bridge unit 3 to switch to asynchronous communication, and starts switching of the bus. In the example of FIG. 14 (C), the bus control unit 4 outputs the bus switching signal BCHG at the same timing as the time TC21 when the ready signal RDY falls.

バス制御部4は,バスブリッジ部3によるバス切り替えが完了したか否かを判定する(ステップS13)。バス制御部4は,このバス切り換えが完了するまで待ち状態に入り(ステップS13/NO),このバス切り換えが完了すると(ステップS13/YES),ステップS14に移る。   The bus control unit 4 determines whether or not the bus switching by the bus bridge unit 3 has been completed (step S13). The bus control unit 4 enters a waiting state until the bus switching is completed (step S13 / NO), and when the bus switching is completed (step S13 / YES), the process proceeds to step S14.

ステップS14:バス制御部4は,レディ信号RDYを立ち上げて,アクセス信号を受け付ける。制御回路ユニット1は,このレディ信号RDYの立ち上げに応答して,待ち状態から復帰し,ライトコマンドCMD2に対応する書き込みデータDATA1の出力を再開する。   Step S14: The bus control unit 4 raises the ready signal RDY and accepts an access signal. In response to the rise of the ready signal RDY, the control circuit unit 1 returns from the wait state and resumes outputting the write data DATA1 corresponding to the write command CMD2.

以上説明したように,バス制御部4は,バスのアクセス状況を監視し,バスブリッジ部3に対して同期通信,非同期通通信の切り替えを適切に制御する。   As described above, the bus control unit 4 monitors the access status of the bus and appropriately controls switching of synchronous communication and asynchronous communication with respect to the bus bridge unit 3.

図15は,図1で説明した基準電圧供給部6のブロック図である。基準電圧供給部6は,所定範囲RVの最小値を示す第1の基準電圧Vr1と,所定範囲RVの最大値を示す第2の基準電圧Vr2を検出部5に供給する。基準電圧供給部6は,異なる値の基準電圧を検出部5に供給することができる。その結果,同期期間,非同期期間をバス通信において最適な期間に調整することができる。   FIG. 15 is a block diagram of the reference voltage supply unit 6 described in FIG. The reference voltage supply unit 6 supplies the detection unit 5 with the first reference voltage Vr1 indicating the minimum value of the predetermined range RV and the second reference voltage Vr2 indicating the maximum value of the predetermined range RV. The reference voltage supply unit 6 can supply different values of the reference voltage to the detection unit 5. As a result, the synchronous period and the asynchronous period can be adjusted to an optimal period in bus communication.

ASW(Analog Switch)61は,外部から入力された外部入力電圧Vex1,Vex2,または,ハイインピーダンス信号Hzを出力する。基準電圧供給部6は,外部入力電圧Vex1,Vex2を検出部5に供給する第1のモードを実行する。   An ASW (Analog Switch) 61 outputs external input voltages Vex1, Vex2, or a high impedance signal Hz input from the outside. The reference voltage supply unit 6 executes a first mode in which the external input voltages Vex1 and Vex2 are supplied to the detection unit 5.

電圧生成部A621は,電圧V1,または,ハイインピーダンス信号Hzを出力する。同じく,電圧生成部B622〜N62nは,それぞれ電圧V2〜Vnを出力する。または,電圧生成部B622〜N62nは,前記の電圧出力の代わりに,ハイインピーダンス信号Hzを出力する。   The voltage generator A621 outputs the voltage V1 or the high impedance signal Hz. Similarly, the voltage generators B622 to N62n output voltages V2 to Vn, respectively. Alternatively, the voltage generators B622 to N62n output a high impedance signal Hz instead of the voltage output.

図16は,電圧生成部A621のブロック図である。電圧生成部A621の分圧抵抗Ra1,Ra2は,電源電圧VDDとグランドGNDとの間に設けられ,分圧電圧V1をASW621aに出力する。ASW621aは,デコーダ636が出力する信号DS1に応答して,分圧電圧V1を出力する。ASW621aは,信号DS1の入力がない場合には,ハイインピーダンス信号Hzを出力する。電圧生成部A621以外の電圧生成部B622〜N62nも,電圧生成部A621と同様に分圧抵抗と,ASWとを有し,それぞれ電圧V2〜Vnを出力する。   FIG. 16 is a block diagram of the voltage generator A621. The voltage dividing resistors Ra1 and Ra2 of the voltage generation unit A621 are provided between the power supply voltage VDD and the ground GND, and output the divided voltage V1 to the ASW621a. The ASW 621a outputs the divided voltage V1 in response to the signal DS1 output from the decoder 636. The ASW 621a outputs a high impedance signal Hz when there is no input of the signal DS1. Similarly to the voltage generation unit A621, the voltage generation units B622 to N62n other than the voltage generation unit A621 also have voltage dividing resistors and ASWs, and output voltages V2 to Vn, respectively.

図15の説明に戻る。選択部63は,電圧V1〜Vnの中から何れかを選択し,検出部5に供給する。   Returning to the description of FIG. The selection unit 63 selects one of the voltages V1 to Vn and supplies it to the detection unit 5.

電圧選択レジスタ631は,複数の電圧V1〜Vnの中から検出部5に供給する電圧を選択する第1の電圧選択信号S1x(xは1〜n)が設定されるレジスタである。電圧選択信号S1xはユーザにより外部,例えば制御回路ユニット1から設定可能である。基準電圧供給部6は,電圧選択信号S1xに基づき複数の電圧V1〜Vnの何れかを検出部5に供給する第2のモードを実行する。   The voltage selection register 631 is a register in which a first voltage selection signal S1x (x is 1 to n) for selecting a voltage to be supplied to the detection unit 5 from a plurality of voltages V1 to Vn is set. The voltage selection signal S1x can be set by the user from the outside, for example, the control circuit unit 1. The reference voltage supply unit 6 executes a second mode in which any one of the plurality of voltages V1 to Vn is supplied to the detection unit 5 based on the voltage selection signal S1x.

PLL周波数設定レジスタ632は,PLLクロックPLLCLKの周波数が設定されるレジスタである。変調値設定レジスタ633は,N分周_変調器86の変調値が設定されるレジスタである。変調値設定レジスタ633の変調値,PLL周波数設定レジスタ632のPLLクロックPLLCLKの周波数は,外部,例えば制御回路ユニット1から設定可能である。   The PLL frequency setting register 632 is a register in which the frequency of the PLL clock PLLCLK is set. The modulation value setting register 633 is a register in which the modulation value of the N division / modulator 86 is set. The modulation value of the modulation value setting register 633 and the frequency of the PLL clock PLLCLK of the PLL frequency setting register 632 can be set from the outside, for example, the control circuit unit 1.

電圧算出部634は,変調値設定レジスタ633の変調値,PLL周波数設定レジスタ632のPLLクロックPLLCLKの周波数に対応して第2の電圧選択信号S2xが記録された電圧選択用テーブルを有する。   The voltage calculation unit 634 has a voltage selection table in which the second voltage selection signal S2x is recorded corresponding to the modulation value of the modulation value setting register 633 and the frequency of the PLL clock PLLCLK of the PLL frequency setting register 632.

図17は,電圧選択用テーブルの一例を示す図である。図17に示す電圧選択用テーブルには,N分周_変調器86に設定される周波数の変調値に対応してPLL回路7が生成可能な複数のPLLクロックPLLCLKの周波数が記録されている。さらに,電圧選択用テーブルには,複数のPLLクロックPLLCLKの周波数毎に,第1の基準電圧Vr1,第2の基準電圧Vr2に対応する電圧選択信号S21〜S2n(S2x)が記録されている。   FIG. 17 is a diagram illustrating an example of a voltage selection table. In the voltage selection table shown in FIG. 17, the frequencies of a plurality of PLL clocks PLLCLK that can be generated by the PLL circuit 7 corresponding to the modulation value of the frequency set in the N division / modulator 86 are recorded. Furthermore, voltage selection signals S21 to S2n (S2x) corresponding to the first reference voltage Vr1 and the second reference voltage Vr2 are recorded in the voltage selection table for each frequency of the plurality of PLL clocks PLLCLK.

基準電圧供給部6は,電圧選択信号S2xに基づき複数の電圧V1〜Vnの何れかを検出部5に供給する第3のモードを実行する。   The reference voltage supply unit 6 executes a third mode in which any one of the plurality of voltages V1 to Vn is supplied to the detection unit 5 based on the voltage selection signal S2x.

セレクタ635は,電圧選択レジスタ631の電圧選択信号S1x,電圧算出部634の電圧選択信号S2xの何れかを選択し,デコーダ636に出力する。   The selector 635 selects either the voltage selection signal S1x of the voltage selection register 631 or the voltage selection signal S2x of the voltage calculation unit 634 and outputs the selected signal to the decoder 636.

デコーダ636は,セレクタ635から入力された選択信号をデコードし,この電圧選択信号に対応する基準電圧を生成する電圧生成部に,この基準電圧を出力するように指示する信号DSxを出力する。   The decoder 636 decodes the selection signal input from the selector 635, and outputs a signal DSx that instructs the voltage generation unit that generates the reference voltage corresponding to the voltage selection signal to output the reference voltage.

モード設定レジスタ64は,第1〜第3のモードの実行を選択するモード選択信号が設定されるレジスタである。基準電圧供給部6は,モード選択信号に基づき,第1〜第3のモードの何れかを実行する。モード選択信号は,ユーザにより外部,例えば制御回路ユニット1から設定可能である。   The mode setting register 64 is a register in which a mode selection signal for selecting execution of the first to third modes is set. The reference voltage supply unit 6 executes any one of the first to third modes based on the mode selection signal. The mode selection signal can be set by the user from the outside, for example, the control circuit unit 1.

制御回路ユニット1が,基準電圧供給部6に第1のモードを実行させる場合を説明する。制御回路ユニット1は,モード設定レジスタ64にモード選択信号M1を設定する。モード設定レジスタ64は,モード選択信号M1が設定されると,モード選択信号M1をASW61,セレクタ635に出力する。ASW61は,モード選択信号M1が入力されると,外部から入力された第1の外部入力電圧Vex1を基準電圧Vr1として検出部5に出力する。   A case where the control circuit unit 1 causes the reference voltage supply unit 6 to execute the first mode will be described. The control circuit unit 1 sets the mode selection signal M1 in the mode setting register 64. The mode setting register 64 outputs the mode selection signal M1 to the ASW 61 and the selector 635 when the mode selection signal M1 is set. When the mode selection signal M1 is input, the ASW 61 outputs the first external input voltage Vex1 input from the outside to the detection unit 5 as the reference voltage Vr1.

次いで,第1の外部入力電圧Vex1よりも高い第2の外部入力電圧Vex2を基準電圧Vr2として検出部5に出力する。セレクタ635は,モード選択信号M1が入力された場合,セレクト処理を実行しない。この電圧出力により,外部入力電圧Vex1,Vex2,すなわち基準電圧Vr1,Vr2が検出部5に供給される。   Next, the second external input voltage Vex2 higher than the first external input voltage Vex1 is output to the detection unit 5 as the reference voltage Vr2. The selector 635 does not execute the selection process when the mode selection signal M1 is input. By this voltage output, external input voltages Vex1 and Vex2, that is, reference voltages Vr1 and Vr2 are supplied to the detection unit 5.

なお,太線で示すラインLは,基準電圧Vr1の供給用ライン,基準電圧Vr2の供給用ラインの2本のラインを有し,前述の例では,外部入力電圧Vex1は基準電圧Vr1の供給用ラインを介して検出部5に供給され, 外部入力電圧Vex2は基準電圧Vr2の供給用ラインを介して検出部5に供給される。   The line L indicated by a bold line has two lines, a supply line for the reference voltage Vr1 and a supply line for the reference voltage Vr2. In the above example, the external input voltage Vex1 is a supply line for the reference voltage Vr1. The external input voltage Vex2 is supplied to the detection unit 5 via a supply line for the reference voltage Vr2.

制御回路ユニット1が,基準電圧供給部6に第2のモードを実行させる場合を説明する。ここでは,基準電圧Vr1,Vr2として電圧V1,V2を検出部5に供給する場合を例示する。制御回路ユニット1は,例えば,モード設定レジスタ64にモード選択信号M2を設定し,さらに,電圧選択レジスタ631に電圧選択信号S1x(xは1,2)を設定する。   A case where the control circuit unit 1 causes the reference voltage supply unit 6 to execute the second mode will be described. Here, the case where the voltages V1 and V2 are supplied to the detection unit 5 as the reference voltages Vr1 and Vr2 is illustrated. For example, the control circuit unit 1 sets the mode selection signal M2 in the mode setting register 64, and further sets the voltage selection signal S1x (x is 1, 2) in the voltage selection register 631.

モード設定レジスタ64は,モード選択信号M2が設定されると,モード選択信号M2をASW61,セレクタ635に出力する。ASW61は,モード選択信号M2が入力されると,ハイインピーダンス信号Hzを出力する。電圧選択レジスタ631は,電圧選択信号S1xをセレクタ635に出力する。セレクタ635は,モード選択信号M2が入力されると,電圧選択レジスタ631から出力された電圧選択信号S1xをデコーダ636に出力する。   The mode setting register 64 outputs the mode selection signal M2 to the ASW 61 and the selector 635 when the mode selection signal M2 is set. When the mode selection signal M2 is input, the ASW 61 outputs a high impedance signal Hz. The voltage selection register 631 outputs a voltage selection signal S1x to the selector 635. When the mode selection signal M2 is input, the selector 635 outputs the voltage selection signal S1x output from the voltage selection register 631 to the decoder 636.

デコーダ636は,電圧選択信号S11に対応する電圧V1を生成する電圧生成部A621に,電圧V1を出力するように指示する信号DS1を出力する。電圧生成部A621のASW621aは,信号DS1に応答して,基準電圧Vr1として電圧V1をラインLの基準電圧Vr1の供給用ラインを介して検出部5に出力する。   The decoder 636 outputs a signal DS1 that instructs the voltage generator A621 that generates the voltage V1 corresponding to the voltage selection signal S11 to output the voltage V1. In response to the signal DS1, the ASW 621a of the voltage generation unit A621 outputs the voltage V1 as the reference voltage Vr1 to the detection unit 5 via the supply line for the reference voltage Vr1 of the line L.

また,デコーダ636は,電圧選択信号S12に対応する電圧V2を生成する電圧生成部B622に,電圧V2を出力するように指示する信号DS2を出力する。電圧生成部B622のASWは,信号DS2に応答して,基準電圧Vr2として電圧V2をラインLの基準電圧Vr2の供給用ラインを介して検出部5に出力する。   The decoder 636 outputs a signal DS2 that instructs the voltage generator B622 that generates the voltage V2 corresponding to the voltage selection signal S12 to output the voltage V2. In response to the signal DS2, the ASW of the voltage generation unit B622 outputs the voltage V2 as the reference voltage Vr2 to the detection unit 5 through the supply line for the reference voltage Vr2 of the line L.

制御回路ユニット1が,基準電圧供給部6に第3のモードを実行させる場合を説明する。制御回路ユニット1は,例えば,モード設定レジスタ64にモード選択信号M3を設定する。   A case where the control circuit unit 1 causes the reference voltage supply unit 6 to execute the third mode will be described. For example, the control circuit unit 1 sets the mode selection signal M3 in the mode setting register 64.

モード設定レジスタ64は,モード選択信号M3が設定されると,モード選択信号M3をASW61,セレクタ635に出力する。ASW61は,モード選択信号M3が入力されると,ハイインピーダンス信号Hzを出力する。   When the mode selection signal M3 is set, the mode setting register 64 outputs the mode selection signal M3 to the ASW 61 and the selector 635. When the mode selection signal M3 is input, the ASW 61 outputs a high impedance signal Hz.

電圧算出部634は,図17に記録された電圧選択信号S2x(xは1〜n)の中からPLL周波数設定レジスタ632に設定されたPLLクロック周波数と,変調値設定レジスタ633に設定された変調値に対応する電圧選択信号S2xを選択する。例えば,電圧算出部634は,変調値設定レジスタ633に設定された変調値が“30[KHz]”,PLL周波数設定レジスタ632に設定されたPLLクロック周波数が“80[MHz]”の場合,電圧選択信号S21,S22をセレクタ635に出力する。   The voltage calculation unit 634 calculates the PLL clock frequency set in the PLL frequency setting register 632 from the voltage selection signal S2x (x is 1 to n) recorded in FIG. 17 and the modulation set in the modulation value setting register 633. The voltage selection signal S2x corresponding to the value is selected. For example, when the modulation value set in the modulation value setting register 633 is “30 [KHz]” and the PLL clock frequency set in the PLL frequency setting register 632 is “80 [MHz]”, the voltage calculation unit 634 The selection signals S21 and S22 are output to the selector 635.

セレクタ635は,モード選択信号M3が入力されると,電圧選択レジスタ631から出力された電圧選択信号S S21,S22をデコーダ636に出力する。デコーダ636は,電圧選択信号S21に対応する電圧V1を生成する電圧生成部A621に,電圧V1を出力するように指示する信号DS1を出力する。電圧生成部A621のASW621aは,信号DS1に応答して,基準電圧Vr1として電圧V1をラインLの基準電圧Vr1の供給用ラインを介して検出部5に出力する。   When the mode selection signal M3 is input, the selector 635 outputs the voltage selection signals S S21 and S22 output from the voltage selection register 631 to the decoder 636. The decoder 636 outputs a signal DS1 that instructs the voltage generator A621 that generates the voltage V1 corresponding to the voltage selection signal S21 to output the voltage V1. In response to the signal DS1, the ASW 621a of the voltage generation unit A621 outputs the voltage V1 as the reference voltage Vr1 to the detection unit 5 via the supply line for the reference voltage Vr1 of the line L.

また,デコーダ636は,電圧選択信号S22に対応する電圧V2を生成する電圧生成部B622に,電圧V2を出力するように指示する信号DS2を出力する。電圧生成部B622のASWは,信号DS2に応答して,基準電圧Vr2として電圧V2をラインLの基準電圧Vr2の供給用ラインを介して検出部5に出力する。   The decoder 636 outputs a signal DS2 that instructs the voltage generator B622 that generates the voltage V2 corresponding to the voltage selection signal S22 to output the voltage V2. In response to the signal DS2, the ASW of the voltage generation unit B622 outputs the voltage V2 as the reference voltage Vr2 to the detection unit 5 through the supply line for the reference voltage Vr2 of the line L.

なお,基準電圧Vr1,Vr2は,同期通信,非同期通信の切り換え時間を考慮して所定のマージンが付加された電圧である。   The reference voltages Vr1 and Vr2 are voltages with a predetermined margin added in consideration of switching time between synchronous communication and asynchronous communication.

このように,異なる値の基準電圧を検出部5に供給することができる。また,ユーザは,第1〜第3のモードの中から所望のモードを基準電圧供給部6に実行させることができるので,利便性が向上する。   In this way, reference voltages having different values can be supplied to the detection unit 5. In addition, since the user can cause the reference voltage supply unit 6 to execute a desired mode from the first to third modes, convenience is improved.

以上の実施の形態をまとめると,次の付記のとおりである。   The above embodiment is summarized as follows.

(付記1)
第2の周波数を基準にして周波数が変動する第1の周波数を有する第1のクロックを生成する第1のクロック生成回路と,
前記第2の周波数を有する第2のクロックを生成する第2のクロック生成回路と,
前記第1のクロックに基づき動作する第1の回路ユニットと,
前記第2のクロックに基づき動作する第2の回路ユニットと,
前記第1の回路ユニットと前記第2の回路ユニットとを接続するバスと,
前記第1の周波数と前記第2の周波数との周波数差が第1の所定範囲内か否かを検出する検出部と,
前記周波数差が前記第1の所定範囲内の場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で同期通信を実行する同期バスと,前記周波数差が前記第1の所定範囲外の場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で非同期通信を実行する非同期ブリッジ部とを有するバスブリッジ部と
を有する電子機器。
(Appendix 1)
A first clock generation circuit that generates a first clock having a first frequency that varies in frequency with respect to the second frequency;
A second clock generation circuit for generating a second clock having the second frequency;
A first circuit unit that operates based on the first clock;
A second circuit unit that operates based on the second clock;
A bus connecting the first circuit unit and the second circuit unit;
A detection unit for detecting whether a frequency difference between the first frequency and the second frequency is within a first predetermined range;
A synchronization bus that performs synchronous communication between the first circuit unit and the second circuit unit when the frequency difference is within the first predetermined range; and the frequency difference is the first predetermined range. An electronic device comprising: a bus bridge unit having an asynchronous bridge unit that executes asynchronous communication between the first circuit unit and the second circuit unit when out of range.

(付記2)
付記1において,
前記第1のクロック生成回路は,第1の発振器制御電圧に応じて前記第1のクロックを生成する電圧制御発振器と,前記第1のクロックの周波数が前記第2の周波数を基準にして変動するように変調を行う変調器とを有する第1の位相同期回路を有し,
前記第2のクロック生成回路は,第2の発振器制御電圧に応じて前記第2のクロックを生成する電圧制御発振器を有する第2の位相同期回路を有し,
前記検出部は,前記第1の発振器制御電圧と前記第2の発振器制御電圧との電圧差が第2の所定範囲内か否かを検出することにより,前記周波数差が前記第1の所定範囲内か否かを検出する電子機器。
(Appendix 2)
In Appendix 1,
The first clock generation circuit includes a voltage-controlled oscillator that generates the first clock according to a first oscillator control voltage, and a frequency of the first clock varies with respect to the second frequency. A first phase synchronization circuit having a modulator for performing modulation as described above,
The second clock generation circuit includes a second phase locked loop circuit having a voltage controlled oscillator that generates the second clock according to a second oscillator control voltage,
The detection unit detects whether the voltage difference between the first oscillator control voltage and the second oscillator control voltage is within a second predetermined range, so that the frequency difference is within the first predetermined range. An electronic device that detects whether it is inside or not.

(付記3)
付記1または2において,
前記第1のクロック生成回路は,前記第2の周波数を中心にして第1の周波数を変動させる電子機器。
(Appendix 3)
In Appendix 1 or 2,
The electronic device in which the first clock generation circuit varies the first frequency around the second frequency.

(付記4)
付記2において,
さらに,前記第2の所定範囲を示す基準電圧を前記検出部に供給する基準電圧供給部を有する電子機器。
(Appendix 4)
In Appendix 2,
Furthermore, an electronic apparatus having a reference voltage supply unit that supplies a reference voltage indicating the second predetermined range to the detection unit.

(付記5)
付記4において,
前記基準電圧供給部は,外部から入力された外部入力電圧を前記検出部に供給する電子機器。
(Appendix 5)
In Appendix 4,
The reference voltage supply unit is an electronic device that supplies an external input voltage input from the outside to the detection unit.

(付記6)
付記4または5において,
前記基準電圧供給部は,複数の電圧を生成する電圧生成部と,前記複数の電圧の中から前記検出部に供給する電圧を選択する第1の電圧選択信号が設定される選択レジスタとを有し,前記第1の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給し,前記第1の電圧選択信号は外部から前記選択レジスタに設定可能である電子機器。
(Appendix 6)
In Appendix 4 or 5,
The reference voltage supply unit includes a voltage generation unit that generates a plurality of voltages, and a selection register in which a first voltage selection signal that selects a voltage to be supplied to the detection unit from the plurality of voltages is set. An electronic apparatus that supplies any of the plurality of voltages to the detection unit based on the first voltage selection signal, and the first voltage selection signal can be set in the selection register from the outside.

(付記7)
付記4または5において,
前記基準電圧供給部は,複数の電圧を生成する電圧生成部と,前記第2の周波数が設定される周波数レジスタと,前記変調器の変調値が設定される変調値レジスタと,前記変調値および前記第2の周波数に対応して第2の電圧選択信号が記録されたテーブルとを有し,前記第2の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給し,前記変調値レジスタの前記変調値,前記周波数レジスタの前記第2の周波数は,外部から設定可能である電子機器。
(Appendix 7)
In Appendix 4 or 5,
The reference voltage supply unit includes a voltage generation unit that generates a plurality of voltages, a frequency register in which the second frequency is set, a modulation value register in which a modulation value of the modulator is set, the modulation value, A table in which a second voltage selection signal is recorded corresponding to the second frequency, and supplies one of the plurality of voltages to the detection unit based on the second voltage selection signal, An electronic device in which the modulation value in the modulation value register and the second frequency in the frequency register can be set from the outside.

(付記8)
付記4において,
前記基準電圧供給部は,複数の電圧を生成する電圧生成部と,前記複数の電圧の中から前記検出部に供給する電圧を選択する第1の電圧選択信号が設定される選択レジスタと,前記第2の周波数が設定される周波数レジスタと,前記変調器の変調値が設定される変調値レジスタと,前記変調値および前記第2の周波数に対応して第2の電圧選択信号が記録されたテーブルと,
外部から入力された外部入力電圧を前記検出部に供給する第1のモード,前記第1の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給する第2のモード,前記第2の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給する第3のモードの何れかを選択するモード選択信号が設定されるモード設定レジスタとを有し,
前記モード選択信号に基づき,前記第1〜第3のモードの何れかを実行し,
前記選択レジスタの前記第1の電圧選択信号,前記変調値レジスタの前記変調値,前記周波数レジスタの前記第2の周波数,前記モード設定レジスタの前記モード選択信号は,外部から設定可能である電子機器。
(Appendix 8)
In Appendix 4,
The reference voltage supply unit includes a voltage generation unit that generates a plurality of voltages, a selection register that is set with a first voltage selection signal that selects a voltage to be supplied to the detection unit from the plurality of voltages, A frequency register in which a second frequency is set, a modulation value register in which a modulation value of the modulator is set, and a second voltage selection signal corresponding to the modulation value and the second frequency are recorded Table,
A first mode in which an external input voltage input from the outside is supplied to the detection unit; a second mode in which any of the plurality of voltages is supplied to the detection unit based on the first voltage selection signal; A mode setting register for setting a mode selection signal for selecting one of the third modes for supplying any of the plurality of voltages to the detection unit based on the voltage selection signal of 2;
Based on the mode selection signal, execute any one of the first to third modes,
The first voltage selection signal of the selection register, the modulation value of the modulation value register, the second frequency of the frequency register, and the mode selection signal of the mode setting register can be set from the outside .

1…制御回路ユニット(第1の回路ユニット),2…周辺回路ユニット(第2の回路ユニット),3…バスブリッジ部,31,33…非同期ブリッジ部,311…入力部,312…出力部,32,34…セレクタ,4…バス制御部,5…検出部,51…電圧差検出部,52,53…比較器,54…OR回路,55…バイアス電圧生成部,55a…バイアス電圧生成回路,C…キャパシタ,6…基準電圧供給部, 61…ASW,621〜62n…電圧生成部A〜電圧生成部N,621a…ASW,Ra1,Ra2…分圧抵抗,63…選択部,631…電圧選択レジスタ,632…PLL周波数設定レジスタ,633…変調値設定レジスタ,634…電圧算出部,635…セレクタ,636…デコーダ,64…モード設定レジスタ,7…PLL回路,8…SSCG回路,71,81…位相比較器,72,82…チャージポンプ,73,83…LPF,74,84…電圧制御発振器,75,85…1/P分周器,76…1/N分周器,86…1/N分周器_変調器。 1 ... Control circuit unit (first circuit unit), 2 ... Peripheral circuit unit (second circuit unit), 3 ... Bus bridge unit, 31, 33 ... Asynchronous bridge unit, 311 ... Input unit, 312 ... Output unit, 32, 34 ... selector, 4 ... bus control unit, 5 ... detection unit, 51 ... voltage difference detection unit, 52, 53 ... comparator, 54 ... OR circuit, 55 ... bias voltage generation unit, 55a ... bias voltage generation circuit, C ... Capacitor, 6 ... Reference voltage supply unit, 61 ... ASW, 621 to 62n ... Voltage generation unit A to Voltage generation unit N, 621a ... ASW, Ra1, Ra2 ... Voltage dividing resistor, 63 ... Selection unit, 631 ... Voltage selection Register, 632 ... PLL frequency setting register, 633 ... Modulation value setting register, 634 ... Voltage calculation unit, 635 ... Selector, 636 ... Decoder, 64 ... Mode setting register, 7 ... PLL circuit, 8 ... SSCG circuit, 71,81 ... Phase comparator, 72,82 ... Charge pump, 73,83 ... LPF, 74,84 ... Voltage controlled oscillator, 75,85 ... 1 / P divider, 76 ... 1 / N divider, 86 ... 1 / N Divider_Modulation .

Claims (5)

第2の周波数を基準にして周波数が変動する第1の周波数を有する第1のクロックを生成する第1のクロック生成回路と,
前記第2の周波数を有する第2のクロックを生成する第2のクロック生成回路と,
前記第1のクロックに基づき動作する第1の回路ユニットと,
前記第2のクロックに基づき動作する第2の回路ユニットと,
前記第1の回路ユニットと前記第2の回路ユニットとを接続するバスと,
前記バスを介して前記第1の回路ユニットと前記第2の回路ユニットとが通信を実行している期間において,前記第1の周波数と前記第2の周波数との周波数差が第1の所定範囲内か否かを検出する検出部と,
前記通信を実行している期間において,前記検出部の検出結果が前記周波数差が前記第1の所定範囲内であることを示す場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で同期通信を実行する同期バスと,前記通信を実行している期間において,前記検出部の検出結果が前記周波数差が前記第1の所定範囲外であることを示す場合に,前記第1の回路ユニットと前記第2の回路ユニットとの間で非同期通信を実行する非同期ブリッジ部とを有し,前記通信を実行している期間において,前記検出部の検出結果に応じて,前記同期通信と前記非同期通信の間の切り替えを実行するバスブリッジ部と
を有する電子機器。
A first clock generation circuit that generates a first clock having a first frequency that varies in frequency with respect to the second frequency;
A second clock generation circuit for generating a second clock having the second frequency;
A first circuit unit that operates based on the first clock;
A second circuit unit that operates based on the second clock;
A bus connecting the first circuit unit and the second circuit unit;
In a period in which the first circuit unit and the second circuit unit are communicating via the bus, a frequency difference between the first frequency and the second frequency is a first predetermined range. A detection unit for detecting whether or not within,
In the period running the communication, in case indicating that a detection result of the detector is the frequency difference is within the first predetermined range, said first circuit unit and the second circuit unit a synchronous bus for performing synchronous communication with the, in the period running the communication, in case indicating that a detection result of the detector is the frequency difference is outside said first predetermined range, Asynchronous bridge unit that performs asynchronous communication between the first circuit unit and the second circuit unit, and in a period of executing the communication, according to the detection result of the detection unit, An electronic device comprising: a bus bridge unit that performs switching between the synchronous communication and the asynchronous communication .
請求項1において,
前記第1のクロック生成回路は,第1の発振器制御電圧に応じて前記第1のクロックを生成する電圧制御発振器と,前記第1のクロックの周波数が前記第2の周波数を基準にして変動するように変調を行う変調器とを有する第1の位相同期回路を有し,
前記第2のクロック生成回路は,第2の発振器制御電圧に応じて前記第2のクロックを生成する電圧制御発振器を有する第2の位相同期回路を有し,
前記検出部は,前記第1の発振器制御電圧と前記第2の発振器制御電圧との電圧差が第2の所定範囲内か否かを検出することにより,前記周波数差が前記第1の所定範囲内か否かを検出する電子機器。
In claim 1,
The first clock generation circuit includes a voltage-controlled oscillator that generates the first clock according to a first oscillator control voltage, and a frequency of the first clock varies with respect to the second frequency. A first phase synchronization circuit having a modulator for performing modulation as described above,
The second clock generation circuit includes a second phase locked loop circuit having a voltage controlled oscillator that generates the second clock according to a second oscillator control voltage,
The detection unit detects whether the voltage difference between the first oscillator control voltage and the second oscillator control voltage is within a second predetermined range, so that the frequency difference is within the first predetermined range. An electronic device that detects whether it is inside or not.
請求項2において,
前記第1のクロック生成回路は,前記第2の周波数を中心にして第1の周波数を変動させる電子機器。
In claim 2,
The electronic device in which the first clock generation circuit varies the first frequency around the second frequency.
請求項2において,
さらに,前記第2の所定範囲を示す基準電圧を前記検出部に供給する基準電圧供給部を有する電子機器。
In claim 2,
Furthermore, an electronic apparatus having a reference voltage supply unit that supplies a reference voltage indicating the second predetermined range to the detection unit.
請求項4において,
前記基準電圧供給部は,複数の電圧を生成する電圧生成部と,前記複数の電圧の中から前記検出部に供給する電圧を選択する第1の電圧選択信号が設定される選択レジスタと,前記第2の周波数が設定される周波数レジスタと,前記変調器の変調値が設定される変調値レジスタと,前記変調値および前記第2の周波数に対応して第2の電圧選択信号が記録されたテーブルと,
外部から入力された外部入力電圧を前記検出部に供給する第1のモード,前記第1の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給する第2のモード,前記第2の電圧選択信号に基づき前記複数の電圧の何れかを前記検出部に供給する第3のモードの何れかを選択するモード選択信号が設定されるモード設定レジスタとを有し,
前記モード選択信号に基づき,前記第1〜第3のモードの何れかを実行し,
前記選択レジスタの前記第1の電圧選択信号,前記変調値レジスタの前記変調値,前記周波数レジスタの前記第2の周波数,前記モード設定レジスタの前記モード選択信号は,外部から設定可能である電子機器。
In claim 4,
The reference voltage supply unit includes a voltage generation unit that generates a plurality of voltages, a selection register that is set with a first voltage selection signal that selects a voltage to be supplied to the detection unit from the plurality of voltages, A frequency register in which a second frequency is set, a modulation value register in which a modulation value of the modulator is set, and a second voltage selection signal corresponding to the modulation value and the second frequency are recorded Table,
A first mode in which an external input voltage input from the outside is supplied to the detection unit; a second mode in which any of the plurality of voltages is supplied to the detection unit based on the first voltage selection signal; A mode setting register for setting a mode selection signal for selecting one of the third modes for supplying any of the plurality of voltages to the detection unit based on the voltage selection signal of 2;
Based on the mode selection signal, execute any one of the first to third modes,
The first voltage selection signal of the selection register, the modulation value of the modulation value register, the second frequency of the frequency register, and the mode selection signal of the mode setting register can be set from the outside .
JP2011124129A 2011-06-02 2011-06-02 Electronics Expired - Fee Related JP5784991B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011124129A JP5784991B2 (en) 2011-06-02 2011-06-02 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011124129A JP5784991B2 (en) 2011-06-02 2011-06-02 Electronics

Publications (2)

Publication Number Publication Date
JP2012252486A JP2012252486A (en) 2012-12-20
JP5784991B2 true JP5784991B2 (en) 2015-09-24

Family

ID=47525255

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011124129A Expired - Fee Related JP5784991B2 (en) 2011-06-02 2011-06-02 Electronics

Country Status (1)

Country Link
JP (1) JP5784991B2 (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264061A (en) * 1994-03-24 1995-10-13 Hitachi Ltd Pll oscillation circuit and semiconductor integrated circuit device using it
JP3487735B2 (en) * 1997-07-24 2004-01-19 沖電気工業株式会社 Data transfer method and data transfer system
JP3228408B2 (en) * 1997-12-04 2001-11-12 エヌイーシーマイクロシステム株式会社 Synchronization circuit and synchronization method
JP2001014056A (en) * 1999-07-02 2001-01-19 Nec Corp Semiconductor integrated circuit and spread spectrum clock oscillator
JP2002032329A (en) * 2000-07-13 2002-01-31 Hitachi Ltd I/o bus system
JP3968996B2 (en) * 2001-01-30 2007-08-29 コニカミノルタホールディングス株式会社 Signal processing apparatus and signal processing method
JP2006195948A (en) * 2004-12-16 2006-07-27 Matsushita Electric Ind Co Ltd Bus adapter device
JP2006333174A (en) * 2005-05-27 2006-12-07 Sharp Corp Clock generating device and semiconductor integrated circuit device
JP2007295027A (en) * 2006-04-20 2007-11-08 Toshiba Microelectronics Corp Spread spectrum clock generator
JP2008090774A (en) * 2006-10-05 2008-04-17 Canon Finetech Inc Spread spectrum clock generator
JP4924223B2 (en) * 2007-06-12 2012-04-25 富士通セミコンダクター株式会社 Semiconductor device

Also Published As

Publication number Publication date
JP2012252486A (en) 2012-12-20

Similar Documents

Publication Publication Date Title
US8817841B2 (en) System and method of controlling modulation frequency of spread-spectrum signal
CN102301600B (en) Periodic timing jitter in oscillatory system is reduced
KR100563846B1 (en) Clock generator
US8406271B2 (en) Spread spectrum clock generating circuit
US8552804B1 (en) Frequency synthesizers with dynamic calibration intervals
US8531214B2 (en) Spread spectrum clock generators
KR20160066945A (en) Digital Phase-Locked Loop and Operating Method thereof
KR20100077548A (en) Phase locked loop circuit
US7417477B2 (en) PLL circuit
US7528586B2 (en) Harmonics related synchronization for switching regulators
US20130103969A1 (en) Clock generation device for usb device
TW200407695A (en) Phase-lock loop having programmable bandwidth
JP5784991B2 (en) Electronics
US9685965B2 (en) Electronic circuit for controlling an oscillator, and related method
JP4405711B2 (en) Method and apparatus for reducing cycle slip of a frequency synthesizer
KR101925042B1 (en) Clock Generator
JP3293756B2 (en) Voltage control circuit and temperature compensated piezoelectric oscillator using the same
JPH09102739A (en) Pll circuit
JP2009004868A (en) Spread spectrum clock generator
JPH1031529A (en) Spectrum spreading method of clock generating circuit, and spectrum spread clock generating device
JP2008090774A (en) Spread spectrum clock generator
CN104242925B (en) Frequency generating device, method and equipment
KR101136948B1 (en) Apparatus and Method for Generating Low Jitter Spread Spectrum Clock
KR20230155260A (en) A power control integrated circuit
JP3025442B2 (en) Automatic frequency controller for multi-input

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140303

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20141022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20141202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150129

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A712

Effective date: 20150610

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150723

R150 Certificate of patent or registration of utility model

Ref document number: 5784991

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees