patents.google.com

JP2019208141A - Semiconductor device - Google Patents

  • ️Thu Dec 05 2019

以下に本発明の一実施形態について図面を参照して説明する。なお、以下に記載する具体的な電圧値は、説明の便宜上のものであり、一例に過ぎない。   An embodiment of the present invention will be described below with reference to the drawings. In addition, the specific voltage value described below is for convenience of explanation, and is only an example.

<1.PMICの構成>
図1は、本発明の一実施形態に係るPMIC(パワーマネジメントIC)1の全体構成を示す概略的なブロック図である。PMIC1は、複数の電源回路を備えており、例えば車載用SOC(System On Chip)への電源供給を行う。
<1. Configuration of PMIC>
FIG. 1 is a schematic block diagram showing an overall configuration of a PMIC (power management IC) 1 according to an embodiment of the present invention. The PMIC 1 includes a plurality of power supply circuits, and supplies power to, for example, an in-vehicle SOC (System On Chip).

PMIC1は、DC/DCコントローラ2A〜2Gと、昇降圧コンバータ3と、リファレンスブロック4と、VCC_UVLO(Under Voltage Lock Out)部5と、V15_LDO(Low Dropout)6と、ロジック部7と、クロック生成部8の各要素を1チップに集積化して備える半導体装置である。   The PMIC 1 includes DC / DC controllers 2A to 2G, a buck-boost converter 3, a reference block 4, a VCC_UVLO (Under Voltage Lock Out) unit 5, a V15_LDO (Low Dropout) 6, a logic unit 7, and a clock generation unit. This is a semiconductor device comprising 8 elements integrated on a single chip.

DC/DCコントローラ2A〜2Cは、マルチフェーズ電源用のPWMコントローラである。マルチフェーズ電源は、複数の電源回路を並列接続し、当該電源回路を位相をずらして動作させるものであり、出力電流の増大やスイッチング周波数を高める等の効果を得ることができる。   The DC / DC controllers 2A to 2C are PWM controllers for multiphase power supplies. The multi-phase power source is a device in which a plurality of power source circuits are connected in parallel and the power source circuits are operated with a phase shift, and effects such as an increase in output current and an increase in switching frequency can be obtained.

より具体的に、DC/DCコントローラ2Aに対応して、IC外部においては、ドライバMOS10AとインダクタLAとの直列接続構成が複数(例えば6個)設けられ、各インダクタLAの出力端が接続されるノードに出力コンデンサCAの一端が接続される。なお、ドライバMOSは、MOSFETのブリッジ構成と当該MOSFETを駆動するドライバとからなる。DC/DCコントローラ2Aは、ドライバMOS10AのドライバへPWM信号を出力し、各MOSFETをスイッチング制御する。   More specifically, corresponding to the DC / DC controller 2A, a plurality of (for example, six) serial connection configurations of the driver MOS 10A and the inductor LA are provided outside the IC, and the output ends of the inductors LA are connected. One end of the output capacitor CA is connected to the node. The driver MOS includes a MOSFET bridge configuration and a driver for driving the MOSFET. The DC / DC controller 2A outputs a PWM signal to the driver of the driver MOS 10A, and performs switching control of each MOSFET.

DC/DCコントローラ2Bに対応したドライバMOS10B、インダクタLB、および出力コンデンサCBの構成も上記DC/DCコントローラ2Aについてと同様であり、ドライバMOS10BとインダクタLBとの直列接続構成の個数は、例えば3個である。   The configuration of the driver MOS 10B, the inductor LB, and the output capacitor CB corresponding to the DC / DC controller 2B is the same as that of the DC / DC controller 2A, and the number of series connection configurations of the driver MOS 10B and the inductor LB is, for example, three. It is.

DC/DCコントローラ2Cに対応したドライバMOS10C、インダクタLC、および出力コンデンサCCの構成も上記DC/DCコントローラ2Aについてと同様であり、ドライバMOS10CとインダクタLCとの直列接続構成の個数は、2個である。   The configuration of the driver MOS 10C, the inductor LC, and the output capacitor CC corresponding to the DC / DC controller 2C is the same as that of the DC / DC controller 2A, and the number of series connection configurations of the driver MOS 10C and the inductor LC is two. is there.

DC/DCコントローラ2Dに対応して、IC外部においては、ドライバMOS10DとインダクタLDとが直列に接続され、インダクタLDの出力端に出力コンデンサCDの一端が接続される。DC/DCコントローラ2Dは、ドライバMOS10DのドライバへPWM信号を出力する。   Corresponding to the DC / DC controller 2D, outside the IC, the driver MOS 10D and the inductor LD are connected in series, and one end of the output capacitor CD is connected to the output end of the inductor LD. The DC / DC controller 2D outputs a PWM signal to the driver of the driver MOS 10D.

DC/DCコントローラ2Eに対応したドライバMOS10E、インダクタLE、および出力コンデンサCE、DC/DCコントローラ2Fに対応したドライバMOS10F、インダクタLF、および出力コンデンサCF、DC/DCコントローラ2Gに対応したドライバMOS10G、インダクタLG、および出力コンデンサCGについても上記DC/DCコントローラ2Dについてと同様である。   Driver MOS 10E, inductor LE and output capacitor CE corresponding to DC / DC controller 2E, driver MOS 10F, inductor LF and output capacitor CF corresponding to DC / DC controller 2F, driver MOS 10G corresponding to DC / DC controller 2G, inductor The same applies to LG and output capacitor CG as for DC / DC controller 2D.

昇降圧コンバータ3には、IC外部に配置されるインダクタL1および出力コンデンサC2が接続される。昇降圧コンバータ3は、入力されるDC電圧を所定のDC出力電圧へ昇圧または降圧するDC/DCコンバータである。   An inductor L1 and an output capacitor C2 arranged outside the IC are connected to the buck-boost converter 3. The step-up / down converter 3 is a DC / DC converter that steps up or steps down an input DC voltage to a predetermined DC output voltage.

電源電圧VCCは、PMIC1の電源電圧であり、例えばバッテリーによってIC外部からPMIC1に印加される。電源電圧VCCは、3.3Vであるとして以下説明する。   The power supply voltage VCC is a power supply voltage of the PMIC 1 and is applied to the PMIC 1 from the outside of the IC by, for example, a battery. The power supply voltage VCC will be described below as 3.3V.

リファレンスブロック4は、電源電圧VCCに基づいてバンドギャップ電圧Vbgを生成する基準電圧回路である。バンドギャップ電圧Vbgは、1.2Vであるとして以下説明する。   The reference block 4 is a reference voltage circuit that generates a band gap voltage Vbg based on the power supply voltage VCC. In the following description, it is assumed that the band gap voltage Vbg is 1.2V.

