JP2006318002A - Clock frequency-dividing circuit - Google Patents

Clock frequency-dividing circuit Download PDF

Info

Publication number
JP2006318002A
JP2006318002A JP2005137002A JP2005137002A JP2006318002A JP 2006318002 A JP2006318002 A JP 2006318002A JP 2005137002 A JP2005137002 A JP 2005137002A JP 2005137002 A JP2005137002 A JP 2005137002A JP 2006318002 A JP2006318002 A JP 2006318002A
Authority
JP
Japan
Prior art keywords
frequency
signal
division ratio
clock signal
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.)
Pending
Application number
JP2005137002A
Other languages
Japanese (ja)
Inventor
Eiji Kaneko
英司 金子
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005137002A priority Critical patent/JP2006318002A/en
Publication of JP2006318002A publication Critical patent/JP2006318002A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a clock frequency-dividing circuit which is capable of high-speed and stable switching and reducible in circuit scale. <P>SOLUTION: In synchronism with timing of variation of a frequency-division clock signal to a low level, the clock frequency dividing circuit sets (n)-bit frequency division ratio data corresponding to a frequency division ratio for a basic clock signal of the frequency-division clock signal and also sets (n)-bit 1/2 frequency-division ratio setting data obtained by halving the frequency-division clock ratio setting data. When count data from a counter match the 1/2 frequency-division ratio setting data, a frequency-division clock set signal for varying the frequency-division clock signal to a high level is generated. When the count data from the counter match the frequency-division ratio setting data, a frequency-division clock reset signal for varying the frequency-division clock signal to the low level is generated. The frequency-division clock signal is varied to the high level in accordance with the frequency clock set signal and varied to the low level in accordance with the frequency-division reset signal. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、基本クロックを分周した分周クロックを出力するクロック分周回路に関し、特に、異なった周波数の分周クロックを切り換えて出力することが可能なクロック分周回路に関する。   The present invention relates to a clock divider circuit that outputs a divided clock obtained by dividing a basic clock, and more particularly to a clock divider circuit that can switch and output divided clocks having different frequencies.

異なった周波数のクロックを切り換えて出力することが可能なクロック生成回路として、例えば、特許文献1や特許文献2に記載のクロック分周回路を用いたものが知られている。これらの特許文献に記載のクロック分周回路は、いずれも、分周比の異なった複数の分周器と、各分周器から出力される複数の分周クロックのうちいずれかを選択する選択回路(切換回路)と、を有する回路であり、切り換え時において発生するいわゆるハザードを防止しつつ、異なった周波数の分周クロックの出力を可能とする回路である。   As a clock generation circuit capable of switching and outputting clocks having different frequencies, for example, a circuit using a clock frequency dividing circuit described in Patent Document 1 or Patent Document 2 is known. Each of the clock divider circuits described in these patent documents selects a plurality of dividers having different division ratios and a plurality of divided clocks output from each divider. And a circuit (switching circuit), which is capable of outputting divided clocks having different frequencies while preventing a so-called hazard occurring at the time of switching.

特開2001−296937号公報JP 2001-296937 A 特開平5−19892号公報Japanese Patent Laid-Open No. 5-19892

しかしながら、上記特許文献1および特許文献2に記載のクロック分周回路は、出力可能な異なった周波数の分周クロックの数に対応する数の分周器を備える構成であるため、出力可能な分周クロックの周波数の種類を増やしたクロック分周回路を構成するには、増加した周波数の種類だけ分周器の数も増えてしまい、回路規模が増大するという問題がある。   However, the clock frequency dividing circuits described in Patent Document 1 and Patent Document 2 are configured to include a number of frequency dividers corresponding to the number of frequency-divided clocks having different frequencies that can be output. In order to configure a clock frequency dividing circuit with an increased number of types of frequency of the peripheral clock, there is a problem that the number of frequency dividers increases by the increased type of frequency and the circuit scale increases.

また、特許文献1に記載のクロック分周回路では、分周クロックの切り換えが、複数の分周器から切換回路に入力する分周クロックの全てがロウ(L)レベルで、基本クロックがハイ(H)レベルに立ち上がったときに行われるため、切り換えに要する時間は、出力する分周クロックの種類によらず、分周比の最も大きな分周クロックの1/2周期〜1周期の時間を要することになり、切り換えに要する時間が長いという問題もある。   Further, in the clock frequency divider circuit described in Patent Document 1, the frequency-divided clocks are switched in such a way that all the frequency-divided clocks input from a plurality of frequency dividers to the switch circuit are low (L) level and the basic clock is high ( H) Since it is performed at the time of rising to the level, the time required for switching takes 1/2 to 1 cycle of the frequency-divided clock having the largest frequency-dividing ratio regardless of the type of frequency-divided clock to be output. In other words, there is a problem that the time required for switching is long.

以上説明したように、従来のクロック分周回路は、回路規模の点で問題があった。また、分周クロックの切り換えの安定で高速な切り換えの点で不十分な場合もあった。   As described above, the conventional clock divider circuit has a problem in terms of circuit scale. In addition, there are cases where it is insufficient in terms of stable and high-speed switching of the divided clock.

本発明は、上述した従来の課題を解決するためになされたものであり、クロック分周回路において、高速で安定な切り換えが可能で、かつ、回路規模の削減が可能な技術を提供することを目的とする。   The present invention has been made in order to solve the above-described conventional problems, and provides a technique capable of stably switching at high speed and reducing the circuit scale in a clock divider circuit. Objective.

上記目的の少なくとも一部を達成するために、本発明の第1のクロック分周回路は、
基本クロック信号を分周した分周クロック信号を出力するクロック分周回路であって、
前記基本クロック信号のクロック数をカウントしたカウントデータを出力するnビット(nは2以上の整数)のカウンタと、
前記分周クロック信号のロウレベルへの変化のタイミングに同期して、前記分周クロック信号の前記基本クロック信号に対する分周比に対応するnビットの分周比設定データを設定するとともに、前記分周比設定データの値を2分の1したnビットの1/2分周比設定データを設定する分周比設定部と、
前記カウンタからのカウントデータが前記1/2分周比設定データに一致するときに、前記分周クロック信号をハイレベルに変化させるための分周クロックセット信号を発生する第1のコンペア回路と、
前記カウンタからのカウントデータが前記分周比設定データに一致するときに、前記分周クロック信号をロウレベルに変化させるための分周クロックリセット信号を発生する第2のコンペア回路と、
前記分周クロックセット信号に従って、前記分周クロック信号をハイレベルに変化させ、前記分周クロックリセット信号に従って、前記分周クロック信号をロウレベルに変化させるフリップフロップ回路と、
を備えることを特徴とする。
In order to achieve at least a part of the above object, a first clock divider circuit of the present invention includes:
A clock divider circuit that outputs a divided clock signal obtained by dividing a basic clock signal,
An n-bit counter (n is an integer of 2 or more) that outputs count data obtained by counting the number of clocks of the basic clock signal;
In synchronization with the timing of the change of the divided clock signal to the low level, n-bit division ratio setting data corresponding to the division ratio of the divided clock signal to the basic clock signal is set, and the divided frequency signal is set. A frequency division ratio setting unit for setting n-bit 1/2 frequency division ratio setting data obtained by halving the value of the ratio setting data;
A first compare circuit for generating a frequency-divided clock set signal for changing the frequency-divided clock signal to a high level when the count data from the counter matches the 1/2 frequency-dividing ratio setting data;
A second compare circuit for generating a frequency-divided clock reset signal for changing the frequency-divided clock signal to a low level when the count data from the counter matches the frequency-division ratio setting data;
A flip-flop circuit that changes the divided clock signal to a high level according to the divided clock set signal, and changes the divided clock signal to a low level according to the divided clock reset signal;
It is characterized by providing.

また、本発明の第2のクロック分周回路は、
基本クロック信号を分周した分周クロック信号を出力するクロック分周回路であって、
前記基本クロック信号のクロック数をカウントしたカウントデータを出力するnビット(nは2以上の整数)のカウンタと、
前記分周クロック信号のロウレベルへの変化のタイミングに同期して、前記分周クロック信号の前記基本クロック信号に対する分周比に対応するnビットの分周比設定データを設定するとともに、前記分周比設定データの値を2分の1したnビットの1/2分周比設定データを設定する分周比設定部と、
前記カウンタからのカウントデータが前記分周比設定データに一致するときに、前記分周クロック信号をハイレベルに変化させるための分周クロックセット信号を発生する第1のコンペア回路と、
前記カウンタからのカウントデータが前記1/2分周比設定データに一致するときに、前記分周クロック信号をロウレベルに変化させるための分周クロックリセット信号を発生する第2のコンペア回路と、
前記分周クロックセット信号に従って、前記分周クロック信号をハイレベルに変化させ、前記分周クロックリセット信号に従って、前記分周クロック信号をロウレベルに変化させるフリップフロップ回路と、
を備えることを特徴とする。
The second clock divider circuit of the present invention is
A clock divider circuit that outputs a divided clock signal obtained by dividing a basic clock signal,
An n-bit counter (n is an integer of 2 or more) that outputs count data obtained by counting the number of clocks of the basic clock signal;
In synchronization with the timing of the change of the divided clock signal to the low level, n-bit division ratio setting data corresponding to the division ratio of the divided clock signal to the basic clock signal is set, and the divided frequency signal is set. A frequency division ratio setting unit for setting n-bit 1/2 frequency division ratio setting data obtained by halving the value of the ratio setting data;
A first compare circuit that generates a frequency-divided clock set signal for changing the frequency-divided clock signal to a high level when the count data from the counter matches the frequency-division ratio setting data;
A second compare circuit for generating a frequency-divided clock reset signal for changing the frequency-divided clock signal to a low level when the count data from the counter matches the 1/2 frequency-dividing ratio setting data;
A flip-flop circuit that changes the divided clock signal to a high level according to the divided clock set signal, and changes the divided clock signal to a low level according to the divided clock reset signal;
It is characterized by providing.

