JPH02270417A - Integrated circuit - Google Patents

Integrated circuit

Info

Publication number
JPH02270417A
JPH02270417A JP1092512A JP9251289A JPH02270417A JP H02270417 A JPH02270417 A JP H02270417A JP 1092512 A JP1092512 A JP 1092512A JP 9251289 A JP9251289 A JP 9251289A JP H02270417 A JPH02270417 A JP H02270417A
Authority
JP
Japan
Prior art keywords
analog switch
resistor
resistance
microcomputer
control register
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
JP1092512A
Other languages
Japanese (ja)
Inventor
Narihito Orita
折田 斉人
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP1092512A priority Critical patent/JPH02270417A/en
Publication of JPH02270417A publication Critical patent/JPH02270417A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To easily obtain an objective oscillating frequency by incorporating a resistance of a CR oscillation circuit in a microcomputer, and varying the resistance with the software. CONSTITUTION:A clock output signal 5 is inputted to an analog switch 7. The changeover of the analog switch 7 is controlled by a control register 8. The control register 8 is connected to a optional location of the analog switch 7 depending on the content. As a result, the resistor 6 built in the microcomputer and the analog switch 7 are connected at respective location. Thus, the resistance of the resistor 6 is varied by switching the analog switch 7. Since the resistance of the resistor 6 of the oscillating circuit is variable and the threshold level of inverters 1, 2 and the capacitance of a capacitor 3 are fixed, the oscillated frequency is optionally selected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、マイクロコンピュータに関するものである
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] This invention relates to a microcomputer.

〔従来の技術〕[Conventional technology]

第2図は、マイクロコンピュータで実現されているコン
デンサ内蔵、抵抗外付けのCR発振回路の回路図である
。図において、(1)、 (2月よインバータ、(3)
はコンデンサ、(4)はクロック入力信号、(5)はク
ロック出力信号、(9)はCR発振回路用の外付は抵抗
である。このCR発振回路は、インバータ(1) 、 
<2)とコンデンサ(3)によりり“ロックが形成され
、クロック出力信号(5)よりクロックが出力される。
FIG. 2 is a circuit diagram of a CR oscillation circuit with a built-in capacitor and an external resistor, which is implemented in a microcomputer. In the figure, (1), (February inverter, (3)
is a capacitor, (4) is a clock input signal, (5) is a clock output signal, and (9) is an external resistor for the CR oscillation circuit. This CR oscillation circuit includes an inverter (1),
<2) and the capacitor (3) form a "lock," and a clock is output from the clock output signal (5).

また、クロック出力信号(5)は外付は抵抗(9)を通
過し、クロ、ツク入力信号(4)へと入力されている。
Further, the clock output signal (5) passes through an external resistor (9) and is input to the clock and clock input signals (4).

このような同じ繰り返しを行い、クロックが発生される
A clock is generated by repeating this same process.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

従来のCR発振回路は以上のように構成されているので
、外付は抵抗を変えない限り、発振周波数を変えること
はできないという問題点があった。
Since the conventional CR oscillation circuit is constructed as described above, there is a problem in that the oscillation frequency cannot be changed unless the external resistance is changed.

この発明は、上記のような問題点を解消するためになさ
れたもので、マイクロコンピュータに内蔵された抵抗を
用い、発振周波数を任意に可変できるCR発振回路を得
ることを目的とする。
The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a CR oscillation circuit that can arbitrarily vary the oscillation frequency by using a resistor built into a microcomputer.

〔課題を解決するための手段〕[Means to solve the problem]

この発明に係るCR発振回路は、発振用抵抗をマイクロ
コンピュータに内蔵し、かつ、マイクロコンピュータの
ソフトウェアにより、その発振用抵抗値を可変すること
に特徴がある。
The CR oscillation circuit according to the present invention is characterized in that an oscillation resistor is built into a microcomputer, and the value of the oscillation resistor is varied by software of the microcomputer.

〔作用〕[Effect]