VCC_UVLO部5は、電源電圧VCCを監視し、電源電圧VCCの投入時に電源電圧VCCが所定のUVLO解除電圧に達するまでは内部回路をスタンバイ状態にし、誤動作を防止する回路である。   The VCC_UVLO unit 5 is a circuit that monitors the power supply voltage VCC and sets the internal circuit in a standby state until the power supply voltage VCC reaches a predetermined UVLO release voltage when the power supply voltage VCC is turned on, thereby preventing malfunction.

V15_LDO6は、電源電圧VCCを、出力電圧V15に変換するリニアレギュレータである。V15_LDO6の出力端には、IC外部に配置されるコンデンサC1が接続される。出力電圧V15は、ロジック部7等の内部回路用の電源電圧であり、1.5Vであるとして以下説明する。   V15_LDO6 is a linear regulator that converts the power supply voltage VCC into the output voltage V15. A capacitor C1 disposed outside the IC is connected to the output terminal of V15_LDO6. The output voltage V15 is a power supply voltage for an internal circuit such as the logic unit 7 and will be described below as 1.5V.

ロジック部7は、PMIC1の各部を制御する。ロジック部7は、後述する図2で示すOTP ROM71を有する。OTP ROM(One Time Programmable ROM)71は、1回のみ書き込みが可能で消去不可能なメモリであり、後述するトリミング設定等の各種情報が記憶される。   The logic unit 7 controls each unit of the PMIC 1. The logic unit 7 has an OTP ROM 71 shown in FIG. An OTP ROM (One Time Programmable ROM) 71 is a memory that can be written only once and cannot be erased, and stores various information such as trimming settings to be described later.

クロック生成部8は、クロック用LDO81および発振回路82を有し、IC外部に配置された水晶振動子Xを用いてクロック信号XCLKを生成する。クロック用LDO81は、電源電圧VCCに基づいて出力電圧VCLKを生成するリニアレギュレータである。クロック用LDO81の出力端には、IC外部に配置されるコンデンサC3が接続される。   The clock generation unit 8 includes a clock LDO 81 and an oscillation circuit 82, and generates a clock signal XCLK using a crystal resonator X disposed outside the IC. The clock LDO 81 is a linear regulator that generates the output voltage VCLK based on the power supply voltage VCC. A capacitor C3 disposed outside the IC is connected to the output terminal of the clock LDO 81.

出力電圧VCLKは、発振回路82の電源電圧として発振回路82に印加される。なお、電源電圧VCCを直接、発振回路82の電源電圧とせずにLDOを用いているのは、電源電圧VCCは、IC外部におけるドライバMOS10A〜10Gの入力電圧としても用いられるためノイズが生じ易く、仮に電源電圧VCCを発振回路82の電源電圧とすると発振信号の生成に悪影響を及ぼすからである。   The output voltage VCLK is applied to the oscillation circuit 82 as a power supply voltage for the oscillation circuit 82. The reason why the LDO is used without directly using the power supply voltage VCC as the power supply voltage of the oscillation circuit 82 is that the power supply voltage VCC is also used as the input voltage of the driver MOSs 10A to 10G outside the IC, and noise is likely to occur. This is because if the power supply voltage VCC is the power supply voltage of the oscillation circuit 82, the generation of the oscillation signal is adversely affected.

発振回路82は、水晶振動子Xとから水晶発振回路を構成し、発振信号OSを生成する。発振信号OSに基づきクロック信号XCLKが生成される。   The oscillation circuit 82 forms a crystal oscillation circuit from the crystal resonator X and generates an oscillation signal OS. A clock signal XCLK is generated based on the oscillation signal OS.

クロック信号XCLKは、DC/DCコントローラ2A〜2Gおよび昇降圧コンバータ3等の動作に用いられる。   The clock signal XCLK is used for operations of the DC / DC controllers 2A to 2G, the buck-boost converter 3, and the like.

また、クロック生成部8は、リアルタイムクロック(RTC)信号RTCCLKのIC外部への出力も行う。   The clock generator 8 also outputs a real-time clock (RTC) signal RTCCLK to the outside of the IC.

以上がPMIC1の全体構成であるが、例えば、昇降圧コンバータ3の出力電圧を入力とするLDOをさらにPMICに備えてもよい。   The above is the overall configuration of the PMIC 1. For example, the PMIC may further include an LDO that receives the output voltage of the buck-boost converter 3.

<2.クロック生成部について>
次に、クロック信号生成部8の詳細について述べる。図2は、クロック信号生成部8の構成をより具体的に示す図である。
<2.1 LDOについて>
クロック用LDO81は、入力される電源電圧VCCに基づいて出力電圧VCLKを生成するリニアレギュレータである。出力電圧VCLKは、発振回路82の電源電圧として用いられる。クロック用LDO81は、DAC(D/Aコンバータ)811を有する。出力電圧VCLKが出力されるクロック用LDO81の出力端には、外部端子T1を介してIC外部のコンデンサC3が接続される。
<2. About clock generator>
Next, details of the clock signal generation unit 8 will be described. FIG. 2 is a diagram more specifically showing the configuration of the clock signal generation unit 8.
<2.1 About LDO>
The clock LDO 81 is a linear regulator that generates the output voltage VCLK based on the input power supply voltage VCC. The output voltage VCLK is used as a power supply voltage for the oscillation circuit 82. The clock LDO 81 includes a DAC (D / A converter) 811. A capacitor C3 outside the IC is connected to the output terminal of the clock LDO 81 from which the output voltage VCLK is output via the external terminal T1.

図3は、クロック用LDO81の具体的な構成を示す回路図である。図3に示すように、クロック用LDO81は、エラーアンプ81Aと、MOSトランジスタ81Bと、抵抗R81,R82と、DAC811と、を有する。   FIG. 3 is a circuit diagram showing a specific configuration of the clock LDO 81. As shown in FIG. 3, the clock LDO 81 includes an error amplifier 81A, a MOS transistor 81B, resistors R81 and R82, and a DAC 811.

nチャネルMOSFETで構成されるMOSトランジスタ81Bのドレインには、電源電圧VCCが印加される。MOSトランジスタ81Bのソースは、抵抗R81の一端に接続される。抵抗R81の他端は、抵抗R82の一端に接続される。抵抗R82の他端は、グランド電位の印加端に接続される。抵抗R81と抵抗R82とが接続されるノードは、エラーアンプ81Aの反転入力端(−)に接続される。エラーアンプ81Aの非反転入力端(+)には、DAC811から出力される出力電圧OUTが参照電圧として入力される。エラーアンプ81Aは、電源電圧VCCを印加される。   A power supply voltage VCC is applied to the drain of the MOS transistor 81B formed of an n-channel MOSFET. The source of the MOS transistor 81B is connected to one end of the resistor R81. The other end of the resistor R81 is connected to one end of the resistor R82. The other end of the resistor R82 is connected to a ground potential application end. A node to which the resistor R81 and the resistor R82 are connected is connected to the inverting input terminal (−) of the error amplifier 81A. The output voltage OUT output from the DAC 811 is input as a reference voltage to the non-inverting input terminal (+) of the error amplifier 81A. The error amplifier 81A is applied with the power supply voltage VCC.

