JP2019168759A - Semiconductor device, and circuit control method - Google Patents

Semiconductor device, and circuit control method Download PDF

Info

Publication number
JP2019168759A
JP2019168759A JP2018053994A JP2018053994A JP2019168759A JP 2019168759 A JP2019168759 A JP 2019168759A JP 2018053994 A JP2018053994 A JP 2018053994A JP 2018053994 A JP2018053994 A JP 2018053994A JP 2019168759 A JP2019168759 A JP 2019168759A
Authority
JP
Japan
Prior art keywords
circuit
power source
power supply
power
signal
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
JP2018053994A
Other languages
Japanese (ja)
Other versions
JP6956036B2 (en
Inventor
祐樹 兒玉
Yuki Kodama
祐樹 兒玉
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 JP2018053994A priority Critical patent/JP6956036B2/en
Publication of JP2019168759A publication Critical patent/JP2019168759A/en
Application granted granted Critical
Publication of JP6956036B2 publication Critical patent/JP6956036B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

To provide a semiconductor device, and a circuit control method which can reduce current consumption regardless of the order of power source on, in a semiconductor device in which a circuit having a single power supply operation function which is driven by a power source of a system different from a main power source is built in.SOLUTION: A semiconductor device includes: a first circuit which comprises a first power supply, a processing circuit which is connected to the first power supply and executes predetermined processing, and a first generation circuit which generates a closing signal indicating that the first power supply has been turned on; and one or more second circuits which comprises a second power supply, a single operation circuit which is connected to the second power supply and operates on the basis of operation conditions sent from the processing circuit, a storage circuit which stores the operation conditions sent from the processing circuit, a second generation circuit which generates a state signal indicating the operational conditions of the second power supply, and a control circuit which has a holding circuit which holds the closing signal on the basis of the state signal and controls so that the operation conditions are sent to the single operation circuit when the closing signal is held in the holding circuit.SELECTED DRAWING: Figure 1

Description

本発明は、半導体装置、および回路制御方法に関し、特に単独電源動作機能を有する計時回路を内蔵した半導体装置、および該半導体装置を制御する回路制御方法に関する。   The present invention relates to a semiconductor device and a circuit control method, and more particularly to a semiconductor device incorporating a timer circuit having a function of operating a single power supply and a circuit control method for controlling the semiconductor device.

計時回路を内蔵した半導体装置に関する文献として、例えば特許文献1が知られている。特許文献1に係る半導体装置は、メイン電源に接続するメイン電源端子とバックアップ電源に接続するバックアップ電源端子の二種類の電源端子の内の一方を内部電源ノードに切り替え回路で切り替えて接続することで動作する所定の内部回路を有し、切り替え回路は、内部電源ノードの接続先を前記バックアップ電源端子からメイン電源端子に切り替えるときの切り替え遷移時間を、メイン電源端子からバックアップ電源端子に切り替えるときの切り替え遷移時間より長くしている。   For example, Patent Document 1 is known as a document relating to a semiconductor device having a built-in timer circuit. In the semiconductor device according to Patent Document 1, one of two types of power supply terminals, a main power supply terminal connected to the main power supply and a backup power supply terminal connected to the backup power supply, is switched and connected to the internal power supply node by a switching circuit. The switching circuit has a predetermined internal circuit that operates, and the switching circuit switches the switching transition time when switching the connection destination of the internal power supply node from the backup power supply terminal to the main power supply terminal, when switching from the main power supply terminal to the backup power supply terminal. It is longer than the transition time.

特許文献1に開示された半導体装置は、メイン電源とバックアップ電源の2系統の電源を有し、バックアップ電源の無駄な消耗を抑制しつつ、バックアップ電源で動作中にノイズによる不所望な電源切り替えによる内部回路の誤動作を防止することを目的としている。   The semiconductor device disclosed in Patent Document 1 has two power sources, a main power source and a backup power source, and suppresses wasteful consumption of the backup power source, and by undesired power source switching due to noise during operation with the backup power source. The purpose is to prevent malfunction of the internal circuit.

一方、単独電源動作機能を有する計時回路の一例として、例えばリアルタイムクロック(Real Time Clock、以下「RTC」)回路がある。また、RTC回路を内蔵した半導体装置として、例えばMCU(Micro Controller Unit、いわゆるマイコン)が知られている。   On the other hand, for example, there is a real time clock (hereinafter referred to as “RTC”) circuit as an example of a timing circuit having a single power supply operation function. As a semiconductor device incorporating an RTC circuit, for example, an MCU (Micro Controller Unit, so-called microcomputer) is known.

RTC回路を搭載したMCUでは、消費電流を抑えるために、電源電圧の低下を検出してRTC回路を単独で動作させるモード(以下、「単独動作モード」)を備える場合がある。図3は、RTC回路を内蔵した比較例に係るMCU100を示している。MCU100は、RTC回路の単独動作モードを備えている。図3に示すように、MCU100は、CPU(Central Processing Unit)を動作させるための第1の電源PWR1、第1のレギュレータ回路12、RTC回路42を動作させるための第2の電源PWR2、および第2のレギュレータ回路40を含んで構成される。   An MCU equipped with an RTC circuit may have a mode (hereinafter referred to as “single operation mode”) in which a decrease in power supply voltage is detected to operate the RTC circuit independently in order to suppress current consumption. FIG. 3 shows an MCU 100 according to a comparative example having a built-in RTC circuit. The MCU 100 has a single operation mode of the RTC circuit. As shown in FIG. 3, the MCU 100 includes a first power supply PWR1 for operating a CPU (Central Processing Unit), a first regulator circuit 12, a second power supply PWR2 for operating the RTC circuit 42, and a second power supply PWR2. 2 regulator circuits 40.

第1のレギュレータ回路12は主にCPU16、第1の発振回路18、FLASH RAM(FLASH Random Access Memory)20、第1のレギュレータ回路12系回路用の第1のパワーオンリセット回路22を駆動する。一方、第2のレギュレータ回路40は主に、RTC回路42、第2の発振回路44、レジスタ46、第2のレギュレータ回路40系回路用の第2のパワーオンリセット回路48を駆動している。   The first regulator circuit 12 mainly drives the CPU 16, the first oscillation circuit 18, the FLASH RAM (FLASH Random Access Memory) 20, and the first power-on reset circuit 22 for the first regulator circuit 12 system circuit. On the other hand, the second regulator circuit 40 mainly drives the RTC circuit 42, the second oscillation circuit 44, the register 46, and the second power-on reset circuit 48 for the second regulator circuit 40 system circuit.

ここで、第1の電源PWR1には、RTC回路42の単独動作のために、第1の電源PWR1の電圧レベルによって第1のレギュレータ回路12をパワーダウンさせる電圧レベル検出回路14が接続されている。RTC回路42の周波数情報(周波数設定データ)、およびRTC回路42と第2の発振回路44のイネーブル信号などの制御データはCPU16からレジスタ46に供給され、第1の電源PWR1がパワーダウンしても第2のレギュレータ回路40側のレジスタ46に保持される。   Here, the first power supply PWR1 is connected to a voltage level detection circuit 14 for powering down the first regulator circuit 12 according to the voltage level of the first power supply PWR1 for the independent operation of the RTC circuit 42. . Control data such as frequency information (frequency setting data) of the RTC circuit 42 and enable signals of the RTC circuit 42 and the second oscillation circuit 44 are supplied from the CPU 16 to the register 46, and even if the first power supply PWR1 is powered down. It is held in the register 46 on the second regulator circuit 40 side.

特開2016−053789号公報JP 2006-053789 A

ところで、特にRTC回路42を動作させる第2の電源PWR2は、一般に大容量のコンデンサや容量の小さなバッテリを使用するため、可能な限りの低消費電流化が求められる。この点、比較例に係るMCU100では、第1の電源PWR1が先に投入されることを前提としている回路であり、第2の電源PWR2が先に投入された場合、RTC回路42は正常な周波数設定データが提供されない状態で動作を開始する。そのため、その後第1の電源PWR1が投入されるまでRTC回路42が所望の周波数を刻まない状態で電源の電流を消費し続けるという問題があった。 By the way, in particular, the second power source PWR2 that operates the RTC circuit 42 generally uses a large-capacity capacitor or a small-capacity battery. In this regard, the MCU 100 according to the comparative example is a circuit on the premise that the first power supply PWR1 is turned on first. When the second power supply PWR2 is turned on first, the RTC circuit 42 has a normal frequency. Start operation with no configuration data provided. For this reason, there is a problem in that the current of the power supply continues to be consumed in a state where the RTC circuit 42 does not cut a desired frequency until the first power supply PWR1 is turned on thereafter.

一方、特許文献1に係る半導体装置では、メイン電源とバックアップ電源の電源投入のタイミングは同時になっており、バックアップ用電源が先に投入された場合に発生する誤動作および無駄な消費電流の発生については考慮されていない。   On the other hand, in the semiconductor device according to Patent Document 1, the power-on timings of the main power source and the backup power source are the same, and there are malfunctions and wasteful current consumption that occur when the backup power source is first turned on. Not considered.

本発明は、上記の点に鑑みてなされたものであり、主電源と別系統の電源で駆動される単独電源動作機能を有する回路を内蔵した半導体装置において、電源投入の順序に関係なく消費電流の低減を図ることが可能な半導体装置、および回路制御方法を提供することを目的とする。   The present invention has been made in view of the above points, and in a semiconductor device including a circuit having a single power supply operation function driven by a power supply different from the main power supply, the current consumption is independent of the power-on sequence. An object of the present invention is to provide a semiconductor device and a circuit control method capable of reducing the above.

本発明に係る半導体装置は、第1の電源、前記第1の電源に接続され所定の処理を実行する処理回路、および前記第1の電源に接続され前記第1の電源が投入されたことを示す投入信号を生成する第1の生成回路を備えた第1の回路と、第2の電源、前記第2の電源に接続され前記処理回路から送られた動作条件に基づいて動作する単独動作回路、前記第2の電源に接続され前記処理回路から送られた前記動作条件を記憶する記憶回路、前記第2の電源に接続され前記第2の電源の動作状態を示す状態信号を生成する第2の生成回路、および前記第2の電源に接続され前記状態信号に基づいて前記投入信号を保持する保持回路を有し前記保持回路に前記投入信号が保持された場合に前記動作条件が前記単独動作回路に送られるように制御する制御回路を備えた1つまたは複数の第2の回路と、を含むものである。   The semiconductor device according to the present invention includes a first power source, a processing circuit connected to the first power source and executing a predetermined process, and the first power source connected to the first power source and turned on. A first circuit including a first generation circuit that generates a turn-on signal, a second power source, and a single operation circuit that is connected to the second power source and operates based on operating conditions sent from the processing circuit A storage circuit connected to the second power supply for storing the operating condition sent from the processing circuit; a second circuit connected to the second power supply for generating a status signal indicating an operating state of the second power supply; And a holding circuit that is connected to the second power source and holds the closing signal based on the status signal, and the operating condition is the single operation when the closing signal is held in the holding circuit Control to be sent to the circuit One or a plurality of second circuit having a control circuit, is intended to include.

本発明に係る回路制御方法は、第1の電源、前記第1の電源に接続され所定の処理を実行する処理回路、および前記第1の電源に接続され前記第1の電源が投入されたことを示す投入信号を生成する第1の生成回路を備えた第1の回路と、第2の電源、前記第2の電源に接続され前記処理回路から送られた動作条件に基づいて動作する単独動作回路、前記第2の電源に接続され前記処理回路から送られた前記動作条件を記憶する記憶回路、前記第2の電源に接続され前記第2の電源の動作状態を示す状態信号を生成する第2の生成回路を備えた1つまたは複数の第2の回路と、を含む半導体装置を制御する回路制御方法であって、前記第2の電源に接続された保持回路により前記状態信号に基づいて前記投入信号を保持し、前記保持回路に前記投入信号が保持された場合に前記動作条件が前記単独動作回路に送られるように制御するものである。   The circuit control method according to the present invention includes a first power supply, a processing circuit connected to the first power supply for executing a predetermined process, and the first power supply connected to the first power supply. A first circuit that includes a first generation circuit that generates an input signal indicating the operation, a second power source, and a single operation that is connected to the second power source and that operates based on operating conditions sent from the processing circuit A circuit that is connected to the second power source and stores the operating condition sent from the processing circuit; and a state signal that is connected to the second power source and that indicates an operating state of the second power source. A circuit control method for controlling a semiconductor device including one or a plurality of second circuits including two generation circuits, based on the state signal by a holding circuit connected to the second power supply Holds the input signal and sends it to the holding circuit. The operating condition when the insertion signal is held so as to control to be sent to said single operation circuit.

本発明によれば、主電源と別系統の電源で駆動される単独電源動作機能を有する回路を内蔵した半導体装置において、電源投入の順序に関係なく消費電流の低減を図ることが可能な半導体装置、および回路制御方法を提供することが可能となる。   According to the present invention, in a semiconductor device having a circuit having a function of operating a single power source driven by a power source different from the main power source, a semiconductor device capable of reducing current consumption regardless of the order of power-on And a circuit control method can be provided.

第1の実施の形態に係る半導体装置の構成の一例を示すブロック図である。1 is a block diagram illustrating an example of a configuration of a semiconductor device according to a first embodiment. 第2の実施の形態に係る半導体装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the semiconductor device which concerns on 2nd Embodiment. 比較例に係る半導体装置の構成の一例を示すブロック図である。It is a block diagram which shows an example of a structure of the semiconductor device which concerns on a comparative example.

以下、図面を参照し、本発明を実施するための形態について詳細に説明する。以下の説明では、本発明に係る半導体装置の一例としてMCUに適用した形態、本発明に係る単独電源動作機能を有する回路(以下、「単独動作回路」という場合がある)としてRTC回路に適用した形態を例示して説明する。本実施の形態は、単独動作回路を内蔵したMCUにおいて、単独動作回路の単独動作モード時の消費電流の低減を図っている。   DESCRIPTION OF EMBODIMENTS Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the drawings. In the following description, the embodiment applied to the MCU as an example of the semiconductor device according to the present invention, and the circuit having the single power supply operation function according to the present invention (hereinafter sometimes referred to as “single operation circuit”) is applied to the RTC circuit. A form is illustrated and demonstrated. In the present embodiment, the current consumption in the single operation mode of the single operation circuit is reduced in the MCU incorporating the single operation circuit.

[第1の実施の形態]
図1を参照して、本実施の形態に係る半導体装置、および回路制御方法について説明する。図1に示すように、本実施の形態に係るMCU10は、CPU系統の第1の電源PWR1、第1の電源PWR1の電圧を調整する第1のレギュレータ回路12(図1では、「REG1」と表記)、RTC回路系統の第2の電源PWR2、第2の電源PWR2の電圧を調整する第2のレギュレータ回路40(図1では、「REG2」と表記)を備えている。第1の電源PWR1および第2の電源PWR2の回路は省略するが、各々端子T1、T2に接続されている。なお、第2の電源PWR2は、小容量バッテリとされることもある。
[First Embodiment]
A semiconductor device and a circuit control method according to the present embodiment will be described with reference to FIG. As shown in FIG. 1, the MCU 10 according to the present embodiment includes a first power supply PWR1 and a first regulator circuit 12 that adjusts the voltage of the first power supply PWR1 (“REG1” in FIG. 1). Notation), a second power supply PWR2 of the RTC circuit system, and a second regulator circuit 40 (indicated as “REG2” in FIG. 1) for adjusting the voltage of the second power supply PWR2. Although the circuits of the first power supply PWR1 and the second power supply PWR2 are omitted, they are connected to the terminals T1 and T2, respectively. The second power source PWR2 may be a small capacity battery.

