JPH054018Y2 - - Google Patents

Info

Publication number
JPH054018Y2
JPH054018Y2 JP1987119424U JP11942487U JPH054018Y2 JP H054018 Y2 JPH054018 Y2 JP H054018Y2 JP 1987119424 U JP1987119424 U JP 1987119424U JP 11942487 U JP11942487 U JP 11942487U JP H054018 Y2 JPH054018 Y2 JP H054018Y2
Authority
JP
Japan
Prior art keywords
oscillation
circuit
control signal
microcomputer
format
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 - Lifetime
Application number
JP1987119424U
Other languages
Japanese (ja)
Other versions
JPS6424432U (en
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 filed Critical
Priority to JP1987119424U priority Critical patent/JPH054018Y2/ja
Publication of JPS6424432U publication Critical patent/JPS6424432U/ja
Application granted granted Critical
Publication of JPH054018Y2 publication Critical patent/JPH054018Y2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Electronic Switches (AREA)

Description

【考案の詳細な説明】 (イ) 産業上の利用分野 本考案は、マイクロコンピユータ等に内蔵され
る発振回路の発振形式を切換える回路に関し、特
に、発振回路と不揮発性メモリが同一半導体素子
に内蔵されたマイクロコンピユータ等に関する。
[Detailed description of the invention] (a) Industrial application field The present invention relates to a circuit that switches the oscillation format of an oscillation circuit built into a microcomputer, etc., and particularly relates to a circuit that switches the oscillation format of an oscillation circuit built into a microcomputer, etc. related to microcomputers, etc.

(ロ) 従来の技術 一般に4ビツトあるいは8ビツト等のワンチツ
プマイクロコンピユータに於いては、システムの
動作を制御するシステムクロツクを作成するため
に発振回路が内蔵されている。この発振回路は、
マイクロコンピユータの使用目的に合わせてその
発振形式が変えられるようになつている。
(B) Prior Art Generally, a 4-bit or 8-bit one-chip microcomputer has a built-in oscillation circuit for creating a system clock for controlling system operations. This oscillation circuit is
The oscillation format can now be changed depending on the purpose of use of the microcomputer.

第2図イ,ロはマイクロコンピユータに内蔵さ
れる発振回路の回路図である。
Figures 2A and 2B are circuit diagrams of the oscillation circuit built into the microcomputer.

第2図イは、外部端子1,2に抵抗R及びコン
デンサCを接続することによつて発振を行うRC
発振回路であり、シユミツトインバータ3、
NORゲート4及びインバータ5とから構成され
る。NORゲート4の他方の入力には、発振回路
の発振開始及び停止を制御する制御信号OSC
CONTが印加され、ホールト命令の実行時に発
振を停止してスタンバイ状態とすることができ
る。このRC発振回路は、発振周波数の安定性に
劣るが、発振開始直後に十分な発振出力が得られ
るために、ホールト状態を解除した直後からマイ
クロコンピユータを動作させたい場合等に用いら
れる。
Figure 2 A shows an RC that oscillates by connecting a resistor R and a capacitor C to external terminals 1 and 2.
It is an oscillation circuit, and includes a Schmitt inverter 3,
It is composed of a NOR gate 4 and an inverter 5. The other input of NOR gate 4 has a control signal OSC that controls the start and stop of oscillation of the oscillation circuit.
When CONT is applied, oscillation can be stopped and a standby state can be established when a halt instruction is executed. Although this RC oscillation circuit has poor oscillation frequency stability, it can obtain sufficient oscillation output immediately after oscillation starts, and is therefore used when it is desired to operate a microcomputer immediately after releasing the halt state.

一方、第2図ロは、外部端子6,7にセラミツ
ク振動子(あるいは水晶振動子)CFコンデンサ
Cを接続することによつて発振を行うセラミツク
発振回路であり、発振開始及び停止を制御する制
御信号OSC CONT制御されるインバータ8と、
インバータ8の入出力間に接続された帰還抵抗9
とから構成される。このセラミツク発振回路は、
発振開始直後から発振が安定するまでにある程度
の時間を必要とするが、発振周波数が安定で高い
発振周波数が得られるため、高速でマイクロコン
ピユータを動作させる場合等に用いられる。
On the other hand, FIG. 2B shows a ceramic oscillation circuit that oscillates by connecting a ceramic resonator (or crystal resonator) CF capacitor C to external terminals 6 and 7, and controls the start and stop of oscillation. an inverter 8 controlled by the signal OSC CONT;
Feedback resistor 9 connected between input and output of inverter 8
It consists of This ceramic oscillator circuit is
Although it takes a certain amount of time for the oscillation to stabilize immediately after the start of oscillation, the oscillation frequency is stable and a high oscillation frequency can be obtained, so it is used when operating a microcomputer at high speed.

第2図イ及びロの回路は、昭和61年12月25日に
CQ出版(株)より発行された「’87三洋半導体デー
タブツク、マイクロコンピユータ、メモリ、ゲー
トアレイ編)の第237頁に記載されている。
The circuits in Figure 2 A and B were created on December 25, 1986.
It is described on page 237 of ``'87 Sanyo Semiconductor Data Book, Microcomputer, Memory, Gate Array Edition'' published by CQ Publishing Co., Ltd.