MOSトランジスタ81Bのソースと抵抗R81の一端とが接続されるノードN81に出力電圧VCLKが生成される。ノードN81の電圧を抵抗R81,R82によって分圧した電圧が出力電圧OUTと一致するようにMOSトランジスタ81Bが制御され、出力電圧VCLKは、出力電圧OUTと抵抗R81,R82に応じた一定電圧に制御される。   An output voltage VCLK is generated at a node N81 to which the source of the MOS transistor 81B and one end of the resistor R81 are connected. The MOS transistor 81B is controlled so that the voltage obtained by dividing the voltage of the node N81 by the resistors R81 and R82 matches the output voltage OUT, and the output voltage VCLK is controlled to a constant voltage according to the output voltage OUT and the resistors R81 and R82. Is done.

DAC811は、図2にも示すようにロジック部7から入力されるトリミングビットデータTB1をD/A変換することで、アナログ信号である出力電圧OUTを出力する。トリミングビットデータTB1は、ここでは一例として8ビットのデータとしており、DAC811は、8ビットのコードをアナログ信号へ変換することができる。製造バラツキを考慮してトリミングビットデータTB1を設定することにより、出力電圧OUTをトリミング設定し、出力電圧VCLKを精度良く生成することができる。なお、後述するように、本実施形態では、トリミングビットデータTB1は、トリミング設定のみならず、発振回路82の電源電圧を可変とする目的にも用いられる。   As shown in FIG. 2, the DAC 811 performs D / A conversion on the trimming bit data TB1 input from the logic unit 7 to output an output voltage OUT which is an analog signal. The trimming bit data TB1 is 8-bit data as an example here, and the DAC 811 can convert an 8-bit code into an analog signal. By setting the trimming bit data TB1 in consideration of manufacturing variations, the output voltage OUT can be trimmed and the output voltage VCLK can be generated with high accuracy. As will be described later, in this embodiment, the trimming bit data TB1 is used not only for trimming settings but also for the purpose of making the power supply voltage of the oscillation circuit 82 variable.

また、図2に示すV15_LDO6は、入力される電源電圧VCC(=3.3V)に基づいて出力電圧V15(=1.5V)を生成するリニアレギュレータである。V15_LDO6は、図3で説明したクロック用LDO81の構成と同様であり、DAC811に相当するDAC61を有している。DAC61は、ロジック部7から入力されるトリミングビットデータTB2をD/A変換し、アナログ信号をエラーアンプに出力する。製造バラツキを考慮してトリミングビットデータTB2を設定することにより、アナログ信号をトリミング設定し、出力電圧V15を1.5Vに精度良く生成することができる。   Also, V15_LDO6 shown in FIG. 2 is a linear regulator that generates an output voltage V15 (= 1.5V) based on an input power supply voltage VCC (= 3.3V). V15_LDO6 has the same configuration as that of the clock LDO81 described with reference to FIG. 3 and includes a DAC61 corresponding to the DAC811. The DAC 61 D / A converts the trimming bit data TB2 input from the logic unit 7 and outputs an analog signal to the error amplifier. By setting the trimming bit data TB2 in consideration of manufacturing variations, the analog signal can be trimmed and the output voltage V15 can be accurately generated to 1.5V.

また、DAC811およびDAC61には、リファレンスブロック4で生成されるバンドギャップ電圧Vbgが印加される。バンドギャップ電圧Vbgは、DACのイネーブル信号やDACの動作に用いられる。   The band gap voltage Vbg generated in the reference block 4 is applied to the DAC 811 and the DAC 61. The band gap voltage Vbg is used for a DAC enable signal and a DAC operation.

また、VCC_UVLO部5から出力されるイネーブル信号EN1は、クロック用LDO81およびV15_LDO6にUVLO解除信号として入力される。イネーブル信号EN1は、LDOにおけるエラーアンプおよび出力段のイネーブル信号である。   The enable signal EN1 output from the VCC_UVLO unit 5 is input to the clock LDO 81 and V15_LDO 6 as a UVLO release signal. The enable signal EN1 is an error amplifier and output stage enable signal in the LDO.

<2.2 DACについて>
次に、本実施形態に係るDAC61およびDAC811の構成の詳細について述べる。本実施形態では、LDOに備えられるDACには、R−2Rラダー方式を採用している。
<2.2 About DAC>
Next, details of the configurations of the DAC 61 and the DAC 811 according to the present embodiment will be described. In this embodiment, the R-2R ladder method is adopted for the DAC provided in the LDO.

まず、V15_LDO6に備えられるDAC61の構成について図4Aを用いて説明する。図4Aは、DAC61の構成を示す回路図である。図4Aに示すIN<7:0>は、トリミングビットデータTB2に相当し、ビット<7>〜ビット<0>からなる8ビットデータである。ビット<7>が最上位ビットである。   First, the configuration of the DAC 61 provided in the V15_LDO 6 will be described with reference to FIG. 4A. FIG. 4A is a circuit diagram illustrating a configuration of the DAC 61. IN <7: 0> shown in FIG. 4A corresponds to the trimming bit data TB2, and is 8-bit data including bits <7> to <0>. Bit <7> is the most significant bit.

図4Aに示すように、DAC61は、各々pチャネルMOSFETとnチャネルMOSFETとで構成されるCMOS部CM0〜CM7、CM01〜CM03、およびCM10を有している。CMOS部CM0〜CM7は、それぞれビット<0>〜ビット<7>に対応する。CMOS部CM0〜CM7、CM01〜CM03、およびCM10は、それぞれHighレベル電圧VHの印加端とLowレベル電圧VLの印加端との間に接続される。   As shown in FIG. 4A, the DAC 61 includes CMOS units CM0 to CM7, CM01 to CM03, and CM10 each formed of a p-channel MOSFET and an n-channel MOSFET. CMOS units CM0 to CM7 correspond to bit <0> to bit <7>, respectively. The CMOS units CM0 to CM7, CM01 to CM03, and CM10 are connected between the application terminal of the high level voltage VH and the application terminal of the low level voltage VL, respectively.