この発明におけるCR発振回路は、制御レジスタの内容
により、半導体チップに内蔵されている抵抗の抵抗値が
可変され、任意の発振周波数を得るものである。
In the CR oscillation circuit according to the present invention, the resistance value of the resistor built into the semiconductor chip is varied according to the contents of the control register, and an arbitrary oscillation frequency can be obtained.

〔実施例〕〔Example〕

以下、この発明に係る集積回路の一実施例を図について
説明する。第1図はマイクロコンピュータで実現したC
R発振回路の回路図である。図において、(1)〜(5
)は第2図の従来例に示したものと同等であるので説明
を省略する。(7)は任意に可変できるアナログスイッ
チ、(8)はアナログスイッチ(7)を制御している制
御レジスタ、(6)はマイクロコンピュータに内蔵され
た抵抗であり、アナログスイッチ(7)と個々の場所で
接続されている。クロック出力信号(5)によるクロッ
クは、アナログスイッチ(7)を通過し、また抵抗(6
)を通過し、クロック入力信号(4)となる。
An embodiment of an integrated circuit according to the present invention will be described below with reference to the drawings. Figure 1 shows C realized by a microcomputer.
FIG. 3 is a circuit diagram of an R oscillation circuit. In the figure, (1) to (5
) is the same as that shown in the conventional example of FIG. 2, and therefore its explanation will be omitted. (7) is an analog switch that can be changed arbitrarily, (8) is a control register that controls the analog switch (7), and (6) is a resistor built into the microcomputer. Connected in place. The clock from the clock output signal (5) passes through the analog switch (7) and also through the resistor (6).
) and becomes the clock input signal (4).