(ハ) 考案が解決しようとする問題点 しかしながら、第2図イ及びロに示された発振
回路の選択は、マイクロコンピユータの仕様が決
定した後にそのマイクロコンピユータの半導体集
積回路を製造するマスクによつて行つているた
め、製造後に仕様変換があつた場合には、発振回
路の発振形式を変更することはできない。また、
発振形式を変更する場合にはマスク自体を変更し
なければならず、マスク変更に伴う費用が増しコ
スト高となつてしまう。
(c) Problems to be solved by the invention However, the selection of the oscillator circuits shown in Figure 2 A and B is based on the mask for manufacturing the semiconductor integrated circuit of the microcomputer after the specifications of the microcomputer have been determined. Therefore, if specifications are changed after manufacturing, the oscillation format of the oscillation circuit cannot be changed. Also,
When changing the oscillation format, the mask itself must be changed, which increases costs associated with changing the mask.

(ニ) 問題点を解決するための手段 本考案は、上述した点に鑑みて創作されたもの
であり、発振素子が外部接続される2個の端子間
に設けられた複数の異なつた形式の発振回路と、
端子の一方と各々の発振回路の間に挿入されたス
イツチ回路と、スイツチ回路のオン及びオフを制
御する制御信号を出力する信号保持回路と、前記
制御信号を発生するための情報が記憶された領域
を有する不揮発性メモリ(EP−ROM)とを備
え、不揮発性メモリの所定領域の情報を書き変え
ることにより、発振回路の発振形式を容易に変更
できる発振形式切換回路を提供するものである。
(d) Means for solving the problem The present invention was created in view of the above points, and the oscillation element is provided between two terminals to which the oscillation element is externally connected. an oscillation circuit,
A switch circuit inserted between one of the terminals and each oscillation circuit, a signal holding circuit that outputs a control signal for controlling on and off of the switch circuit, and information for generating the control signal is stored. To provide an oscillation format switching circuit which is equipped with a nonvolatile memory (EP-ROM) having a region and can easily change the oscillation format of an oscillation circuit by rewriting information in a predetermined region of the nonvolatile memory.

(ホ) 作用 上述の手段によれば、不揮発性メモリの所定領
域に“1”を記憶させたときには、信号保持回路
に“1”が保持され、制御信号により一方の発振
回路に接続されたスイツチ回路がオンとなつて、
その発振回路の発振形式が選択される。逆に不揮
発性メモリの所定領域を“0”に変更すると、信
号保持回路に“0”が保持され、制御信号により
他方の発振回路に接続されたスイツチ回路がオン
となつて、その発振回路の発振形式が選択され
る。従つて、不揮発性メモリを書き変えることに
より発振形式が自由に変更できる。
(E) Effect According to the above-mentioned means, when "1" is stored in a predetermined area of the nonvolatile memory, "1" is held in the signal holding circuit, and the switch connected to one of the oscillation circuits is The circuit turns on,
The oscillation format of the oscillation circuit is selected. Conversely, when a predetermined area of the nonvolatile memory is changed to "0", "0" is held in the signal holding circuit, and the switch circuit connected to the other oscillation circuit is turned on by the control signal, and that oscillation circuit is turned on. The oscillation format is selected. Therefore, the oscillation format can be freely changed by rewriting the nonvolatile memory.