IN<7:0>のうちビット<6>〜ビット<0>は、インバータIV1、およびインバータIV2を順に経由し、AND回路A1の一方入力端に入力される。AND回路A1の他方入力端には、イネーブル信号EN_DACが入力される。イネーブル信号EN_DACがHighの場合に、AND回路A1の一方入力端に入力された信号レベルは、そのままAND回路A1から出力される。AND回路A1の出力は、インバータIV4を経由し、ビットごとに各CMOS部CM0〜CM6に入力される。すなわち、図4Aでは、CMOS部CM0〜CM6の入力端は短絡されているように記載されているが、実際には、上述したインバータIV1からインバータIV4を経由してCMOS部に入力されるまでの経路は、ビットごとに設けられる。   Of IN <7: 0>, bits <6> to <0> are sequentially input to one input terminal of the AND circuit A1 through the inverter IV1 and the inverter IV2. The enable signal EN_DAC is input to the other input terminal of the AND circuit A1. When the enable signal EN_DAC is High, the signal level input to one input terminal of the AND circuit A1 is output from the AND circuit A1 as it is. The output of the AND circuit A1 is input to each of the CMOS units CM0 to CM6 via the inverter IV4 for each bit. That is, in FIG. 4A, the input ends of the CMOS units CM0 to CM6 are described as being short-circuited, but actually, the input from the above-described inverter IV1 to the CMOS unit via the inverter IV4 is described. A path is provided for each bit.

CMOS部CM0〜CM7の出力端は、それぞれ抵抗値2Rの抵抗2R0〜2R7の一端に接続される。従って、IN<7:0>(トリミングビットデータ)のうちビット<6>〜ビット<0>の値に応じて、CMOS部CM0〜CM6によってHighレベル電圧VHまたはLowレベル電圧VLのいずれかが抵抗2R0〜2R6の一端に印加されることが選択される。すなわち、CMOS部CM0〜CM6は、ビットごとにHighレベル電圧VHまたはLowレベル電圧VLのいずれを抵抗2R0〜2R6の一端に印加させるかを切替えるスイッチに相当する。   Output ends of the CMOS units CM0 to CM7 are connected to one ends of resistors 2R0 to 2R7 having a resistance value 2R, respectively. Therefore, depending on the values of bits <6> to <0> in IN <7: 0> (trimming bit data), either high level voltage VH or low level voltage VL is resistance by CMOS units CM0 to CM6. Application to one end of 2R0 to 2R6 is selected. That is, the CMOS units CM0 to CM6 correspond to switches for switching which of the high level voltage VH and the low level voltage VL is applied to one end of the resistors 2R0 to 2R6 for each bit.

また、IN<7:0>のうちビット<7>は、インバータIV3を経由してからAND回路A1の一方入力端に入力され、AND回路A1およびインバータIV4を経由して、CMOS部CM7に入力される。図4Aでは、CMOS部CM7の入力端は、CMOS部CM0〜CM6の入力端と短絡されて記載されているが、実際には、上述したCMOS部CM7へ入力される経路は、ビット<6>〜ビット<0>とは独立した経路である。従って、IN<7:0>のうち最上位ビット<7>の値に応じて、CMOS部CM7によってHighレベル電圧VHまたはLowレベル電圧VLのいずれかが抵抗2R7の一端に印加されることが選択される。   Further, bit <7> of IN <7: 0> is input to one input terminal of AND circuit A1 via inverter IV3, and input to CMOS unit CM7 via AND circuit A1 and inverter IV4. Is done. In FIG. 4A, the input end of the CMOS unit CM7 is described as being short-circuited with the input ends of the CMOS units CM0 to CM6. However, in practice, the path input to the CMOS unit CM7 is bit <6>. ~ Bit <0> is an independent path. Therefore, it is selected that either the high level voltage VH or the low level voltage VL is applied to one end of the resistor 2R7 by the CMOS unit CM7 according to the value of the most significant bit <7> of IN <7: 0>. Is done.

また、CMOS部CM0〜CM7、およびCM01〜CM03のそれぞれに対応して、nチャネルMOSFETで構成されるMOSトランジスタM0〜M7、およびM01〜M03が設けられる。MOSトランジスタM0〜M7、およびM01〜M03のドレインは、Highレベル電圧VHの印加端に接続され、ソースはCMOS部CM0〜CM7、およびCM01〜CM03の各出力端に接続される。   In addition, MOS transistors M0 to M7 and M01 to M03 configured by n-channel MOSFETs are provided corresponding to the CMOS units CM0 to CM7 and CM01 to CM03, respectively. The drains of the MOS transistors M0 to M7 and M01 to M03 are connected to the application terminal of the high level voltage VH, and the sources are connected to the output terminals of the CMOS units CM0 to CM7 and CM01 to CM03.

AND回路A1の出力は、ビットごとにMOSトランジスタM0〜M7のゲートに入力される。これにより、ビットごとにCMOS部CM0〜CM7におけるpチャネルMOSFETがオンの場合に、対応するMOSトランジスタM0〜M7がオンとされる。すなわち、MOSトランジスタM0〜M7は、CMOS部のpチャネルMOSFETのオン具合を補強する。これにより、より確実にHighレベル電圧VHを抵抗2R0〜2R7の一端に印加させる。なお、電源電圧VDDは、MOSトランジスタM0〜M7、およびM01〜M03の電源電圧となるとともに、CMOS部CM0〜CM7、CM01〜CM03、およびCM10の各nチャネルMOSFETの電源電圧となる。   The output of the AND circuit A1 is input to the gates of the MOS transistors M0 to M7 for each bit. Thereby, when the p-channel MOSFETs in the CMOS units CM0 to CM7 are turned on for each bit, the corresponding MOS transistors M0 to M7 are turned on. That is, the MOS transistors M0 to M7 reinforce the on-state of the p-channel MOSFET in the CMOS portion. Accordingly, the high level voltage VH is more reliably applied to one end of the resistors 2R0 to 2R7. The power supply voltage VDD is a power supply voltage for the MOS transistors M0 to M7 and M01 to M03, and a power supply voltage for each n-channel MOSFET of the CMOS units CM0 to CM7, CM01 to CM03, and CM10.

また、IN<7:0>のうち最上位ビット<7>は、インバータIV3を経由してからOR回路O1の一方入力端にも入力される。OR回路O1の他方入力端には、イネーブル信号EN_DACがインバータIV5を経由した信号が入力される。イネーブル信号EN_DACがHighの場合に、OR回路OR1の一方入力端に入力される信号レベルは、そのままOR回路O1から出力される。OR回路O1の出力は、CMOS部CM01〜CM03の各入力端に入力される。OR回路O1の出力は、インバータIV6を経由してMOSトランジスタM01〜M03のゲートにも入力される。CMOS部CM01〜CM03の出力端は、それぞれ抵抗値2Rの抵抗2R01〜2R03の一端に接続される。   The most significant bit <7> of IN <7: 0> is also input to one input terminal of the OR circuit O1 after passing through the inverter IV3. A signal obtained by passing the enable signal EN_DAC through the inverter IV5 is input to the other input terminal of the OR circuit O1. When the enable signal EN_DAC is High, the signal level input to one input terminal of the OR circuit OR1 is output from the OR circuit O1 as it is. The output of the OR circuit O1 is input to each input terminal of the CMOS units CM01 to CM03. The output of the OR circuit O1 is also input to the gates of the MOS transistors M01 to M03 via the inverter IV6. The output ends of the CMOS units CM01 to CM03 are connected to one ends of resistors 2R01 to 2R03 having a resistance value 2R, respectively.