図1に示すように、第1のレギュレータ回路12の出力には、CPU16、第1の発振回路18(図1では、「発振回路1」と表記)、FLASH RAM20、および第1のパワーオンリセット回路22(図1では、「POR1」と表記)が接続されている。また、第1の電源PWR1に接続された電圧レベル検出回路14を備えている。電圧レベル検出回路14は、第1の電源PWR1の電圧レベルが低下した場合に第1のレギュレータ回路12をパワーダウンさせる。CPU16、第1の発振回路18、FLASH RAM20、および第1のパワーオンリセット回路22の各々を含む第1の回路60が本発明に係る「第1の回路」に相当する。   As shown in FIG. 1, the output of the first regulator circuit 12 includes a CPU 16, a first oscillation circuit 18 (indicated as “oscillation circuit 1” in FIG. 1), a FLASH RAM 20, and a first power-on reset. A circuit 22 (indicated as “POR1” in FIG. 1) is connected. Moreover, the voltage level detection circuit 14 connected to the 1st power supply PWR1 is provided. The voltage level detection circuit 14 powers down the first regulator circuit 12 when the voltage level of the first power supply PWR1 decreases. The first circuit 60 including each of the CPU 16, the first oscillation circuit 18, the FLASH RAM 20, and the first power-on reset circuit 22 corresponds to a “first circuit” according to the present invention.

