JP2016116155A - Semiconductor device and oscillation method of semiconductor device - Google Patents

Semiconductor device and oscillation method of semiconductor device Download PDF

Info

Publication number
JP2016116155A
JP2016116155A JP2014255010A JP2014255010A JP2016116155A JP 2016116155 A JP2016116155 A JP 2016116155A JP 2014255010 A JP2014255010 A JP 2014255010A JP 2014255010 A JP2014255010 A JP 2014255010A JP 2016116155 A JP2016116155 A JP 2016116155A
Authority
JP
Japan
Prior art keywords
transistor
oscillation
semiconductor device
predetermined
inverting amplifier
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.)
Granted
Application number
JP2014255010A
Other languages
Japanese (ja)
Other versions
JP6544919B2 (en
Inventor
勇一 関谷
Yuichi Sekiya
勇一 関谷
拓哉 本橋
Takuya Motohashi
拓哉 本橋
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.)
Lapis Semiconductor Co Ltd
Original Assignee
Lapis Semiconductor Co Ltd
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 Lapis Semiconductor Co Ltd filed Critical Lapis Semiconductor Co Ltd
Priority to JP2014255010A priority Critical patent/JP6544919B2/en
Publication of JP2016116155A publication Critical patent/JP2016116155A/en
Application granted granted Critical
Publication of JP6544919B2 publication Critical patent/JP6544919B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

PROBLEM TO BE SOLVED: To provide a semiconductor device capable of reducing a time needed until an oscillation signal reaches a stable state, as compared with the case where an oscillation of a crystal oscillator is induced by a pulse signal of approximately one clock, and an oscillation method of a semiconductor device.SOLUTION: A semiconductor device includes: an inverting amplifier 16 connected in parallel with a crystal oscillator Qz; a pull-up P-type transistor p0 connected to an input terminal of the inverting amplifier 16; a pull-down N-type transistor n0 connected to the input terminal of the inverting amplifier 16; and a supply section 22 supplying a control signal to the P-type transistor p0 and the N-type transistor n0, the control signal controlling the P-type transistor p0 and the N-type transistor n0 so that the P-type transistor p0 and the N-type transistor n0 are alternately turned on during a predetermined period.SELECTED DRAWING: Figure 1

Description

本発明は、半導体装置及び半導体装置の発振方法に関する。   The present invention relates to a semiconductor device and a semiconductor device oscillation method.

一例として図6に示すように、従来の半導体装置100は、発振回路102を備えている。発振回路102は、マイクロコンピュータ(図示省略)が内蔵されたチップ104、水晶振動子Qz、及び負荷容量C1,C2を備えている。チップ104は、チップ104の入力側パッドである入力端子xt0、チップ104の出力側パッドである出力端子xt1、反転増幅器16、インバータ式のシュミット回路18、及び帰還抵抗rfを備えている。   As an example, as shown in FIG. 6, the conventional semiconductor device 100 includes an oscillation circuit 102. The oscillation circuit 102 includes a chip 104 in which a microcomputer (not shown) is built, a crystal resonator Qz, and load capacitors C1 and C2. The chip 104 includes an input terminal xt0 which is an input side pad of the chip 104, an output terminal xt1 which is an output side pad of the chip 104, an inverting amplifier 16, an inverter type Schmitt circuit 18, and a feedback resistor rf.

反転増幅器16は制限抵抗r1を介して接地されている。また、反転増幅器16には、制限抵抗r2を介して電源電圧VDDが供給されている。反転増幅器16の入力端子は、入力端子xt0に接続されており、反転増幅器16の出力端子は、出力端子xt1に接続されている。   The inverting amplifier 16 is grounded via the limiting resistor r1. The inverting amplifier 16 is supplied with the power supply voltage VDD via the limiting resistor r2. The input terminal of the inverting amplifier 16 is connected to the input terminal xt0, and the output terminal of the inverting amplifier 16 is connected to the output terminal xt1.

帰還抵抗rfは、反転増幅器16に並列に接続されており、反転増幅器16により出力される信号を反転増幅器16の入力端子に帰還させる。   The feedback resistor rf is connected in parallel to the inverting amplifier 16 and feeds back the signal output from the inverting amplifier 16 to the input terminal of the inverting amplifier 16.

シュミット回路18の入力端子は、反転増幅器16の出力端子に接続されている。シュミット回路18の出力端子18Aにより出力される発振信号は、マイクロコンピュータのクロック信号として使用される。   The input terminal of the Schmitt circuit 18 is connected to the output terminal of the inverting amplifier 16. The oscillation signal output from the output terminal 18A of the Schmitt circuit 18 is used as a clock signal for the microcomputer.

水晶振動子Qzは、反転増幅器16に並列に接続されている。すなわち、水晶振動子Qzの一端は、入力端子xt0に接続されており、水晶振動子Qzの他端が出力端子xt1に接続されている。   The crystal resonator Qz is connected to the inverting amplifier 16 in parallel. That is, one end of the crystal resonator Qz is connected to the input terminal xt0, and the other end of the crystal resonator Qz is connected to the output terminal xt1.

負荷容量C1の一端は、入力端子xt0に接続されており、負荷容量C1の他端は、接地されている。負荷容量C2の一端は、出力端子xt1に接続されており、負荷容量C2の他端は、接地されている。   One end of the load capacitor C1 is connected to the input terminal xt0, and the other end of the load capacitor C1 is grounded. One end of the load capacitor C2 is connected to the output terminal xt1, and the other end of the load capacitor C2 is grounded.

このように構成された発振回路102では、電源電圧VDDが所定の電圧レベルにまで立ち上がった後、外来ノイズ等によって水晶振動子Qzの振動が誘起される。水晶振動子Qzの振動周波数は、負荷容量C1,C2によって調整される。そして、反転増幅器16は、水晶振動子Qzの発振振幅を増幅させる。水晶振動子Qzの発振振幅が増幅されて得られた発振信号は、帰還抵抗rf及び水晶振動子Qzによって反転増幅器16の入力端子に帰還されることで、一例として図7に示すように、反転増幅器16によって振幅が増幅される。このように生成された発振信号は、反転増幅器16によりシュミット回路18に出力される。シュミット回路18では、反転増幅器16から入力された発振信号の振幅が、一例として図7に示すように調整され、調整された発振信号が後段回路であるマイクロコンピュータに出力される。   In the oscillation circuit 102 configured as described above, after the power supply voltage VDD rises to a predetermined voltage level, vibration of the crystal resonator Qz is induced by external noise or the like. The vibration frequency of the crystal resonator Qz is adjusted by the load capacitors C1 and C2. Then, the inverting amplifier 16 amplifies the oscillation amplitude of the crystal resonator Qz. The oscillation signal obtained by amplifying the oscillation amplitude of the crystal resonator Qz is fed back to the input terminal of the inverting amplifier 16 by the feedback resistor rf and the crystal resonator Qz, and as an example, as shown in FIG. The amplitude is amplified by the amplifier 16. The oscillation signal generated in this way is output to the Schmitt circuit 18 by the inverting amplifier 16. In the Schmitt circuit 18, the amplitude of the oscillation signal input from the inverting amplifier 16 is adjusted as shown in FIG. 7 as an example, and the adjusted oscillation signal is output to a microcomputer that is a subsequent circuit.

ところで、半導体装置100では、外来ノイズ等のノイズ成分のうち、水晶振動子Qzの共振周波数帯のノイズ成分だけが水晶振動子を通り、反転増幅器16の相互コンダクタンスによって発振信号の振幅が増幅される。そして、これが繰り返されることで、発振信号の振幅が徐々に増幅される。そのため、半導体装置100では、発振信号が不安定状態を経て安定状態に達するまでに多大な時間を要する。   By the way, in the semiconductor device 100, only noise components in the resonance frequency band of the crystal resonator Qz out of noise components such as external noise pass through the crystal resonator, and the amplitude of the oscillation signal is amplified by the mutual conductance of the inverting amplifier 16. . Then, by repeating this, the amplitude of the oscillation signal is gradually amplified. Therefore, in the semiconductor device 100, it takes a long time for the oscillation signal to reach a stable state through an unstable state.

そこで、特許文献1〜4に記載の技術では、1クロック程度のパルス信号によって水晶振動子Qzの振動を誘起することで、発振信号が安定状態に達するまでに要する時間の短縮化を図っている。   Thus, in the techniques described in Patent Documents 1 to 4, the time required for the oscillation signal to reach a stable state is shortened by inducing vibration of the crystal resonator Qz with a pulse signal of about one clock. .