上記第1および第2のクロック分周回路によれば、高速で安定な切り換えが可能とし、かつ、回路規模の削減を可能とすることができる。   According to the first and second clock frequency dividing circuits, high-speed and stable switching can be performed, and the circuit scale can be reduced.

なお、前記分周比設定部は、2個(mはn−1以下の整数)の分周比に対応する分周比のうち1つの分周比を選択するためのmビットの分周比選択信号を、前記分周クロック信号のロウレベルへの変化のタイミングに同期して取り込み、2個の分周比に対応する分周比設定データのなかから、取り込まれた分周比選択信号に対応する分周比設定データを選択するようにしてもよい。 The frequency division ratio setting unit is m-bit frequency division for selecting one of the frequency division ratios corresponding to 2 m (m is an integer equal to or less than n-1) frequency division ratios. The ratio selection signal is taken in synchronization with the timing of the change of the divided clock signal to the low level, and the divided ratio selection signal taken in from the division ratio setting data corresponding to the 2 m division ratios. The division ratio setting data corresponding to may be selected.

上記第1および第2のクロック分周回路において、
前記分周比設定部は、調歩同期式のシリアル通信における転送速度の16倍のクロックを生成するように、前記分周比設定データおよび前記1/2分周比設定データを設定するようにしてもよい。
In the first and second clock divider circuits,
The division ratio setting unit sets the division ratio setting data and the ½ division ratio setting data so as to generate a clock that is 16 times the transfer rate in asynchronous serial communication. Also good.

こうすれば、本発明のクロック分周回路を、調歩同期式のシリアル通信に容易に利用することが可能である。   In this way, the clock divider circuit of the present invention can be easily used for asynchronous serial communication.

なお、本発明は、上記した発明の態様に限ることなく、クロック分周回路を備えるシリアル通信装置等の種々の情報処理装置の態様で実現することも可能である。   Note that the present invention is not limited to the above-described aspects of the invention, and can be realized in various aspects of an information processing apparatus such as a serial communication apparatus including a clock frequency dividing circuit.

次に、本発明の実施の形態を実施例に基づいて以下の順序で説明する。
A.第1実施例:
A1.クロック分周回路の構成:
A2.基本動作:
A3.切り換え動作:
A4.実施例の効果:
B.第2実施例:
B1.クロック分周回路の構成および基本動作:
B2.切り換え動作:
B3.実施例の効果:
C.変形例:
Next, embodiments of the present invention will be described in the following order based on examples.
A. First embodiment:
A1. Configuration of clock divider circuit:
A2. basic action:
A3. Switching operation:
A4. Effects of the embodiment:
B. Second embodiment:
B1. Configuration and basic operation of clock divider:
B2. Switching operation:
B3. Effects of the embodiment:
C. Variations:

A.第1実施例:
A1.クロック分周回路の構成:
図1は、本発明の第1実施例としてのクロック分周回路100の構成を示すブロック図である。このクロック分周回路100は、カウンタ10と、2つのコンペア回路20,30と、JKフリップフロップ40と、ラッチ50と、分周比設定回路60と、1/2分周比設定回路70と、インバータ80と、を備えている。なお、以下では、説明の便宜上JKフリップフロップを単にフリップフロップと呼ぶ場合もある。
A. First embodiment:
A1. Configuration of clock divider circuit:
FIG. 1 is a block diagram showing a configuration of a clock frequency dividing circuit 100 as a first embodiment of the present invention. The clock frequency dividing circuit 100 includes a counter 10, two compare circuits 20, 30, a JK flip-flop 40, a latch 50, a frequency division ratio setting circuit 60, a 1/2 frequency division ratio setting circuit 70, And an inverter 80. Hereinafter, for convenience of explanation, the JK flip-flop may be simply referred to as a flip-flop.

カウンタ10は、クロック端子(CK端子)に入力されるクロック信号の立ち上がりエッジタイミングで、クロックの数をカウントするnビット(nは2以上の整数)のカウンタである。このカウンタ10のCK端子には基本クロック信号RCKが入力されており、クリア端子(CLR端子)には第2のコンペア回路30から出力される分周クロックリセット信号BRSTが入力されている。また、nビットのプリセット端子(P端子:P0〜Pn)は、Lレベルに固定され、プリセットするカウント値が「0」に設定されている。従って、カウンタ10は、CLR端子に入力される分周クロックリセット信号BRSTがHレベルに変化して、出力端子(QD端子:QD0〜QDn)から出力されるnビットのカウント信号CSIGの値が「0」にセットされるまで、CK端子に入力される基本クロック信号RCKの立ち上がりエッジタイミングで、0〜(2−1)までの数を順にカウントする。 The counter 10 is an n-bit counter (n is an integer of 2 or more) that counts the number of clocks at the rising edge timing of the clock signal input to the clock terminal (CK terminal). The basic clock signal RCK is input to the CK terminal of the counter 10, and the divided clock reset signal BRST output from the second compare circuit 30 is input to the clear terminal (CLR terminal). The n-bit preset terminal (P terminal: P0 to Pn) is fixed at the L level, and the preset count value is set to “0”. Therefore, the counter 10 changes the divided clock reset signal BRST input to the CLR terminal to the H level, and the value of the n-bit count signal CSIG output from the output terminal (QD terminal: QD0 to QDn) is “ The number from 0 to (2 n −1) is sequentially counted at the rising edge timing of the basic clock signal RCK input to the CK terminal until it is set to “0”.

2つのコンペア回路20,30は、第1の入力端子(A端子)に入力されるnビットの信号と、第2の入力端子(B端子)に入力されるnビットの信号との一致を検出する回路であり、出力端子(EQ端子)から出力される信号は、2つの入力信号が一致している場合にはHレベルに変化し、一致していない場合にはLレベルのままとなる。   The two compare circuits 20 and 30 detect the coincidence between the n-bit signal input to the first input terminal (A terminal) and the n-bit signal input to the second input terminal (B terminal). The signal output from the output terminal (EQ terminal) changes to the H level when the two input signals match, and remains at the L level when they do not match.

第1のコンペア回路20のA端子にはカウンタ10から出力されるカウント信号CSIGが入力されており、B端子には1/2分周比設定回路70から出力される1/2分周比設定信号HBSIGが入力されている。従って、第1のコンペア回路20は、カウント信号CSIGと1/2分周比設定信号HBSIGとが一致している場合においてHレベルに変化する信号を出力する。第1のコンペア回路20からの出力信号は、分周クロックセット信号BSETとしてフリップフロップ40のJ端子に入力される。なお、分周比は、基本クロック信号RCKの分周する分周数であり、カウンタ10でカウントされるカウント値を意味している。   The count signal CSIG output from the counter 10 is input to the A terminal of the first compare circuit 20, and the 1/2 frequency division ratio setting output from the 1/2 frequency division ratio setting circuit 70 is input to the B terminal. The signal HBSIG is input. Therefore, the first compare circuit 20 outputs a signal that changes to the H level when the count signal CSIG and the 1/2 frequency division ratio setting signal HBSIG match. The output signal from the first compare circuit 20 is input to the J terminal of the flip-flop 40 as the divided clock set signal BSET. Note that the frequency division ratio is the frequency division number of the basic clock signal RCK and means the count value counted by the counter 10.

第2のコンペア回路30のA端子にもカウンタ10から出力されるカウント信号CSIGが入力されており、B端子には分周比設定回路60から出力される分周比設定信号BSIGが入力されている。従って、第2のコンペア回路30は、カウント信号CSIGと分周比設定信号BSIGとが一致している場合においてHレベルに変化する信号を出力する。第2のコンペア回路30からの出力信号は、分周クロックリセット信号BRSTとしてフリップフロップ40のK端子およびカウンタ10のCLR端子に入力される。   The count signal CSIG output from the counter 10 is also input to the A terminal of the second compare circuit 30, and the frequency division ratio setting signal BSIG output from the frequency division ratio setting circuit 60 is input to the B terminal. Yes. Therefore, the second compare circuit 30 outputs a signal that changes to the H level when the count signal CSIG and the division ratio setting signal BSIG match. The output signal from the second compare circuit 30 is input to the K terminal of the flip-flop 40 and the CLR terminal of the counter 10 as the divided clock reset signal BRST.

フリップフロップ40は、J端子に入力されている分周クロックセット信号BSETがHレベルにおいて、クロック入力端子(CK端子)に入力されている基本クロック信号RCKの立ち上がりエッジタイミングで、出力端子(Q端子)から出力される分周クロック信号BCKをHレベルに変化させる。また、フリップフロップ40は、K端子に入力されている分周クロックリセット信号BRSTがHレベルにおいて、CK端子に入力されている基本クロック信号RCKの立ち上がりエッジタイミングで分周クロック信号BCKをLレベルに変化させる。 The flip-flop 40 has an output terminal (Q terminal) at the rising edge timing of the basic clock signal RCK input to the clock input terminal (CK terminal) when the divided clock set signal BSET input to the J terminal is at the H level. ) Is changed to H level. The flip-flop 40 sets the divided clock signal BCK to L level at the rising edge timing of the basic clock signal RCK input to the CK terminal when the divided clock reset signal BRST input to the K terminal is at H level. Change.