CPU16は、MCU10における諸処理を実行する、本発明に係る「処理回路」である。第1の発振回路18はCPU16が動作する上で基準となるクロック信号を生成する。FLASH RAM20は、CPU16が実行するプログラムを展開したり、処理結果を記憶する。第1のパワーオンリセット回路22は、第1の電源PWR1が立ち上がった際にパワーオンリセット処理を行う。   The CPU 16 is a “processing circuit” according to the present invention that executes various processes in the MCU 10. The first oscillation circuit 18 generates a clock signal that serves as a reference when the CPU 16 operates. The FLASH RAM 20 expands a program executed by the CPU 16 and stores a processing result. The first power-on reset circuit 22 performs a power-on reset process when the first power supply PWR1 rises.

一方、第2のレギュレータ回路40の出力には、RTC回路42(図1では、「RTC」と表記)、第2の発振回路44(図1では、「発振回路2」と表記)、レジスタ46、第2のパワーオンリセット回路48(図1では、「POR2」と表記)、およびラッチ回路50が接続されている。また、レジスタ46からの信号とラッチ回路50からの信号を入力とし、出力がRTC回路42および第2の発振回路44に接続されたOR(論理和)回路52を備えている。RTC回路42、第2の発振回路44、レジスタ46、第2のパワーオンリセット回路48、ラッチ回路50、およびOR回路52の各々を含む第2の回路62が本発明に係る「第2の回路」に相当する。   On the other hand, the output of the second regulator circuit 40 includes an RTC circuit 42 (indicated as “RTC” in FIG. 1), a second oscillation circuit 44 (indicated as “oscillation circuit 2” in FIG. 1), and a register 46. A second power-on reset circuit 48 (denoted as “POR2” in FIG. 1) and a latch circuit 50 are connected. In addition, an OR (logical sum) circuit 52 is provided, which receives the signal from the register 46 and the signal from the latch circuit 50 as input and is connected to the RTC circuit 42 and the second oscillation circuit 44. The second circuit 62 including each of the RTC circuit 42, the second oscillation circuit 44, the register 46, the second power-on reset circuit 48, the latch circuit 50, and the OR circuit 52 is a “second circuit according to the present invention. Is equivalent to.