これにより、最上位ビット<7>の値に応じて、Highレベル電圧VHまたはLowレベル電圧VLのいずれかが抵抗2R01〜2R03の一端に印加されることが選択される。   Accordingly, it is selected that either the high level voltage VH or the low level voltage VL is applied to one end of the resistors 2R01 to 2R03 according to the value of the most significant bit <7>.

順に配置される抵抗2R0〜2R6の隣接する抵抗の他端同士は、抵抗値Rの抵抗1R0〜1R5によって接続される。また、抵抗2R6、2R01〜2R03、2R7が順に配置され、これらのうち隣接する抵抗の他端同士は、抵抗値Rの抵抗1R6〜1R9によって接続される。抵抗1R9と抵抗2R7とが接続されるノードに、出力電圧OUTが生成される。   The other ends of the adjacent resistors of the resistors 2R0 to 2R6 arranged in order are connected by resistors 1R0 to 1R5 having a resistance value R. Further, resistors 2R6, 2R01 to 2R03, 2R7 are arranged in order, and the other ends of the adjacent resistors among them are connected by resistors 1R6 to 1R9 having a resistance value R. An output voltage OUT is generated at a node to which the resistor 1R9 and the resistor 2R7 are connected.

また、CMOS部CM10の入力端には、電圧LSBが印加される。CMOS部CM10の出力端には、抵抗値2Rの抵抗2R8の一端が接続される。抵抗2R8の他端は、抵抗2R0と抵抗1R0とが接続されるノードに接続される。   The voltage LSB is applied to the input end of the CMOS unit CM10. One end of a resistor 2R8 having a resistance value 2R is connected to the output end of the CMOS unit CM10. The other end of the resistor 2R8 is connected to a node to which the resistor 2R0 and the resistor 1R0 are connected.

本実施形態では、バンドギャップ電圧Vbg(図2)が電源電圧VDD、Highレベル電圧VH、電圧LSB、およびイネーブル信号EN_DACとして入力される。従って、バンドギャップ電圧Vbgが1.2Vとなった場合に、イネーブル信号EN_DACはHighとなる。また、Lowレベル電圧VLは、例えばグランド電位とされる。   In the present embodiment, the band gap voltage Vbg (FIG. 2) is input as the power supply voltage VDD, the high level voltage VH, the voltage LSB, and the enable signal EN_DAC. Therefore, when the band gap voltage Vbg becomes 1.2V, the enable signal EN_DAC becomes High. Further, the low level voltage VL is, for example, a ground potential.

IN<7:0>のコード値(10進数)は0〜255までを取りうるが、最上位ビット<7>はコード値128で0から1へ切替わる。この切替わりに応じて、CMOS部CM01〜CM03によって抵抗2R01〜2R03の一端に印加される電圧レベルがHighレベル電圧VHからLowレベル電圧VLへ切替えられる。従って、コード値128で出力電圧OUTのレベルが切替わる。   The code value (decimal number) of IN <7: 0> can take from 0 to 255, but the most significant bit <7> is switched from 0 to 1 with a code value of 128. In response to this switching, the voltage level applied to one end of the resistors 2R01 to 2R03 is switched from the high level voltage VH to the low level voltage VL by the CMOS units CM01 to CM03. Therefore, the level of the output voltage OUT is switched by the code value 128.

ここで、図5Aには、DAC61の出力電圧OUTのコード値との対応関係を示す。このように、コード値が0〜127まで出力電圧OUTは上昇し、コード値128で出力電圧OUTは急峻に低下し、コード値255まで出力電圧OUTは上昇する。   Here, FIG. 5A shows a correspondence relationship with the code value of the output voltage OUT of the DAC 61. As described above, the output voltage OUT rises until the code value is 0 to 127, the output voltage OUT sharply drops at the code value 128, and the output voltage OUT rises to the code value 255.

ここで、V15_LDO6の構成は図3と同様であり、DAC61の出力電圧OUTはエラーアンプの参照電圧として入力される。回路設計上は、IN<7:0>のコード値が0の場合にV15_LDO6の出力電圧V15の値が1.5Vとなるように設計される。しかしながら、ICの製造バラツキによってコード値が0の場合の出力電圧V15の値が1.5Vよりも高いか低いかでIN<7:0>のコード値をトリミング調整する。もし出力電圧V15の値が1.5Vよりも低い場合は、図5Aに示すコード値0〜127の間でコード値を調整し、もし出力電圧V15の値が1.5Vよりも高い場合は、図5Aに示すコード値128〜255の間でコード値を調整する。すなわち、コード値が0の場合の出力電圧V15の値が1.5Vよりも高いか低いかで最上位ビット<7>の値の設定が切替えられる。これにより、製造バラツキを考慮して出力電圧V15を1.5Vに精度良く生成することができる。   Here, the configuration of V15_LDO6 is the same as in FIG. 3, and the output voltage OUT of the DAC 61 is input as a reference voltage of the error amplifier. In terms of circuit design, when the code value of IN <7: 0> is 0, the value of the output voltage V15 of V15_LDO6 is designed to be 1.5V. However, the code value of IN <7: 0> is trimmed and adjusted depending on the manufacturing variation of the IC depending on whether the value of the output voltage V15 when the code value is 0 is higher or lower than 1.5V. If the value of the output voltage V15 is lower than 1.5V, the code value is adjusted between the code values 0 to 127 shown in FIG. 5A. If the value of the output voltage V15 is higher than 1.5V, The code value is adjusted between code values 128 to 255 shown in FIG. 5A. That is, the setting of the value of the most significant bit <7> is switched depending on whether the value of the output voltage V15 when the code value is 0 is higher or lower than 1.5V. As a result, the output voltage V15 can be accurately generated to 1.5 V in consideration of manufacturing variations.

次に、クロック用LDO81に備えられるDAC811の構成について図4Bを用いて説明する。図4Bは、DAC811の構成を示す回路図である。ここで、先述したDAC61(図4A)との相違点について述べる。   Next, the configuration of the DAC 811 provided in the clock LDO 81 will be described with reference to FIG. 4B. FIG. 4B is a circuit diagram showing a configuration of the DAC 811. Here, differences from the above-described DAC 61 (FIG. 4A) will be described.

図4Bに示すように、DAC811では、DAC61との相違点として、抵抗1R7を抵抗1R6,1R8から接続を切断し、抵抗1R8を抵抗1R7,1R9から接続を切断する。抵抗1R7,1R8の各両端を短絡させる。抵抗1R6と抵抗1R9とを接続する。これにより、抵抗1R7,2R02,1R8,2R03の機能は無効とされ、IN<7:0>のコード値の変化に応じた出力電圧OUTの変化幅を大きくする。   As shown in FIG. 4B, the DAC 811 is different from the DAC 61 in that the resistor 1R7 is disconnected from the resistors 1R6 and 1R8, and the resistor 1R8 is disconnected from the resistors 1R7 and 1R9. Both ends of the resistors 1R7 and 1R8 are short-circuited. The resistor 1R6 and the resistor 1R9 are connected. As a result, the functions of the resistors 1R7, 2R02, 1R8, and 2R03 are invalidated, and the change width of the output voltage OUT corresponding to the change in the code value of IN <7: 0> is increased.