特開昭59−205802号公報JP 59-205802 実開平2−118312号公報Japanese Utility Model Publication No. 2-118312 特開2007−318398号公報JP 2007-318398 A 特開平6−188632号公報JP-A-6-188632

しかしながら、1クロック程度のパルス信号では、ノイズ成分を助長させるには不十分であるため、発振信号が安定状態に達するまでに要する時間の短縮化が十分に行われない。   However, since a pulse signal of about 1 clock is insufficient to promote the noise component, the time required for the oscillation signal to reach a stable state cannot be sufficiently shortened.

本発明は上記問題点を解決するために成されたものであり、1クロック程度のパルス信号によって水晶振動子の振動が誘起される場合に比べ、発振信号が安定状態に達するまでに要する時間を短くすることができる半導体装置及び半導体装置の発振方法を提供することを目的とする。   The present invention has been made in order to solve the above-described problems. Compared with the case where the vibration of the crystal resonator is induced by a pulse signal of about one clock, the time required for the oscillation signal to reach a stable state is reduced. It is an object of the present invention to provide a semiconductor device and a semiconductor device oscillation method that can be shortened.

上記目的を達成するために、請求項1に記載の半導体装置は、水晶振動子に並列に接続された反転増幅器と、前記反転増幅器の入力端子に接続されたプルアップ用の第1トランジスタと、前記入力端子に接続されたプルダウン用の第2トランジスタと、前記第1トランジスタ及び前記第2トランジスタが所定期間内に交互にオンされるように前記第1トランジスタ及び前記第2トランジスタを制御する制御信号を前記第1トランジスタ及び前記第2トランジスタに供給する供給部と、を含む。   In order to achieve the above object, a semiconductor device according to claim 1 includes an inverting amplifier connected in parallel to a crystal resonator, a first transistor for pull-up connected to an input terminal of the inverting amplifier, A pull-down second transistor connected to the input terminal, and a control signal for controlling the first transistor and the second transistor so that the first transistor and the second transistor are alternately turned on within a predetermined period. And a supply unit for supplying the first transistor and the second transistor to each other.

上記目的を達成するために、請求項11に記載の半導体装置の発振方法は、水晶振動子に並列に接続された反転増幅器と、前記反転増幅器の入力端子に接続されたプルアップ用の第1トランジスタと、前記入力端子に接続されたプルダウン用の第2トランジスタと、を含む半導体装置の発振方法であって、前記第1トランジスタ及び前記第2トランジスタが所定期間内に交互にオンされるように前記第1トランジスタ及び前記第2トランジスタを制御する制御信号を前記第1トランジスタ及び前記第2トランジスタに供給することを含む。   In order to achieve the above object, an oscillation method for a semiconductor device according to claim 11 includes an inverting amplifier connected in parallel to a crystal resonator and a first pull-up connected to an input terminal of the inverting amplifier. An oscillation method of a semiconductor device including a transistor and a second pull-down transistor connected to the input terminal, wherein the first transistor and the second transistor are alternately turned on within a predetermined period. And supplying a control signal for controlling the first transistor and the second transistor to the first transistor and the second transistor.

本発明によれば、1クロック程度のパルス信号によって水晶振動子の振動が誘起される場合に比べ、発振信号が安定状態に達するまでに要する時間を短くすることができる、という効果が得られる。   According to the present invention, it is possible to shorten the time required for the oscillation signal to reach a stable state as compared with the case where the vibration of the crystal resonator is induced by a pulse signal of about one clock.

実施形態に係る半導体装置の要部構成の一例を示す回路図である。It is a circuit diagram which shows an example of the principal part structure of the semiconductor device which concerns on embodiment. 実施形態に係る半導体装置に含まれる供給部の要部構成の一例を示すブロック図である。It is a block diagram which shows an example of the principal part structure of the supply part contained in the semiconductor device which concerns on embodiment. 図2に示す供給部に含まれるRC発振回路の要部構成の一例を示す回路図である。FIG. 3 is a circuit diagram illustrating an example of a configuration of a main part of an RC oscillation circuit included in a supply unit illustrated in FIG. 2. 実施形態に係る半導体装置に含まれるチップの出力端子、チップの入力端子、及びシュミット回路の各々における発振信号の一例を示すグラフである。It is a graph which shows an example of an oscillation signal in each of an output terminal of a chip, an input terminal of a chip, and a Schmitt circuit contained in a semiconductor device concerning an embodiment. 実施形態に係る半導体装置に含まれるチップの出力端子及び入力端子の各々における発振信号、並びに第1接続端子及び第2接続端子に供給される制御信号の一例を示すグラフである。It is a graph which shows an example of the control signal supplied to the oscillation signal in each of the output terminal and input terminal of the chip | tip contained in the semiconductor device which concerns on embodiment, and a 1st connection terminal and a 2nd connection terminal. 従来例に係る半導体装置の要部構成の一例を示す回路図である。It is a circuit diagram which shows an example of the principal part structure of the semiconductor device which concerns on a prior art example. 従来例に係る半導体装置に含まれるチップの出力端子、チップの入力端子、及びシュミット回路の各々における発振信号の一例を示すグラフである。It is a graph which shows an example of the oscillation signal in each of the output terminal of a chip | tip, the input terminal of a chip | tip, and a Schmitt circuit included in the semiconductor device which concerns on a prior art example.

以下、図面を参照して、本発明を実施するための形態例について詳細に説明する。なお、以下の説明では、図6に示す半導体装置100と同一の部材については同一の符号を付して、その説明を省略する。また、以下では、説明の便宜上、N型MOS(metal-oxide-semiconductor)電界効果トランジスタを「N型トランジスタ」と称し、P型MOS電界効果トランジスタを「P型トランジスタ」と称する。   Embodiments for carrying out the present invention will be described below in detail with reference to the drawings. In the following description, the same members as those of the semiconductor device 100 shown in FIG. 6 are denoted by the same reference numerals, and the description thereof is omitted. Hereinafter, for convenience of explanation, an N-type MOS (metal-oxide-semiconductor) field effect transistor is referred to as an “N-type transistor”, and a P-type MOS field effect transistor is referred to as a “P-type transistor”.

一例として図1に示すように、半導体装置10は、半導体装置100に比べ、発振回路102に代えて発振回路12を有する点が異なる。発振回路12は、発振回路102に比べ、チップ104に代えてチップ14を有する点が異なる。チップ14は、チップ104に比べ、誘起補助部20を有する点が異なる。   As an example, as illustrated in FIG. 1, the semiconductor device 10 is different from the semiconductor device 100 in that an oscillation circuit 12 is provided instead of the oscillation circuit 102. The oscillation circuit 12 is different from the oscillation circuit 102 in that it includes a chip 14 instead of the chip 104. The chip 14 is different from the chip 104 in that it has the induction assisting unit 20.

誘起補助部20は、電源電圧VDDが所定の電圧レベルに立ち上がった後のノイズ成分による水晶振動子Qzの振動の誘起を補助する。誘起補助部20は、P型トランジスタp0、N型トランジスタn0、第1接続端子20A,20B、及び供給部22を含む。なお、P型トランジスタp0は、本発明に係る第1トランジスタの一例であり、N型トランジスタn0は、本発明に係る第2トランジスタの一例である。   The induction assisting unit 20 assists the induction of the vibration of the crystal resonator Qz by the noise component after the power supply voltage VDD rises to a predetermined voltage level. The induction assisting unit 20 includes a P-type transistor p0, an N-type transistor n0, first connection terminals 20A and 20B, and a supply unit 22. The P-type transistor p0 is an example of the first transistor according to the present invention, and the N-type transistor n0 is an example of the second transistor according to the present invention.

P型トランジスタp0は、プルアップ用のトランジスタである。P型トランジスタp0のソースには電源電圧VDDが印加されている。P型トランジスタp0のドレインは、反転増幅器16の入力端子に接続されている。P型トランジスタp0のゲートは、第1接続端子20Aに接続されている。従って、第1接続端子20Aを介してP型トランジスタp0のゲートにオン電圧が印加されることでP型トランジスタp0がオンされると、反転増幅器16の入力端子が電源電圧VDDにプルアップされる。   The P-type transistor p0 is a pull-up transistor. A power supply voltage VDD is applied to the source of the P-type transistor p0. The drain of the P-type transistor p0 is connected to the input terminal of the inverting amplifier 16. The gate of the P-type transistor p0 is connected to the first connection terminal 20A. Accordingly, when the on-voltage is applied to the gate of the p-type transistor p0 via the first connection terminal 20A and the p-type transistor p0 is turned on, the input terminal of the inverting amplifier 16 is pulled up to the power supply voltage VDD. .