RTC回路42は、本実施の形態に係る単独動作回路であり、CPU16から出力されレジスタ46に保持された周波数情報やイネーブル信号等の制御データに基づいて動作する。第2の発振回路44は、RTC回路42が動作する上で基準となるクロック信号を生成する。レジスタ46はCPU16からの制御データ(イネーブル信号、周波数情報)を記憶する。第2のパワーオンリセット回路48は、第2の電源PWR2が立ち上がった際にパワーオンリセット処理を行う。ラッチ回路50は、Dラッチタイプのラッチ回路であり、データ入力に第1のパワーオンリセット回路22の出力が接続され、クロック入力に第2のパワーオンリセット回路48の出力が接続され、Q出力がOR回路52の入力に接続されている。OR回路52の出力は、RTC回路42および第2の発振回路44に対するイネーブル信号となっている。レジスタ46に記憶されたRTC回路42に対する周波数情報は、直接RTC回路52に供給される。   The RTC circuit 42 is a single operation circuit according to the present embodiment, and operates based on control data such as frequency information and enable signals output from the CPU 16 and held in the register 46. The second oscillation circuit 44 generates a clock signal that serves as a reference when the RTC circuit 42 operates. The register 46 stores control data (enable signal, frequency information) from the CPU 16. The second power-on reset circuit 48 performs a power-on reset process when the second power supply PWR2 rises. The latch circuit 50 is a D latch type latch circuit, and the output of the first power-on reset circuit 22 is connected to the data input, the output of the second power-on reset circuit 48 is connected to the clock input, and the Q output. Is connected to the input of the OR circuit 52. The output of the OR circuit 52 is an enable signal for the RTC circuit 42 and the second oscillation circuit 44. The frequency information for the RTC circuit 42 stored in the register 46 is directly supplied to the RTC circuit 52.