また、DAC811では、DAC61との相違点として、インバータIV2を削除し、インバータIV3の後段にインバータIV7を追加する。   Also, the DAC 811 is different from the DAC 61 in that the inverter IV2 is deleted and an inverter IV7 is added after the inverter IV3.

このような構成としたDAC811におけるIN<7:0>のコード値と出力電圧OUTとの対応関係を図5Bに示す。このように、コード値が0〜127まで出力電圧OUTは低下し、コード値128で出力電圧OUTは急峻に上昇し、コード値255まで出力電圧OUTは低下する。   FIG. 5B shows a correspondence relationship between the code value of IN <7: 0> and the output voltage OUT in the DAC 811 having such a configuration. As described above, the output voltage OUT decreases from the code value 0 to 127, the output voltage OUT increases sharply at the code value 128, and the output voltage OUT decreases to the code value 255.

これにより、製造バラツキを考慮してIN<7:0>のコード値を調整することで、出力電圧OUTをトリミング設定でき、クロック用LDO81の出力電圧VCLKを精度良く生成できる。さらに、出力電圧OUTの変化幅を大きくしたことで、後述するような出力電圧VCLKの可変制御を行うこともできる。   Thus, by adjusting the code value of IN <7: 0> in consideration of manufacturing variations, the output voltage OUT can be trimmed and the output voltage VCLK of the clock LDO 81 can be generated with high accuracy. Furthermore, the output voltage VCLK can be variably controlled as described later by increasing the change width of the output voltage OUT.

<2.3 発振回路について>
次に、発振回路82について詳細に述べる。図2に示すように、発振回路82は、インバータ821、帰還抵抗Rf、振幅制限抵抗Rd、およびスイッチSWを有し、電圧VCLKを電源電圧として駆動される。
<2.3 Oscillator circuit>
Next, the oscillation circuit 82 will be described in detail. As shown in FIG. 2, the oscillation circuit 82 includes an inverter 821, a feedback resistor Rf, an amplitude limiting resistor Rd, and a switch SW, and is driven using the voltage VCLK as a power supply voltage.

インバータ821の出力端は、スイッチSWおよび帰還抵抗Rfを介してインバータ821の入力端に接続される。インバータ821の入力端は、外部端子T2を介してIC外部の負荷容量C11に接続される。インバータ821の出力端とスイッチSWとが接続されるノードには、振幅制限抵抗Rdの一端が接続される。振幅制限抵抗Rdの他端は、外部端子T3を介してIC外部の負荷容量C12に接続される。外部端子T2と負荷容量C11とが接続されるノードと、外部端子T3と負荷容量C12とが接続されるノードとの間には、水晶振動子Xが接続される。発振回路82は、水晶振動子Xおよび負荷容量C11,C12と組み合わされて水晶発振回路を構成する。   The output terminal of the inverter 821 is connected to the input terminal of the inverter 821 through the switch SW and the feedback resistor Rf. The input terminal of the inverter 821 is connected to the load capacitor C11 outside the IC through the external terminal T2. One end of the amplitude limiting resistor Rd is connected to a node to which the output terminal of the inverter 821 and the switch SW are connected. The other end of the amplitude limiting resistor Rd is connected to a load capacitor C12 outside the IC via an external terminal T3. A crystal resonator X is connected between a node to which the external terminal T2 and the load capacitor C11 are connected and a node to which the external terminal T3 and the load capacitor C12 are connected. The oscillation circuit 82 is combined with the crystal resonator X and the load capacitors C11 and C12 to constitute a crystal oscillation circuit.

このような構成により、電圧VCLKが電源電圧としてインバータ821に印加されてスイッチSWがオンの状態で、インバータ821からパルス状の発振信号OSが出力される。なお、スイッチSWのオンオフは、クロック用LDO81に含まれるUVLO部812から出力されるUVLO解除信号としてのイネーブル信号EN2によって制御される。   With such a configuration, the pulsed oscillation signal OS is output from the inverter 821 when the voltage VCLK is applied to the inverter 821 as a power supply voltage and the switch SW is on. The on / off state of the switch SW is controlled by an enable signal EN2 as a UVLO release signal output from the UVLO unit 812 included in the clock LDO 81.

ここで、発振回路82のより具体的な構成を図6に示す。図6に示すように、インバータ821は、pチャネルMOSFETで構成されるMOSトランジスタPM1,PM2と、nチャネルMOSFETで構成されるMOSトランジスタNM1,NM2とからなる。MOSトランジスタPM1のソースには、電圧VCLKが印加される。MOSトランジスタPM1のドレインは、MOSトランジスタPM2のソースに接続される。MOSトランジスタPM2のドレインは、MOSトランジスタNM2のドレインに接続される。MOSトランジスタNM2のソースは、MOSトランジスタNM1のドレインに接続される。MOSトランジスタNM1のソースは、グランド電位の印加端に接続される。   Here, a more specific configuration of the oscillation circuit 82 is shown in FIG. As shown in FIG. 6, the inverter 821 includes MOS transistors PM1 and PM2 configured by p-channel MOSFETs and MOS transistors NM1 and NM2 configured by n-channel MOSFETs. The voltage VCLK is applied to the source of the MOS transistor PM1. The drain of the MOS transistor PM1 is connected to the source of the MOS transistor PM2. The drain of the MOS transistor PM2 is connected to the drain of the MOS transistor NM2. The source of the MOS transistor NM2 is connected to the drain of the MOS transistor NM1. The source of the MOS transistor NM1 is connected to a ground potential application terminal.

また、スイッチSWは、pチャネルMOSFETで構成されるMOSトランジスタPM3と、nチャネルMOSFETで構成されるMOSトランジスタNM3とからなる。MOSトランジスタPM3のソースとMOSトランジスタNM3のドレインとが接続されるノードは、MOSトランジスタPM2とMOSトランジスタNM2とが接続されるノードと振幅制限抵抗Rdとが接続されるノードに接続される。MOSトランジスタPM3のドレインとMOSトランジスタNM3のソースとが接続されるノードには、帰還抵抗Rfの一端が接続される。   The switch SW is composed of a MOS transistor PM3 composed of a p-channel MOSFET and a MOS transistor NM3 composed of an n-channel MOSFET. A node to which the source of the MOS transistor PM3 and the drain of the MOS transistor NM3 are connected is connected to a node to which the MOS transistor PM2 and the MOS transistor NM2 are connected and a node to which the amplitude limiting resistor Rd is connected. One end of the feedback resistor Rf is connected to a node to which the drain of the MOS transistor PM3 and the source of the MOS transistor NM3 are connected.