N型トランジスタn0は、プルダウン用のトランジスタである。N型トランジスタn0のソースは接地されている。N型トランジスタn0のドレインは、反転増幅器16の入力端子に接続されている。N型トランジスタn0のゲートは、第2接続端子20Bに接続されている。従って、第2接続端子20Bを介してN型トランジスタn0のゲートにオン電圧が印加されることでN型トランジスタn0がオンされると、反転増幅器16の入力端子が接地電圧にプルダウンされる。   The N-type transistor n0 is a pull-down transistor. The source of the N-type transistor n0 is grounded. The drain of the N-type transistor n0 is connected to the input terminal of the inverting amplifier 16. The gate of the N-type transistor n0 is connected to the second connection terminal 20B. Therefore, when the on-voltage is applied to the gate of the n-type transistor n0 via the second connection terminal 20B and the n-type transistor n0 is turned on, the input terminal of the inverting amplifier 16 is pulled down to the ground voltage.

供給部22は、制御信号をP型トランジスタp0及びN型トランジスタn0に供給する。制御信号とは、P型トランジスタp0及びN型トランジスタn0が所定期間内に交互にオンされるようにP型トランジスタp0及びN型トランジスタn0を制御する信号を指す。   The supply unit 22 supplies a control signal to the P-type transistor p0 and the N-type transistor n0. The control signal refers to a signal for controlling the P-type transistor p0 and the N-type transistor n0 so that the P-type transistor p0 and the N-type transistor n0 are alternately turned on within a predetermined period.

よって、制御信号がP型トランジスタp0及びN型トランジスタn0に供給されると、制御信号がローレベルの場合は、P型トランジスタp0がオンされる一方で、N型トランジスタn0がオフされる。また、制御信号がハイレベルの場合は、P型トランジスタp0がオフされる一方で、N型トランジスタn0がオンされる。   Therefore, when the control signal is supplied to the P-type transistor p0 and the N-type transistor n0, when the control signal is at a low level, the P-type transistor p0 is turned on while the N-type transistor n0 is turned off. When the control signal is high level, the P-type transistor p0 is turned off while the N-type transistor n0 is turned on.

一例として図2に示すように、供給部22は、RC発振回路24、カウンタ26、一致回路28、レジスタ30、及び論理回路32を含む。   As an example, as illustrated in FIG. 2, the supply unit 22 includes an RC oscillation circuit 24, a counter 26, a matching circuit 28, a register 30, and a logic circuit 32.

一例として図3に示すように、RC発振回路24は、Dフリップフロップ40、トリミング抵抗42、反転増幅器44,46,48,50,52,54,56、P型トランジスタp1,p2p3、及びN型トランジスタn1,n2を含む。   As shown in FIG. 3 as an example, the RC oscillation circuit 24 includes a D flip-flop 40, a trimming resistor 42, inverting amplifiers 44, 46, 48, 50, 52, 54, 56, P-type transistors p1, p2p3, and N-type. Transistors n1 and n2 are included.

Dフリップフロップ40は、D端子、Q端子、QN端子、CK端子、及びS端子を有する。D端子はQN端子に接続されており、Q端子は反転増幅器48の入力端子に接続されている。CK端子には、反転増幅器54の入力端子が接続されている。反転増幅器54の出力端子は反転増幅器56の入力端子に接続されており、反転増幅器56の出力端子はトリミング抵抗42の一端に接続されている。トリミング抵抗42の他端は、コンデンサC4を介して接地されている。   The D flip-flop 40 has a D terminal, a Q terminal, a QN terminal, a CK terminal, and an S terminal. The D terminal is connected to the QN terminal, and the Q terminal is connected to the input terminal of the inverting amplifier 48. The input terminal of the inverting amplifier 54 is connected to the CK terminal. The output terminal of the inverting amplifier 54 is connected to the input terminal of the inverting amplifier 56, and the output terminal of the inverting amplifier 56 is connected to one end of the trimming resistor 42. The other end of the trimming resistor 42 is grounded via a capacitor C4.

トリミング抵抗42とコンデンサC4との接続点は、反転増幅器54と反転増幅器56との接続点にコンデンサC3を介して接続されている。また、トリミング抵抗42とコンデンサC4との接続点は、N型トランジスタn1のゲート、P型トランジスタp1のドレイン、及びP型トランジスタp2のゲートに接続されている。   A connection point between the trimming resistor 42 and the capacitor C4 is connected to a connection point between the inverting amplifier 54 and the inverting amplifier 56 via the capacitor C3. The connection point between the trimming resistor 42 and the capacitor C4 is connected to the gate of the N-type transistor n1, the drain of the P-type transistor p1, and the gate of the P-type transistor p2.

P型トランジスタp2のソースは、P型トランジスタp1のソース及びP型トランジスタp3のソースに接続されている。P型トランジスタp2のドレインは、P型トランジスタp3のドレイン及びN型トランジスタn1のドレインに接続されている。N型トランジスタn1のソースは、N型トランジスタn2のドレインに接続されており、N型トランジスタn2のソースは、接地されている。   The source of the P-type transistor p2 is connected to the source of the P-type transistor p1 and the source of the P-type transistor p3. The drain of the P-type transistor p2 is connected to the drain of the P-type transistor p3 and the drain of the N-type transistor n1. The source of the N-type transistor n1 is connected to the drain of the N-type transistor n2, and the source of the N-type transistor n2 is grounded.

反転増幅器50の入力端子は、P型トランジスタp3のドレインに接続されており、反転増幅器50の出力端子は、反転増幅器52の入力端子に接続されている。反転増幅器52の出力端子は、Dフリップフロップ40のCK端子に接続されている。   The input terminal of the inverting amplifier 50 is connected to the drain of the P-type transistor p 3, and the output terminal of the inverting amplifier 50 is connected to the input terminal of the inverting amplifier 52. The output terminal of the inverting amplifier 52 is connected to the CK terminal of the D flip-flop 40.

反転増幅器44の出力端子は反転増幅器46の入力端子に接続されており、反転増幅器46の出力端子は、P型トランジスタp1のゲート、P型トランジスタp3のゲート、及びN型トランジスタn2のゲートに接続されている。反転増幅器44と反転増幅器46との接続点は、Dフリップフロップ40のS端子に接続されている。   The output terminal of the inverting amplifier 44 is connected to the input terminal of the inverting amplifier 46, and the output terminal of the inverting amplifier 46 is connected to the gate of the P-type transistor p1, the gate of the P-type transistor p3, and the gate of the N-type transistor n2. Has been. A connection point between the inverting amplifier 44 and the inverting amplifier 46 is connected to the S terminal of the D flip-flop 40.

反転増幅器44の入力端子には、RC発振回路24の発振を許可する発振許可信号が入力される。発振許可信号は、Dフリップフロップ40によって制御される信号である。従って、電源電圧VDDの上昇中にDフリップフロップ40が動作可能な電圧になると、Dフリップフロップ40での値が確定し、発振許可信号が作用してRC発振回路24が動作し、反転増幅器48によりRC発振信号が出力される。反転増幅器48により出力されるRC発振信号は、例えば、水晶振動子Qzの共振周波数で発振するRC発振信号であり、コンデンサC3,C4の容量値が固定された状態で調整用信号によりトリミング抵抗42が調整されることで生成される。水晶振動子Qzの共振周波数とは、例えば、32kHzを指す。   An oscillation permission signal for permitting the oscillation of the RC oscillation circuit 24 is input to the input terminal of the inverting amplifier 44. The oscillation permission signal is a signal controlled by the D flip-flop 40. Accordingly, when the voltage of the D flip-flop 40 becomes operable while the power supply voltage VDD is rising, the value in the D flip-flop 40 is determined, the oscillation enable signal is activated, the RC oscillation circuit 24 operates, and the inverting amplifier 48 As a result, an RC oscillation signal is output. The RC oscillation signal output from the inverting amplifier 48 is, for example, an RC oscillation signal that oscillates at the resonance frequency of the crystal resonator Qz. The trimming resistor 42 is adjusted by an adjustment signal in a state where the capacitance values of the capacitors C3 and C4 are fixed. Is generated by adjusting. The resonance frequency of the crystal resonator Qz indicates, for example, 32 kHz.