つまり、本実施の形態に係るMCU10は、比較例に係るMCU100に対して、第2のレギュレータ回路40下に、第1のパワーオンリセット回路22の状態をラッチするラッチ回路50を追加している。RTC回路42の周波数情報は、MCU100と同様にレジスタ46からRTC回路42に送られる。一方、RTC回路42と第2の発振回路44に対するイネーブル信号は、OR回路52を介して送られる。OR回路52は、レジスタ46からのイネーブル信号と、ラッチ回路50の出力であるラッチ信号とのORをとり、イネーブル信号としている。   That is, the MCU 10 according to the present embodiment adds a latch circuit 50 that latches the state of the first power-on reset circuit 22 below the second regulator circuit 40 with respect to the MCU 100 according to the comparative example. . The frequency information of the RTC circuit 42 is sent from the register 46 to the RTC circuit 42 as in the MCU 100. On the other hand, enable signals for the RTC circuit 42 and the second oscillation circuit 44 are sent via the OR circuit 52. The OR circuit 52 takes an OR of the enable signal from the register 46 and the latch signal that is the output of the latch circuit 50 to obtain an enable signal.

次に、MCU10の動作について説明する。ここで、第1のパワーオンリセット回路22、および第2のパワーオンリセット回路48は、電源投入時にハイレベル(以下、「H」)のリセット信号を発生し、電源が規定の電圧を越えた場合に、Lになってリセットを解除する。また、イネーブル信号は、Hでイネーブル、ロウレベル(以下、「L」)でディスイネーブルである。   Next, the operation of the MCU 10 will be described. Here, the first power-on reset circuit 22 and the second power-on reset circuit 48 generate a high level (hereinafter referred to as “H”) reset signal when the power is turned on, and the power supply exceeds a specified voltage. In this case, it becomes L and the reset is released. The enable signal is enabled at H and disabled at a low level (hereinafter “L”).

まず、第1の電源PWR1が先に投入され、その後に第2の電源PWR2が投入された場合は、CPU16からイネーブル信号、周波数情報等の制御データがレジスタ46に送られ、レジスタ46がこれを保持する。この際、ラッチ回路50のデータ入力には第1のパワーオンリセット回路22からLが入力されているので、第2のパワーオンリセット回路48がLからHに遷移する信号がラッチ回路50のクロック入力に入力されることにより、ラッチ回路50はLをラッチする。そのため、レジスタ46に保持されたデータによりイネーブル信号がHになって第2の発振回路44およびRTC回路42が動作開始する。その後、第1の電源PWR1の電圧レベルが低下し、電圧レベル検出回路14がこれを検出し、第1のレギュレータ回路12がパワーダウンした場合、第2のレギュレータ回路40のみが動作し、レジスタ46に保持された制御データに基づいてRTC回路42が単独で動作することができる。   First, when the first power supply PWR1 is turned on first and then the second power supply PWR2 is turned on, control data such as an enable signal and frequency information is sent from the CPU 16 to the register 46. Hold. At this time, since L is input from the first power-on reset circuit 22 to the data input of the latch circuit 50, the signal at which the second power-on reset circuit 48 transitions from L to H is the clock of the latch circuit 50. By being input to the input, the latch circuit 50 latches L. Therefore, the enable signal becomes H by the data held in the register 46, and the second oscillation circuit 44 and the RTC circuit 42 start to operate. Thereafter, when the voltage level of the first power supply PWR1 decreases, the voltage level detection circuit 14 detects this, and the first regulator circuit 12 is powered down, only the second regulator circuit 40 operates, and the register 46 The RTC circuit 42 can operate independently on the basis of the control data held in (1).

次に、第2の電源PWR2が先に投入された場合、第1のパワーオンリセット回路22はLを出力しているため、このLがラッチ回路50でラッチされてOR回路52に入力される。この際、第1の電源PWR1が投入されていないことから制御データがレジスタ46に送られていないのでレジスタ46からはLが出力され、OR回路52から出力されるイネーブル信号がL(無効)になる。このため、RTC回路42および第2の発振回路44は動作を停止する。このことにより消費電流を抑えることができる。   Next, when the second power supply PWR2 is turned on first, since the first power-on reset circuit 22 outputs L, this L is latched by the latch circuit 50 and input to the OR circuit 52. . At this time, since control data is not sent to the register 46 because the first power supply PWR1 is not turned on, L is output from the register 46, and an enable signal output from the OR circuit 52 is set to L (invalid). Become. For this reason, the RTC circuit 42 and the second oscillation circuit 44 stop operating. As a result, current consumption can be suppressed.

その後第1の電源PWR1が投入されると、上述の通りCPU16から制御データ(周波数情報、イネーブル信号等)が送られ、これを受け取ったレジスタ46に保持される。
ラッチ回路50の出力はLのままなのでイネーブル信号はH(有効)になり、第2の発振回路44およびRTC回路42は動作を開始することができる。つまり、RTC回路42は、第1の電源PWR1を投入後すぐに正しい周波数情報に基づいて計時回路を動作させることが可能になる。
Thereafter, when the first power supply PWR1 is turned on, the control data (frequency information, enable signal, etc.) is sent from the CPU 16 as described above, and held in the register 46 that has received it.
Since the output of the latch circuit 50 remains L, the enable signal becomes H (valid), and the second oscillation circuit 44 and the RTC circuit 42 can start operation. That is, the RTC circuit 42 can operate the timing circuit based on the correct frequency information immediately after the first power supply PWR1 is turned on.