ラッチ50は、データ端子(D端子)に入力されるmビット(mは2以上n未満の整数)のクロック選択信号SELDを、クロック入力端子(LT端子)に入力されているクロック信号の立ち上がりエッジタイミングでラッチし、mビットの出力端子(Q端子:Q0〜Qm)からクロック選択信号LSELDとして出力する。クロック選択信号LSELDは、分周比設定回路60に入力される。   The latch 50 receives an m-bit (m is an integer less than or equal to 2 and less than n) clock selection signal SELD input to the data terminal (D terminal) and a rising edge of the clock signal input to the clock input terminal (LT terminal). Latching is performed at the timing, and the clock selection signal LSELD is output from the m-bit output terminal (Q terminal: Q0 to Qm). The clock selection signal LSELD is input to the frequency division ratio setting circuit 60.

分周比設定回路60は、入力されるクロック選択信号LSELDに応じたnビットの分周比設定信号BSIGを出力する。出力された分周比設定信号BSIGは、第2のコンペア回路30の第2の入力端子(B端子)および1/2分周比設定回路70に入力される。   The frequency division ratio setting circuit 60 outputs an n-bit frequency division ratio setting signal BSIG corresponding to the input clock selection signal LSELD. The output frequency division ratio setting signal BSIG is input to the second input terminal (B terminal) of the second compare circuit 30 and the 1/2 frequency division ratio setting circuit 70.

図2は、分周比設定回路60の構成例を示すブロック図である。この分周比設定回路60は、2個の分周比設定レジスタ62(0)〜62(k)(k=2−1)と、セレクタ64と、を備えている。 FIG. 2 is a block diagram illustrating a configuration example of the frequency division ratio setting circuit 60. The frequency division ratio setting circuit 60 includes 2 m frequency division ratio setting registers 62 (0) to 62 (k) (k = 2 m −1) and a selector 64.

各分周比設定レジスタ62(0)〜62(k)は、それぞれ設定したい分周クロックに対応する分周比がnビットのデータとして設定されている。それぞれに設定されているnビットの分周比設定データBD(0)〜BD(k)は、それぞれセレクタ64の入力端子A(0)〜A(k)に入力されている。なお、各分周比設定レジスタ62(0)〜62(k)の設定値は、図示しない制御回路を介してあらかじめユーザが所望する値に設定することができる。   In each of the frequency division ratio setting registers 62 (0) to 62 (k), the frequency division ratio corresponding to the frequency division clock to be set is set as n-bit data. The n-bit division ratio setting data BD (0) to BD (k) set for each is input to the input terminals A (0) to A (k) of the selector 64, respectively. Note that the set values of the frequency division ratio setting registers 62 (0) to 62 (k) can be set in advance to values desired by the user via a control circuit (not shown).

セレクタ64は、[k+1]個(=2)の入力端子A(0)〜A(k)に入力された分周比設定データBD(0)〜BD(k)のいずれかを、選択端子(SL端子)に入力されるmビットのクロック選択信号LSELDに応じて選択して、出力端子(SO)からnビットの分周比設定信号BSIGとして出力する。例えば、m=3として、3ビットのクロック選択信号LSELDの表すクロック選択データ(2進数)が[000],[001],[010],...,[110],[111]の順に変化すると、これに応じて分周比設定データBD(0),BD(1),BD(2),...,BD(6),BD(7)の順に選択される。 The selector 64 selects any one of the division ratio setting data BD (0) to BD (k) input to the [k + 1] (= 2 m ) input terminals A (0) to A (k). This is selected according to the m-bit clock selection signal LSELD input to the (SL terminal), and is output from the output terminal (SO) as the n-bit division ratio setting signal BSIG. For example, when m = 3, the clock selection data (binary number) represented by the 3-bit clock selection signal LSELD changes in the order of [000], [001], [010],..., [110], [111]. Then, the frequency division ratio setting data BD (0), BD (1), BD (2),..., BD (6), BD (7) are selected in accordance with this.

図1の1/2分周比設定回路70は、分周比設定回路60から出力されるnビットの分周比設定信号BSIGの値を2分の1したnビットの1/2分周比設定信号HBSIGを出力する。出力された1/2分周比設定信号HBSIGは、第1のコンペア回路20の第2の入力端子(B端子)に入力される。なお、1/2分周比設定回路は、ビットシフト演算回路を用いることにより容易に構成される。   The ½ division ratio setting circuit 70 in FIG. 1 is an n-bit ½ division ratio obtained by halving the value of the n-bit division ratio setting signal BSIG output from the division ratio setting circuit 60. A setting signal HBSIG is output. The output 1/2 division ratio setting signal HBSIG is input to the second input terminal (B terminal) of the first compare circuit 20. Note that the 1/2 frequency division ratio setting circuit is easily configured by using a bit shift operation circuit.

図3は、調歩同期式シリアル通信の転送レートに対応した転送クロックの生成に、本実施例のクロック分周回路を用いた場合における、転送レート、転送クロック、および分周比の設定の具体例について示す説明図である。   FIG. 3 shows a specific example of setting the transfer rate, transfer clock, and division ratio when the clock divider circuit of this embodiment is used to generate a transfer clock corresponding to the transfer rate of asynchronous serial communication. It is explanatory drawing shown about.

調歩同期式シリアル通信の転送レートとして、4800bps,9600bps,19200bps,38400bps,57600bps,115200bpsの6種類に対応することとする。この場合、各転送レートの転送クロックの周波数は各転送レートの16倍の周波数であるとすると、転送レートの低いほうから順に、76.8kHz,153.6kHz,307.2kHz,614.4kHz,921.6kHz,1843.2kHzとなる。   Asynchronous serial communication transfer rates correspond to six types of 4800 bps, 9600 bps, 19200 bps, 38400 bps, 57600 bps, and 115200 bps. In this case, assuming that the frequency of the transfer clock for each transfer rate is 16 times the frequency of each transfer rate, 76.8 kHz, 153.6 kHz, 307.2 kHz, 614.4 kHz, 921 in order from the lowest transfer rate. .6 kHz and 1843.2 kHz.

また、基本クロック信号RCkの周波数を14.7456MHzとすると、各転送クロックを生成するための分周比は、周波数の低いほうから順に、192,96,48,24,16,8となる。   When the frequency of the basic clock signal RCk is 14.7456 MHz, the frequency division ratios for generating each transfer clock are 192, 96, 48, 24, 16, and 8 in order from the lowest frequency.

そして、3ビットのクロック選択信号SELD(LSELD)の表すクロック選択データ[000],[001],[010],[011],[100],[101]のそれぞれを、各転送レートに対して低い転送レートのほうから順に割り当てることとすると、分周比設定レジスタ62(0)に分周比192を表す8ビットのデータ[10111111](2進数)を分周比設定データBD(0)として設定し、分周比設定レジスタ62(1)に分周比962を表す8ビットのデータ[01011111]を分周比設定データBD(1)として設定し、分周比設定レジスタ62(2)に分周比48を表す8ビットのデータ[00101111]を分周比設定データBD(2)として設定し、分周比設定レジスタ62(3)に分周比24を表す8ビットのデータ[00010111]を分周比設定データBD(3)として設定し、分周比設定レジスタ62(4)に分周比16を表す8ビットのデータ[00001111]を分周比設定データBD(4)として設定し、分周比設定レジスタ62(5)に分周比8を表す8ビットのデータ[00000111]を分周比設定データBD(5)として設定する。   Then, the clock selection data [000], [001], [010], [011], [100], and [101] represented by the 3-bit clock selection signal SELD (LSELD) are assigned to each transfer rate. Assuming that the lower transfer rates are assigned in order, 8-bit data [10111111] (binary number) representing the division ratio 192 is used as the division ratio setting data BD (0) in the division ratio setting register 62 (0). Then, 8-bit data [0101111] representing the division ratio 962 is set as the division ratio setting data BD (1) in the division ratio setting register 62 (1), and the division ratio setting register 62 (2) is set. 8-bit data [00101111] representing the division ratio 48 is set as the division ratio setting data BD (2), and the division ratio 24 is displayed in the division ratio setting register 62 (3). 8-bit data [00010111] is set as the division ratio setting data BD (3), and 8-bit data [00001111] representing the division ratio 16 is set in the division ratio setting register 62 (4). This is set as BD (4), and 8-bit data [00000111] representing the division ratio 8 is set as the division ratio setting data BD (5) in the division ratio setting register 62 (5).

以上のように設定することにより、実施例のクロック分周回路100は、調歩同期式シリアル通信の転送レートとして、4800bps,9600bps,19200bps,38400bps,57600bps,115200bpsの6種類に対応する76.8kHz,153.6kHz,307.2kHz,614.4kHz,921.6kHz,1843.2kHzの6種類の転送クロックを生成することができる。   By setting as described above, the clock frequency dividing circuit 100 according to the embodiment has 76.8 kHz, corresponding to six types of 4800 bps, 9600 bps, 1920 bps, 38400 bps, 57600 bps, and 115200 bps as transfer rates of asynchronous serial communication. Six types of transfer clocks of 153.6 kHz, 307.2 kHz, 614.4 kHz, 921.6 kHz, and 1843.2 kHz can be generated.