一例として図2に示すように、RC発振回路24により出力されたRC発振信号は、カウンタ26及び論理回路32に入力される。カウンタ26は、入力されたRC発振信号のクロック数をカウントする。   As an example, as shown in FIG. 2, the RC oscillation signal output from the RC oscillation circuit 24 is input to the counter 26 and the logic circuit 32. The counter 26 counts the number of clocks of the input RC oscillation signal.

レジスタ30には、発振回路12によって得られる発振信号が安定状態に達するクロック数として水晶振動子Qzの種類に応じて定められたクロック数を特定するクロック数特定情報が格納されている。なお、半導体装置10に接続されたタッチパネルやキーボード等の受付手段(図示省略)によって受け付けられたクロック数特定情報がレジスタ30に上書き保存されることで、レジスタ30のクロック数特定情報は更新される。   The register 30 stores clock number specifying information for specifying the number of clocks determined according to the type of the crystal resonator Qz as the number of clocks at which the oscillation signal obtained by the oscillation circuit 12 reaches a stable state. Note that the clock number specifying information in the register 30 is updated by overwriting and saving the clock number specifying information received by receiving means (not shown) such as a touch panel and a keyboard connected to the semiconductor device 10 in the register 30. .

一致回路28は、カウンタ26によってカウントされたクロック数とレジスタ30に格納されているクロック数特定情報により特定されるクロック数とが一致した場合に、カウンタ26を停止する。   The coincidence circuit 28 stops the counter 26 when the number of clocks counted by the counter 26 coincides with the number of clocks specified by the clock number specifying information stored in the register 30.

論理回路32は、入力されたRC発振信号に同期する制御信号を生成し、生成した制御信号を第1接続端子20A及び第2接続端子20Bに供給する。そして、論理回路32は、カウンタ26が停止したことを条件に、第1接続端子20A及び第2接続端子20Bに対する制御信号の供給を停止する。   The logic circuit 32 generates a control signal synchronized with the input RC oscillation signal, and supplies the generated control signal to the first connection terminal 20A and the second connection terminal 20B. Then, the logic circuit 32 stops supplying the control signal to the first connection terminal 20A and the second connection terminal 20B on condition that the counter 26 is stopped.

RC発振回路24は、出力端子18Bに接続されており、出力端子18Bは、チップ14に内蔵された被供給部の一例であるマイクロコンピュータに接続されている。RC発振回路24は、論理回路32により第1接続端子20A及び第2接続端子20Bに対する制御信号の供給が停止された後、周波数帯を切り替えて発振動作を行う。   The RC oscillation circuit 24 is connected to an output terminal 18B, and the output terminal 18B is connected to a microcomputer that is an example of a supplied part built in the chip 14. The RC oscillation circuit 24 performs the oscillation operation by switching the frequency band after the logic circuit 32 stops supplying the control signal to the first connection terminal 20A and the second connection terminal 20B.

なお、被供給部は、出力端子18Aにより出力される信号の供給先と同じ供給先であってもよいし、出力端子18Aにより出力される信号の供給先と異なる供給先であってもよい。例えば、出力端子18Aにより出力される発振信号が32kHzの周波数の発振信号であり、出力端子18Bにより出力されるRC発振信号が4MHzの周波数のRC発振信号である場合、マイクロコンピュータに対して、32kHzの周波数の発振信号の代わりに4MHzの周波数のRC発振信号が供給されてもよいし、4MHzの周波数のRC発振信号は、マイクロコンピュータ以外の部品であるカウンタ等に供給されてもよい。   The supplied portion may be the same supply destination as the supply destination of the signal output from the output terminal 18A, or may be a supply destination different from the supply destination of the signal output from the output terminal 18A. For example, when the oscillation signal output from the output terminal 18A is an oscillation signal having a frequency of 32 kHz and the RC oscillation signal output from the output terminal 18B is an RC oscillation signal having a frequency of 4 MHz, Instead of an oscillation signal with a frequency of 4 MHz, an RC oscillation signal with a frequency of 4 MHz may be supplied, or an RC oscillation signal with a frequency of 4 MHz may be supplied to a counter or the like that is a component other than the microcomputer.

ここで、周波数帯を切り替えるとは、水晶振動子Qzの共振周波数帯とは異なる周波数帯に切り替えることを意味する。この場合、例えば、RC発振回路24は、水晶振動子Qzの共振周波数帯よりも高い周波数帯で発振動作を行う。水晶振動子Qzの共振周波数帯よりも高い周波数帯とは、例えば、4MHz程度の周波数帯を指す。   Here, switching the frequency band means switching to a frequency band different from the resonance frequency band of the crystal resonator Qz. In this case, for example, the RC oscillation circuit 24 performs an oscillation operation in a frequency band higher than the resonance frequency band of the crystal resonator Qz. The frequency band higher than the resonance frequency band of the crystal resonator Qz indicates, for example, a frequency band of about 4 MHz.

RC発振回路24は、周波数帯を切り替えて発振動作を行うことで、水晶振動子Qzの周波数帯とは異なる周波数帯のRC発振信号を生成し、生成したRC発振信号を、出力端子18Bを介してマイクロコンピュータに供給する。   The RC oscillation circuit 24 performs an oscillation operation by switching the frequency band, thereby generating an RC oscillation signal having a frequency band different from the frequency band of the crystal resonator Qz, and the generated RC oscillation signal via the output terminal 18B. Supply to the microcomputer.

次に、半導体装置10の動作について図4及び図5を参照しながら説明する。なお、以下では、説明の便宜上、水晶振動子Qzの共振周波数が32kHzの場合について説明する。   Next, the operation of the semiconductor device 10 will be described with reference to FIGS. In the following, for convenience of explanation, the case where the resonance frequency of the crystal resonator Qz is 32 kHz will be described.

電源電圧VDDが所定の電圧レベルにまで立ち上がると、ノイズ成分によって水晶振動子Qzの振動が誘起される。ノイズ成分のうち、32kHz近辺のノイズ成分だけが水晶振動子Qzを通り、水晶振動子Qzの発振振幅が反転増幅器16によって徐々に増幅されることで、発振回路12による発振動作を示す発振信号が出力端子xt1,18Aにより出力される。   When the power supply voltage VDD rises to a predetermined voltage level, the vibration of the crystal unit Qz is induced by the noise component. Of the noise components, only the noise component in the vicinity of 32 kHz passes through the crystal resonator Qz, and the oscillation amplitude of the crystal resonator Qz is gradually amplified by the inverting amplifier 16, whereby an oscillation signal indicating the oscillation operation by the oscillation circuit 12 is generated. Output from output terminals xt1, 18A.

一方、RC発振回路24では、32kHzのRC発振信号が生成され、生成されたRC発振信号が論理回路32に供給される。論理回路32では、RC発振信号が供給されると、RC発振信号に同期した制御信号が生成され、生成された制御信号が第1接続端子20A及び第2接続端子20Bに供給される。   On the other hand, in the RC oscillation circuit 24, a 32 kHz RC oscillation signal is generated, and the generated RC oscillation signal is supplied to the logic circuit 32. In the logic circuit 32, when the RC oscillation signal is supplied, a control signal synchronized with the RC oscillation signal is generated, and the generated control signal is supplied to the first connection terminal 20A and the second connection terminal 20B.

第1接続端子20Aに供給された制御信号は、P型トランジスタp0のゲートに供給され、第2接続端子20Bに供給された制御信号は、N型トランジスタn0のゲートに供給される。これにより、水晶振動子Qzの共振周波数である32kHz近辺の周波数でP型トランジスタp0及びN型トランジスタn0が交互にオンされる。   The control signal supplied to the first connection terminal 20A is supplied to the gate of the P-type transistor p0, and the control signal supplied to the second connection terminal 20B is supplied to the gate of the N-type transistor n0. As a result, the P-type transistor p0 and the N-type transistor n0 are alternately turned on at a frequency around 32 kHz, which is the resonance frequency of the crystal resonator Qz.

そのため、32kHz近辺のノイズ成分が助長され、一例として図4に示すように、発振回路12により出力される発振信号は、図7に示す発振信号に比べ、振幅が早く増大する。結果的に、発振回路12により出力される発振信号は、図7に示す発振信号に比べ、早く安定状態に達する。   Therefore, a noise component around 32 kHz is promoted, and as an example, as shown in FIG. 4, the oscillation signal output from the oscillation circuit 12 increases in amplitude faster than the oscillation signal shown in FIG. As a result, the oscillation signal output from the oscillation circuit 12 reaches a stable state earlier than the oscillation signal shown in FIG.