(ヘ) 実施例 第1図は本考案の実施例を示す回路図である。
10はRC発振回路であり、第2図イと同様に、
シユミツトインバータ11、制御信号OSC
CONTが印加されたNORゲート12、インバー
タ13から構成され、シユミツトインバータ11
の入力は外部端子14に接続され、インバータ1
3の出力と外部端子15の間にスイツチ回路であ
るトランスミツシヨンゲート16が接続される。
17はセラミツク発振回路であり、第2図ロと同
様に、制御信号OSC CONTで制御されるインバ
ータ18とインバータ18の入出力間に接続され
た帰還抵抗19から構成され、インバータ18の
入力は外部端子14に接続され、インバータ18
の出力と外部端子15の間には、同様にスイツチ
回路であるトランスミツシヨンゲート20が接続
される。
(F) Embodiment FIG. 1 is a circuit diagram showing an embodiment of the present invention.
10 is an RC oscillation circuit, similar to Fig. 2A,
Schmitt inverter 11, control signal OSC
Consists of a NOR gate 12 to which CONT is applied, an inverter 13, and a Schmidt inverter 11
The input of the inverter 1 is connected to the external terminal 14.
A transmission gate 16, which is a switch circuit, is connected between the output of No. 3 and an external terminal 15.
17 is a ceramic oscillator circuit, which, as in FIG. connected to terminal 14 and inverter 18
A transmission gate 20, which is also a switch circuit, is connected between the output and the external terminal 15.

制御信号OSC CONTは、RC発振回路10及
びセラミツク発振回路17の発振開始及び停止を
制御するものであり、ホールト命令が実行された
ときに“1”となつて共に発振を停止させ、ホー
ルト状態が解除されたとき“0”となつて発振が
開始させる。トランスミツシヨンゲート16,2
0は、共に制御信号RC/CFによつて制御される
が、制御信号RC/CFが“1”のときにはトラン
スミツシヨンゲート16のみがオンとなつてRC
発振回路10が選択され、制御信号RC/CFが
“0”のときにはトランスミツシヨンゲート20
のみがオンとなつてセラミツク発振回路17が選
択される。発振出力は、トランスミツシヨンゲー
ト16,20と外部端子15の接続点に入力が接
続されたインバータ21の出力から得られ、マイ
クロコンピユータのクロツクパルス発生回路(図
示せず)に供給される。
The control signal OSC CONT controls the start and stop of oscillation of the RC oscillation circuit 10 and the ceramic oscillation circuit 17, and becomes "1" when a halt command is executed, stopping both oscillations and eliminating the halt state. When released, it becomes "0" and oscillation starts. Transmission gate 16,2
0 are both controlled by the control signal RC/CF, but when the control signal RC/CF is "1", only the transmission gate 16 is turned on and the RC
When the oscillation circuit 10 is selected and the control signal RC/CF is “0”, the transmission gate 20
only is turned on, and the ceramic oscillation circuit 17 is selected. The oscillation output is obtained from the output of an inverter 21 whose input is connected to the connection point between the transmission gates 16 and 20 and the external terminal 15, and is supplied to a clock pulse generation circuit (not shown) of the microcomputer.

EP−ROM22は、マイクロコンピユータに内
蔵される不揮発性メモリであり、プログラムある
いはデータ等を外部から電気的に書き込むことが
可能で、且つ、紫外線あるいは電気的によつて消
去することができるものである。このEP−ROM
22は、アドレス指定によつてデータの書き込み
及び読み出しが為されるが、所定領域23は、書
き込まれたデータが、本来のデータ読み出し用の
バスライン(図示せず)とは別に取り出せるよう
になつており、そのデータの出力線がD−FF2
4の入力Dに接続されている。D−FF24は制
御信号RC−CFの信号保持回路であり、クロツク
入力φに印加される初期設定信号INTにより、
EP−ROM22の所定領域23に記憶されたデー
タを入力し保持し、制御信号RC/CFとして出力
する。
The EP-ROM 22 is a non-volatile memory built into the microcomputer, into which programs or data can be written electrically from the outside, and which can be erased by ultraviolet light or electrically. . This EP-ROM
In 22, data is written and read by addressing, but in the predetermined area 23, the written data can be taken out separately from the original bus line (not shown) for reading data. The data output line is D-FF2.
It is connected to input D of 4. D-FF24 is a signal holding circuit for the control signal RC-CF, and is controlled by the initial setting signal INT applied to the clock input φ.
Data stored in a predetermined area 23 of the EP-ROM 22 is input and held, and output as a control signal RC/CF.

そこで、EP−ROM22の所定領域23に
“1”が書き込まれている場合には、初期設定信
号INTの発生後、制御信号RC/CFは“1”とな
り、トランスミツシヨンゲート16がオンして
RC発振回路10が選択される。一方、EP−
ROM22の所定領域23に“0”が書き込まれ
ている場合には、初期設定信号INTの発生後、
制御信号RC/CFは“0”となり、トランスミツ
シヨンゲート20がオンしてセラミツク発振回路
17が選択される。
Therefore, if "1" is written in the predetermined area 23 of the EP-ROM 22, the control signal RC/CF becomes "1" after the initial setting signal INT is generated, and the transmission gate 16 is turned on.
RC oscillation circuit 10 is selected. On the other hand, EP−
If “0” is written in the predetermined area 23 of the ROM 22, after the initial setting signal INT is generated,
The control signal RC/CF becomes "0", the transmission gate 20 is turned on, and the ceramic oscillation circuit 17 is selected.