なお、6種類の転送レートの場合、クロック選択信号SELDの表すクロック選択データ[110]および[111]に対応する転送レートが存在しない。このような場合には、例えば、[101]の場合と同じ転送レートに割り当てるようにすればよい。もちろん未割り当て状態としてもよいし、他の転送レートに割り当てるようにしてもよい。   In the case of six types of transfer rates, there is no transfer rate corresponding to the clock selection data [110] and [111] represented by the clock selection signal SELD. In such a case, for example, the same transfer rate as in [101] may be assigned. Of course, it may be in an unassigned state or may be assigned to another transfer rate.

次に、以下では、本実施例のクロック分周回路100が、クロック選択信号SELDのビット数がm=3で、カウンタのビット数がn=8であり、かつ、図3で説明した条件で動作するものとして、その基本動作および切り換え動作について説明する。   Next, in the following description, the clock frequency dividing circuit 100 according to the present embodiment is configured so that the number of bits of the clock selection signal SELD is m = 3, the number of bits of the counter is n = 8, and the conditions described in FIG. The basic operation and switching operation will be described as operating.

A2.基本動作:
図4は、クロック分周回路100の基本的な動作を示すタイミングチャートである。このタイミングチャートは、クロック分周回路100における分周クロック生成動作の説明を容易にするため、3ビットのクロック選択信号SELD(図4(a))の表すクロック選択データが[101](2進数)であって分周比が[8](10進数)の状態に設定されており、分周クロック信号BCK(図4(i))の立ち下がりエッジタイミングでラッチされてラッチ50(図1)から出力されるクロック選択信号LSELD(図4(b))の表すクロック選択データも[101]となっていることとして示している。
A2. basic action:
FIG. 4 is a timing chart showing the basic operation of the clock frequency dividing circuit 100. In this timing chart, the clock selection data represented by the 3-bit clock selection signal SELD (FIG. 4A) is represented by [101] (binary number) in order to facilitate the explanation of the divided clock generation operation in the clock divider circuit 100. ) And the division ratio is set to [8] (decimal number), and is latched at the falling edge timing of the divided clock signal BCK (FIG. 4 (i)) to latch 50 (FIG. 1). The clock selection data represented by the clock selection signal LSELD (FIG. 4B) output from is also shown as [101].

上記前提の場合、分周比設定回路60(図1)から出力される分周比設定信号BSIG(図4(c))は、分周比が[8]に対応するカウンタ10(図1)のカウント値[7](10進数)を表す8ビットの分周比設定データ[00000111](2進数)に設定されている。また、1/2分周比設定回路70から出力される1/2分周比設定信号HBSIG(図4(d))は、カウンタ10のカウント値[3]を表す8ビットの1/2分周比設定データ[00000011]に設定されている。   In the case of the above premise, the frequency division ratio setting signal BSIG (FIG. 4C) output from the frequency division ratio setting circuit 60 (FIG. 1) is the counter 10 (FIG. 1) whose frequency division ratio corresponds to [8]. Is set to 8-bit frequency division ratio setting data [00000111] (binary number) representing the count value [7] (decimal number). Further, the ½ division ratio setting signal HBSIG (FIG. 4D) output from the ½ division ratio setting circuit 70 is an 8-bit ½ fraction representing the count value [3] of the counter 10. It is set in the circumferential ratio setting data [00000011].

カウンタ10から出力される8ビットのカウント信号CSIG(図4(f))は、基本クロック信号RCK(図4(e))の立ち上がりエッジタイミングで[0]から[7]まで順にカウントアップされるカウント信号である。図の例では、時刻t0における基本クロックRCKの立ち上がりエッジタイミングでカウント信号CSIGの表すカウント値を[0]とし、[0]から[7]までのカウントを繰り返す状態を示している。   The 8-bit count signal CSIG (FIG. 4 (f)) output from the counter 10 is sequentially counted up from [0] to [7] at the rising edge timing of the basic clock signal RCK (FIG. 4 (e)). This is a count signal. In the example shown in the figure, the count value represented by the count signal CSIG is set to [0] at the rising edge timing of the basic clock RCK at time t0, and the count from [0] to [7] is repeated.

基本クロック信号RCKの立ち上がりエッジタイミングt3で、カウント信号CSIGのカウント値が[3]にカウントアップされると、この値は1/2分周比設定信号HBSIGの値と一致するので、分周クロックセット信号BSET(図4(g))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt4で、分周クロック信号BCK(図4(i))がHレベルにセットされる。   When the count value of the count signal CSIG is counted up to [3] at the rising edge timing t3 of the basic clock signal RCK, this value matches the value of the 1/2 division ratio setting signal HBSIG. The set signal BSET (FIG. 4 (g)) changes to the H level. Then, at the next rising edge timing t4 of the basic clock signal RCK, the divided clock signal BCK (FIG. 4 (i)) is set to the H level.

次に、基本クロック信号RCKの立ち上がりエッジタイミングt7で、カウント信号CSIGのカウント値が[7]にカウントアップされると、この値は分周比設定信号BSIGの値と一致するので、分周クロックリセット信号BRST(図4(h))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt10で、分周クロック信号BCKがHレベルにリセットされる。   Next, when the count value of the count signal CSIG is counted up to [7] at the rising edge timing t7 of the basic clock signal RCK, this value matches the value of the frequency division ratio setting signal BSIG. The reset signal BRST (FIG. 4 (h)) changes to the H level. Then, at the next rising edge timing t10 of the basic clock signal RCK, the divided clock signal BCK is reset to the H level.

さらに、基本クロック信号RCKの立ち上がりエッジタイミングt13で、カウント信号CSIGのカウント値が[3]にカウントアップされると、この値は1/2分周比設定信号HBSIGの値と一致するので、分周クロックセット信号BSETは、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt14で、分周クロック信号BCKがHレベルにセットされる。   Further, when the count value of the count signal CSIG is counted up to [3] at the rising edge timing t13 of the basic clock signal RCK, this value matches the value of the 1/2 frequency division ratio setting signal HBSIG. The peripheral clock set signal BSET changes to the H level. Then, at the next rising edge timing t14 of the basic clock signal RCK, the divided clock signal BCK is set to the H level.

この結果、分周クロック信号BCKは、基本クロック信号RCKを8分周したクロック信号、すなわち、基本クロック信号RCKの8周期を1周期とするクロック信号となる。   As a result, the frequency-divided clock signal BCK is a clock signal obtained by dividing the basic clock signal RCK by 8, that is, a clock signal in which eight cycles of the basic clock signal RCK are one cycle.

なお、上記タイミングチャートは、3ビットのクロック選択信号SELDの表すクロック選択データが[101](2進数)であって分周比が[8](10進数)の場合を例に説明したが、クロック選択信号SELDの表すクロック選択データがその他の場合においても、分周クロック信号BCKは、それぞれの分周比に対応した分周周期のクロック信号となる。   In the above timing chart, the case where the clock selection data represented by the 3-bit clock selection signal SELD is [101] (binary number) and the division ratio is [8] (decimal number) is described as an example. Even when the clock selection data represented by the clock selection signal SELD is other than that, the frequency-divided clock signal BCK is a clock signal having a frequency-divided period corresponding to each frequency-dividing ratio.

A3.切り換え動作:
図5は、クロック分周回路100から出力される分周クロックの切り換え動作を示すタイミングチャートである。このタイミングチャートは、基本クロック信号RCK(図5(e))の立ち上がりエッジタイミングt0で、分周クロック信号BCK(図5(i))が立ち下がった後、基本クロック信号RCKの立ち上がりエッジタイミングt10で再びたち下がるまでの間のいずれかの時刻において、クロック選択信号SELD(図5(a))の表すクロック選択データが[101](2進数)から[100]に変化し、分周比が[8](10進数)の状態から[16]の状態に変化した場合を例に示している。
A3. Switching operation:
FIG. 5 is a timing chart showing the switching operation of the divided clock output from the clock frequency dividing circuit 100. This timing chart shows the rising edge timing t10 of the basic clock signal RCK after the divided clock signal BCK (FIG. 5 (i)) falls at the rising edge timing t0 of the basic clock signal RCK (FIG. 5 (e)). The clock selection data represented by the clock selection signal SELD (FIG. 5 (a)) changes from [101] (binary number) to [100] at any time until it falls again at the time, and the division ratio is The case where the state is changed from [8] (decimal number) to [16] is shown as an example.

上記前提の場合、基本クロック信号RCKの立ち上がりエッジタイミングt10で分周クロック信号BCKが立ち下がるまで、ラッチ後のクロック選択信号LSELD(図5(b))の表すクロック選択データは、切り換え前の[101]のままである。   In the case of the above assumption, until the divided clock signal BCK falls at the rising edge timing t10 of the basic clock signal RCK, the clock selection data represented by the clock selection signal LSELD after latching (FIG. 5B) is [ 101].

そして、基本クロック信号RCKの立ち上がりエッジタイミングt10で分周クロック信号BCKが立ち下がると、クロック選択信号SELDの表すクロック選択データ[100]がラッチされ、クロック選択信号LSELDの表すクロック選択データが[101]から[100]に変化する。このとき、分周比設定信号BSIG(図5(c))は、分周比が[16]に対応するカウント値[15]を表す8ビットの分周比設定データ[00001111](2進数)に設定され、1/2分周比設定信号HBSIG(図5(d))は、カウント値[7]を表す8ビットの1/2分周比設定データ[00000111]に設定される。   When the divided clock signal BCK falls at the rising edge timing t10 of the basic clock signal RCK, the clock selection data [100] represented by the clock selection signal SELD is latched, and the clock selection data represented by the clock selection signal LSELD is [101]. ] To [100]. At this time, the frequency division ratio setting signal BSIG (FIG. 5C) is an 8-bit frequency division ratio setting data [00001111] (binary number) representing the count value [15] corresponding to the frequency division ratio [16]. The 1/2 dividing ratio setting signal HBSIG (FIG. 5D) is set to 8-bit 1/2 dividing ratio setting data [00000111] representing the count value [7].