カウンタ26によってカウントされたクロック数がレジスタ30に格納されているクロック数特定情報により特定されるクロック数と一致した場合、カウンタ26によって、発振回路12により出力される発振信号が安定状態に達したと判定される。カウンタ26によって発振信号が安定状態に達したと判定されると、論理回路32による制御信号の供給が停止される。   When the number of clocks counted by the counter 26 matches the number of clocks specified by the clock number specifying information stored in the register 30, the oscillation signal output from the oscillation circuit 12 has reached a stable state by the counter 26. It is determined. When the counter 26 determines that the oscillation signal has reached a stable state, the supply of the control signal by the logic circuit 32 is stopped.

例えば、図5に示すように、カウンタ26によってクロック数として“10”がカウントされたことを条件に、第1接続端子20A及び第2接続端子20Bに対する制御信号の供給が停止される。また、図5に示す例では、制御信号の供給が停止されると、出力端子xt1の電圧レベルは、ローレベルから電源電圧VDDの1/2の電圧レベルに遷移し、入力端子xt0の電圧レベルは、ハイレベルから電源電圧VDDの1/2の電圧レベルに遷移する。また、制御信号の供給が停止されてから電源電圧VDDの1/2の電圧レベルまでの遷移に要する時間は、帰還抵抗rf及びコンデンサC1,C2によって決まる。   For example, as shown in FIG. 5, the supply of control signals to the first connection terminal 20A and the second connection terminal 20B is stopped on the condition that the counter 26 has counted “10” as the number of clocks. In the example shown in FIG. 5, when the supply of the control signal is stopped, the voltage level of the output terminal xt1 changes from a low level to a voltage level that is ½ of the power supply voltage VDD, and the voltage level of the input terminal xt0. Transits from a high level to a voltage level that is ½ of the power supply voltage VDD. The time required for the transition from the supply of the control signal to the voltage level ½ of the power supply voltage VDD is determined by the feedback resistor rf and the capacitors C1 and C2.

一方、論理回路32による制御信号の供給が停止された後、RC発振回路24により、水晶振動子Qzの共振周波数帯よりも高い周波数帯のRC発振信号、例えば、4MHzのRC発振信号が生成される。そして、生成されたRC発振信号は、RC発振回路24により、出力端子18Bを介してマイクロコンピュータに供給される。   On the other hand, after the supply of the control signal by the logic circuit 32 is stopped, the RC oscillation circuit 24 generates an RC oscillation signal in a frequency band higher than the resonance frequency band of the crystal resonator Qz, for example, an RC oscillation signal of 4 MHz. The The generated RC oscillation signal is supplied to the microcomputer by the RC oscillation circuit 24 via the output terminal 18B.

以上説明したように、半導体装置10では、供給部22により、制御信号がP型トランジスタp0及びN型トランジスタn0が供給される。そして、制御信号は、P型トランジスタp0及びN型トランジスタn0が所定期間内に交互にオンされるようにP型トランジスタp0及びN型トランジスタn0を制御する制御信号である。よって、P型トランジスタp0及びN型トランジスタn0が所定期間内に交互にオンされるので、水晶振動子Qzの振動を誘起するノイズ成分が助長され、発振信号の振幅の増大が促進される。これにより、半導体装置10は、1クロック程度のパルス信号によって水晶振動子の振動が誘起される場合に比べ、発振信号が安定状態に達するまでに要する時間を短くすることができる。   As described above, in the semiconductor device 10, the supply unit 22 supplies the control signal to the P-type transistor p0 and the N-type transistor n0. The control signal is a control signal for controlling the P-type transistor p0 and the N-type transistor n0 so that the P-type transistor p0 and the N-type transistor n0 are alternately turned on within a predetermined period. Accordingly, since the P-type transistor p0 and the N-type transistor n0 are alternately turned on within a predetermined period, the noise component that induces the vibration of the crystal resonator Qz is promoted, and the increase in the amplitude of the oscillation signal is promoted. Thereby, the semiconductor device 10 can shorten the time required for the oscillation signal to reach a stable state as compared with the case where the vibration of the crystal resonator is induced by the pulse signal of about one clock.

また、半導体装置10では、P型トランジスタp0及びN型トランジスタn0が水晶振動子Qzの共振周波数帯に対応する周期で交互にオンされる。よって、半導体装置10は、水晶振動子Qzの共振周波数帯に対応しない周期でP型トランジスタp0及びN型トランジスタn0が交互にオンされる場合に比べ、発振信号が安定状態に達するまでに要する時間を短くすることができる。   In the semiconductor device 10, the P-type transistor p0 and the N-type transistor n0 are alternately turned on at a period corresponding to the resonance frequency band of the crystal resonator Qz. Therefore, the semiconductor device 10 requires a longer time for the oscillation signal to reach a stable state than when the P-type transistor p0 and the N-type transistor n0 are alternately turned on at a period not corresponding to the resonance frequency band of the crystal resonator Qz. Can be shortened.

また、半導体装置10では、RC発振回路24によりRC発振信号が生成され、論理回路32によりRC発振信号に同期した制御信号が生成される。よって、半導体装置10は、RC発振回路24を用いずに制御信号を生成する場合に比べ、簡易に制御信号を生成することができる。   In the semiconductor device 10, an RC oscillation signal is generated by the RC oscillation circuit 24, and a control signal synchronized with the RC oscillation signal is generated by the logic circuit 32. Therefore, the semiconductor device 10 can generate the control signal more easily than when the control signal is generated without using the RC oscillation circuit 24.

また、半導体装置10では、水晶振動子Qzの共振周波数帯に相当する周波数帯として予め定められた周波数帯のRC発振信号が生成されたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が開始される。よって、半導体装置10は、水晶振動子Qzの共振周波数帯に相当する周波数帯として予め定められた周波数帯のRC発振信号が生成される前に制御信号の供給を開始する場合に比べ、発振信号が安定状態に達するまでに要する時間を短くすることができる。   Further, in the semiconductor device 10, the RC oscillation signal of the frequency band set in advance as a frequency band corresponding to the resonance frequency band of the crystal resonator Qz is generated, with respect to the P-type transistor p0 and the N-type transistor n0. Supply of the control signal is started. Therefore, the semiconductor device 10 has an oscillation signal as compared with the case where the supply of the control signal is started before the RC oscillation signal in the frequency band predetermined as the frequency band corresponding to the resonance frequency band of the crystal resonator Qz is generated. The time required to reach a stable state can be shortened.

また、半導体装置10では、RC発振回路24で生成されたRC発振信号から所定のクロック数がカウントされたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止される。よって、半導体装置10は、RC発振回路24で生成されたRC発振信号から所定のクロック数をカウントする前に又は所定のクロック数を超えるカウント数をカウントしてから制御信号の供給を停止する場合に比べ、制御信号を過不足なく供給することができる。   In the semiconductor device 10, the supply of control signals to the P-type transistor p0 and the N-type transistor n0 is stopped on condition that a predetermined number of clocks has been counted from the RC oscillation signal generated by the RC oscillation circuit 24. . Therefore, when the semiconductor device 10 stops supplying the control signal before counting the predetermined number of clocks from the RC oscillation signal generated by the RC oscillation circuit 24 or counting the number exceeding the predetermined number of clocks. Compared to, control signals can be supplied without excess or deficiency.

また、半導体装置10では、RC発振回路24で生成されたRC発振信号から、水晶振動子Qzの種類毎に定められたクロック数がカウントされたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止される。よって、半導体装置10は、水晶振動子Qzの種類毎に定められていないクロック数がカウントされたことを条件に制御信号の供給を停止する場合に比べ、制御信号を過不足なく供給することができる。   In the semiconductor device 10, the P-type transistor p0 and the N-type transistor are provided on the condition that the number of clocks determined for each type of the crystal resonator Qz is counted from the RC oscillation signal generated by the RC oscillation circuit 24. The supply of the control signal to n0 is stopped. Therefore, the semiconductor device 10 can supply the control signal more or less than the case where the supply of the control signal is stopped on the condition that the number of clocks not determined for each type of the crystal resonator Qz is counted. it can.

また、半導体装置10では、レジスタ30にクロック数特定情報が変更可能に格納されている。よって、半導体装置10は、レジスタ30にクロック数特定情報が変更可能に格納されない場合に比べ、高い汎用性を実現することができる。   In the semiconductor device 10, the clock number specifying information is stored in the register 30 in a changeable manner. Therefore, the semiconductor device 10 can realize high versatility compared to the case where the clock number specifying information is not stored in the register 30 in a changeable manner.

