JPH04235616A - Clock generator - Google Patents
Clock generatorInfo
- Publication number
- JPH04235616A JPH04235616A JP3001393A JP139391A JPH04235616A JP H04235616 A JPH04235616 A JP H04235616A JP 3001393 A JP3001393 A JP 3001393A JP 139391 A JP139391 A JP 139391A JP H04235616 A JPH04235616 A JP H04235616A
- Authority
- JP
- Japan
- Prior art keywords
- numerical value
- oscillator
- inputted
- frequency
- cpu
- 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
Links
- 230000010355 oscillation Effects 0.000 claims abstract description 11
- 239000013078 crystal Substances 0.000 abstract description 11
- 238000010586 diagram Methods 0.000 description 3
Landscapes
- Facsimiles In General (AREA)
Abstract
Description
【0001】0001
【産業上の利用分野】本発明は、クロック発生装置に関
し、例えば、ファクシミリ装置用のモデム装置において
利用される。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a clock generation device, and is used, for example, in a modem device for a facsimile machine.
【0002】0002
【従来の技術】例えば、ファクシミリ装置用のモデム装
置においては、G2モード用の10368HzおよびG
3モード用としての9600Hzのクロックが生成され
る。この場合、図2に示すように、10368Hzの整
数倍の発信周波数を有する水晶発振器11と分周器12
とによって10368Hzのクロックを生成する一方、
9600Hzの整数倍の発信周波数を有する水晶発振器
13と分周器14とによって9600Hzのクロックを
生成するようにしていた。2. Description of the Related Art For example, in a modem device for a facsimile machine, 10368 Hz for G2 mode and G
A 9600 Hz clock for three modes is generated. In this case, as shown in FIG.
While generating a 10368Hz clock by
A clock of 9600 Hz was generated by a crystal oscillator 13 having an oscillation frequency that is an integral multiple of 9600 Hz and a frequency divider 14.
【0003】0003
【発明が解決しようとする課題】ところが、上記従来の
装置では、2つの水晶発振器が必要であることから、装
置の価格が割高になるという問題点を有していた。本発
明は、上記の事情に鑑み、一つの発振器で互いに整数倍
の関係にない複数のクロック信号(例えば前述の103
68Hzと9600Hzの2つのクロック信号)を生成
し得るクロック発生装置を提供することを目的とする。However, the conventional device described above has a problem in that it is relatively expensive because two crystal oscillators are required. In view of the above circumstances, the present invention provides a single oscillator that uses multiple clock signals that are not integral multiples of each other (for example, the aforementioned 103 clock signals).
An object of the present invention is to provide a clock generation device capable of generating two clock signals of 68 Hz and 9600 Hz.
【0004】0004
【課題を解決するための手段】本発明に係るクロック発
生装置は、上記の課題を解決するために、発振周波数が
、必要とされる複数のクロック信号の周波数の公倍数と
なっている発振器と、この発振器から入力された発振信
号に対して予め書き込まれた数値に基づいた分周を行う
プログラマブル分周器と、このプログラマブル分周器に
任意の数値を書き込む数値書込み手段とを備えているこ
とを特徴としている。[Means for Solving the Problems] In order to solve the above problems, a clock generation device according to the present invention includes an oscillator whose oscillation frequency is a common multiple of the frequencies of a plurality of required clock signals; It is equipped with a programmable frequency divider that divides the oscillation signal input from this oscillator based on a pre-written numerical value, and a numerical value writing means for writing an arbitrary numerical value to this programmable frequency divider. It is a feature.
【0005】[0005]
【作用】上記の構成によれば、プログラマブル分周器に
任意の数値を書き込むだけで、一つの発振器で互いに整
数倍の関係にない複数のクロック信号を生成することが
できる。[Operation] According to the above structure, by simply writing an arbitrary value to the programmable frequency divider, one oscillator can generate a plurality of clock signals that are not integral multiples of each other.
【0006】[0006]
【実施例】本発明の一実施例を、図1に基づいて説明す
れば、以下の通りである。図1は、クロック発生装置の
概略構成を示すブロック図であり、図中、1は水晶発振
器、2はnビット分周器(プログラマブル分周器)、3
はnビットラッチ(数値書込み手段)である。[Embodiment] An embodiment of the present invention will be described below with reference to FIG. FIG. 1 is a block diagram showing a schematic configuration of a clock generator, in which 1 is a crystal oscillator, 2 is an n-bit frequency divider (programmable frequency divider), and 3 is a crystal oscillator.
is an n-bit latch (numerical writing means).
【0007】水晶発振器1は、必要とされるクロック信
号の周波数が例えば9600Hzと10368Hzであ
ることから、その公倍数である0.2592 MHzの
周波数で発振するものが用いられている。nビット分周
器2は、前記の水晶発振器1から入力された発振信号に
対し、予め書き込まれた数値に基づいた分周を行うよう
になっている。Since the required clock signal frequencies are, for example, 9600 Hz and 10368 Hz, the crystal oscillator 1 used is one that oscillates at a frequency of 0.2592 MHz, which is a common multiple thereof. The n-bit frequency divider 2 performs frequency division on the oscillation signal input from the crystal oscillator 1 based on a numerical value written in advance.
【0008】nビットラッチ3は、前記のnビット分周
器2に任意の数値を書き込むようになっている。上記の
数値は、図示しないCPUからn=5のデータバスを通
じて入力されるようになっている。また、CPUからの
コントロール信号を入力することによって、そのときに
CPUから入力されている前記の数値を保持するように
なっている。[0008] The n-bit latch 3 is designed to write an arbitrary value into the n-bit frequency divider 2. The above numerical values are input from a CPU (not shown) through n=5 data buses. Further, by inputting a control signal from the CPU, the above-mentioned numerical value inputted from the CPU at that time is held.
【0009】上記の構成において、前記のデータバスを
通じてCPUから5ビットデータによる数値“27”が
nビットラッチ3に入力され、このnビットラッチ3は
、更にコントロール信号の入力で該“27”を保持し、
この数値“27”をnビット分周器2に供給し続ける。
nビット分周器2は、水晶発振器1から0.2592
MHzの発振信号を入力しており、これを27個カウン
トする毎に1パルスを出力する。これにより、0.25
92 MHzの発振信号は1/27に分周されて、96
00Hzのクロックが生成される。In the above configuration, the numerical value "27" in 5-bit data is input from the CPU to the n-bit latch 3 through the data bus, and the n-bit latch 3 further receives the "27" by inputting a control signal. hold,
This numerical value "27" continues to be supplied to the n-bit frequency divider 2. n-bit frequency divider 2 is 0.2592 from crystal oscillator 1
A MHz oscillation signal is input, and one pulse is output every time 27 signals are counted. This results in 0.25
The 92 MHz oscillation signal is divided into 1/27 and becomes 96 MHz.
A clock of 00Hz is generated.
【0010】一方、前記のデータバスを通じて数値“2
5”が入力され、コントロール信号の入力で該数値“2
5”を保持し、この数値“25”をnビット分周器2に
供給すると、nビット分周器2は、水晶発振器1からの
0.2592 MHzの発振信号を25個カウントする
毎に1パルスを出力するようになる。これにより、0.
2592 MHzの発振信号は1/25に分周されて、
10368Hzのクロックが生成される。On the other hand, the numerical value "2" is transmitted through the data bus.
5” is input, and the corresponding value “2” is input by inputting the control signal.
5" is held and this value "25" is supplied to the n-bit frequency divider 2. The n-bit frequency divider 2 divides the frequency by 1 every time it counts 25 0.2592 MHz oscillation signals from the crystal oscillator 1. It starts outputting pulses.As a result, 0.
The 2592 MHz oscillation signal is divided into 1/25,
A 10368Hz clock is generated.
【0011】故に、10368Hzと9600Hzの2
つのクロック信号を生成するために2つの水晶発振器を
備えなければならないといった従来欠点が解消されるこ
とになり、装置の価格低減を図ることができる。なお、
本実施例では、必要とされるクロック信号の周波数とし
て9600Hzと10368Hzの2つを示し、その公
倍数として0.2592 MHzを示したが、これらは
例示であり、他の相互に整数倍の関係にない周波数、お
よび他の公倍数であってもよい。また、必要とされるク
ロック信号の周波数が3つ以上の場合も本発明を適用で
きるものである。[0011] Therefore, 2 of 10368Hz and 9600Hz
This eliminates the conventional drawback that two crystal oscillators must be provided to generate one clock signal, and the cost of the device can be reduced. In addition,
In this embodiment, two required clock signal frequencies, 9600 Hz and 10368 Hz, are shown, and 0.2592 MHz is shown as a common multiple thereof, but these are just examples, and other frequencies that are integral multiples of each other are shown. There may be no frequency, and other common multiples. Furthermore, the present invention is also applicable to cases where three or more clock signal frequencies are required.
【0012】0012
【発明の効果】以上のように、本発明によれば、一つの
発振器で互いに整数倍の関係にない複数のクロック信号
を生成でき、コストの低減が図れるという効果を奏する
。As described above, according to the present invention, a single oscillator can generate a plurality of clock signals that are not integral multiples of each other, thereby reducing costs.
【図面の簡単な説明】[Brief explanation of the drawing]
【図1】本発明の一実施例としてのクロック発生装置の
構成図である。FIG. 1 is a configuration diagram of a clock generation device as an embodiment of the present invention.
【図2】従来のクロック発生装置を示す構成図である。FIG. 2 is a configuration diagram showing a conventional clock generation device.
1 水晶発振器 2 nビット分周器 3 nビットラッチ 1 Crystal oscillator 2 n-bit frequency divider 3 n-bit latch
Claims (1)
ロック信号の周波数の公倍数となっている発振器と、こ
の発振器から入力された発振信号に対して予め書き込ま
れた数値に基づいた分周を行うプログラマブル分周器と
、このプログラマブル分周器に任意の数値を書き込む数
値書込み手段とを備えていることを特徴とするクロック
発生装置。Claim 1: An oscillator whose oscillation frequency is a common multiple of the frequencies of a plurality of required clock signals, and a frequency division based on a pre-written value for the oscillation signal input from this oscillator. 1. A clock generation device comprising: a programmable frequency divider that performs a frequency change; and a numerical value writing means for writing an arbitrary numerical value to the programmable frequency divider.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3001393A JPH04235616A (en) | 1991-01-10 | 1991-01-10 | Clock generator |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP3001393A JPH04235616A (en) | 1991-01-10 | 1991-01-10 | Clock generator |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH04235616A true JPH04235616A (en) | 1992-08-24 |
Family
ID=11500251
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP3001393A Pending JPH04235616A (en) | 1991-01-10 | 1991-01-10 | Clock generator |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH04235616A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2845783A1 (en) * | 2002-10-15 | 2004-04-16 | St Microelectronics Sa | Clock generator for dividing primary frequency by nominated decimal number, comprises a modulation circuit, a modulation distribution circuit and two divisors with down counters |
-
1991
- 1991-01-10 JP JP3001393A patent/JPH04235616A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2845783A1 (en) * | 2002-10-15 | 2004-04-16 | St Microelectronics Sa | Clock generator for dividing primary frequency by nominated decimal number, comprises a modulation circuit, a modulation distribution circuit and two divisors with down counters |
EP1411412A1 (en) * | 2002-10-15 | 2004-04-21 | STMicroelectronics | Clock generator having non-integer divider and application of such in a UART |
US7046065B2 (en) | 2002-10-15 | 2006-05-16 | Stmicroelectronics S.A. | Decimal set point clock generator and application of this clock generator to UART circuit |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH04336308A (en) | Single-chip microcomputer | |
US4864255A (en) | Oscillator capable of quickly supplying a stable oscillation signal | |
US5625311A (en) | System clock generating circuit having a power saving mode capable of maintaining a satisfactory processing speed | |
US4870299A (en) | Dynamic switching circuit for multiple asynchronous clock sources | |
US5815694A (en) | Apparatus and method to change a processor clock frequency | |
JPH04235616A (en) | Clock generator | |
JPH10143272A (en) | Oscillation circuit | |
US4564954A (en) | Noise reduction circuit of synthetic speech generating apparatus | |
JP2578760B2 (en) | Image processing device | |
JPH07231223A (en) | Frequency multiplier circuit | |
JPH114160A (en) | Clock frequency-dividing circuit | |
JPH05303444A (en) | Clock signal feeder | |
KR900005588B1 (en) | Cpu's clock and character's clock devided circuits | |
JPH0534409A (en) | Test mode control signal generating circuit | |
JPS60251418A (en) | Operating frequency switching control circuit of arithmetic unit | |
JP3166239B2 (en) | Clock signal supply device | |
JPH07169269A (en) | Arbiter control circuit | |
US5349620A (en) | Timer access control apparatus | |
KR0145620B1 (en) | Variable divider circuit | |
KR930012022B1 (en) | Cluck generator for keyboard controller | |
JPH04251312A (en) | Clock supplying system | |
JP2743407B2 (en) | Clock pulse generation circuit | |
JPH0818410A (en) | Clock selection device | |
JPH03296120A (en) | Clock generator | |
JPH049336B2 (en) |