これにより、カウンタ10から出力される8ビットのカウント信号CSIG(図5(f))は、基本クロック信号RCKの立ち上がりエッジタイミングで[0]から[15]まで順にカウントアップされることになる。   As a result, the 8-bit count signal CSIG (FIG. 5 (f)) output from the counter 10 is sequentially counted up from [0] to [15] at the rising edge timing of the basic clock signal RCK.

基本クロック信号RCKの立ち上がりエッジタイミングt17で、カウント信号CSIGのカウント値が[7]にカウントアップされると、この値は1/2分周比設定信号HBSIGの表す1/2分周比設定データ[00000111]の値と一致するので、分周クロックセット信号BSET(図5(g))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt18で、分周クロック信号BCKがHレベルにセットされる。   When the count value of the count signal CSIG is counted up to [7] at the rising edge timing t17 of the basic clock signal RCK, this value is ½ division ratio setting data represented by the ½ division ratio setting signal HBSIG. Since it matches the value of [00000111], the divided clock set signal BSET (FIG. 5 (g)) changes to the H level. Then, at the next rising edge timing t18 of the basic clock signal RCK, the divided clock signal BCK is set to the H level.

次に、基本クロック信号RCKの立ち上がりエッジタイミングt1Fで、カウント信号CSIGのカウント値が[15]にカウントアップされると、この値は分周比設定信号BSIGの表す分周比設定データ[00001111]の値と一致するので、分周クロックリセット信号BRST(図5(h))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt20で、分周クロック信号BCKがLレベルにリセットされる。   Next, when the count value of the count signal CSIG is counted up to [15] at the rising edge timing t1F of the basic clock signal RCK, this value is the frequency division ratio setting data [000011111] represented by the frequency division ratio setting signal BSIG. Therefore, the divided clock reset signal BRST (FIG. 5 (h)) changes to the H level. Then, at the next rising edge timing t20 of the basic clock signal RCK, the divided clock signal BCK is reset to the L level.

以降、同様のタイミングで、分周クロック信号BCKのHレベルへのセットとLレベルへのリセットとが繰り返される。この結果、分周クロック信号BCKは、基本クロック信号RCKを8分周したクロック信号、すなわち、基本クロック信号RCKの8周期を1周期とするクロック信号から、基本クロック信号RCKを16分周したクロック信号、すなわち、基本クロック信号RCKの16周期を1周期とするクロック信号に切り換えられる。   Thereafter, the setting of the divided clock signal BCK to the H level and the resetting to the L level are repeated at the same timing. As a result, the divided clock signal BCK is a clock signal obtained by dividing the basic clock signal RCK by 16, that is, a clock signal obtained by dividing the basic clock signal RCK by 8, that is, a clock signal having one cycle of eight cycles of the basic clock signal RCK. The signal, that is, the clock signal having the 16 cycles of the basic clock signal RCK as one cycle is switched.

ここで、基本クロック信号RCKの立ち上がりエッジタイミングt18で分周クロック信号BCKが立ち上がった後の分周クロック信号BCKは、基本クロック信号RCKを16分周したクロック信号として動作している。従って、基本クロック信号RCKを8分周したクロック信号から、基本クロック信号RCKを16分周したクロック信号に切り換わるのに要した時間は、基本クロック信号RCKの立ち上がりエッジタイミングt10で、クロック選択信号SELDの表すクロック選択データ[100]がラッチされてから、基本クロック信号RCKの立ち上がりエッジタイミングt18で、分周クロック信号BCKが立ち上がるまでの時間で定義できる。そして、この時間は、基本クロック信号RCKの周期をTrとすると、[8・Tr]となり、切り換え後の分周クロック信号BCKの周期[16・Tr]の1/2周期に相当する。   Here, the divided clock signal BCK after the divided clock signal BCK rises at the rising edge timing t18 of the basic clock signal RCK operates as a clock signal obtained by dividing the basic clock signal RCK by 16. Therefore, the time required to switch from the clock signal obtained by dividing the basic clock signal RCK by 8 to the clock signal obtained by dividing the basic clock signal RCK by 16 is the rising edge timing t10 of the basic clock signal RCK. It can be defined as the time from when the clock selection data [100] represented by SELD is latched to the rising edge timing t18 of the basic clock signal RCK until the divided clock signal BCK rises. This time is [8 · Tr] when the cycle of the basic clock signal RCK is Tr, and corresponds to a half cycle of the cycle [16 · Tr] of the divided clock signal BCK after switching.

なお、上記タイミングチャートは、クロック選択信号SELDの表すクロック選択データが[101]から[100]に切り換えられて、基本クロック信号RCKを8分周したクロック信号の状態から基本クロック信号RCKを16分周したクロック信号の状態に切り換える場合を例に説明したが、他の切り換えの場合においても同様である。   In the timing chart, the clock selection data represented by the clock selection signal SELD is switched from [101] to [100], and the basic clock signal RCK is divided into 16 minutes from the state of the clock signal obtained by dividing the basic clock signal RCK by 8. The case of switching to the state of the clock signal that has been rotated has been described as an example, but the same applies to other switching cases.

A4.実施例の効果:
本実施例のクロック分周回路100は、分周比の異なった複数の分周器を用いることなく、1つのカウンタ10を用いて、出力する分周クロックの周波数を切り換えることができるので、従来の回路に比べて回路規模を小さくすることができる。
A4. Effects of the embodiment:
The clock frequency dividing circuit 100 of the present embodiment can switch the frequency of the frequency-divided clock to be output using one counter 10 without using a plurality of frequency dividers having different frequency dividing ratios. The circuit scale can be reduced as compared with the circuit.

また、本実施例のクロック分周回路100は、分周クロック信号BCKの立下りエッジタイミングで、与えられるクロック選択信号SELDをラッチすることにより、分周クロック信号BCKの分周比および1/2分周比を設定して、分周クロックのリセット信号を出力する第2のコンペア回路30により、設定した分周比に対応するカウント値を検出し、分周クロックのセット信号を出力する第1のコンペア回路20により、設定した1/2分周比に対応するカウント値を検出しているので、切り換え時におけるいわゆるハザードの発生を防止し、安定な切り換えを実現することができる。   Further, the clock frequency dividing circuit 100 according to the present embodiment latches the clock selection signal SELD to be applied at the falling edge timing of the frequency-divided clock signal BCK, so that the frequency-dividing ratio of the frequency-divided clock signal BCK and ½ A second compare circuit 30 that sets a division ratio and outputs a reset signal for a divided clock detects a count value corresponding to the set division ratio and outputs a set signal for the divided clock. Since the count value corresponding to the set 1/2 frequency dividing ratio is detected by the compare circuit 20, the occurrence of a so-called hazard at the time of switching can be prevented and stable switching can be realized.

さらに、本実施例のクロック分周回路100は、切り換えに要する時間を、切り換え後の分周クロック信号BCKの1/2周期に相当する時間とすることができるので、高速な切り換えが可能である。   Furthermore, the clock frequency dividing circuit 100 according to the present embodiment can set the time required for switching to a time corresponding to a half cycle of the frequency-divided clock signal BCK after switching, so that high-speed switching is possible. .

以上説明したように本実施例のクロック分周回路100は、高速で安定な切り換えが可能で、かつ、回路規模の削減を図ることができる。   As described above, the clock frequency dividing circuit 100 of this embodiment can be switched at high speed and stably, and the circuit scale can be reduced.

B.第2実施例:
B1.クロック分周回路の構成および基本動作:
図6は、本発明の第2実施例としてのクロック分周回路100Aの構成を示すブロック図である。この分周回路100Aは、分周比設定回路60の出力である分周比設定信号BSIGを第1のコンペア回路20のB端子に入力し、1/2分周比設定回路70の1/2分周比設定信号HBSIGを第2のコンペア回路30に入力し、第1のコンペア回路20のEQ端子から出力される分周クロックセット信号BSETをカウンタ10のCLR端子に入力している点を除いて、第1実施例のクロック分周回路と同じ構成を有している。
B. Second embodiment:
B1. Configuration and basic operation of clock divider:
FIG. 6 is a block diagram showing a configuration of a clock frequency dividing circuit 100A as a second embodiment of the present invention. The frequency dividing circuit 100A inputs a frequency dividing ratio setting signal BSIG, which is an output of the frequency dividing ratio setting circuit 60, to the B terminal of the first compare circuit 20, and outputs 1/2 of the 1/2 frequency dividing ratio setting circuit 70. Except that the division ratio setting signal HBSIG is input to the second compare circuit 30, and the divided clock set signal BSET output from the EQ terminal of the first compare circuit 20 is input to the CLR terminal of the counter 10. Thus, it has the same configuration as the clock divider circuit of the first embodiment.