また、半導体装置10では、論理回路32による制御信号の供給が停止された後に、RC発振回路24の周波数帯が水晶振動子Qzの周波数帯域とは異なる周波数帯域に切り替えられて得られたRC発振信号がマイクロコンピュータに供給される。よって、半導体装置10によれば、制御信号の供給が停止された後もRC発振回路24の周波数帯が水晶振動子Qzの共振周波数帯に拘束されている場合に比べ、制御信号の供給が停止された後のRC発振回路24を有効利用することができる。   Further, in the semiconductor device 10, after the supply of the control signal by the logic circuit 32 is stopped, the RC oscillation obtained by switching the frequency band of the RC oscillation circuit 24 to a frequency band different from the frequency band of the crystal resonator Qz. A signal is supplied to the microcomputer. Therefore, according to the semiconductor device 10, even after the supply of the control signal is stopped, the supply of the control signal is stopped as compared with the case where the frequency band of the RC oscillation circuit 24 is constrained to the resonance frequency band of the crystal resonator Qz. The RC oscillation circuit 24 after being made can be used effectively.

例えば、マイクロコンピュータに含まれるCPU(Central Proccessing Unit)の動作を、水晶振動子Qzによる32kHzの周波数での動作からRC発振回路24による4MHzの周波数での動作に移行させることができる。すなわち、CPUを低消費電力で低速動作させる場合は、出力端子18Aの出力で動作させ、高消費電力で高速動作させる場合は、出力端子18Bの出力で動作させることができる。   For example, the operation of a CPU (Central Processing Unit) included in the microcomputer can be shifted from the operation at a frequency of 32 kHz by the crystal resonator Qz to the operation at a frequency of 4 MHz by the RC oscillation circuit 24. That is, when the CPU is operated at low speed with low power consumption, it can be operated with the output of the output terminal 18A, and when it is operated with high power consumption at high speed, it can be operated with the output of the output terminal 18B.

なお、上記実施形態では、クロック数特定情報として、クロック数を直接特定する情報を採用したが、本発明はこれに限定されるものではない。例えば、水晶振動子Qzの種類を特定する情報であってもよい。この場合、水晶振動子Qzの種類とクロック数とが予め対応付けられたテーブルを用いてクロック数が特定されるようにしてもよい。   In the above embodiment, information for directly specifying the clock number is used as the clock number specifying information, but the present invention is not limited to this. For example, it may be information for specifying the type of the crystal resonator Qz. In this case, the number of clocks may be specified using a table in which the type of crystal resonator Qz and the number of clocks are associated in advance.

また、上記実施形態では、RC発振信号から所定のクロック数がカウントされたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止される場合を例示したが、本発明はこれに限定されるものではない。例えば、RC発振信号の周波数が所定の周波数に達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。   In the above embodiment, the case where the supply of the control signal to the P-type transistor p0 and the N-type transistor n0 is stopped on the condition that the predetermined number of clocks is counted from the RC oscillation signal is described. Is not limited to this. For example, the supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on the condition that the frequency of the RC oscillation signal has reached a predetermined frequency.

この場合も、所定の周波数を、水晶振動子Qzの種類毎に定められた周波数とすることが好ましい。また、レジスタ30に、周波数を特定する周波数特定情報が変更可能に格納され、レジスタ30に格納されている周波数特定情報により特定された周波数を所定の周波数として用いることが好ましい。   Also in this case, it is preferable that the predetermined frequency is a frequency determined for each type of the crystal resonator Qz. Further, it is preferable that frequency specifying information for specifying a frequency is stored in the register 30 in a changeable manner, and the frequency specified by the frequency specifying information stored in the register 30 is used as a predetermined frequency.

また、RC発振回路24の出力レベルが所定の出力レベルに達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定の出力レベルを、水晶振動子Qzの種類毎に定められた出力レベルとすることが好ましい。なお、RC発振回路24の出力レベルとは、例えば、カウンタ26に代えて、RC発振回路24の出力端子に接続された電圧センサ(図示省略)によって測定された電圧値を指す。また、この場合、レジスタ30に、出力レベルを特定する出力レベル特定情報が変更可能に格納され、レジスタ30に格納されている出力レベル特定情報により特定された出力レベルを所定の出力レベルとして用いることが好ましい。   The supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on condition that the output level of the RC oscillation circuit 24 has reached a predetermined output level. Also in this case, it is preferable that the predetermined output level is an output level determined for each type of the crystal resonator Qz. Note that the output level of the RC oscillation circuit 24 refers to, for example, a voltage value measured by a voltage sensor (not shown) connected to the output terminal of the RC oscillation circuit 24 instead of the counter 26. In this case, the output level specifying information for specifying the output level is stored in the register 30 in a changeable manner, and the output level specified by the output level specifying information stored in the register 30 is used as the predetermined output level. Is preferred.

また、反転増幅器16により出力される発振信号から所定のクロック数がカウンタ26によってカウントされたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定のクロック数を、水晶振動子Qzの種類毎に定められたクロック数とすることが好ましい。また、この場合も、クロック数特定情報を用いることが好ましい。   Further, the supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on condition that a predetermined number of clocks are counted by the counter 26 from the oscillation signal output from the inverting amplifier 16. Good. Also in this case, the predetermined number of clocks is preferably set to the number of clocks determined for each type of crystal resonator Qz. Also in this case, it is preferable to use clock number specifying information.

また、反転増幅器16により出力される発振信号の周波数が所定の周波数に達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定の周波数を、水晶振動子Qzの種類毎に定められた周波数とすることが好ましい。また、この場合も、周波数特定情報を用いることが好ましい。   Further, the supply of the control signal to the P-type transistor p0 and the N-type transistor n0 may be stopped on the condition that the frequency of the oscillation signal output from the inverting amplifier 16 has reached a predetermined frequency. Also in this case, it is preferable that the predetermined frequency is a frequency determined for each type of the crystal resonator Qz. Also in this case, it is preferable to use frequency specifying information.

また、反転増幅器16の出力レベルが所定の出力レベルに達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定の出力レベルを、水晶振動子Qzの種類毎に定められた出力レベルとすることが好ましい。なお、反転増幅器16の出力レベルとは、例えば、出力端子xt1に接続された電圧センサ(図示省略)によって測定された電圧値を指す。また、この場合も、出力レベル特定情報を用いることが好ましい。   The supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on condition that the output level of the inverting amplifier 16 has reached a predetermined output level. Also in this case, it is preferable that the predetermined output level is an output level determined for each type of the crystal resonator Qz. Note that the output level of the inverting amplifier 16 refers to, for example, a voltage value measured by a voltage sensor (not shown) connected to the output terminal xt1. Also in this case, it is preferable to use output level specifying information.

また、シュミット回路18により出力される発振信号から所定のクロック数がカウンタ26によってカウントされたことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定のクロック数を、水晶振動子Qzの種類毎に定められたクロック数とすることが好ましい。また、この場合も、クロック数特定情報を用いることが好ましい。   Further, the supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on condition that a predetermined number of clocks are counted by the counter 26 from the oscillation signal output from the Schmitt circuit 18. Good. Also in this case, the predetermined number of clocks is preferably set to the number of clocks determined for each type of crystal resonator Qz. Also in this case, it is preferable to use clock number specifying information.

また、シュミット回路18により出力される発振信号の周波数が所定の周波数に達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定の周波数を、水晶振動子Qzの種類毎に定められた周波数とすることが好ましい。また、この場合も、周波数特定情報を用いることが好ましい。   Further, the supply of the control signal to the P-type transistor p0 and the N-type transistor n0 may be stopped on the condition that the frequency of the oscillation signal output from the Schmitt circuit 18 has reached a predetermined frequency. Also in this case, it is preferable that the predetermined frequency is a frequency determined for each type of the crystal resonator Qz. Also in this case, it is preferable to use frequency specifying information.

また、シュミット回路18の出力レベルが所定の出力レベルに達したことを条件に、P型トランジスタp0及びN型トランジスタn0に対する制御信号の供給が停止されるようにしてもよい。この場合も、所定の出力レベルを、水晶振動子Qzの種類毎に定められた出力レベルとすることが好ましい。なお、シュミット回路18の出力レベルとは、例えば、カウンタ26に代えて、出力端子18Aに接続された電圧センサ(図示省略)によって測定された電圧値を指す。また、この場合も、出力レベル特定情報を用いることが好ましい。   Further, the supply of control signals to the P-type transistor p0 and the N-type transistor n0 may be stopped on condition that the output level of the Schmitt circuit 18 has reached a predetermined output level. Also in this case, it is preferable that the predetermined output level is an output level determined for each type of the crystal resonator Qz. Note that the output level of the Schmitt circuit 18 refers to a voltage value measured by a voltage sensor (not shown) connected to the output terminal 18A, for example, instead of the counter 26. Also in this case, it is preferable to use output level specifying information.