従つて、マイクロコンピユータの仕様変更に基
いて、EP−ROM22のデータを書き変え、所定
領域23に記憶するデータを変えることにより、
発振回路の形式が選択できる。
Therefore, by rewriting the data in the EP-ROM 22 and changing the data stored in the predetermined area 23 based on changes in the specifications of the microcomputer,
The format of the oscillation circuit can be selected.

(ト) 考案の効果 上述の如く本考案によれば、仕様が如何なると
きに変更となつても、EP−ROMを書き変えるだ
けで発振回路の発振形式を変更することができる
ので、使用者にとつて使い易い有益なマイクロコ
ンピユータ等が提供できる効果を有している。
(g) Effects of the invention As mentioned above, according to the invention, even if the specifications change at any time, the oscillation format of the oscillation circuit can be changed simply by rewriting the EP-ROM, so the user can easily change the oscillation format. This has the effect of providing a microcomputer that is extremely easy to use and useful.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本考案の実施例を示す回路図、第2図
イ,ロハ従来例を示す回路図である。 10……RC発振回路、17……セラミツク発
振回路、16,20……トランスミツシヨンゲー
ト、22……EP−ROM、24……D−FF。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIGS. 2A and 2B are circuit diagrams showing conventional examples. 10...RC oscillation circuit, 17...Ceramic oscillation circuit, 16, 20...Transmission gate, 22...EP-ROM, 24...D-FF.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] 発振素子が外部接続される2個の端子間に設け
られた複数の異なつた形式の発振回路と、前記端
子の一方と各々の発振回路の間に挿入されたスイ
ツチ回路と、該スイツチ回路のオン又はオフを制
御する制御信号を出力する信号保持回路と、前記
制御信号を発生するための情報が記憶された領域
を有する不揮発性メモリ(EP−ROM)とを備
え、前記不揮発性メモリの前記領域に記憶された
情報に基いて、前記異なつた形式の発振回路のう
ちの1つが選択されることを特徴とする発振形式
切換回路。
A plurality of different types of oscillation circuits are provided between two terminals to which an oscillation element is externally connected, a switch circuit is inserted between one of the terminals and each oscillation circuit, and the switch circuit is turned on. or a signal holding circuit that outputs a control signal for controlling off, and a non-volatile memory (EP-ROM) having an area in which information for generating the control signal is stored, the area of the non-volatile memory An oscillation format switching circuit characterized in that one of the different formats of oscillation circuits is selected based on information stored in the oscillation format switching circuit.
JP1987119424U 1987-08-04 1987-08-04 Expired - Lifetime JPH054018Y2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1987119424U JPH054018Y2 (en) 1987-08-04 1987-08-04

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1987119424U JPH054018Y2 (en) 1987-08-04 1987-08-04

Publications (2)

Publication Number Publication Date
JPS6424432U JPS6424432U (en) 1989-02-09
JPH054018Y2 true JPH054018Y2 (en) 1993-02-01

Family

ID=31364641

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1987119424U Expired - Lifetime JPH054018Y2 (en) 1987-08-04 1987-08-04

Country Status (1)

Country Link
JP (1) JPH054018Y2 (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4370625A (en) * 1981-01-07 1983-01-25 Motorola, Inc. Integrated circuit having elements for selectively forming an RC or a crystal oscillator

Also Published As

Publication number Publication date
JPS6424432U (en) 1989-02-09

Similar Documents

Publication Publication Date Title
JPS5974434U (en) Microcomputer power supply circuit
JPH0446707U (en)
JP2643146B2 (en) Clock generation circuit of microcomputer
JPH054018Y2 (en)
JPH01138129U (en)
JPH0416805B2 (en)
JPS61147324A (en) clock control circuit
JPH0521155Y2 (en)
JP2738159B2 (en) Clock signal control circuit
JPS63113309U (en)
JPH036353U (en)
JPS60202378A (en) electronic clock
JPH0376109B2 (en)
KR100239428B1 (en) Power saving circuit
JPH0125997Y2 (en)
JPS61109217U (en)
JPH0628831Y2 (en) Power-on reset circuit
JPH0223703A (en) Oscillation control circuit
JPH0343803A (en) Device controller
JPH0289557U (en)
JPH01165659U (en)
JPS63152330U (en)
JPS6019273A (en) CMOS one-chip microcomputer
JPS6116082B2 (en)
JPS6381262U (en)