次に動作について説明する。クロック出力信号(5月よ
、アナログスイッチ(7)に入力されている。
Next, the operation will be explained. Clock output signal (May, input to analog switch (7).

アナログスイッチ(7)の切り換えを制御しているのが
、制御レジスタ(8)である。制御レジスタ(8)の内
容によりアナログスイッチ(7)の任意の場所と接続さ
れる。その結果、マイクロコンピュータ内Mの抵抗(6
)と、アナログスイッチ(7)は、個々の場所で接続さ
れているため、抵抗(6)の抵抗値は、アナログスイッ
チ(7)が切り換わることにより可変することになる。
A control register (8) controls switching of the analog switch (7). It is connected to any location of the analog switch (7) depending on the contents of the control register (8). As a result, the resistance of M inside the microcomputer (6
) and the analog switch (7) are connected at individual locations, so the resistance value of the resistor (6) can be varied by switching the analog switch (7).

発振回路の抵抗(6)の抵抗値が可変であり、インバー
タ(1)、(2)のしきい値、コンデンサ(3)の容量
値は、固定であるため、発振周波数を任意に選択するこ
とができる。
The resistance value of the resistor (6) in the oscillation circuit is variable, and the threshold values of the inverters (1) and (2) and the capacitance value of the capacitor (3) are fixed, so the oscillation frequency can be arbitrarily selected. I can do it.

なお、上記実施例ではマイクロコンピュータに抵抗を内
蔵した場合について説明したが、抵抗内蔵のマイクロコ
ンピュータに外付は抵抗を付加することにより、双方の
抵抗の接続を直列あるいは並列に変えるための制御レジ
スタにより制御することができるCR発振回路であって
もよく、上記実施例と同様の効果を奏する。
In addition, in the above embodiment, the case where the microcomputer has a built-in resistor was explained, but by adding a resistor externally to the microcomputer with a built-in resistor, a control register can be used to change the connection of both resistors to series or parallel. A CR oscillation circuit that can be controlled by the above-mentioned embodiment may also be used, and the same effects as in the above embodiment can be achieved.

〔発明の効果〕〔Effect of the invention〕

以上のように、仁の発明によれば、CR発振回路の抵抗
をマイクロコンビエータに内蔵し、ソフトウェアにより
抵抗値を可変するように構成したので、容品に目的とし
た発振局波数を得ることができる。
As described above, according to Jin's invention, the resistance of the CR oscillation circuit is built into the micro combinator, and the resistance value is changed by software, so that it is possible to obtain the desired oscillation frequency for the product. I can do it.

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

第1図は、この発明に係る集積回路の一実施例によるマ
イクロコンピュータで実現したCR発振回路の回路図、
第2図は、従来のマイクロコンピュータで実現したCR
発振回路の回路図である。 図において、(1)、 (2)はインバータ、(3)は
コンデンサ、(4)はクロック入力信号、(5)はクロ
ック出力信号、(6)は抵抗、(7)はアナログスイッ
チ、(8)は制御レジスタである。 なお、図中、同一符号は同一、又は相当部分を示す。
FIG. 1 is a circuit diagram of a CR oscillation circuit realized by a microcomputer according to an embodiment of an integrated circuit according to the present invention;
Figure 2 shows the CR achieved with a conventional microcomputer.
FIG. 3 is a circuit diagram of an oscillation circuit. In the figure, (1) and (2) are inverters, (3) are capacitors, (4) are clock input signals, (5) are clock output signals, (6) are resistors, (7) are analog switches, and (8) are ) is a control register. In addition, in the figures, the same reference numerals indicate the same or equivalent parts.

Claims (1)

【特許請求の範囲】[Claims] CR発振回路に必要なコンデンサと抵抗を半導体チップ
に内蔵し、上記抵抗値は制御レジスタの内容により任意
に可変できることを特徴とする集積回路。
An integrated circuit characterized in that a capacitor and a resistor necessary for a CR oscillation circuit are built into a semiconductor chip, and the resistance value can be arbitrarily varied according to the contents of a control register.
JP1092512A 1989-04-11 1989-04-11 Integrated circuit Pending JPH02270417A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1092512A JPH02270417A (en) 1989-04-11 1989-04-11 Integrated circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1092512A JPH02270417A (en) 1989-04-11 1989-04-11 Integrated circuit

Publications (1)

Publication Number Publication Date
JPH02270417A true JPH02270417A (en) 1990-11-05

Family

ID=14056370

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1092512A Pending JPH02270417A (en) 1989-04-11 1989-04-11 Integrated circuit

Country Status (1)

Country Link
JP (1) JPH02270417A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227815B2 (en) 1992-10-05 2007-06-05 Mitsubishi Denki Kabushiki Kaisha Optical disk and optical disk drive device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7227815B2 (en) 1992-10-05 2007-06-05 Mitsubishi Denki Kabushiki Kaisha Optical disk and optical disk drive device

Similar Documents

Publication Publication Date Title
DE60006643T2 (en) Numerically controlled variable oscillator
KR950002196A (en) Ring Oscillators and Voltage Controlled Oscillators
JPS5683135A (en) Pll circuit
JPH03206722A (en) Voltage control oscillator
JPH02270417A (en) Integrated circuit
JPH06104639A (en) Cr oscillation circuit
JPS63116505A (en) Cr oscillator
SE9102605L (en) OSCILLATOR CONSTRUCTED AROUND ECL LINER RECEIVER
JPH03192904A (en) Variable frequency oscillator circuit
JPS63114304A (en) Cr oscillator
JPH0126565B2 (en)
JPS6454944A (en) Ssb signal receiver
JPS62220005A (en) Crystal oscillator
JPS6145883B2 (en)
JPH07154146A (en) Integrated circuit for oscillation and oscillation circuit
JPS62140517A (en) Pll circuit
JPS5951609A (en) Integrated circuit device
JPH02165308A (en) Microcomputer
JPS6451806A (en) Ic for crystal oscillator
JPS60102014A (en) Semiconductor device
RU2022484C1 (en) Relative phase manipulation signal demodulator
RU96105814A (en) DIAGRAM FOR COMPENSATION OF VARIATIONS OF FREQUENCY CONTROLLED VOLTAGE Oscillator WITH THE SECOND Oscillator
JPH0677732A (en) Crystal oscillator and its oscillation frequency adjusting method
JPH0425260A (en) Phase modulation circuit
JPH06196982A (en) Noise removing circuit for oscillation device