また、上記実施形態では、特定の周波数帯のRC発振信号が生成されたことを条件に制御信号の供給が開始され、RC発振信号から所定のクロック数がカウントされたことを条件に制御信号の供給が停止される場合を例示したが、本発明はこれに限定されない。例えば、特定の周波数帯のRC発振信号が生成されてから制御信号の供給が開始され、制御信号の供給が開始されてからタイマ(図示省略)により予め定められた時間が計測されたとの条件を満たした場合に制御信号の供給が停止されるようにしてもよい。予め定められた時間は、発振回路12により出力される発振信号が安定状態に達するまでに要する時間として予め定められた時間であり、例えば、RC発振信号の所定のクロック数がカウントされるまでの時間に相当する時間として予め定められた時間である。   In the above embodiment, the supply of the control signal is started on the condition that the RC oscillation signal in the specific frequency band is generated, and the control signal is supplied on the condition that the predetermined number of clocks is counted from the RC oscillation signal. Although the case where supply was stopped was illustrated, this invention is not limited to this. For example, the condition that the control signal supply is started after the RC oscillation signal of a specific frequency band is generated, and a predetermined time is measured by a timer (not shown) after the supply of the control signal is started. When the condition is satisfied, the supply of the control signal may be stopped. The predetermined time is a predetermined time as a time required for the oscillation signal output from the oscillation circuit 12 to reach a stable state, for example, until a predetermined number of clocks of the RC oscillation signal is counted. It is a predetermined time as a time corresponding to the time.

また、上記実施形態では、水晶振動子Qzの共振周波数帯に相当する周波数帯として予め定められた周波数帯のRC発振信号が生成されたことを条件に制御信号の供給が開始される場合について説明したが、本発明はこれに限定されるものではない。例えば、周波数帯に拘わらずRC発振信号が生成されたことを条件に制御信号の供給が開始されるようにしてもよい。   In the above embodiment, the case where the supply of the control signal is started on condition that an RC oscillation signal in a predetermined frequency band is generated as a frequency band corresponding to the resonance frequency band of the crystal resonator Qz is described. However, the present invention is not limited to this. For example, the supply of the control signal may be started on the condition that the RC oscillation signal is generated regardless of the frequency band.

また、上記実施形態では、RC発振回路24が出力端子18Bに直接接続されているが、本発明はこれに限定されるものではなく、例えば、RC発振回路24は論理回路32を介して出力端子18Bに接続されていてもよい。この場合、論理回路32は、RC発振回路24から供給されたRC発振信号の周波数が特定の周波数に到達したことを条件に、RC発振信号を出力端子18Bを介してマイクロコンピュータに供給する。   In the above embodiment, the RC oscillation circuit 24 is directly connected to the output terminal 18B. However, the present invention is not limited to this. For example, the RC oscillation circuit 24 is connected to the output terminal via the logic circuit 32. It may be connected to 18B. In this case, the logic circuit 32 supplies the RC oscillation signal to the microcomputer via the output terminal 18B on condition that the frequency of the RC oscillation signal supplied from the RC oscillation circuit 24 has reached a specific frequency.

また、RC発振回路24はシュミット回路18に接続されていてもよく、この場合、RC発振回路24からシュミット回路18にRC発振信号が供給されることでシュミット回路18により出力される信号がマイクロコンピュータに供給されるようにすればよい。なお、信号の供給先は、マイクロコンピュータに限定されるものではなく、信号がマイクロコンピュータ以外の電子部品に供給されてもよいことは言うまでもない。   Further, the RC oscillation circuit 24 may be connected to the Schmitt circuit 18. In this case, the RC oscillation signal is supplied from the RC oscillation circuit 24 to the Schmitt circuit 18, so that the signal output from the Schmitt circuit 18 is a microcomputer. It should just be made to be supplied to. Note that the signal supply destination is not limited to the microcomputer, and it goes without saying that the signal may be supplied to an electronic component other than the microcomputer.

10 半導体装置
16 反転増幅器
18 シュミット回路
22 供給部
24 RC発振回路
n0 N型トランジスタ
p0 P型トランジスタ
Qz 水晶振動子
DESCRIPTION OF SYMBOLS 10 Semiconductor device 16 Inverting amplifier 18 Schmitt circuit 22 Supply part 24 RC oscillation circuit n0 N-type transistor p0 P-type transistor Qz Crystal oscillator

Claims (11)