以上詳述したように、本実施の形態では、第2のレギュレータ回路40下に、第1のパワーオンリセット回路22の状態を保持するラッチ回路50を追加し、その出力信号とCPU16からのイネーブル信号(第2の発振回路44のイネーブル信号およびRTC回路42のイネーブル信号)とのORをとった信号を、第2の発振回路44およびRTC回路42の新たなイネーブル信号とした。このことにより、第2の電源PWR2が先に投入された場合でも、第2の発振回路44とRTC回路42とを停止させ、消費電流を抑えることができる。   As described in detail above, in the present embodiment, the latch circuit 50 that holds the state of the first power-on reset circuit 22 is added below the second regulator circuit 40, and the output signal and the enable signal from the CPU 16 are added. A signal obtained by ORing the signals (the enable signal of the second oscillation circuit 44 and the enable signal of the RTC circuit 42) is used as a new enable signal of the second oscillation circuit 44 and the RTC circuit 42. As a result, even when the second power supply PWR2 is turned on first, the second oscillation circuit 44 and the RTC circuit 42 can be stopped to suppress current consumption.

[第2の実施の形態]
図2を参照して、本実施の形態に係るMCU10Aについて説明する。本実施の形態は、MCUに含まれる電源の数を3以上にした形態である。上記実施の形態では2つの電源構成の形態を例示して説明したが、第2の電源PWR2の構成を複製することにより複数の電源に対して本実施の形態を適用することができる。図2において、第1の電源PWR1と第1の回路60、および第2の電源と第2の回路62の部分は図1に示すMCU10と同じである。図2示すように、MCU10Aはさらに第Nの回路62Nに含まれる第Nの電源までの(N−2)個の電源を含み、全体としてN個の電源を含むように構成されている。第3の回路から第Nの回路までの構成は、第2の回路62と同じなので、詳細な説明を省略する。
[Second Embodiment]
The MCU 10A according to the present embodiment will be described with reference to FIG. In the present embodiment, the number of power supplies included in the MCU is three or more. In the above-described embodiment, two power supply configurations have been described as examples. However, the present embodiment can be applied to a plurality of power supplies by duplicating the configuration of the second power supply PWR2. In FIG. 2, the first power supply PWR1 and the first circuit 60, and the second power supply and the second circuit 62 are the same as the MCU 10 shown in FIG. As shown in FIG. 2, the MCU 10A further includes (N−2) power supplies up to the Nth power supply included in the Nth circuit 62N, and is configured to include N power supplies as a whole. Since the configuration from the third circuit to the Nth circuit is the same as that of the second circuit 62, detailed description thereof is omitted.

主電源であるCPU16を動作させるための第1の電源PWR1が投入されていない間は、第2の電源PWR2から第Nの電源PWRNに電源が投入されても(1つでも複数でもよい)、RTC回路42からRTC回路42N、および第2発振回路44から第2の発振回路44Nは動作を停止させられているため、消費電流を抑えることができる。   While the first power supply PWR1 for operating the CPU 16 that is the main power supply is not turned on, the power may be turned on from the second power supply PWR2 to the Nth power supply PWRN (one or more may be used), Since the operations of the RTC circuit 42 to the RTC circuit 42N and the second oscillation circuit 44 to the second oscillation circuit 44N are stopped, current consumption can be suppressed.

すなわち、第1の電源PWR1に電源が投入されていない状態において、第2の電源PWR2から第Nの電源PWRNに電源が投入された場合、第1のパワーオンリセット回路22はLを出力している。このため、第2のパワーオンリセット回路48から第Nのパワーオンリセット回路48Nの信号によりLがラッチされ、RTC回路42からRTC回路42N、第2の発振回路44から第2の発振回路44Nは動作を停止する。その後第1の電源PWR1が投入されると、上述の通りCPU16から第2の回路60ないし第Nの回路62Nの各々が制御データを受け取り、各々のレジスタ46からレジスタ46Nに保持される。ラッチ回路50からラッチ回路50Nの出力とORがとられているため、ラッチ回路50からラッチ回路50Nの出力がLの状態でも第2電源PWR2から第Nの電源PWRNに接続された回路は動作を開始することができる。   That is, when the first power supply PWR1 is not turned on and the second power supply PWR2 is turned on to the Nth power supply PWRN, the first power-on reset circuit 22 outputs L. Yes. Therefore, L is latched by a signal from the second power-on reset circuit 48 to the N-th power-on reset circuit 48N, and the RTC circuit 42 to the RTC circuit 42N and the second oscillation circuit 44 to the second oscillation circuit 44N are Stop operation. Thereafter, when the first power supply PWR1 is turned on, each of the second circuit 60 to the Nth circuit 62N receives the control data from the CPU 16 as described above, and is held in the register 46N from each register 46. Since the output from the latch circuit 50 to the latch circuit 50N is ORed, the circuit connected from the second power supply PWR2 to the Nth power supply PWRN operates even when the output from the latch circuit 50 to the latch circuit 50N is L. Can start.

