JPH096483A - Microcomputer and mobile phone - Google Patents
Microcomputer and mobile phoneInfo
- Publication number
- JPH096483A JPH096483A JP7176733A JP17673395A JPH096483A JP H096483 A JPH096483 A JP H096483A JP 7176733 A JP7176733 A JP 7176733A JP 17673395 A JP17673395 A JP 17673395A JP H096483 A JPH096483 A JP H096483A
- Authority
- JP
- Japan
- Prior art keywords
- power
- microcomputer
- cpu
- central processing
- reset
- 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.)
- Withdrawn
Links
Landscapes
- Transceivers (AREA)
- Power Sources (AREA)
Abstract
(57)【要約】
【目的】 本発明の目的は、パワーオンリセット時の消
費電力を低減することにある。
【構成】 パワーオンリセット時の外部端子Tの論理状
態により、低消費電力モード指定が判定された場合に、
CPU11をスリープ状態とする。この状態で、レジス
タ情報転送回路20の制御によりROM17のレジスタ
情報がDMAC19に転送され、さらにこのDMAC1
9に転送されたレジスタ情報に基づくDMA転送により
周辺回路等の初期設定が行われるようにすることで、パ
ワーオンリセット時の消費電力の低減を図る。
(57) [Summary] [Object] An object of the present invention is to reduce power consumption at power-on reset. [Configuration] When the low power consumption mode designation is determined by the logical state of the external terminal T at the time of power-on reset,
The CPU 11 is put in a sleep state. In this state, the register information in the ROM 17 is transferred to the DMAC 19 under the control of the register information transfer circuit 20.
By performing the initial setting of the peripheral circuits and the like by the DMA transfer based on the register information transferred to 9, the power consumption at the power-on reset is reduced.
Description
【0001】[0001]
【産業上の利用分野】本発明は、マイクロコンピュー
タ、特にパワーオンリセット時の低消費電力化技術に関
し、例えば携帯電話機に適用して有効な技術に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer, and more particularly to a technique for reducing power consumption at the time of power-on reset, for example, a technique effectively applied to a mobile phone.
【0002】[0002]
【従来の技術】携帯電話機は、音声信号と電気信号との
間の変換及びアナログ信号とディジタル信号との間の変
換を行う音声コーデック、時分割処理や誤り訂正の符号
の生成及びチェック、及び送受信フレームの組立て及び
解析等を行うためのチャネルコーデック、送受信信号の
変調、及び復調を行うためのモデム、各部の動作制御を
行うためのCPU(中央処理装置)、テンキーを含むキ
ーパッド、各種情報を表示するための液晶表示パネル、
それを駆動するための液晶駆動回路とを含む。各部の動
作電源は電池によって供給される。2. Description of the Related Art A mobile phone is a voice codec for converting between a voice signal and an electric signal and between an analog signal and a digital signal, generating and checking codes for time division processing and error correction, and transmitting and receiving. A channel codec for assembling and analyzing frames, a modem for modulating and demodulating transmitted and received signals, a CPU (central processing unit) for controlling the operation of each part, a keypad including a numeric keypad, various information Liquid crystal display panel for displaying,
And a liquid crystal drive circuit for driving it. The operating power of each part is supplied by a battery.
【0003】上記携帯電話機などのように、動作電源と
して電池を含むものにおいては、駆動時間を可能な限り
長くするため、LSIの低消費電力を図ることが極めて
重要とされる。そこで、スリープモード(低消費電力モ
ード)を有するマイクロコンピュータが適用される。In the case of a device including a battery as an operating power source such as the above-mentioned mobile phone, it is extremely important to reduce the power consumption of the LSI in order to make the driving time as long as possible. Therefore, a microcomputer having a sleep mode (low power consumption mode) is applied.
【0004】スリープモードは、CPUにより所定の命
令が実行されることによって移行される。このスリープ
モードではCPUのクロックが停止されるので、通常動
作(CPUと周辺回路の双方が動作)時に比べて消費電
力が低減される。そのようなスリープモードは、リセッ
ト信号の印加、あるいは、所定の割込みにより解除され
る。The sleep mode is shifted by the CPU executing a predetermined instruction. In this sleep mode, the clock of the CPU is stopped, so that the power consumption is reduced as compared with the normal operation (both the CPU and the peripheral circuits are operating). Such sleep mode is released by the application of a reset signal or a predetermined interrupt.
【0005】尚、マイクロコンピュータのスリープモー
ドについて記載された文献の例としては、1989年6
月20日にCQ出版株式会社から発行された「トランジ
スタ技術SPECIAL No7(第14頁)」があ
る。As an example of a document describing the sleep mode of a microcomputer, 1989 June
There is "Transistor Technology SPECIAL No7 (page 14)" issued by CQ Publishing Co., Ltd. on March 20.
【0006】[0006]
【発明が解決しようとする課題】例えば携帯電話機は、
電源投入により待機状態となる。待機状態では全ての機
能を活性化させる必要はない。着信を検出するのに必要
な機能のみを活性化すれば十分とされる。待機状態のよ
うに、全ての機能を活性化させる必要がない場合には、
当然ながらマイクロコンピュータはスリープ状態とされ
る。A mobile phone, for example, is
When the power is turned on, it goes into a standby state. It is not necessary to activate all functions in the standby state. It is sufficient to activate only the functions required to detect an incoming call. When it is not necessary to activate all the functions like the standby state,
Naturally, the microcomputer is put into a sleep state.
【0007】しかしながら、従来システムにおいては、
スリープ状態に移行するためには、CPUの通常状態に
おいて、スリープモードへの移行コマンドを上記CPU
で実行しなけらばならない。すなわち、携帯電話機のよ
うに、電源投入により待機状態となる場合においても、
パワーオンリセットにより内蔵レジスタ等が初期化され
てしまうため、電源投入直後にCPUでレジスタ等の初
期設定を行った後に、スリープモードへの移行コマンド
実行により、CPUをスリープモードへ移行させる必要
がある。それについて本願発明者が検討したところ、電
源投入直後に、スリープモードへの移行コマンドをCP
Uに実行させるには電源投入直後にCPUを必ず通常動
作モードにしなければならず、このことが、パワーオン
リセット時の消費電力の低減を阻害する要因とされるの
が、本願発明者によって見いだされた。However, in the conventional system,
In order to shift to the sleep state, in the normal state of the CPU, a command to shift to the sleep mode is issued by the CPU.
You have to do it in. That is, even when the mobile phone enters a standby state when the power is turned on,
Since the built-in registers are initialized by the power-on reset, it is necessary to shift the CPU to the sleep mode by executing the shift mode shift command after the CPU initializes the registers and the like immediately after the power is turned on. . The inventor of the present application examined it, and immediately after power-on, a CP command was issued to enter the sleep mode.
It was found by the inventor of the present application that the CPU must be put into the normal operation mode immediately after the power is turned on in order to be executed by U, and this is a factor that hinders the reduction of the power consumption at the power-on reset. It was
【0008】本発明の目的は、パワーオンリセット時の
消費電力の低減を図るための技術を提供することにあ
る。An object of the present invention is to provide a technique for reducing power consumption at the time of power-on reset.
【0009】本発明の前記並びにその他の目的と新規な
特徴は本明細書の記述及び添付図面から明らかになるで
あろう。The above and other objects and novel features of the present invention will become apparent from the description of the present specification and the accompanying drawings.
【0010】[0010]
【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば下記
の通りである。The following is a brief description of an outline of a typical invention among the inventions disclosed in the present application.
【0011】すなわち、第1手段として、電源投入直後
における周辺回路(12,13)の初期設定のためのデ
ータ転送を、中央処理装置(11)の介在なしに制御可
能な転送手段(19,20)を含んでマイクロコンピュ
ータを形成する。That is, as a first means, transfer means (19, 20) capable of controlling data transfer for initial setting of the peripheral circuits (12, 13) immediately after power-on without intervention of the central processing unit (11). ) Is included to form a microcomputer.
【0012】また、第2手段として、電源投入直後の外
部端子の論理状態から上記スリープモードが指定された
ことを判定するための判定手段(22)と、この判定結
果に基づいて、中央処理装置のプログラム実行無しに、
上記周辺回路の初期設定のためのデータ転送制御を行う
ための転送手段(19,20)とを含んでマイクロコン
ピュータを形成する。Further, as a second means, a judging means (22) for judging that the sleep mode is designated from the logical state of the external terminal immediately after the power is turned on, and the central processing unit based on the judgment result. Without executing the program
A microcomputer is formed by including transfer means (19, 20) for performing data transfer control for initial setting of the peripheral circuits.
【0013】このとき、上記周辺回路の初期設定のため
のデータ転送が完了した後に、上記中央処理装置をスリ
ープモードから通常動作モードに移行させるための割込
み信号を発生可能な論理回路(19b)を設けることが
できる。At this time, after completion of data transfer for initial setting of the peripheral circuits, a logic circuit (19b) capable of generating an interrupt signal for shifting the central processing unit from the sleep mode to the normal operation mode is provided. Can be provided.
【0014】さらに、上記マイクロコンピュータを含ん
で携帯電話機を形成することができる。Furthermore, a mobile phone can be formed by including the above microcomputer.
【0015】[0015]
【作用】上記した第1手段によれば、転送手段は、電源
投入直後における周辺回路の初期設定のためのデータ転
送を、中央処理装置の介在なしに制御する。このこと
が、パワーオンリセット時の中央処理装置によるプログ
ラム実行を不要として、消費電力の低減を達成する。According to the above-mentioned first means, the transfer means controls the data transfer for the initialization of the peripheral circuits immediately after the power is turned on without the intervention of the central processing unit. This eliminates the need for program execution by the central processing unit at the time of power-on reset, and achieves reduction in power consumption.
【0016】また、上記した第2手段によれば、転送手
段は、上記半手手段での判定結果に基づいて、中央処理
装置のプログラム実行無しに、上記周辺回路の初期設定
のためのデータ転送制御を行う。このことが、パワーオ
ンリセット時から中央処理装置をスリープ状態として、
消費電力の低減を達成する。Further, according to the above-mentioned second means, the transfer means transfers the data for initial setting of the peripheral circuit based on the judgment result by the half-hand means without executing the program of the central processing unit. Take control. This puts the central processing unit in the sleep state from the time of power-on reset,
Achieve a reduction in power consumption.
【0017】[0017]
【実施例】図2には本発明の一実施例である携帯電話機
が示される。FIG. 2 shows a mobile phone which is an embodiment of the present invention.
【0018】同図に示される携帯電話機は、マイクロホ
ンMPとスピーカSPKに接続され音声信号と電気信号
との間の変換及びアナログ信号とディジタル信号との間
の変換を行う音声コーデック50と、時分割処理や誤り
訂正の符号の生成及びチェック、及び送受信フレームの
組立て及び解析等を行うためのチャネルコーデック(T
DMA制御回路)60と、送受信信号の変調、及び復調
を行うためのモデム70と、各部の動作制御を行うため
のマイクロコンピュータ213と、テンキーを含むキー
パッド218、各種情報を表示するための液晶表示パネ
ル217と、それを駆動するための液晶駆動回路216
とを含んで成る。また、図示されないが、携帯電話機で
あるため、各部の動作用電源として電池を内蔵してい
る。The mobile phone shown in FIG. 1 is connected to a microphone MP and a speaker SPK, a voice codec 50 for converting between a voice signal and an electric signal and between an analog signal and a digital signal, and time division. A channel codec (T for generating and checking codes for processing and error correction, assembling and analyzing transmitted and received frames, etc.
DMA control circuit) 60, a modem 70 for modulating and demodulating a transmission / reception signal, a microcomputer 213 for controlling operation of each part, a keypad 218 including a numeric keypad, and a liquid crystal for displaying various information. Display panel 217 and liquid crystal drive circuit 216 for driving it
And Further, although not shown, since it is a mobile phone, it has a built-in battery as a power source for operating each unit.
【0019】上記音声コーデック50は、マイクロホン
MPからの音声信号から不必要な高域成分を除去するた
めのローパスフィルタ(LPF)51、このローパスフ
ィルタ51の出力信号をディジタル信号に変換するため
のA/D変換回路53、このA/D変換回路53の出力
信号を圧縮して後段のチャネルコーデック60に送出す
るための圧縮回路55、チャネルコーデック60からの
ディジタル信号を伸長するための伸長回路56、この伸
長回路56の出力信号をアナログ信号に変換するための
D/A(ディジタル/アナログ)変換回路54、このD
/A変換回路54の出力信号から不必要な高域成分を除
去するためのローパスフィルタ(LPF)52、及びこ
のローパスフィルタ52の出力信号に基づいてスピーカ
SPKを駆動するための出力バッファ57を含んで成
る。The audio codec 50 is a low-pass filter (LPF) 51 for removing unnecessary high frequency components from the audio signal from the microphone MP, and an A for converting an output signal of the low-pass filter 51 into a digital signal. A / D conversion circuit 53, a compression circuit 55 for compressing the output signal of the A / D conversion circuit 53 and sending it to the channel codec 60 in the subsequent stage, a decompression circuit 56 for decompressing the digital signal from the channel codec 60, A D / A (digital / analog) conversion circuit 54 for converting the output signal of the decompression circuit 56 into an analog signal.
A low-pass filter (LPF) 52 for removing unnecessary high-frequency components from the output signal of the A / A conversion circuit 54, and an output buffer 57 for driving the speaker SPK based on the output signal of the low-pass filter 52 are included. Consists of
【0020】また、上記モデム70は、上記チャネルコ
ーデック60からの出力信号に基づいて変調波形を生成
するための変調波形生成部75、この変調波形生成部7
5の出力信号をアナログ信号に変換するためのD/A変
換回路73、このD/A変換回路73の出力信号から不
必要な高域成分を除去するためのローパスフィルタ7
1、高周波部80の出力信号から不必要な高域成分を除
去するためのローパスフィルタ72、このローパスフィ
ルタ72の出力信号をディジタル信号に変換するための
A/D変換回路74、及びこのA/D変換回路74の出
力信号を復調するための復調回路76とを含む。Also, the modem 70 has a modulation waveform generating section 75 for generating a modulation waveform based on the output signal from the channel codec 60, and this modulation waveform generating section 7
D / A conversion circuit 73 for converting the output signal of No. 5 into an analog signal, and low pass filter 7 for removing unnecessary high frequency components from the output signal of this D / A conversion circuit 73.
1. A low-pass filter 72 for removing unnecessary high-frequency components from the output signal of the high-frequency unit 80, an A / D conversion circuit 74 for converting the output signal of the low-pass filter 72 into a digital signal, and this A / D And a demodulation circuit 76 for demodulating the output signal of the D conversion circuit 74.
【0021】上記モデム70には、送信用のパワーアン
プ、キャリア信号を発生するシンセサイザ、送受信信号
に上記キャリア信号を合成する加算器等を含んで成る高
周波部80が結合され、送受信用のアンテナ81を介す
ることにより、無線周波数での信号の送受が可能とされ
る。A high-frequency section 80 including a power amplifier for transmission, a synthesizer for generating a carrier signal, an adder for synthesizing the carrier signal with a transmission / reception signal, etc. is coupled to the modem 70, and a transmission / reception antenna 81 is connected. The transmission and reception of a signal at a radio frequency is possible via the.
【0022】図1には上記マイクロコンピュータ213
の構成例が示される。FIG. 1 shows the microcomputer 213.
Is shown.
【0023】図1に示されるマイクロコンピュータ21
3は、特に制限されないが、ROM(リード・オンリー
・メモリ)17に格納されているプログラムを実行する
ためのCPU11、シリアル形式で信号の入出力を可能
とするシリアルI/O(インプット/アウトプット)1
2、時間計測のためのタイマ13、各種制御信号の入出
力を可能とする複数のポートP1〜Pn、CPU11で
の演算処理の作業領域などとして利用されるRAM(ラ
ンダム・アクセス・メモリ)16、各部の動作制御ため
の各種情報YVA,CPU11で実行されるプログラム
が格納されたROM17、データ転送路切換えのための
マルチプレクサ(MPX)18、CPU11の制御を介
さずにデータ転送を行うためのDMAC(ダイレクト・
メモリ・アクセス・コントローラ)19、レジスタ情報
の転送制御を可能とするレジスタ情報転送回路20、及
び動作モード判定のための動作モード判定回路22を含
み、公知の半導体集積回路製造技術により、単結晶シリ
コン基板などの一つの半導体基板に形成される。上記シ
リアルI/O12、タイマ13、ポートP1〜Pn、R
AM16、及びDMAC19は、システムバスBUSに
よって、互いに信号のやり取りが可能に結合されてい
る。また、ROM17は、読出し情報の転送路を切換え
るためのマルチプレクサ18を介してシステムバスBU
Sに結合されている。The microcomputer 21 shown in FIG.
3 is not particularly limited, but is a CPU 11 for executing a program stored in a ROM (read only memory) 17, a serial I / O (input / output) that enables input / output of signals in a serial format. ) 1
2. A timer 13 for measuring time, a plurality of ports P1 to Pn that enable input and output of various control signals, a RAM (random access memory) 16 used as a work area for arithmetic processing in the CPU 11, and the like, Various information YVA for controlling the operation of each part, ROM 17 in which a program executed by the CPU 11 is stored, a multiplexer (MPX) 18 for switching the data transfer path, and a DMAC (for transferring data without the control of the CPU 11 direct·
Memory access controller) 19, a register information transfer circuit 20 that enables transfer control of register information, and an operation mode determination circuit 22 for operating mode determination. It is formed on one semiconductor substrate such as a substrate. The serial I / O 12, timer 13, ports P1 to Pn, R
The AM 16 and the DMAC 19 are coupled by a system bus BUS so that signals can be exchanged with each other. Further, the ROM 17 has a system bus BU via a multiplexer 18 for switching a transfer path of read information.
S.
【0024】上記動作モード判定回路22は、外部端子
(外部ピン)Tの論理状態に基づいて動作モードを判定
する。ここにいう、動作モードには、通常動作モード
(CPUと周辺回路が動作するモード)、及び低消費電
力モード(CPUがスリープ状態になるモード)が含ま
れる。例えば、外部端子Tの論理状態がハイレベルとさ
れている場合には通常動作モードが指定され、また、外
部端子Tの論理状態がローレベルとされている場合には
低消費電力モードが指定される。つまり、パワーオンリ
セット時の外部端子Tの論理状態により、その後の動作
モードが以下のように決定される。The operation mode determination circuit 22 determines the operation mode based on the logical state of the external terminal (external pin) T. The operation modes mentioned here include a normal operation mode (a mode in which the CPU and peripheral circuits operate) and a low power consumption mode (a mode in which the CPU enters a sleep state). For example, when the logic state of the external terminal T is high level, the normal operation mode is designated, and when the logic state of the external terminal T is low level, the low power consumption mode is designated. It That is, depending on the logic state of the external terminal T at the time of power-on reset, the subsequent operation mode is determined as follows.
【0025】本実施例携帯電話機の電源投入直後におい
て、外部端子Tがハイレベルとされているのが動作モー
ド判定回路22によって判定された場合には、この動作
モード判定回路22から通常動作起動信号S1がアサー
トされる。それによりCPU11は、所定のパワーオン
リセットにより通常動作モードで起動する。この場合に
は、CPU11により各種レジスタなどの初期設定が行
われる。When the operation mode determination circuit 22 determines that the external terminal T is at the high level immediately after the power supply of the portable telephone of this embodiment is turned on, the operation mode determination circuit 22 outputs the normal operation start signal. S1 is asserted. As a result, the CPU 11 is activated in the normal operation mode by a predetermined power-on reset. In this case, the CPU 11 initializes various registers and the like.
【0026】また、外部端子Tの論理がローレベルとさ
れて低消費電力モードが指定されている場合には、上記
動作モード判定回路22によって通常動作起動信号S1
がアサートされないから、CPU11はパワーオンリセ
ットによって起動されない。しかし、このとき、動作モ
ード判定回路22の出力信号がインバータ21で論理反
転されることによって、ハードウェア(H/W)スリー
プ信号S2がアサートされるので、レジスタ情報転送回
路20によって、レジスタ情報の転送が制御される。す
なわち、レジスタ情報転送回路20によりマルチプレク
サ18が制御されることによってROM17からDMA
C19に至る転送路が形成され、そして、ROM17及
びDMA19が動作制御されることにより、ROM17
に予め格納されているレジスタ情報がDMAC19内の
レジスタに転送される。特に制限されないが、DMAC
19のレジスタ19には、DMA転送時のメモリアドレ
スを指定するメモリアドレスレジスタ、転送先又は転送
元のアドレスを指定するアドレスレジスタ、転送語数を
指定するバイトカウントレジスタ、モードレジスタなど
の各種レジスタが含まれており、そのレジスタ19aの
設定内容に基づいて、DMA転送制御が行われる。つま
り、ROM17からのレジスタ情報転送によりDMAC
19内のレジスタ設定が行われ、それに基づいて、内部
メモリと外部メモリとの間のデータ転送や、内部周辺回
路間のデータ転送が可能とされる。DMA転送では、D
MAC19によりバスBUSの使用権が占有され、CP
U11の介在無しに行われる。そのようなデータ転送に
より、主要周辺回路の初期設定が行われる。例えば上記
周辺回路にはシリアルI/O12やタイマ13が含ま
れ、それが初期設定されることによって、受信待機状態
とされる。When the logic of the external terminal T is set to the low level and the low power consumption mode is designated, the operation mode determination circuit 22 causes the normal operation start signal S1.
Is not asserted, the CPU 11 is not started by the power-on reset. However, at this time, the hardware (H / W) sleep signal S2 is asserted by logically inverting the output signal of the operation mode determination circuit 22 by the inverter 21, so that the register information transfer circuit 20 outputs the register information. Transfer is controlled. That is, the register information transfer circuit 20 controls the multiplexer 18 to transfer data from the ROM 17 to the DMA.
The transfer path to C19 is formed, and the ROM 17 and the DMA 19 are operation-controlled, so that the ROM 17
The register information stored in advance is transferred to the register in the DMAC 19. The DMAC is not particularly limited.
The register 19 of 19 includes various registers such as a memory address register for designating a memory address at the time of DMA transfer, an address register for designating an address of a transfer destination or a transfer source, a byte count register for designating the number of transfer words, and a mode register. The DMA transfer control is performed based on the setting contents of the register 19a. That is, the DMAC is transferred by register information transfer from the ROM 17.
Register setting in 19 is performed, and based on that, data transfer between the internal memory and the external memory and data transfer between the internal peripheral circuits are enabled. D for DMA transfer
MAC19 occupies the right to use the bus BUS, CP
It is performed without the intervention of U11. By such data transfer, the main peripheral circuits are initialized. For example, the peripheral circuit includes a serial I / O 12 and a timer 13, which are initialized to be in a reception standby state.
【0027】そして、上記データ転送が完了されると、
DMAC19に内蔵されている専用ロジック19bによ
り、CPU11に対する割込み信号INTがアサートさ
れる。この割込みによりCPU11が起動され、それ以
後、通常動作が行われる。つまり、図3に示されるよう
に、本実施例携帯電話機の電源が投入されることによっ
て各部に高電位側電源Vccが供給されても、CPU1
1は内部クロックが停止された状態(H/Wスリープ状
態)とされ、DMAC19によるデータ転送で初期設定
された周辺回路の動作が開始される。そして、レジスタ
初期設定が完了した後にDMAC19内の専用ロジック
19bにより割込み信号INTがアサートされることに
よって、CPU11のスリープ状態が解除され、CPU
内部クロックが発生されることにより、通常動作モード
に移行される。このように、低消費電力モードにおいて
は、電源が投入された後であって、DMAC19からの
割込み信号INTがアサートされることにより、CPU
11のスリープ状態が解除されるので、電源投入直後か
らCPU11を起動する通常動作モードに比べて、パワ
ーオンリセット時の消費電力を抑えることができる。ま
た、上記低消費電力モードは、電源投入直後にCPUに
よって所定のコマンドが実行されて実現されるのではな
く、電源投入直後からCPUの介在なしに実現されるモ
ードであるので、パワーオンリセット時の最大消費電力
値を低く抑えることができる。When the data transfer is completed,
An interrupt signal INT to the CPU 11 is asserted by the dedicated logic 19b built in the DMAC 19. The CPU 11 is activated by this interrupt, and thereafter the normal operation is performed. That is, as shown in FIG. 3, even if the high-potential-side power supply Vcc is supplied to each unit by turning on the power of the mobile phone of this embodiment, the CPU 1
1 is a state in which the internal clock is stopped (H / W sleep state), and the operation of the peripheral circuit initialized by the data transfer by the DMAC 19 is started. Then, after the initialization of the registers is completed, the interrupt signal INT is asserted by the dedicated logic 19b in the DMAC 19, so that the sleep state of the CPU 11 is released, and the CPU 11 is released.
When the internal clock is generated, the normal operation mode is entered. As described above, in the low power consumption mode, the interrupt signal INT from the DMAC 19 is asserted after the power is turned on, so that the CPU
Since the sleep state of 11 is released, the power consumption at the power-on reset can be suppressed as compared with the normal operation mode in which the CPU 11 is started immediately after the power is turned on. Further, since the low power consumption mode is not realized by the CPU executing a predetermined command immediately after the power is turned on, but is realized immediately after the power is turned on without the intervention of the CPU, a power-on reset is performed. The maximum power consumption value of can be kept low.
【0028】上記実施例によれば、以下の作用効果を得
ることができる。According to the above embodiment, the following operational effects can be obtained.
【0029】(1)外部端子Tの論理状態により、低消
費電力モードが指定され、それが動作モード判定回路2
2によって判定された場合に、レジスタ情報転送回路2
0の制御により、ROM17のレジスタ情報がDMAC
19に転送され、さらにこのDMAC19に転送された
レジスタ情報に基づくDMA転送により、周辺回路等の
初期設定が行われ、その後に、専用ロジック19bから
の割込み信号INTによってCPU11のスリープ状態
が解除されるようになっているので、パワーオンリセッ
ト時の消費電力を抑えることができる。また、上記低消
費電力モードは、電源投入後にCPUによって所定のコ
マンドが実行されて実現されるモードとは異なり、電源
投入直後からCPUの介在なしに実現されるモードであ
るので、最大消費電力値を低く抑えることができる。こ
のことは、通信回線に結合された電話機において、動作
電源を上記通信回線から供給する場合においても有効と
される。(1) The logic state of the external terminal T designates the low power consumption mode, which is the operation mode determination circuit 2
If it is determined by 2, the register information transfer circuit 2
By the control of 0, the register information of the ROM 17 is DMAC
19, the peripheral circuits and the like are initialized by DMA transfer based on the register information transferred to the DMAC 19, and then the sleep state of the CPU 11 is released by the interrupt signal INT from the dedicated logic 19b. Therefore, the power consumption at the time of power-on reset can be suppressed. The low power consumption mode is a mode that is realized without the intervention of the CPU immediately after the power is turned on, unlike the mode that is realized by the CPU executing a predetermined command after the power is turned on. Can be kept low. This is valid even in the case where a telephone connected to the communication line supplies operating power from the communication line.
【0030】(2)上記(1)の作用効果により、電池
を動作電源とする携帯電話機においては、電池の寿命を
延ばすことができる。(2) Due to the action and effect of the above (1), the life of the battery can be extended in the mobile phone using the battery as the operating power source.
【0031】以上本発明者によってなされた発明を実施
例に基づいて具体的に説明したが、本発明はそれに限定
されるものではなく、その要旨を逸脱しない範囲におい
て種々変更可能であることは言うまでもない。Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited thereto, and it goes without saying that various modifications can be made without departing from the gist of the invention. Yes.
【0032】例えば、上記実施例では、DMAC19に
よるデータ転送が完了された後に、専用ロジック19b
により、CPU11に対する割込み信号INTがアサー
トされるようにしたが、シリアルI/O12を介して信
号受信が行われた場合に、割込み信号INTをアサート
するように構成することができる。つまり、電源投入直
後の低消費電力モードでは、シリアルI/O12など、
受信待機状態として必要最小限の機能のみを活性状態と
しておき、シリアルI/O12を介して信号受信が行わ
れた場合や、この携帯電話機から送信する場合に、CP
U11に対する割込み信号INTがアサートされるよう
にする。For example, in the above embodiment, after the data transfer by the DMAC 19 is completed, the dedicated logic 19b is used.
Thus, the interrupt signal INT to the CPU 11 is asserted. However, when the signal is received via the serial I / O 12, the interrupt signal INT can be asserted. In other words, in the low power consumption mode immediately after turning on the power, serial I / O12,
Only the minimum necessary functions are activated in the reception standby state, and when a signal is received via the serial I / O 12 or when transmitting from this mobile phone, the CP
The interrupt signal INT to U11 is asserted.
【0033】また、ROM17として、一括書換え可能
なフラッシュメモリが適用される場合には、このフラッ
シュメモリへのプログラムやレジスタ情報のオンボード
書込み(ROMをボードに搭載した状態での情報書込
み)が可能とされる。オンボード書込みは、通常、CP
U11にオンボード書込みのための所定のプログラムを
実行させて行うが、このオンボード書込みを、DMAC
19を介することにより、CPU11の介在無しに、高
速に行うことができる。When a batch rewritable flash memory is used as the ROM 17, on-board writing of programs and register information to the flash memory (information writing in a state where the ROM is mounted on the board) is possible. It is said that On-board writing is usually CP
U11 executes a predetermined program for on-board writing, and this on-board writing is performed by the DMAC.
By passing through 19, it is possible to perform at high speed without the intervention of the CPU 11.
【0034】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野である携帯電
話機に適用した場合について説明したが、本発明はそれ
に限定されるものではなく、各種マイクロコンピュータ
応用機器に適用することができる。In the above description, the case where the invention made by the present inventor is mainly applied to the mobile phone which is the background field of application has been described, but the present invention is not limited thereto and various microcomputers are used. It can be applied to applied equipment.
【0035】本発明は、少なくともCPUとその周辺回
路を含むことを条件に手寄与することができる。The present invention can contribute to the condition that at least the CPU and its peripheral circuits are included.
【0036】[0036]
【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
の通りである。The effects obtained by typical ones of the inventions disclosed in the present application will be briefly described as follows.
【0037】すなわち、パワーオンリセット後のCPU
の起動に先立って周辺回路へのデータ転送による初期設
定を行うようにしているので、パワーオンリセット直後
の初期設定においてCPUの介在が不要とされ、それに
より、パワーオンリセット時からCPUをスリープ状態
とすることができるので、パワーオンリセット時の消費
電力の低減を図ることができる。That is, the CPU after the power-on reset
Since the initialization is performed by transferring the data to the peripheral circuit before the power-on reset, the CPU does not need to intervene in the initialization immediately after the power-on reset, so that the CPU is in the sleep state after the power-on reset. Therefore, it is possible to reduce the power consumption at the time of power-on reset.
【図1】本発明の一実施例である携帯電話機に適用され
るマイクロコンピュータの構成例ブロック図である。FIG. 1 is a block diagram of a configuration example of a microcomputer applied to a mobile phone which is an embodiment of the present invention.
【図2】上記携帯電話機の全体的な構成例ブロック図で
ある。FIG. 2 is a block diagram of an overall configuration example of the mobile phone.
【図3】上記マイクロコンピュータにおけるモード切換
えのタイミング図である。FIG. 3 is a timing diagram of mode switching in the microcomputer.
11 CPU 12 シリアルI/O 13 タイマ 16 RAM 17 ROM 18 マルチプレクサ 19 DMAC 19a レジスタ 19b 専用ロジック 20 レジスタ情報転送回路 21 インバータ 22 動作モード判定回路 50 音声コーデック 51,52,71,72 ローパスフィルタ 53,74 A/D変換回路 55 圧縮回路 54,73 D/A変換回路 57 出力バッファ 60 チャネルコーデック 70 モデム 75 変調波形生成部 76 復調回路 213 マイクロコンピュータ 216 液晶駆動回路 217 液晶表示パネル 218 キーパッド 11 CPU 12 Serial I / O 13 Timer 16 RAM 17 ROM 18 Multiplexer 19 DMAC 19a Register 19b Dedicated logic 20 Register information transfer circuit 21 Inverter 22 Operation mode determination circuit 50 Voice codec 51, 52, 71, 72 Low-pass filter 53, 74 A / D conversion circuit 55 compression circuit 54,73 D / A conversion circuit 57 output buffer 60 channel codec 70 modem 75 modulation waveform generation unit 76 demodulation circuit 213 microcomputer 216 liquid crystal drive circuit 217 liquid crystal display panel 218 keypad
Claims (4)
むマイクロコンピュータにおいて、 電源投入直後における上記周辺回路の初期設定のための
データ転送を、上記中央処理装置の介在なしに制御可能
な転送手段を含むことを特徴とするマイクロコンピュー
タ。1. In a microcomputer including a central processing unit and its peripheral circuits, data transfer for initial setting of the peripheral circuits immediately after power-on can be controlled without intervention of the central processing unit. A microcomputer comprising means.
行する通常動作モード、及び内部クロック停止によるス
リープモードとを有し、割込み信号に応じて上記スリー
プモードから上記通常動作モードに移行可能な中央処理
装置と、それの周辺回路とを含むマイクロコンピュータ
において、 電源投入直後の外部端子の論理状態から上記スリープモ
ードが指定されたことを判定するための判定手段と、 上記判定手段の判定結果に基づいて、上記中央処理装置
のプログラム実行無しに、上記周辺回路の初期設定のた
めのデータ転送制御を行う転送手段とを含むことを特徴
とするマイクロコンピュータ。2. A central processing having a normal operation mode for executing a program in synchronization with an internal clock and a sleep mode by stopping the internal clock, and capable of shifting from the sleep mode to the normal operation mode in response to an interrupt signal. In a microcomputer including a device and its peripheral circuit, a determination means for determining that the sleep mode is specified from a logical state of an external terminal immediately after power-on, and based on a determination result of the determination means A transfer means for performing data transfer control for initial setting of the peripheral circuit without executing a program of the central processing unit.
転送が完了した後に、上記中央処理装置をスリープモー
ドから通常動作モードに移行させるための割込み信号を
発生可能な論理回路を含む請求項1記載のマイクロコン
ピュータ。3. A logic circuit capable of generating an interrupt signal for shifting the central processing unit from the sleep mode to the normal operation mode after data transfer for initial setting of the peripheral circuits is completed. The described microcomputer.
ータと、上記マイクロコンピュータによって動作制御さ
れるモデムとを含んで成る携帯電話機。4. A mobile phone comprising the microcomputer according to claim 1 or 2 and a modem whose operation is controlled by the microcomputer.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7176733A JPH096483A (en) | 1995-06-20 | 1995-06-20 | Microcomputer and mobile phone |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP7176733A JPH096483A (en) | 1995-06-20 | 1995-06-20 | Microcomputer and mobile phone |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH096483A true JPH096483A (en) | 1997-01-10 |
Family
ID=16018845
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP7176733A Withdrawn JPH096483A (en) | 1995-06-20 | 1995-06-20 | Microcomputer and mobile phone |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH096483A (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004088528A1 (en) * | 2003-03-31 | 2004-10-14 | Fujitsu Limited | Semiconductor device |
| JP2007128336A (en) * | 2005-11-04 | 2007-05-24 | Nec Corp | Parallel register access device and system lsi |
| KR100773800B1 (en) * | 2005-04-12 | 2007-11-08 | 후지쯔 가부시끼가이샤 | Semiconductor devices |
| JP2008299793A (en) * | 2007-06-04 | 2008-12-11 | Ricoh Co Ltd | Information processing apparatus and image processing apparatus |
| JPWO2007013191A1 (en) * | 2005-07-29 | 2009-02-05 | パナソニック株式会社 | Memory writing device |
-
1995
- 1995-06-20 JP JP7176733A patent/JPH096483A/en not_active Withdrawn
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2004088528A1 (en) * | 2003-03-31 | 2004-10-14 | Fujitsu Limited | Semiconductor device |
| US7260710B2 (en) | 2003-03-31 | 2007-08-21 | Fujitsu Limited | Initializing function block registers using value supplying setting interface coupled to table linking block identifier to multiple register address set |
| KR100773800B1 (en) * | 2005-04-12 | 2007-11-08 | 후지쯔 가부시끼가이샤 | Semiconductor devices |
| JPWO2007013191A1 (en) * | 2005-07-29 | 2009-02-05 | パナソニック株式会社 | Memory writing device |
| JP2007128336A (en) * | 2005-11-04 | 2007-05-24 | Nec Corp | Parallel register access device and system lsi |
| JP2008299793A (en) * | 2007-06-04 | 2008-12-11 | Ricoh Co Ltd | Information processing apparatus and image processing apparatus |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6853239B2 (en) | Multiple circuit blocks with interblock control and power conservation | |
| US7000140B2 (en) | Data processor and data processing system | |
| US5025387A (en) | Power saving arrangement for a clocked digital circuit | |
| US20090204834A1 (en) | System and method for using inputs as wake signals | |
| US6931470B2 (en) | Dual access serial peripheral interface | |
| KR100479948B1 (en) | Mobile radio telephone set | |
| JP2002196846A (en) | LSI leakage current reduction method | |
| JP3070527B2 (en) | Wireless mobile terminal | |
| JPH096483A (en) | Microcomputer and mobile phone | |
| CN113419979A (en) | USB multimedia concentrator control chip | |
| JP2004199115A (en) | Semiconductor integrated circuit | |
| KR100190856B1 (en) | Internal Clock Dispense Control Method of GPIO Board | |
| JPH01304564A (en) | Single chip microcomputer | |
| JP2001014259A (en) | Data processing device | |
| JPH11306074A (en) | Information processing device | |
| KR100833800B1 (en) | How to Implement Bypass Mode in Multimedia Chips | |
| JP2003188793A (en) | System LSI and mobile communication terminal | |
| JPH0282306A (en) | Power saving device for clock type digital circuit | |
| JPH05314277A (en) | Port control circuit | |
| JPH04167113A (en) | Information processor | |
| JP2004180040A (en) | Portable terminal device and signal control circuit | |
| JPH0818008A (en) | Semiconductor integrated circuit device | |
| JPS63209321A (en) | Internal circuit switching device for large-scale integrated circuits | |
| JPH10145445A (en) | Portable equipment with built-in modem, and driving method therefor | |
| JPH0363868A (en) | Function extending system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20020903 |