水晶振動子に並列に接続された反転増幅器と、
前記反転増幅器の入力端子に接続されたプルアップ用の第1トランジスタと、
前記入力端子に接続されたプルダウン用の第2トランジスタと、
前記第1トランジスタ及び前記第2トランジスタが所定期間内に交互にオンされるように前記第1トランジスタ及び前記第2トランジスタを制御する制御信号を前記第1トランジスタ及び前記第2トランジスタに供給する供給部と、
を含む半導体装置。
An inverting amplifier connected in parallel to the crystal unit;
A first transistor for pull-up connected to the input terminal of the inverting amplifier;
A second pull-down transistor connected to the input terminal;
A supply unit for supplying a control signal for controlling the first transistor and the second transistor to the first transistor and the second transistor so that the first transistor and the second transistor are alternately turned on within a predetermined period. When,
A semiconductor device including:
前記制御信号は、前記第1トランジスタ及び前記第2トランジスタが前記所定期間内に前記水晶振動子の共振周波数帯に対応する周期で交互にオンされるように前記第1トランジスタ及び前記第2トランジスタを制御する制御信号である請求項1に記載の発振回路。   The control signal turns on the first transistor and the second transistor so that the first transistor and the second transistor are alternately turned on in a period corresponding to a resonance frequency band of the crystal resonator within the predetermined period. 2. The oscillation circuit according to claim 1, wherein the oscillation circuit is a control signal to be controlled. 前記供給部は、RC発振信号を生成するRC発振回路を有し、前記RC発振信号を用いて前記制御信号を生成する請求項1又は請求項2に記載の半導体装置。   The semiconductor device according to claim 1, wherein the supply unit includes an RC oscillation circuit that generates an RC oscillation signal, and generates the control signal using the RC oscillation signal. 前記供給部は、前記RC発振回路によって前記水晶振動子の共振周波数帯に相当する周波数帯として予め定められた周波数帯のRC発振信号が生成されたことを条件に、前記第1トランジスタ及び前記第2トランジスタに対する前記制御信号の供給を開始する請求項3に記載の半導体装置。   The supply unit is configured on the condition that an RC oscillation signal in a frequency band predetermined as a frequency band corresponding to a resonance frequency band of the crystal resonator is generated by the RC oscillation circuit. The semiconductor device according to claim 3, wherein supply of the control signal to two transistors is started. 前記供給部は、前記第1トランジスタ及び前記第2トランジスタに対する前記制御信号の供給を停止した後に、前記RC発振回路の周波数帯を前記水晶振動子の共振周波数帯とは異なる周波数帯に切り替えて得られた前記RC発振信号を被供給部に供給する請求項3又は請求項4に記載の半導体装置。   The supply unit obtains by switching the frequency band of the RC oscillation circuit to a frequency band different from the resonance frequency band of the crystal resonator after stopping the supply of the control signal to the first transistor and the second transistor. 5. The semiconductor device according to claim 3, wherein the RC oscillation signal is supplied to a supplied part. 前記供給部は、前記RC発振信号から所定のクロック数をカウントしたとの条件、前記RC発振信号の周波数が所定の周波数に達したとの条件、及び前記RC発振回路の出力レベルが所定の出力レベルに達したとの条件の何れかの条件を満たした場合に、前記第1トランジスタ及び前記第2トランジスタに対する前記制御信号の供給を停止する請求項3から請求項5の何れか1項に記載の半導体装置。   The supply unit has a condition that a predetermined number of clocks are counted from the RC oscillation signal, a condition that the frequency of the RC oscillation signal has reached a predetermined frequency, and an output level of the RC oscillation circuit is a predetermined output. The supply of the control signal to the first transistor and the second transistor is stopped when any one of the conditions that the level has been reached is satisfied. Semiconductor device. 前記供給部は、前記反転増幅器により出力される信号から所定のクロック数をカウントしたとの条件、前記反転増幅器により出力される信号の周波数が所定の周波数に達したとの条件、及び前記反転増幅器の出力レベルが所定の出力レベルに達したとの条件の何れかの条件を満たした場合に、前記第1トランジスタ及び前記第2トランジスタに対する前記制御信号の供給を停止する請求項1から請求項5の何れか1項に記載の半導体装置。   The supply unit is configured to count a predetermined number of clocks from a signal output from the inverting amplifier; a condition that a frequency of a signal output from the inverting amplifier reaches a predetermined frequency; and the inverting amplifier. 6. The supply of the control signal to the first transistor and the second transistor is stopped when any one of the conditions that the output level of the first transistor reaches a predetermined output level is satisfied. The semiconductor device according to any one of the above. 前記反転増幅器の出力端子に接続されたシュミット回路を更に含み、
前記シュミット回路により出力される信号から所定のクロック数をカウントしたとの条件、前記反転増幅器により出力される信号の周波数が所定の周波数に達したとの条件、及び前記シュミット回路の出力レベルが所定の出力レベルに達したとの条件の何れかの条件を満たした場合に、前記第1トランジスタ及び前記第2トランジスタに対する前記制御信号の供給を停止する請求項1から請求項5の何れか1項に記載の半導体装置。
A Schmitt circuit connected to the output terminal of the inverting amplifier;
The condition that a predetermined number of clocks is counted from the signal output from the Schmitt circuit, the condition that the frequency of the signal output from the inverting amplifier has reached a predetermined frequency, and the output level of the Schmitt circuit are predetermined. The supply of the control signal to the first transistor and the second transistor is stopped when any one of the conditions that the output level is reached is satisfied. A semiconductor device according to 1.
前記所定のクロック数は、前記水晶振動子の種類毎に定められたクロック数であり、
前記所定の周波数は、前記水晶振動子の種類毎に定められた周波数であり、
前記所定の出力レベルは、前記水晶振動子の種類毎に定められた出力レベルである請求項6から請求項8の何れか1項に記載の半導体装置。
The predetermined number of clocks is a number of clocks determined for each type of the crystal unit,
The predetermined frequency is a frequency determined for each type of the crystal resonator,
The semiconductor device according to claim 6, wherein the predetermined output level is an output level determined for each type of the crystal resonator.
前記所定のクロック数は、レジスタに変更可能に格納されたクロック数特定情報に従って決められたクロック数であり、
前記所定の周波数は、レジスタに変更可能に格納された周波数特定情報に従って決められた周波数であり、
前記所定の出力レベルは、レジスタに変更可能に格納された出力レベル特定情報に従って決められた出力レベルである請求項6から請求項9の何れか1項に記載の半導体装置。
The predetermined number of clocks is a number of clocks determined according to clock number specifying information stored in a register in a changeable manner,
The predetermined frequency is a frequency determined according to frequency specifying information stored in a register in a changeable manner,
10. The semiconductor device according to claim 6, wherein the predetermined output level is an output level determined according to output level specifying information stored in a register in a changeable manner. 11.
水晶振動子に並列に接続された反転増幅器と、前記反転増幅器の入力端子に接続されたプルアップ用の第1トランジスタと、前記入力端子に接続されたプルダウン用の第2トランジスタと、を含む半導体装置の発振方法であって、
前記第1トランジスタ及び前記第2トランジスタが所定期間内に交互にオンされるように前記第1トランジスタ及び前記第2トランジスタを制御する制御信号を前記第1トランジスタ及び前記第2トランジスタに供給することを含む半導体装置の発振方法。
A semiconductor comprising: an inverting amplifier connected in parallel to a crystal resonator; a pull-up first transistor connected to an input terminal of the inverting amplifier; and a pull-down second transistor connected to the input terminal. An apparatus oscillation method,
Supplying a control signal for controlling the first transistor and the second transistor to the first transistor and the second transistor so that the first transistor and the second transistor are alternately turned on within a predetermined period. A method for oscillating a semiconductor device.
JP2014255010A 2014-12-17 2014-12-17 Semiconductor device and oscillation method of semiconductor device Active JP6544919B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014255010A JP6544919B2 (en) 2014-12-17 2014-12-17 Semiconductor device and oscillation method of semiconductor device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014255010A JP6544919B2 (en) 2014-12-17 2014-12-17 Semiconductor device and oscillation method of semiconductor device

Publications (2)

Publication Number Publication Date
JP2016116155A true JP2016116155A (en) 2016-06-23
JP6544919B2 JP6544919B2 (en) 2019-07-17

Family

ID=56142412

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014255010A Active JP6544919B2 (en) 2014-12-17 2014-12-17 Semiconductor device and oscillation method of semiconductor device

Country Status (1)

Country Link
JP (1) JP6544919B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10483985B2 (en) 2017-01-23 2019-11-19 Samsung Electronics Co., Ltd. Oscillator using supply regulation loop and operating method thereof
US10848133B2 (en) 2018-06-15 2020-11-24 Samsung Electronics Co., Ltd. Low power RC oscillator with switched bias current

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113309U (en) * 1987-01-16 1988-07-21
JPH02118312U (en) * 1989-03-09 1990-09-21
JPH03165617A (en) * 1989-11-25 1991-07-17 Seiko Epson Corp Initial state clock generating circuit
JPH0575343A (en) * 1991-09-17 1993-03-26 Mitsubishi Electric Corp Clock signal output circuit
JPH0993040A (en) * 1995-09-28 1997-04-04 Nec Ic Microcomput Syst Ltd Oscillation control circuit
JP2002217643A (en) * 2001-01-17 2002-08-02 Matsushita Electric Ind Co Ltd Temperature compensated voltage generating circuit of crystal oscillator
JP2004056472A (en) * 2002-07-19 2004-02-19 Renesas Technology Corp Oscillation circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63113309U (en) * 1987-01-16 1988-07-21
JPH02118312U (en) * 1989-03-09 1990-09-21
JPH03165617A (en) * 1989-11-25 1991-07-17 Seiko Epson Corp Initial state clock generating circuit
JPH0575343A (en) * 1991-09-17 1993-03-26 Mitsubishi Electric Corp Clock signal output circuit
JPH0993040A (en) * 1995-09-28 1997-04-04 Nec Ic Microcomput Syst Ltd Oscillation control circuit
JP2002217643A (en) * 2001-01-17 2002-08-02 Matsushita Electric Ind Co Ltd Temperature compensated voltage generating circuit of crystal oscillator
JP2004056472A (en) * 2002-07-19 2004-02-19 Renesas Technology Corp Oscillation circuit

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10483985B2 (en) 2017-01-23 2019-11-19 Samsung Electronics Co., Ltd. Oscillator using supply regulation loop and operating method thereof
US10848133B2 (en) 2018-06-15 2020-11-24 Samsung Electronics Co., Ltd. Low power RC oscillator with switched bias current

Also Published As

Publication number Publication date
JP6544919B2 (en) 2019-07-17

Similar Documents

Publication Publication Date Title
TWI409613B (en) Electronic circuit for micro computer
CN107743682B (en) Very low power crystal oscillator with adaptive self-starting
US8525603B2 (en) Oscillating signal generating device and related method
JP2017092744A5 (en)
WO2006036719A2 (en) Crystal oscillator circuit with automatic gain control
EP3547533A3 (en) Reducing duration of start-up period for a crystal oscillator circuit
JP2010087571A (en) Oscillation circuit and method of controlling the same
US7554414B2 (en) Fast starting circuit for crystal oscillators
JP6544919B2 (en) Semiconductor device and oscillation method of semiconductor device
US20160099677A1 (en) Crystal oscillator circuit with reduced startup time
CN104104331A (en) Transconductance enhancement circuit unit and crystal oscillator circuit
JP4547226B2 (en) Oscillator and semiconductor device
CN104270113B (en) Rapid low-power-consumption crystal oscillator starting circuit
JPH10107620A (en) Clock signal generating circuit
JP6081404B2 (en) Oscillator circuit
JPH02228106A (en) Semiconductor integrated circuit containing oscillator
JPH0575343A (en) Clock signal output circuit
JPH04273602A (en) Oscillation control circuit
JP6666185B2 (en) Clock circuit
US20060105734A1 (en) Oscillation device and oscillation method
JP6605801B2 (en) Clock generation apparatus and clock generation method
KR0152900B1 (en) Oscillation circuit of semiconductor device
JP2014236455A (en) Oven-controlled crystal oscillator
JP2013102371A (en) Semiconductor integrated circuit device
JP2013036875A (en) Proximity sensor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170928

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180828

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180904

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181003

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190219

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190419

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20190521

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190618

R150 Certificate of patent or registration of utility model

Ref document number: 6544919

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150