本実施例のクロック分周回路100Aは、上記構成上の相違点により、第1のコンペア回路20から出力される分周クロックセット信号BSETがHレベルに変化するタイミングと、第2のコンペア回路30から出力される分周クロックリセット信号BRSTがHレベルに変化するタイミングとが、第1実施例の場合と互いに反対のタイミングとなり、フリップフロップ40から出力される分周クロックBCKの立ち上がタイミングと、立ち下がりタイミングとが、第1実施例の場合と互いに反対のタイミングとなるが、第1実施例の場合と同様に、設定した分周比に対応する分周クロック信号を出力することができる。   The clock frequency dividing circuit 100A according to the present embodiment has a timing at which the frequency-divided clock set signal BSET output from the first compare circuit 20 changes to the H level and the second compare circuit 30 due to the difference in configuration. The timing at which the frequency-divided clock reset signal BRST output from H changes to the H level is opposite to that in the first embodiment, and the rise of the frequency-divided clock BCK output from the flip-flop 40 is the timing. Although the falling timing is opposite to that in the first embodiment, a divided clock signal corresponding to the set division ratio can be output as in the first embodiment. .

B2.切り換え動作:
本実施例のクロック分周回路100Aは、クロックの切り換え時に要する時間が、上記相違点により、以下で示すように第1実施例の場合と異なることになる。なお、以下では、第1実施例における切り換え動作の説明の場合と同様に、本実施例のクロック分周回路100Aが、クロック選択信号SELDのビット数がm=3で、カウンタのビット数がn=8であり、かつ、図3で説明した条件で動作するものとして説明する。
B2. Switching operation:
The clock frequency dividing circuit 100A of the present embodiment differs from the first embodiment as described below due to the above differences in the time required for clock switching. In the following, as in the case of the description of the switching operation in the first embodiment, the clock frequency dividing circuit 100A of this embodiment is configured such that the number of bits of the clock selection signal SELD is m = 3 and the number of bits of the counter is n. = 8 and the operation is performed under the conditions described in FIG.

図7は、クロック分周回路100Aから出力される分周クロックの切り換え動作を示すタイミングチャートである。このタイミングチャートは、第1実施例における切り換え動作(図5参照)と同様に、基本クロック信号RCK(図7(e))の立ち上がりエッジタイミングt4で、分周クロック信号BCK(図7(i))が立ち下がった後、基本クロック信号RCKの立ち上がりエッジタイミングt14で再びたち下がるまでの間のいずれかの時刻において、クロック選択信号SELD(図7(a))の表すクロック選択データが[101](2進数)から[100]に変化し、分周比が[8](10進数)の状態から[16]の状態に変化した場合を例に示している。   FIG. 7 is a timing chart showing the switching operation of the divided clock output from the clock divider circuit 100A. This timing chart shows the divided clock signal BCK (FIG. 7 (i)) at the rising edge timing t4 of the basic clock signal RCK (FIG. 7 (e)), similarly to the switching operation in the first embodiment (see FIG. 5). ) Has fallen, and at any time until it falls again at the rising edge timing t14 of the basic clock signal RCK, the clock selection data represented by the clock selection signal SELD (FIG. 7A) is [101]. In the example, the value is changed from (binary number) to [100], and the frequency division ratio is changed from [8] (decimal number) to [16].

上記前提の場合、基本クロック信号RCKの立ち上がりエッジタイミングt14で分周クロック信号BCKが立ち下がるまで、ラッチ後のクロック選択信号LSELD(図7(b))の表すクロック選択データは、切り換え前の[101]のままである。   In the case of the above assumption, until the divided clock signal BCK falls at the rising edge timing t14 of the basic clock signal RCK, the clock selection data indicated by the clock selection signal LSELD after latching (FIG. 7B) is [ 101].

そして、基本クロック信号RCKの立ち上がりエッジタイミングt14で分周クロック信号BCKが立ち下がると、クロック選択信号SELDの表すクロック選択データ[100]がラッチされ、クロック選択信号LSELDの表すクロック選択データが[101]から[100]に変化する。このとき、分周比設定信号BSIG(図7(c))は、分周比が[16]に対応するカウント値[15]を表す8ビットの分周比設定データ[00001111](2進数)に設定され、1/2分周比設定信号HBSIG(図5(d))は、カウント値[7]を表す8ビットの1/2分周比設定データ[00000111]に設定される。   When the divided clock signal BCK falls at the rising edge timing t14 of the basic clock signal RCK, the clock selection data [100] represented by the clock selection signal SELD is latched, and the clock selection data represented by the clock selection signal LSELD is [101]. ] To [100]. At this time, the frequency division ratio setting signal BSIG (FIG. 7C) is an 8-bit frequency division ratio setting data [00001111] (binary number) representing the count value [15] corresponding to the frequency division ratio [16]. The 1/2 dividing ratio setting signal HBSIG (FIG. 5D) is set to 8-bit 1/2 dividing ratio setting data [00000111] representing the count value [7].

これにより、カウンタ10から出力される8ビットのカウント信号CSIG(図7(f))は、基本クロック信号RCKの立ち上がりエッジタイミングで[0]から[15]まで順にカウントアップされることになる。   As a result, the 8-bit count signal CSIG (FIG. 7 (f)) output from the counter 10 is sequentially counted up from [0] to [15] at the rising edge timing of the basic clock signal RCK.

基本クロック信号RCKの立ち上がりエッジタイミングt17で、カウント信号CSIGのカウント値が[7]にカウントアップされると、この値は1/2分周比設定信号HBSIGの表す1/2分周比設定データ[00000111]の値と一致するので、分周クロックリセット信号BRST(図7(h))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt18で、分周クロック信号BCKがLレベルにリセットされる。ただし、分周クロック信号BCKは、基本クロック信号RCKの立ち上がりエッジタイミングt14で、既にリセットされているので、基本クロック信号RCKの立ち上がりエッジタイミングt18ではなにも変化しない。   When the count value of the count signal CSIG is counted up to [7] at the rising edge timing t17 of the basic clock signal RCK, this value is ½ division ratio setting data represented by the ½ division ratio setting signal HBSIG. Since it matches the value of [00000111], the divided clock reset signal BRST (FIG. 7 (h)) changes to the H level. Then, at the next rising edge timing t18 of the basic clock signal RCK, the divided clock signal BCK is reset to the L level. However, since the divided clock signal BCK has already been reset at the rising edge timing t14 of the basic clock signal RCK, nothing changes at the rising edge timing t18 of the basic clock signal RCK.

次に、基本クロック信号RCKの立ち上がりエッジタイミングt1Fで、カウント信号CSIGのカウント値が[15]にカウントアップされると、この値は分周比設定信号BSIGの表す分周比設定データ[00001111]の値と一致するので、分周クロックセット信号BSET(図7(g))は、Hレベルに変化する。そして、基本クロック信号RCKの次の立ち上がりエッジタイミングt20で、分周クロック信号BCKがHレベルにセットされる。   Next, when the count value of the count signal CSIG is counted up to [15] at the rising edge timing t1F of the basic clock signal RCK, this value is the frequency division ratio setting data [000011111] represented by the frequency division ratio setting signal BSIG. Therefore, the divided clock set signal BSET (FIG. 7 (g)) changes to the H level. Then, at the next rising edge timing t20 of the basic clock signal RCK, the divided clock signal BCK is set to the H level.

以降、同様のタイミングで、分周クロック信号BCKのLレベルへのリセットとHレベルへのセットとが繰り返される。この結果、分周クロック信号BCKは、基本クロック信号RCKを8分周したクロック信号から、基本クロック信号RCKを16分周したクロック信号に切り換えられる。   Thereafter, resetting the divided clock signal BCK to the L level and setting to the H level are repeated at the same timing. As a result, the divided clock signal BCK is switched from the clock signal obtained by dividing the basic clock signal RCK by 8 to the clock signal obtained by dividing the basic clock signal RCK by 16.

ここで、基本クロック信号RCKを8分周したクロック信号から、基本クロック信号RCKを16分周したクロック信号に切り換わるのに要した時間は、基本クロック信号RCKの立ち上がりエッジタイミングt14で、クロック選択信号SELDの表すクロック選択データ[100]がラッチされてから、基本クロック信号RCKの立ち上がりエッジタイミングt20で、分周クロック信号BCKが立ち上がるまでの時間で定義できる。この時間は、基本クロック信号RCKの周期をTrとすると、[12・Tr]となり、切り換え後の分周クロック信号BCKの周期[16・Tr]の3/4周期に相当する。   Here, the time required to switch from the clock signal obtained by dividing the basic clock signal RCK by 8 to the clock signal obtained by dividing the basic clock signal RCK by 16 is selected at the rising edge timing t14 of the basic clock signal RCK. It can be defined as the time from when the clock selection data [100] represented by the signal SELD is latched to when the divided clock signal BCK rises at the rising edge timing t20 of the basic clock signal RCK. This time is [12 · Tr], where Tr is the period of the basic clock signal RCK, and corresponds to 3/4 period of the period [16 · Tr] of the divided clock signal BCK after switching.