イネーブル信号EN2は、インバータIV821を経由して、MOSトランジスタPM2のゲートおよびMOSトランジスタPM3のゲートに入力される。また、イネーブル信号EN2は、インバータIV821およびインバータIV822を経由して、MOSトランジスタNM2のゲートおよびMOSトランジスタNM3のゲートに入力される。   The enable signal EN2 is input to the gate of the MOS transistor PM2 and the gate of the MOS transistor PM3 via the inverter IV821. The enable signal EN2 is input to the gate of the MOS transistor NM2 and the gate of the MOS transistor NM3 via the inverter IV821 and the inverter IV822.

これにより、イネーブル信号EN2がHighの場合に、スイッチSW3がオンとなるとともに、MOSトランジスタPM2およびMOSトランジスタNM2がオンとなってインバータ821の機能が有効となる。   As a result, when the enable signal EN2 is High, the switch SW3 is turned on, and the MOS transistor PM2 and the MOS transistor NM2 are turned on, thereby enabling the function of the inverter 821.

<2.4 その他の構成について>
次に、クロック生成部8における上述したクロック用LDO81および発振回路82以外の構成について述べる。
<2.4 Other configurations>
Next, configurations other than the clock LDO 81 and the oscillation circuit 82 described above in the clock generation unit 8 will be described.

発振回路82から出力される発振信号OSは、出力電圧VCLKを電源電圧とするインバータ83に入力される。インバータ83の出力は、出力電圧V15を出力側電源電圧とするレベルシフタ84に入力される。レベルシフタ84によってレベルシフトされた後の信号がクロック信号XCLKとしてクロック生成部8から外部へ出力される。また、出力電圧V15を電源電圧とするカウンタ85は、クロック信号XCLKをカウントし、カウント結果としてリセット解除信号REをロジック部7へ出力する。ロジック部7は、リセット解除信号REによってリセット状態を解除される。   The oscillation signal OS output from the oscillation circuit 82 is input to the inverter 83 using the output voltage VCLK as a power supply voltage. The output of the inverter 83 is input to a level shifter 84 that uses the output voltage V15 as an output side power supply voltage. The signal after the level shift by the level shifter 84 is output from the clock generation unit 8 to the outside as the clock signal XCLK. The counter 85 using the output voltage V15 as a power supply voltage counts the clock signal XCLK and outputs a reset release signal RE to the logic unit 7 as a count result. The logic unit 7 is released from the reset state by the reset release signal RE.

また、クロック信号XCLKは、ロジック部7に含まれる不図示の分周器によって周波数を分周されてRTC信号RTCCとされる。RTC信号RTCCは、クロック生成部8内へ入力されて、アンプ86を経由してRTC信号RTCCLKとして外部端子T4よりIC外部へ出力される。   The clock signal XCLK is frequency-divided by a frequency divider (not shown) included in the logic unit 7 to be an RTC signal RTCC. The RTC signal RTCC is input into the clock generator 8 and is output from the external terminal T4 to the outside of the IC as the RTC signal RTCCLK via the amplifier 86.

<3.PMIC起動時の動作>
次に、以上のように構成したPMIC1の起動時の動作について図7を参照して説明する。図7は、PMIC1の起動時における動作を示すタイミングチャートである。
<3. Operation when starting PMIC>
Next, the startup operation of the PMIC 1 configured as described above will be described with reference to FIG. FIG. 7 is a timing chart showing the operation when the PMIC 1 is started.

タイミングt0において、PMIC1に電源電圧VCCが投入される。電源電圧VCCは上昇し、タイミングt1にて所定のUVLO解除電圧に達する。このことがVCC_UVLO部5によって検出されると、VCC_UVLO部5はUVLO解除を示すイネーブル信号EN1を出力する。このときイネーブル信号EN1は、LowからHighへ切替えられる。また、電源電圧VCC投入後にバンドギャップ電圧Vbgも上昇し、タイミングt1にてバンドギャップ電圧Vbgはほぼ1.2Vに達する。   At timing t0, the power supply voltage VCC is input to the PMIC1. The power supply voltage VCC rises and reaches a predetermined UVLO release voltage at timing t1. When this is detected by the VCC_UVLO unit 5, the VCC_UVLO unit 5 outputs an enable signal EN1 indicating UVLO release. At this time, the enable signal EN1 is switched from Low to High. Further, the band gap voltage Vbg also rises after the power supply voltage VCC is turned on, and the band gap voltage Vbg reaches approximately 1.2 V at timing t1.

Highとなったイネーブル信号EN1を受けてV15_LDO6は起動され、出力電圧V15の出力動作を開始する。このとき、1.2Vのバンドギャップ電圧VbgがDAC61に印加され、DAC61も起動される。また、リセット状態であるロジック部7からは、コード値0のトリミングビットデータTB2が出力されるので、DAC61は、コード値0に対応した出力電圧OUTをエラーアンプへ出力する。このとき、設計上は1.5Vの電圧V15が生成されるべきであるが、製造バラツキで電圧V15が1.5Vよりずれる場合がある。   Upon receiving the enable signal EN1 that has become High, V15_LDO6 is activated and starts the output operation of the output voltage V15. At this time, a band gap voltage Vbg of 1.2 V is applied to the DAC 61, and the DAC 61 is also activated. Further, since the trimming bit data TB2 having the code value 0 is output from the logic unit 7 in the reset state, the DAC 61 outputs the output voltage OUT corresponding to the code value 0 to the error amplifier. At this time, the voltage V15 of 1.5V should be generated by design, but the voltage V15 may deviate from 1.5V due to manufacturing variations.

さらに、Highとなったイネーブル信号EN1を受けてクロック用LDO81は起動され、出力電圧VCLKの出力動作を開始する。このとき、1.2Vのバンドギャップ電圧VbgがDAC811に印加され、DAC811も起動される。また、リセット状態であるロジック部7からは、コード値0のトリミングビットデータTB1が出力されるので、DAC811は、コード値0に対応した出力電圧OUTをエラーアンプへ出力する。このとき、設計上は2.2Vの電圧VCLKが生成されるが、製造バラツキで電圧VCLKが2.2Vよりずれる場合がある。   Further, the clock LDO 81 is activated in response to the enable signal EN1 that has become High, and starts the output operation of the output voltage VCLK. At this time, a band gap voltage Vbg of 1.2 V is applied to the DAC 811, and the DAC 811 is also activated. Further, since the trimming bit data TB1 having the code value 0 is output from the logic unit 7 in the reset state, the DAC 811 outputs the output voltage OUT corresponding to the code value 0 to the error amplifier. At this time, a voltage VCLK of 2.2V is generated by design, but the voltage VCLK may deviate from 2.2V due to manufacturing variations.