なお、上記各実施の形態では、単独動作回路としてRTC回路を例示して説明したが、これに限られず、単独動作を目的とする任意の機能回路について適用が可能である。また、上記各実施の形態では、半導体装置としてMCUを例示して説明したが、これに限られず、適用対象とした単独動作回路等に応じた半導体装置とすることができる。   In each of the above-described embodiments, the RTC circuit is exemplified as the single operation circuit. However, the present invention is not limited to this and can be applied to any functional circuit intended for single operation. In each of the above-described embodiments, the MCU is described as an example of the semiconductor device. However, the present invention is not limited to this, and a semiconductor device according to a single operation circuit or the like to be applied can be used.

10、10A、100 MCU
12 第1のレギュレータ回路
14 電圧レベル検出回路
16 CPU
18 第1の発振回路
20 フラッシュRAM
22 第1のパワーオンリセット回路
40 第2のレギュレータ回路
42 RTC回路
44 第2の発振回路
46 レジスタ
48 第2のパワーオンリセット回路
50 ラッチ回路
52 OR回路
60 第1の回路
62 第2の回路
100 MCU
PWR1 第1の電源
PWR2 第2の電源
T1、T2 端子
10, 10A, 100 MCU
12 First regulator circuit 14 Voltage level detection circuit 16 CPU
18 First oscillation circuit 20 Flash RAM
22 First power-on reset circuit 40 Second regulator circuit 42 RTC circuit 44 Second oscillation circuit 46 Register 48 Second power-on reset circuit 50 Latch circuit 52 OR circuit 60 First circuit 62 Second circuit 100 MCU
PWR1 first power supply PWR2 second power supply T1, T2 terminals

Claims (3)

第1の電源、前記第1の電源に接続され所定の処理を実行する処理回路、および前記第1の電源に接続され前記第1の電源が投入されたことを示す投入信号を生成する第1の生成回路を備えた第1の回路と、
第2の電源、前記第2の電源に接続され前記処理回路から送られた動作条件に基づいて動作する単独動作回路、前記第2の電源に接続され前記処理回路から送られた前記動作条件を記憶する記憶回路、前記第2の電源に接続され前記第2の電源の動作状態を示す状態信号を生成する第2の生成回路、および前記第2の電源に接続され前記状態信号に基づいて前記投入信号を保持する保持回路を有し前記保持回路に前記投入信号が保持された場合に前記動作条件が前記単独動作回路に送られるように制御する制御回路を備えた1つまたは複数の第2の回路と、を含む
半導体装置。
A first power source, a processing circuit connected to the first power source and executing a predetermined process, and a first signal that is connected to the first power source and that indicates that the first power source has been turned on is generated. A first circuit comprising the generator circuit;
A second power source, a single operating circuit connected to the second power source and operating based on operating conditions sent from the processing circuit, and an operating condition sent from the processing circuit connected to the second power source. A storage circuit for storing, a second generation circuit connected to the second power supply for generating a state signal indicating an operating state of the second power supply, and connected to the second power supply based on the state signal One or a plurality of second circuits each having a holding circuit that holds a closing signal, and a control circuit that controls the operation condition to be sent to the single operation circuit when the closing signal is held in the holding circuit. And a semiconductor device.
前記処理回路が中央処理装置であり、
前記第1の生成回路が第1のパワーオンリセット回路であり、
前記単独動作回路が発振回路および前記発振回路によって動作するリアルタイムクロック回路であり、
前記記憶回路がレジスタであり、
前記第2の生成回路が第2のパワーオンリセット回路であり、
前記動作条件が前記発振回路および前記リアルタイムクロック回路に対するイネーブル信号および前記リアルタイムクロック回路の周波数情報を含み、
前記保持回路が、データ入力に前記第1のパワーオンリセット回路の出力が接続され、クロック入力に前記第2のパワーオンリセット回路の出力が接続されたD型ラッチ回路であり、前記制御回路が前記D型ラッチ回路、および前記イネーブル信号および前記D型ラッチ回路の出力を入力とし出力が前記発振回路および前記リアルタイムクロック回路に対するイネーブル信号とされた論理和回路である
請求項1に記載の半導体装置。
The processing circuit is a central processing unit;
The first generation circuit is a first power-on reset circuit;
The single operation circuit is an oscillation circuit and a real-time clock circuit operated by the oscillation circuit,
The memory circuit is a register;
The second generation circuit is a second power-on reset circuit;
The operating condition includes an enable signal for the oscillation circuit and the real-time clock circuit and frequency information of the real-time clock circuit,
The holding circuit is a D-type latch circuit in which an output of the first power-on reset circuit is connected to a data input, and an output of the second power-on reset circuit is connected to a clock input. 2. The semiconductor device according to claim 1, wherein the D-type latch circuit and the enable signal and an output of the D-type latch circuit are inputs and an output is an OR circuit that is an enable signal for the oscillation circuit and the real-time clock circuit. .
第1の電源、前記第1の電源に接続され所定の処理を実行する処理回路、および前記第1の電源に接続され前記第1の電源が投入されたことを示す投入信号を生成する第1の生成回路を備えた第1の回路と、
第2の電源、前記第2の電源に接続され前記処理回路から送られた動作条件に基づいて動作する単独動作回路、前記第2の電源に接続され前記処理回路から送られた前記動作条件を記憶する記憶回路、前記第2の電源に接続され前記第2の電源の動作状態を示す状態信号を生成する第2の生成回路を備えた1つまたは複数の第2の回路と、を含む半導体装置を制御する回路制御方法であって、
前記第2の電源に接続された保持回路により前記状態信号に基づいて前記投入信号を保持し、
前記保持回路に前記投入信号が保持された場合に前記動作条件が前記単独動作回路に送られるように制御する
回路制御方法。
A first power source, a processing circuit connected to the first power source and executing a predetermined process, and a first signal that is connected to the first power source and that indicates that the first power source has been turned on is generated. A first circuit comprising the generator circuit;
A second power source, a single operating circuit connected to the second power source and operating based on operating conditions sent from the processing circuit, and an operating condition sent from the processing circuit connected to the second power source. A semiconductor circuit including a storage circuit for storing, and one or a plurality of second circuits including a second generation circuit that is connected to the second power source and generates a state signal indicating an operation state of the second power source A circuit control method for controlling an apparatus,
Holding the input signal based on the status signal by a holding circuit connected to the second power supply;
A circuit control method for controlling the operation condition to be sent to the single operation circuit when the input signal is held in the holding circuit.
JP2018053994A 2018-03-22 2018-03-22 Semiconductor devices and circuit control methods Active JP6956036B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018053994A JP6956036B2 (en) 2018-03-22 2018-03-22 Semiconductor devices and circuit control methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018053994A JP6956036B2 (en) 2018-03-22 2018-03-22 Semiconductor devices and circuit control methods