なお、上記タイミングチャートは、クロック選択信号SELDの表すクロック選択データが[101]から[100]に切り換えられて、基本クロック信号RCKを8分周したクロック信号の状態から基本クロック信号RCKを16分周したクロック信号の状態に切り換える場合を例に説明したが、他の切り換えの場合においても同様である。ただし、切り換えに要する時間は、切り換え後のクロックの分周比から、切り換え前のクロックの1/2分周比を差し引いた値となる。例えば、切り換え前の分周比が[8]で切り換え後の分周比が[192]の場合において、切り換えに要する時間は、[188・Tr]となる。すなわち、切り換え後の分周比に対して、切り換え前の1/2分周比の差が大きくなるほど、切り換えに要する時間は、切り換え後の分周クロック信号の1周期に近くなり、差が小さくなるほど、切り換え後の分周クロック信号の1/2周期に近くなる。しかしながら、少なくとも、切り換え後の分周クロック信号BCKの周期以内では切り換えることが可能である。   In the timing chart, the clock selection data represented by the clock selection signal SELD is switched from [101] to [100], and the basic clock signal RCK is divided into 16 minutes from the state of the clock signal obtained by dividing the basic clock signal RCK by 8. The case of switching to the state of the clock signal that has been rotated has been described as an example, but the same applies to other switching cases. However, the time required for switching is a value obtained by subtracting the 1/2 frequency division ratio of the clock before switching from the frequency division ratio of the clock after switching. For example, when the division ratio before switching is [8] and the division ratio after switching is [192], the time required for switching is [188 · Tr]. That is, as the difference between the divide ratio after switching and the ½ divider ratio before switching increases, the time required for switching becomes closer to one cycle of the divided clock signal after switching, and the difference becomes smaller. Indeed, it becomes closer to a half cycle of the divided clock signal after switching. However, switching is possible at least within the cycle of the divided clock signal BCK after switching.

B3.実施例の効果:
本実施例のクロック分周回路100Aにおいても、第1実施例と同様に、分周比の異なった複数の分周器を用いることなく、1つのカウンタ10を用いて、出力する分周クロックの周波数を切り換えることができるので、従来の回路に比べて回路規模を小さくすることができる。
B3. Effects of the embodiment:
In the clock frequency dividing circuit 100A according to the present embodiment, similarly to the first embodiment, a single counter 10 is used to output a divided clock to be output without using a plurality of frequency dividers having different frequency division ratios. Since the frequency can be switched, the circuit scale can be reduced as compared with the conventional circuit.

また、本実施例のクロック分周回路100Aにおいても、分周クロック信号BCKの立下りエッジタイミングで、与えられるクロック選択信号SELDをラッチすることにより、分周クロック信号BCKの分周比および1/2分周比を設定して、分周クロックのリセット信号を出力する第2のコンペア回路30により、設定した1/2分周比に対応するカウンタのカウント値を検出し、分周クロックのセット信号を出力する第1のコンペア回路20により、設定した分周比に対応するカウンタのカウント値を検出しているので、切り換え時におけるいわゆるハザードの発生を防止し、安定な切り換えを実現することができる。   Also in the clock frequency dividing circuit 100A of the present embodiment, the clock selection signal SELD is latched at the falling edge timing of the frequency divided clock signal BCK, so that the frequency dividing ratio of the frequency divided clock signal BCK and the 1 / The second compare circuit 30 that sets the divide-by-2 ratio and outputs the reset signal of the divided clock detects the count value of the counter corresponding to the set divide-by-2 ratio, and sets the divided clock Since the count value of the counter corresponding to the set frequency division ratio is detected by the first compare circuit 20 that outputs a signal, it is possible to prevent the occurrence of a so-called hazard at the time of switching and to realize stable switching. it can.

さらに、本実施例のクロック分周回路100Aは、切り換えに要する時間を、切り換え後の分周クロック信号BCKの1周期以内の時間とすることができるので、高速な切り換えが可能である。   Furthermore, the clock frequency dividing circuit 100A according to the present embodiment can set the time required for switching to a time within one cycle of the frequency-divided clock signal BCK after switching, so that high-speed switching is possible.

以上説明したように本実施例のクロック分周回路100Aも、高速で安定な切り換えが可能で、かつ、回路規模の削減を図ることができる。   As described above, the clock frequency dividing circuit 100A according to the present embodiment can be switched at high speed and stably, and the circuit scale can be reduced.

C.変形例:
なお、本発明では、上記した実施の形態に限られるものではなく、その要旨を逸脱しない範囲において種々の態様にて実施することが可能である。
C. Variations:
Note that the present invention is not limited to the above-described embodiment, and can be implemented in various modes without departing from the scope of the invention.

C1.変形例1:
上記実施例では、3ビットのクロック選択信号SELDに基づいて、8ビットのカウンタにより、分周クロック信号BCKとして出力可能な256種類の分周クロック信号に対応する分周比のうち、あらかじめ用意されている8種類の分周比から1種類の分周比を設定して、設定した分周比に対応する分周クロック信号を生成する構成の場合を具体例として説明している。しかしながら、これに限定されるものではなく、あらかじめ用意されている複数種類の分周比から1種類を選択設定し、設定した分周比に対応する分周クロックを生成する構成であってもよい。ただし、この場合には、ラッチ50を、複数種類から1種類を選択設定するために要するビット数のクロック選択信号をラッチ可能な構成とし、分周比設定回路60を構成するセレクタ64を、複数種類の分周比設定データから1種類を選択する構成とする必要がある。
C1. Modification 1:
In the above-described embodiment, based on the 3-bit clock selection signal SELD, an 8-bit counter is prepared in advance among the division ratios corresponding to 256 types of divided clock signals that can be output as the divided clock signal BCK. A specific example is described of a configuration in which one frequency division ratio is set from the eight frequency division ratios and a frequency division clock signal corresponding to the set frequency division ratio is generated. However, the present invention is not limited to this, and a configuration in which one type is selected from a plurality of types of division ratios prepared in advance and a divided clock corresponding to the set division ratio may be generated. . However, in this case, the latch 50 is configured to be able to latch a clock selection signal having the number of bits required to select and set one type from a plurality of types, and a plurality of selectors 64 constituting the division ratio setting circuit 60 are provided. It is necessary to adopt a configuration in which one type is selected from the types of frequency division ratio setting data.

さらに、カウンタにより、分周クロック信号として出力可能な全種類の分周クロック信号に対応する分周比から1種類の分周比を設定して、設定した分周比に対応する分周クロック信号を生成する構成であってもよい。この場合には、分周比設定回路60を省略することができる。   Further, the counter sets one division ratio from the division ratios corresponding to all kinds of divided clock signals that can be output as a divided clock signal by the counter, and the divided clock signal corresponding to the set division ratio. The structure which produces | generates may be sufficient. In this case, the frequency division ratio setting circuit 60 can be omitted.

C2.変形例2:
上記実施例では、分周比設定回路60の各分周比設定レジスタ62に、図示しない制御回路を介してあらかじめユーザが所望する値に設定することが可能であるとして説明したが、あらかじめ固定のデータが記憶されており、書き換え不可としてもよい。また、あらかじめ固定のデータとする場合には、分周比設定レジスタ62のような記憶回路は省略することが可能である。
C2. Modification 2:
In the above embodiment, it has been described that each division ratio setting register 62 of the division ratio setting circuit 60 can be set to a value desired by the user in advance via a control circuit (not shown). Data is stored and may not be rewritten. Further, when the data is fixed in advance, a storage circuit such as the frequency division ratio setting register 62 can be omitted.

C3.変形例3:
なお、上記実施例のクロック分周回路は、シリアル通信の転送速度の16倍のクロックを生成し、調歩同期式のシリアル通信を行うシリアル通信装置や、このようなシリアル通信装置を備える情報処理装置等の種々の情報処理装置に備えるクロック生成回路として利用することが可能である。
C3. Modification 3:
Note that the clock divider circuit of the above embodiment generates a clock 16 times the serial communication transfer rate and performs asynchronous serial communication, or an information processing apparatus including such a serial communication device. It can be used as a clock generation circuit provided in various information processing apparatuses such as.

本発明の第1実施例としてのクロック分周回路100の構成を示すブロック図である。1 is a block diagram showing a configuration of a clock frequency dividing circuit 100 as a first embodiment of the present invention. FIG. 分周比設定回路60の構成例を示すブロック図である。3 is a block diagram illustrating a configuration example of a frequency division ratio setting circuit 60. FIG. 調歩同期式シリアル通信の転送レートに対応した転送クロックの生成に本実施例のクロック分周回路を用いた場合における、転送レート、転送クロック、および分周比の設定の具体例について示す説明図である。FIG. 4 is an explanatory diagram showing a specific example of setting a transfer rate, a transfer clock, and a frequency division ratio when the clock frequency dividing circuit according to the present embodiment is used to generate a transfer clock corresponding to the transfer rate of asynchronous serial communication. is there. クロック分周回路100の基本的な動作を示すタイミングチャートである。3 is a timing chart showing the basic operation of the clock divider circuit 100. クロック分周回路100から出力される分周クロックの切り換え動作を示すタイミングチャートである。4 is a timing chart showing a switching operation of a divided clock output from the clock divider circuit 100. 本発明の第2実施例としてのクロック分周回路100Aの構成を示すブロック図である。It is a block diagram which shows the structure of 100 A of clock frequency dividing circuits as 2nd Example of this invention. クロック分周回路100Aから出力される分周クロックの切り換え動作を示すタイミングチャートである。It is a timing chart showing the switching operation of the divided clock output from the clock divider circuit 100A.

符号の説明Explanation of symbols

100...クロック分周回路
100A...分周回路 10...カウンタ
20...第1のコンペア回路
30...第2のコンペア回路
30...第2のコンペア回路
40...JKフリップフロップ
50...ラッチ
60...分周比設定回路
62...分周比設定レジスタ
64...セレクタ
80...インバータ
100 ... Clock divider circuit 100A ... Divider circuit 10 ... Counter 20 ... First compare circuit 30 ... Second compare circuit 30 ... Second compare circuit 40 .. .JK flip-flop 50 ... Latch 60 ... Division ratio setting circuit 62 ... Division ratio setting register 64 ... Selector 80 ... Inverter

Claims (6)