クロック用LDO81の起動によって出力電圧VCLKは上昇し、出力電圧VCLKはタイミングt2にて所定のUVLO解除電圧に達する。このことがUVLO部812によって検出されると、UVLO部812からUVLO解除を示すイネーブル信号EN2が出力される。このとき、イネーブル信号EN2は、LowからHighへ切替えられる。   The output voltage VCLK rises by the activation of the clock LDO 81, and the output voltage VCLK reaches a predetermined UVLO release voltage at timing t2. When this is detected by the UVLO unit 812, the enable signal EN2 indicating UVLO release is output from the UVLO unit 812. At this time, the enable signal EN2 is switched from Low to High.

Highとなったイネーブル信号EN2によってスイッチSWがオンとされ、発振回路82が起動される。これにより、外部端子T3に生じる電圧(図7で示すX_TAL_OUT)の振幅が徐々に大きくなり、タイミングt3で発振信号OSひいてはクロック信号XCLK(図7)の出力が開始される。   The switch SW is turned on by the enable signal EN2 that has become High, and the oscillation circuit 82 is activated. As a result, the amplitude of the voltage (X_TAL_OUT shown in FIG. 7) generated at the external terminal T3 gradually increases, and at time t3, the output of the oscillation signal OS and thus the clock signal XCLK (FIG. 7) is started.

すると、カウンタ85は、クロック信号XCLKのカウントを開始する。カウンタ85が所定パルス数のクロック信号XCLKをカウントすると(図7の期間TC)、カウンタ85からリセット解除を示すリセット解除信号REが出力される(タイミングt4)。   Then, the counter 85 starts counting the clock signal XCLK. When the counter 85 counts the clock signal XCLK having a predetermined number of pulses (period TC in FIG. 7), the counter 85 outputs a reset release signal RE indicating reset release (timing t4).

すると、ロジック部7はリセット状態を解除され、タイミングt5でOTP ROM71からトリミング設定を読み出し、読み出したトリミング設定のトリミングビットデータTB1,TB2をそれぞれDAC811,61へ送る。   Then, the logic unit 7 is released from the reset state, reads the trimming setting from the OTP ROM 71 at timing t5, and sends the trimming bit data TB1 and TB2 of the read trimming setting to the DACs 811 and 61, respectively.

これにより、DAC811は、トリミング設定のトリミングビットデータTB1のコード値に応じて出力電圧OUTを生成し、クロック用LDO81からは1.8Vの電圧VCLKが出力される。すなわち、製造バラツキを考慮して出力電圧VCLKが1.8Vとなるようにトリミング設定されたトリミングビットデータTB1が使用される。なお、図7では、1.8Vのトリミング設定としてトリミングビットデータTB1(input<7:0>)のコード値は一例として30h(10進数で48)とされている。図5Bに示すように、コード値0のときに2.2Vとなるように設計されているので、2.2Vより低い1.8Vを設定するためにコード値は0〜127の間の値に設定される。   As a result, the DAC 811 generates the output voltage OUT in accordance with the code value of the trimming bit data TB1 for trimming setting, and the voltage VCLK of 1.8V is output from the clock LDO 81. That is, trimming bit data TB1 that is trimmed so that the output voltage VCLK becomes 1.8 V in consideration of manufacturing variations is used. In FIG. 7, as a 1.8V trimming setting, the code value of the trimming bit data TB1 (input <7: 0>) is 30h (48 in decimal) as an example. As shown in FIG. 5B, since it is designed to be 2.2 V when the code value is 0, the code value is set to a value between 0 and 127 in order to set 1.8 V lower than 2.2 V. Is set.

これにより、インバータ821の電源電圧である出力電圧VCLKが2.2Vから1.8Vへ変更されることとなり、図7に示すX_TAL_OUTの振幅が小さくなる。このように、IC起動当初は発振信号OSの生成のため、電源電圧である出力電圧VCLKを高めの2.2Vに設定し、発振回路82の動作が安定したことがカウンタ85のカウントによって検出されたときに、出力電圧VCLKを低めである1.8Vに変更する。従って、発振回路82における回路電流を抑制して、消費電力を低減することが可能となる。   As a result, the output voltage VCLK that is the power supply voltage of the inverter 821 is changed from 2.2 V to 1.8 V, and the amplitude of X_TAL_OUT shown in FIG. 7 is reduced. As described above, since the oscillation signal OS is generated at the beginning of the IC, the output voltage VCLK, which is the power supply voltage, is set to a higher 2.2 V, and it is detected by the counter 85 that the operation of the oscillation circuit 82 is stable. The output voltage VCLK is changed to 1.8 V, which is a lower value. Therefore, the circuit current in the oscillation circuit 82 can be suppressed and the power consumption can be reduced.

また、DAC61は、トリミング設定のトリミングビットデータTB2のコード値に応じて出力電圧OUTを生成する。これにより、製造バラツキを考慮してトリミング設定された出力電圧OUTが生成され、V15_LDO6から1.5Vで精度が良好な出力電圧V15が出力される。   The DAC 61 generates an output voltage OUT according to the code value of the trimming bit data TB2 for trimming setting. As a result, an output voltage OUT trimmed and set in consideration of manufacturing variations is generated, and an output voltage V15 having a good accuracy at 1.5 V is output from V15_LDO6.

<4.その他>
以上、本発明の実施形態について説明したが、本発明の趣旨の範囲内であれば、実施形態は種々の変更が可能である。
<4. Other>
As mentioned above, although embodiment of this invention was described, if it is in the range of the meaning of this invention, embodiment can be variously changed.

例えば、上述した実施形態では、発振回路82の電源電圧である出力電圧VCLKを可変とする制御によって消費電力を低減させたが、その他の実施形態として、発振回路が安定化した場合に、電源電圧は変更せず、発振回路に設けた電流制限用の抵抗によって電流を制限するよう変更してもよい。   For example, in the above-described embodiment, the power consumption is reduced by controlling the output voltage VCLK that is the power supply voltage of the oscillation circuit 82 to be variable. However, as another embodiment, when the oscillation circuit is stabilized, the power supply voltage May be changed so that the current is limited by a current limiting resistor provided in the oscillation circuit.

また、DAC811は、複数ビットのデータをD/A変換するものに限らず、1ビットのデータをD/A変換するものでもよい。この場合、DAC811は、2値の出力電圧OUTを出力する。また、発振回路82の電源電圧を可変とする方法は、LDOを用いる方法には限らない。   Further, the DAC 811 is not limited to D / A converting a plurality of bits of data, but may be a D / A converter of 1-bit data. In this case, the DAC 811 outputs a binary output voltage OUT. Further, the method of making the power supply voltage of the oscillation circuit 82 variable is not limited to the method using LDO.

また、カウンタ85は、クロック信号XCLKを所定パルス数カウントした場合に、ロジック部7を介さずに直接的にDAC811に指令を行ってもよい。   Further, the counter 85 may directly instruct the DAC 811 without going through the logic unit 7 when the clock signal XCLK is counted for a predetermined number of pulses.