Publications (2)

Publication Number Publication Date
JP2019168759A true JP2019168759A (en) 2019-10-03
JP6956036B2 JP6956036B2 (en) 2021-10-27

Family

ID=68108295

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018053994A Active JP6956036B2 (en) 2018-03-22 2018-03-22 Semiconductor devices and circuit control methods

Country Status (1)

Country Link
JP (1) JP6956036B2 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223229A (en) * 2002-01-30 2003-08-08 Sharp Corp Stabilized power supply and electronic device using the same
JP2008079376A (en) * 2006-09-19 2008-04-03 Ricoh Co Ltd Dc power unit and image forming apparatus
JP2012070500A (en) * 2010-09-22 2012-04-05 Ricoh Co Ltd Power supply device, electronic apparatus device, and image forming device
JP2015215638A (en) * 2014-05-07 2015-12-03 富士通株式会社 Power supply management device, electronic device, and power supply management method
JP2016029556A (en) * 2014-07-15 2016-03-03 株式会社東芝 Host device and expandable device
JP2018033174A (en) * 2017-11-06 2018-03-01 キヤノン株式会社 Electronic equipment and power control method to control part of electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003223229A (en) * 2002-01-30 2003-08-08 Sharp Corp Stabilized power supply and electronic device using the same
JP2008079376A (en) * 2006-09-19 2008-04-03 Ricoh Co Ltd Dc power unit and image forming apparatus
JP2012070500A (en) * 2010-09-22 2012-04-05 Ricoh Co Ltd Power supply device, electronic apparatus device, and image forming device
JP2015215638A (en) * 2014-05-07 2015-12-03 富士通株式会社 Power supply management device, electronic device, and power supply management method
JP2016029556A (en) * 2014-07-15 2016-03-03 株式会社東芝 Host device and expandable device
JP2018033174A (en) * 2017-11-06 2018-03-01 キヤノン株式会社 Electronic equipment and power control method to control part of electronic equipment

Also Published As

Publication number Publication date
JP6956036B2 (en) 2021-10-27

Similar Documents

Publication Publication Date Title
US7765415B2 (en) Semiconductor integrated circuit
JP5376807B2 (en) Semiconductor integrated circuit device
KR100965198B1 (en) wake-up reset circuit
US8179111B2 (en) Methods, systems, and devices for power-on sequence for a circuit
US20060168461A1 (en) Power management of components having clock processing circuits
JP2010529548A (en) Power management integrated circuit
TW201405566A (en) Ultra-deep power-down mode for memory devices
JP2008130223A (en) Deep power down mode control circuit
CN111338451B (en) Control circuit and method for quickly setting power mode
US8823428B2 (en) Semiconductor device, method for operating the same, and memory system including the same
US9006924B2 (en) Electronic control device
JP6956036B2 (en) Semiconductor devices and circuit control methods
JP3711849B2 (en) Microcomputer
JP2007304909A (en) Electrical apparatus
CN110121688B (en) Method for judging loader and electronic system
US8677164B2 (en) Microcomputer and control method thereof
JP2024523780A (en) Power control of optical animation performed in optical module
JP2001202160A (en) Device and method for controlling operating state of electronic system in 'gray zone'
JP4746592B2 (en) Microcomputer operating with a plurality of power supplies, and method for starting microcomputer
JP2006350483A (en) Computer system
JP2007140878A (en) System clock generation circuit
JP2000163152A (en) Electronic controller
JP2008029186A (en) Electronic device and starting method therefor
JP2004087051A (en) Semiconductor storage device and mode setting method
KR960042296A (en) Power operation method to reduce power consumption of the system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201228

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: 20210907

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211004

R150 Certificate of patent or registration of utility model

Ref document number: 6956036

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150