基本クロック信号を分周した分周クロック信号を出力するクロック分周回路であって、
前記基本クロック信号のクロック数をカウントしたカウントデータを出力するnビット(nは2以上の整数)のカウンタと、
前記分周クロック信号のロウレベルへの変化のタイミングに同期して、前記分周クロック信号の前記基本クロック信号に対する分周比に対応するnビットの分周比設定データを設定するとともに、前記分周比設定データの値を2分の1したnビットの1/2分周比設定データを設定する分周比設定部と、
前記カウンタからのカウントデータが前記1/2分周比設定データに一致するときに、前記分周クロック信号をハイレベルに変化させるための分周クロックセット信号を発生する第1のコンペア回路と、
前記カウンタからのカウントデータが前記分周比設定データに一致するときに、前記分周クロック信号をロウレベルに変化させるための分周クロックリセット信号を発生する第2のコンペア回路と、
前記分周クロックセット信号に従って、前記分周クロック信号をハイレベルに変化させ、前記分周クロックリセット信号に従って、前記分周クロック信号をロウレベルに変化させるフリップフロップ回路と、
を備えることを特徴とするクロック分周回路。
A clock divider circuit that outputs a divided clock signal obtained by dividing a basic clock signal,
An n-bit counter (n is an integer of 2 or more) that outputs count data obtained by counting the number of clocks of the basic clock signal;
In synchronization with the timing of the change of the divided clock signal to the low level, n-bit division ratio setting data corresponding to the division ratio of the divided clock signal to the basic clock signal is set, and the divided frequency signal is set. A frequency division ratio setting unit for setting n-bit 1/2 frequency division ratio setting data obtained by halving the value of the ratio setting data;
A first compare circuit for generating a frequency-divided clock set signal for changing the frequency-divided clock signal to a high level when the count data from the counter matches the 1/2 frequency-dividing ratio setting data;
A second compare circuit for generating a frequency-divided clock reset signal for changing the frequency-divided clock signal to a low level when the count data from the counter matches the frequency-division ratio setting data;
A flip-flop circuit that changes the divided clock signal to a high level according to the divided clock set signal, and changes the divided clock signal to a low level according to the divided clock reset signal;
A clock frequency dividing circuit comprising:
基本クロック信号を分周した分周クロック信号を出力するクロック分周回路であって、
前記基本クロック信号のクロック数をカウントしたカウントデータを出力するnビット(nは2以上の整数)のカウンタと、
前記分周クロック信号のロウレベルへの変化のタイミングに同期して、前記分周クロック信号の前記基本クロック信号に対する分周比に対応するnビットの分周比設定データを設定するとともに、前記分周比設定データの値を2分の1したnビットの1/2分周比設定データを設定する分周比設定部と、
前記カウンタからのカウントデータが前記分周比設定データに一致するときに、前記分周クロック信号をハイレベルに変化させるための分周クロックセット信号を発生する第1のコンペア回路と、
前記カウンタからのカウントデータが前記1/2分周比設定データに一致するときに、前記分周クロック信号をロウレベルに変化させるための分周クロックリセット信号を発生する第2のコンペア回路と、
前記分周クロックセット信号に従って、前記分周クロック信号をハイレベルに変化させ、前記分周クロックリセット信号に従って、前記分周クロック信号をロウレベルに変化させるフリップフロップ回路と、
を備えることを特徴とするクロック分周回路。
A clock divider circuit that outputs a divided clock signal obtained by dividing a basic clock signal,
An n-bit counter (n is an integer of 2 or more) that outputs count data obtained by counting the number of clocks of the basic clock signal;
In synchronization with the timing of the change of the divided clock signal to the low level, n-bit division ratio setting data corresponding to the division ratio of the divided clock signal to the basic clock signal is set, and the divided frequency signal is set. A frequency division ratio setting unit for setting n-bit 1/2 frequency division ratio setting data obtained by halving the value of the ratio setting data;
A first compare circuit that generates a frequency-divided clock set signal for changing the frequency-divided clock signal to a high level when the count data from the counter matches the frequency-division ratio setting data;
A second compare circuit for generating a frequency-divided clock reset signal for changing the frequency-divided clock signal to a low level when the count data from the counter matches the 1/2 frequency-dividing ratio setting data;
A flip-flop circuit that changes the divided clock signal to a high level according to the divided clock set signal, and changes the divided clock signal to a low level according to the divided clock reset signal;
A clock frequency dividing circuit comprising:
請求項1または請求項2記載のクロック分周回路であって、
前記分周比設定部は、2個(mはn−1以下の整数)の分周比に対応する分周比のうち1つの分周比を選択するためのmビットの分周比選択信号を、前記分周クロック信号のロウレベルへの変化のタイミングに同期して取り込み、2個の分周比に対応する分周比設定データのなかから、取り込まれた分周比選択信号に対応する分周比設定データを選択する
ことを特徴とするクロック分周回路。
A clock divider circuit according to claim 1 or claim 2,
The division ratio setting unit selects an m-bit division ratio for selecting one division ratio among the division ratios corresponding to 2 m (m is an integer equal to or less than n−1) division ratios. The signal is acquired in synchronization with the timing of the change of the frequency-divided clock signal to the low level, and the frequency-division ratio selection signal corresponding to the acquired frequency-division ratio setting data corresponding to 2 m frequency-dividing ratios is supported. A clock divider circuit that selects the division ratio setting data to be selected.
請求項1ないし請求項3のいずれかに記載のクロック分周回路であって、
前記分周比設定部は、調歩同期式のシリアル通信における転送速度の16倍のクロックを生成するように、前記分周比設定データおよび前記1/2分周比設定データを設定する
ことを特徴とするクロック分周回路。
A clock divider circuit according to any one of claims 1 to 3,
The division ratio setting unit sets the division ratio setting data and the ½ division ratio setting data so as to generate a clock that is 16 times the transfer rate in asynchronous serial communication. A clock divider circuit.
請求項4記載のクロック分周回路を備え、調歩同期式のシリアル通信を行うことを特徴とするシリアル通信装置。   A serial communication device comprising the clock frequency dividing circuit according to claim 4 and performing asynchronous serial communication. 請求項5記載のシリアル通信装置を備えることを特徴とする情報処理装置。   An information processing apparatus comprising the serial communication apparatus according to claim 5.
JP2005137002A 2005-05-10 2005-05-10 Clock frequency-dividing circuit Pending JP2006318002A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005137002A JP2006318002A (en) 2005-05-10 2005-05-10 Clock frequency-dividing circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005137002A JP2006318002A (en) 2005-05-10 2005-05-10 Clock frequency-dividing circuit

Publications (1)

Publication Number Publication Date
JP2006318002A true JP2006318002A (en) 2006-11-24

Family

ID=37538669

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005137002A Pending JP2006318002A (en) 2005-05-10 2005-05-10 Clock frequency-dividing circuit

Country Status (1)

Country Link
JP (1) JP2006318002A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014497A (en) * 2010-07-01 2012-01-19 Fujitsu Semiconductor Ltd Clock frequency dividing circuit
KR20180009438A (en) * 2016-07-18 2018-01-29 에스케이하이닉스 주식회사 Frequency divider with variable division ratio
CN107968646A (en) * 2016-10-19 2018-04-27 意法半导体国际有限公司 Programmable clock frequency divider

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012014497A (en) * 2010-07-01 2012-01-19 Fujitsu Semiconductor Ltd Clock frequency dividing circuit
US8593185B2 (en) 2010-07-01 2013-11-26 Fujitsu Semiconductor Limited Clock divider circuit and system LSI having same
KR20180009438A (en) * 2016-07-18 2018-01-29 에스케이하이닉스 주식회사 Frequency divider with variable division ratio
KR102530564B1 (en) 2016-07-18 2023-05-11 에스케이하이닉스 주식회사 Frequency divider with variable division ratio
CN107968646A (en) * 2016-10-19 2018-04-27 意法半导体国际有限公司 Programmable clock frequency divider
CN107968646B (en) * 2016-10-19 2021-04-27 意法半导体国际有限公司 Programmable clock divider

Similar Documents

Publication Publication Date Title
US7205800B2 (en) Clock frequency divider circuit
JP4806631B2 (en) Timing generator and semiconductor test equipment
JP5522050B2 (en) Clock dividing circuit, clock distributing circuit, clock dividing method and clock distributing method
JP5488470B2 (en) Clock dividing circuit, clock distributing circuit, clock dividing method and clock distributing method
KR20130095832A (en) Bit generation device and bit generation method
KR20100077741A (en) Data transmission apparatus
JP2006318002A (en) Clock frequency-dividing circuit
JP2010282399A (en) Clock switch circuit
JP2005045507A (en) Non-integer frequency divider
JP3884553B2 (en) Clock divider
JP4434277B2 (en) Clock generation circuit and method of using the same
US8923466B2 (en) Multi-phase clock switching device and method thereof
CN213585746U (en) Frequency divider circuit
JP5493591B2 (en) Clock divider circuit and method
JP4668591B2 (en) High frequency counter circuit
JP5056262B2 (en) DATA TRANSMITTING DEVICE, DATA RECEIVING DEVICE, DATA TRANSFER DEVICE, AND ELECTRONIC DEVICE
JP2022083858A (en) Multi-bit Gray code generation circuit
JP2001127618A (en) Clock signal generating circuit
JP3471275B2 (en) Synchronization circuit
JP3829676B2 (en) Variable frequency divider
JP2877433B2 (en) Waveform generation circuit
JP2002204448A (en) Dot de-interleave circuit
JP6254465B2 (en) Divided clock generation circuit
KR0174707B1 (en) Clock generator
JPH118549A (en) Counter circuit