US20110082958A1 - Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU - Google Patents
Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU Download PDFInfo
- Publication number
- US20110082958A1 US20110082958A1 US12/969,031 US96903110A US2011082958A1 US 20110082958 A1 US20110082958 A1 US 20110082958A1 US 96903110 A US96903110 A US 96903110A US 2011082958 A1 US2011082958 A1 US 2011082958A1
- Authority
- US
- United States
- Prior art keywords
- voltage level
- low voltage
- signal
- response
- mcu
- 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.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/28—Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/30—Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
Definitions
- the present invention relates to a semiconductor device, and more particularly, to a micro controller unit (MCU) capable of increasing a data retention time.
- MCU micro controller unit
- electronic devices using batteries such as, cellular phones, notebook computers, personal digital assistants (PDAs), and remote controllers
- memory devices such as non-volatile memory devices or volatile memory devices, micro controller units (MCUs), etc.
- Whether an MCU of an electronic device using a battery or batteries can operate or not may be determined according to a voltage level supplied by the battery/batteries.
- the supplied voltage level decreases to a level less than or equal to a predetermined voltage level, the MCU cannot normally operate.
- the MCU included in the electronic device using the battery/batteries is likely to malfunction when the supplied voltage level deviates from the predetermined voltage level.
- the MCU monitors whether the supplied voltage level becomes lower than a predetermined reference voltage level.
- the MCU may perform a reset operation to prevent a malfunction before performing a normal operation.
- the electronic device using the battery/batteries includes low voltage detectors (LVDs) which detect the voltage level supplied from the battery/batteries.
- FIG. 1 is a graph showing an operation state of an MCU depending on a battery voltage level.
- FIG. 2 is a flowchart of a method of operating an MCU according to a supplied battery voltage level.
- a first reference voltage level VLVD denotes a minimum voltage level by which the MCU can normally operate.
- a second reference voltage level VPOR denotes a minimum voltage level by which data can be stored in a data register (not shown) or a memory (not shown) included in the MCU.
- the MCU when a voltage level Vb applied to the MCU is equal to or greater than the first reference voltage level VLVD, the MCU operates normally in an operation state A.
- the voltage level Vb applied to the MCU is lower than the first reference voltage level VLVD and is higher than the second reference voltage level VPOR, a normal operation of the MCU is not guaranteed, Here, the MCU is in an operation state B.
- the MCU When the voltage level Vb applied to the MCU is lower than the second reference voltage level VPOR, the MCU cannot normally operate. Here, the MCU is in an operation state C.
- the MCU When a battery is initially connected to the MCU or the MCU is initially charged, the MCU starts a reset operation, in block S 105 .
- the MCU initializes the data register and is prepared to normally operate, in block S 110 .
- the MCU normally operates in block S 115 and enters into a stop mode in response to a stop command received from a CPU, in blocks S 120 and S 125 .
- a clock for operating the MCU is stopped by the CPU, and an LVD is also turned off.
- the MCU keeps the stop mode, in block S 130 .
- the LVD is turned on, in blocks S 130 and S 135 .
- the LVD checks whether the voltage level of the battery is higher than the first reference voltage level VLVD.
- the MCU When the checked voltage level of the battery is higher than the first reference voltage level VLVD, the MCU performs a normal operation, and when the execution of the normal operation is completed, the MCU enters into the stop mode in response to the stop command, in blocks S 140 and S 115 .
- the MCU When the external interrupt is applied to the MCU in the stop mode, and the voltage level Vb of the battery checked by the LVD is lower than the first reference voltage level VLVD, the MCU cannot normally operate, and an operational error may be generated. This status is called a HALT status. In the HALT status of the MCU, the LVD maintains a turn on status, and checks the voltage level Vb received from the battery, in block S 150 .
- the MCU When the checked voltage level Vb of the battery is lower than the first reference voltage level VLVD, the MCU maintains the HALT status, in blocks S 150 and S 145 .
- the MCU When the checked voltage level Vb of the battery becomes higher than the first reference voltage level VLVD by changing or charging the battery, the MCU performs a reset operation before performing a normal operation, in order to perform an errorless normal operation, in blocks S 150 and S 105 .
- the MCU is initialized by performing the reset operation before performing the normal operation.
- the MCU performs the reset operation before performing the normal operation.
- the conventional MCU in the operation status B can store data
- the MCU is initialized by performing the reset operation in order to perform the normal operation. This initialization causes battery consumption and a reduction of the data retention time of the MCU.
- a method of operating a micro controller unit comprises maintaining a stop mode operation, using the micro controller unit, when a battery level detected in response to a first interrupt signal from an external source is in a predetermined low voltage level range during the stop mode operation, and performing a normal operation, using the micro controller unit, corresponding to a second interrupt signal from the external source without performing a reset operation, when a battery voltage level detected in response to the second interrupt signal is higher than a highest voltage level belonging to the predetermined low voltage level range.
- a method of operating a micro controller unit includes detecting a battery voltage level supplied from an external source in response to a first interrupt signal input from the external source, performing a stop operation when a detected battery voltage level is in a predetermined voltage level range, re-detecting a battery voltage level supplied from the external source in response to a second interrupt signal from the external source, during the stop operation, and performing a normal operation corresponding to the second interrupt signal when the re-detected battery voltage level is higher than a highest voltage level belonging to the predetermined voltage level range.
- a micro controller unit includes a low voltage detection block detecting a battery voltage level supplied from an external source in response to an interrupt signal and outputting an operation mode control signal on the basis of a detected battery voltage level; and a reset signal generation unit generating a system reset signal on the basis of the operation mode control signal, wherein the low voltage detection block generates the operation mode control signal for disabling the reset signal generation unit, when the detected battery voltage level is in a predetermined voltage level range.
- an electronic device includes a battery power unit supplying a battery voltage, and a micro controller unit operating using the battery voltage supplied from the battery power unit.
- the electronic device may be a remote controller.
- FIG. 1 is a graph showing operation statuses of a micro controller unit (MCU) according to a voltage level supplied from a battery;
- MCU micro controller unit
- FIG. 2 is a flowchart of a conventional method of operating a MCU according to a voltage level supplied from a battery;
- FIG. 3 is a flowchart of a method of operating a MCU according to embodiments of the present invention.
- FIG. 4 is a block diagram of a MCU according to embodiments of the present invention.
- FIG. 5 is a block diagram of an electronic device including the MCU shown in FIG. 4 .
- FIG. 3 is a flowchart of a method of operating a micro controller unit (MCU) according to embodiments of the present invention.
- MCU micro controller unit
- FIG. 1 and FIG. 3 when a battery voltage is supplied to a MCU included in an electronic device by changing a battery or charging the battery of the electronic device, the MCU performs a reset operation, in block S 305 .
- a data register (not shown) and a control register (not shown) of the MCU are initialized in block S 310 .
- the MCU can perform a normal operation in block S 315 .
- the MCU enters into a stop mode in response to a stop command received from a CPU included in the MCU in blocks S 320 and S 325 .
- the CPU outputs a first control signal when the MCU completes the normal operation.
- a clock generator for generating a clock signal to operate the MCU, and a low level detector (LVD) are disabled in response to the first control signal.
- the CPU of the MCU and its peripheral circuits which operate in response to the clock signal, are converted into a non-operation status.
- the MCU in the stop mode maintains the stop mode as long as no external interrupt signals are received at block S 330 .
- the MCU in the stop mode responds to a first external interrupt signal and enables the LVD in block S 335 .
- the LVD detects the battery voltage level in block S 340 .
- the MCU When the detected battery voltage level is higher than the first reference voltage level, the MCU performs a normal operation corresponding to the first external interrupt signal. When the detected battery voltage level is in a predetermined low voltage level range, the MCU maintains the stop mode in block S 345 .
- the MCU maintains the stop mode. At this time, the enabled LVD is disabled.
- the first reference voltage level such as, VLVD shown in FIG. 1
- a second reference voltage level such as, VPOR shown in FIG. 1
- the LVD is enabled in response to a second external interrupt signal in blocks S 350 and S 355 .
- the enabled LVD detects the battery voltage level received from an external source, and maintains the stop mode when the detected battery voltage level is in the predetermined low voltage level range in blocks S 360 and S 345 .
- the MCU When the detected battery voltage level is higher than the highest voltage level existing within the predetermined low voltage level range (such as, the first reference voltage level VLVD) by battery change or charge, the MCU performs a normal operation corresponding to the second interrupt signal in blocks S 360 and S 315 . The MCU does not perform a reset operation before performing the normal operation corresponding to the second interrupt signal.
- the predetermined low voltage level range such as, the first reference voltage level VLVD
- the MCU performs the normal operation corresponding to the second interrupt signal without performing the reset operation, so that the power consumption of the MCU due to the reset operation is not generated, and the data retention time of the MCU increases.
- the MCU when the detected battery voltage level is lower than the lowest voltage level within the predetermined low voltage level range (such as, the second reference voltage level VPOR) by a further discharge of the battery, the MCU should perform the reset operation before performing the normal operation, in order to substantially prevent a malfunction of the MCU which may occur without the reset operation.
- the predetermined low voltage level range such as, the second reference voltage level VPOR
- FIG. 4 is a block diagram of a MCU 400 according to embodiments of the present invention.
- the MCU 400 includes an interrupt control unit 410 , a low voltage detection block 420 , a reset signal generation unit 430 , and a CPU 440 .
- the interrupt control unit 410 receives an external interrupt signal EXT and outputs an interrupt signal INT in response to the received external interrupt signal EXT.
- the low voltage detector block 420 includes a POR circuit 421 , a LVD circuit, and a detection control unit 427 .
- the POR circuit 421 monitors a battery voltage VDD of supplied from an external source.
- the POR circuit 421 outputs a first reset enable signal R 1 for generating a reset signal RESET, when the battery voltage VDD is lower than a second reference voltage level V 2 , (for example, the voltage level VPOR shown in FIG. 1 ).
- the second reference voltage level V 2 may be a minimum voltage for ensuring retention of the data stored in a memory device (not shown, such as, a RAM) included in the MCU 400 .
- the LVD circuit includes a LVD control unit 423 and an LVD 425 .
- the LVD control unit 423 receives the interrupt signal INT and outputs a LVD enable signal Le for enabling the LVD 425 in response to the received interrupt signal INT.
- the LVD 425 is enabled in response to the LVD enable signal Le.
- the LVD 425 compares the battery voltage level VDD supplied from the external source with the first reference voltage V 1 (such as, VLVD shown in FIG. 1 ) and outputs a comparison signal Cs on the basis of the comparison result.
- the first reference voltage V 1 may be a minimum voltage by which the MCU 400 can perform a normal operation.
- the detection control unit 427 is enabled in response to the interrupt signal INT.
- the enabled detection control unit 427 outputs a second reset enable signal R 2 for enabling the reset signal generation unit 430 , on the basis of the comparison signal Cs.
- the reset signal generation unit 430 outputs a reset signal RESET for resetting the MCU 400 , on the basis of the first reset enable signal R 1 or the second reset enable signal R 2 .
- the reset signal generation unit 430 may be implemented as a NOR gate, for example, when the supplied battery voltage VDD is lower than the first reference voltage V 1 (such as, VLVD shown in FIG. 1 ), the comparison signal Cs may be in a logic low level, and the second reset enable signal R 2 may also be in a logic low level.
- the first enable signal R 1 When the battery voltage VDD is higher than the second reference voltage level V 2 , the first enable signal R 1 may be in a logic high level. At this time, the reset signal generation unit 430 , implemented as the NOR gate, generates a reset signal RESET with a logic low level. On the other hand, when the battery voltage level VDD is lower than the second reference voltage level V 2 , the first enable signal R 1 may be in a logic low level, and the reset signal generation unit 430 , implemented as the NOR gate, generates a reset signal RESET with a logic high level.
- the MCU 400 may be reset in response to the reset signal RESET with the logic high level.
- the reset signal RESET may be a system reset signal to reset an electronic device including the MCU 400 .
- the CPU 440 When the MCU 400 enters into a stop mode, the CPU 440 outputs a stop signal ST for disabling at least one of a clock generator (not shown) for generating a clock signal, the interrupt control unit 410 , the LVD control unit 423 , and the detection control unit 427 .
- the peripheral circuits (not shown) of the MCU 400 and the CPU 440 which operate in synchronization with the clock signal, are converted into a non-operation status.
- the CPU 400 may be enabled in response to the interrupt signal INT.
- FIG. 5 is a block diagram of an electronic device 500 including the MCU 400 shown in FIG. 4 .
- the electronic device 500 includes a battery unit 510 and the MCU 400 .
- the electronic device 500 may be a remote controller, a cellular phone, a personal digital assistant (PDA), and a portable multimedia player (PMP), or the like.
- the battery unit 510 as a power supply source of the electronic device 500 , supplies the battery voltage VDD to the MCU 400 .
- the MCU 400 operates using the battery voltage VDD supplied from the battery unit 510 .
- the MCU 400 monitors the battery voltage level VDD. According to the monitored battery voltage level, the MCU 400 determines whether to perform a reset operation, before performing a normal operation.
- the MCU 400 may be constructed as described herein with reference to in FIG. 4 .
- the reset signal RESET, generated by the reset signal generation unit 430 may be a system reset signal System RESET for resetting the electronic device 500 .
- a method of driving an MCU of an electronic device using a battery can increase the data retention time of the MCU.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Electronic Switches (AREA)
Abstract
A method of operating a micro controller unit including maintaining a stop mode operation when a battery level detected in response to a first interrupt signal input from an external source is in a predetermined low voltage level range during the stop mode operation, and performing a normal operation corresponding to a second interrupt signal input from the external when a battery voltage level detected in response to the second interrupt signal is higher than the highest voltage level belonging to the predetermined low voltage level range.
Description
- This is a Continuation Application of U.S. application Ser. No. 11/850,583 filed on Sep. 5, 2007, which claims the benefit of Korean Patent Application No. 2007-0012561, filed on Feb. 7, 2007, the disclosure of which is hereby incorporated by reference in its entirety.
- 1. Field of the Invention
- The present invention relates to a semiconductor device, and more particularly, to a micro controller unit (MCU) capable of increasing a data retention time.
- 2. Description of Related Art
- Typically, electronic devices using batteries, such as, cellular phones, notebook computers, personal digital assistants (PDAs), and remote controllers, include memory devices, such as non-volatile memory devices or volatile memory devices, micro controller units (MCUs), etc.
- Whether an MCU of an electronic device using a battery or batteries can operate or not may be determined according to a voltage level supplied by the battery/batteries. When the supplied voltage level decreases to a level less than or equal to a predetermined voltage level, the MCU cannot normally operate. Thus, the MCU included in the electronic device using the battery/batteries is likely to malfunction when the supplied voltage level deviates from the predetermined voltage level.
- Thus, it is important to prevent the MCU included in the electronic device from malfunctioning according to changes of the supplied voltage level. To substantially prevent this malfunction, the MCU monitors whether the supplied voltage level becomes lower than a predetermined reference voltage level.
- When the voltage level supplied to the MCU is lower than the predetermined reference voltage level, or becomes higher than the predetermined reference voltage level through battery change or charge, the MCU may perform a reset operation to prevent a malfunction before performing a normal operation. The electronic device using the battery/batteries includes low voltage detectors (LVDs) which detect the voltage level supplied from the battery/batteries.
-
FIG. 1 is a graph showing an operation state of an MCU depending on a battery voltage level.FIG. 2 is a flowchart of a method of operating an MCU according to a supplied battery voltage level. Referring toFIGS. 1 and 2 , a first reference voltage level VLVD denotes a minimum voltage level by which the MCU can normally operate. A second reference voltage level VPOR denotes a minimum voltage level by which data can be stored in a data register (not shown) or a memory (not shown) included in the MCU. - Therefore, as shown in
FIG. 1 , when a voltage level Vb applied to the MCU is equal to or greater than the first reference voltage level VLVD, the MCU operates normally in an operation state A. When the voltage level Vb applied to the MCU is lower than the first reference voltage level VLVD and is higher than the second reference voltage level VPOR, a normal operation of the MCU is not guaranteed, Here, the MCU is in an operation state B. - When the voltage level Vb applied to the MCU is lower than the second reference voltage level VPOR, the MCU cannot normally operate. Here, the MCU is in an operation state C. When a battery is initially connected to the MCU or the MCU is initially charged, the MCU starts a reset operation, in block S105. The MCU initializes the data register and is prepared to normally operate, in block S110. The MCU normally operates in block S115 and enters into a stop mode in response to a stop command received from a CPU, in blocks S120 and S125.
- In the stop mode, a clock for operating the MCU is stopped by the CPU, and an LVD is also turned off. When no external interrupts are applied to the MCU in the stop mode, the MCU keeps the stop mode, in block S130. When an external interrupt is applied to the MCU in the stop mode, the LVD is turned on, in blocks S130 and S135. The LVD checks whether the voltage level of the battery is higher than the first reference voltage level VLVD.
- When the checked voltage level of the battery is higher than the first reference voltage level VLVD, the MCU performs a normal operation, and when the execution of the normal operation is completed, the MCU enters into the stop mode in response to the stop command, in blocks S140 and S115.
- When the external interrupt is applied to the MCU in the stop mode, and the voltage level Vb of the battery checked by the LVD is lower than the first reference voltage level VLVD, the MCU cannot normally operate, and an operational error may be generated. This status is called a HALT status. In the HALT status of the MCU, the LVD maintains a turn on status, and checks the voltage level Vb received from the battery, in block S150.
- When the checked voltage level Vb of the battery is lower than the first reference voltage level VLVD, the MCU maintains the HALT status, in blocks S150 and S145. When the checked voltage level Vb of the battery becomes higher than the first reference voltage level VLVD by changing or charging the battery, the MCU performs a reset operation before performing a normal operation, in order to perform an errorless normal operation, in blocks S150 and S105.
- When the voltage level Vb of the battery supplied to the MCU becomes lower than the second voltage level VPOR, data cannot be stored in the data register or the memory device included in the MCU, and thus an operation of the MCU cannot be guaranteed any more.
- Hence, when the voltage level Vb of the battery becomes the voltage level VLVD by which the MCU can perform a normal operation by changing or charging the battery, the MCU is initialized by performing the reset operation before performing the normal operation.
- In the operation status B in which the MCU can store data but cannot normally operate, that is, when the voltage level Vb of the battery applied to the MCU is in between the first reference voltage level VLVD and the second reference voltage level VPOR, the MCU performs the reset operation before performing the normal operation. Although the conventional MCU in the operation status B can store data, the MCU is initialized by performing the reset operation in order to perform the normal operation. This initialization causes battery consumption and a reduction of the data retention time of the MCU.
- Therefore, a need exists for an MCU capable of increasing a data retention time.
- According to an embodiment of the present invention, a method of operating a micro controller unit comprises maintaining a stop mode operation, using the micro controller unit, when a battery level detected in response to a first interrupt signal from an external source is in a predetermined low voltage level range during the stop mode operation, and performing a normal operation, using the micro controller unit, corresponding to a second interrupt signal from the external source without performing a reset operation, when a battery voltage level detected in response to the second interrupt signal is higher than a highest voltage level belonging to the predetermined low voltage level range.
- According to another embodiment of the present invention, a method of operating a micro controller unit includes detecting a battery voltage level supplied from an external source in response to a first interrupt signal input from the external source, performing a stop operation when a detected battery voltage level is in a predetermined voltage level range, re-detecting a battery voltage level supplied from the external source in response to a second interrupt signal from the external source, during the stop operation, and performing a normal operation corresponding to the second interrupt signal when the re-detected battery voltage level is higher than a highest voltage level belonging to the predetermined voltage level range.
- According to another embodiment of the present invention, a micro controller unit includes a low voltage detection block detecting a battery voltage level supplied from an external source in response to an interrupt signal and outputting an operation mode control signal on the basis of a detected battery voltage level; and a reset signal generation unit generating a system reset signal on the basis of the operation mode control signal, wherein the low voltage detection block generates the operation mode control signal for disabling the reset signal generation unit, when the detected battery voltage level is in a predetermined voltage level range.
- According to another embodiment of the present invention, an electronic device includes a battery power unit supplying a battery voltage, and a micro controller unit operating using the battery voltage supplied from the battery power unit. The electronic device may be a remote controller.
- The present invention will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings in which:
-
FIG. 1 is a graph showing operation statuses of a micro controller unit (MCU) according to a voltage level supplied from a battery; -
FIG. 2 is a flowchart of a conventional method of operating a MCU according to a voltage level supplied from a battery; -
FIG. 3 is a flowchart of a method of operating a MCU according to embodiments of the present invention; -
FIG. 4 is a block diagram of a MCU according to embodiments of the present invention; and -
FIG. 5 is a block diagram of an electronic device including the MCU shown inFIG. 4 . -
FIG. 3 is a flowchart of a method of operating a micro controller unit (MCU) according to embodiments of the present invention. Referring toFIG. 1 andFIG. 3 , when a battery voltage is supplied to a MCU included in an electronic device by changing a battery or charging the battery of the electronic device, the MCU performs a reset operation, in block S305. By the reset operation, a data register (not shown) and a control register (not shown) of the MCU are initialized in block S310. After the initialization is completed, the MCU can perform a normal operation in block S315. - The MCU enters into a stop mode in response to a stop command received from a CPU included in the MCU in blocks S320 and S325. The CPU outputs a first control signal when the MCU completes the normal operation. A clock generator for generating a clock signal to operate the MCU, and a low level detector (LVD) are disabled in response to the first control signal.
- Accordingly, the CPU of the MCU and its peripheral circuits, which operate in response to the clock signal, are converted into a non-operation status. The MCU in the stop mode maintains the stop mode as long as no external interrupt signals are received at block S330. The MCU in the stop mode responds to a first external interrupt signal and enables the LVD in block S335. The LVD detects the battery voltage level in block S340.
- When the detected battery voltage level is higher than the first reference voltage level, the MCU performs a normal operation corresponding to the first external interrupt signal. When the detected battery voltage level is in a predetermined low voltage level range, the MCU maintains the stop mode in block S345.
- For example, when the detected voltage level is lower than the first reference voltage level (such as, VLVD shown in
FIG. 1 ) and is higher than a second reference voltage level (such as, VPOR shown inFIG. 1 ), the MCU maintains the stop mode. At this time, the enabled LVD is disabled. - The LVD is enabled in response to a second external interrupt signal in blocks S350 and S355. The enabled LVD detects the battery voltage level received from an external source, and maintains the stop mode when the detected battery voltage level is in the predetermined low voltage level range in blocks S360 and S345.
- When the detected battery voltage level is higher than the highest voltage level existing within the predetermined low voltage level range (such as, the first reference voltage level VLVD) by battery change or charge, the MCU performs a normal operation corresponding to the second interrupt signal in blocks S360 and S315. The MCU does not perform a reset operation before performing the normal operation corresponding to the second interrupt signal.
- In the MCU operating method according to an embodiment of the present embodiment, the MCU performs the normal operation corresponding to the second interrupt signal without performing the reset operation, so that the power consumption of the MCU due to the reset operation is not generated, and the data retention time of the MCU increases.
- Although not shown in
FIG. 3 , when the detected battery voltage level is lower than the lowest voltage level within the predetermined low voltage level range (such as, the second reference voltage level VPOR) by a further discharge of the battery, the MCU should perform the reset operation before performing the normal operation, in order to substantially prevent a malfunction of the MCU which may occur without the reset operation. -
FIG. 4 is a block diagram of aMCU 400 according to embodiments of the present invention. Referring toFIG. 4 , theMCU 400 includes an interruptcontrol unit 410, a lowvoltage detection block 420, a resetsignal generation unit 430, and aCPU 440. The interruptcontrol unit 410 receives an external interrupt signal EXT and outputs an interrupt signal INT in response to the received external interrupt signal EXT. - The low
voltage detector block 420 includes aPOR circuit 421, a LVD circuit, and adetection control unit 427. ThePOR circuit 421 monitors a battery voltage VDD of supplied from an external source. ThePOR circuit 421 outputs a first reset enable signal R1 for generating a reset signal RESET, when the battery voltage VDD is lower than a second reference voltage level V2, (for example, the voltage level VPOR shown inFIG. 1 ). - The second reference voltage level V2 may be a minimum voltage for ensuring retention of the data stored in a memory device (not shown, such as, a RAM) included in the
MCU 400. The LVD circuit includes aLVD control unit 423 and anLVD 425. TheLVD control unit 423 receives the interrupt signal INT and outputs a LVD enable signal Le for enabling theLVD 425 in response to the received interrupt signal INT. - The
LVD 425 is enabled in response to the LVD enable signal Le. TheLVD 425 compares the battery voltage level VDD supplied from the external source with the first reference voltage V1 (such as, VLVD shown inFIG. 1 ) and outputs a comparison signal Cs on the basis of the comparison result. The first reference voltage V1 may be a minimum voltage by which theMCU 400 can perform a normal operation. - The
detection control unit 427 is enabled in response to the interrupt signal INT. The enableddetection control unit 427 outputs a second reset enable signal R2 for enabling the resetsignal generation unit 430, on the basis of the comparison signal Cs. - The reset
signal generation unit 430 outputs a reset signal RESET for resetting theMCU 400, on the basis of the first reset enable signal R1 or the second reset enable signal R2. For example, the resetsignal generation unit 430 may be implemented as a NOR gate, for example, when the supplied battery voltage VDD is lower than the first reference voltage V1 (such as, VLVD shown inFIG. 1 ), the comparison signal Cs may be in a logic low level, and the second reset enable signal R2 may also be in a logic low level. - When the battery voltage VDD is higher than the second reference voltage level V2, the first enable signal R1 may be in a logic high level. At this time, the reset
signal generation unit 430, implemented as the NOR gate, generates a reset signal RESET with a logic low level. On the other hand, when the battery voltage level VDD is lower than the second reference voltage level V2, the first enable signal R1 may be in a logic low level, and the resetsignal generation unit 430, implemented as the NOR gate, generates a reset signal RESET with a logic high level. - The
MCU 400 may be reset in response to the reset signal RESET with the logic high level. The reset signal RESET may be a system reset signal to reset an electronic device including theMCU 400. When theMCU 400 enters into a stop mode, theCPU 440 outputs a stop signal ST for disabling at least one of a clock generator (not shown) for generating a clock signal, the interruptcontrol unit 410, theLVD control unit 423, and thedetection control unit 427. Hence, the peripheral circuits (not shown) of theMCU 400 and theCPU 440, which operate in synchronization with the clock signal, are converted into a non-operation status. TheCPU 400 may be enabled in response to the interrupt signal INT. -
FIG. 5 is a block diagram of anelectronic device 500 including theMCU 400 shown inFIG. 4 . Referring toFIG. 5 , theelectronic device 500 includes abattery unit 510 and theMCU 400. Theelectronic device 500 may be a remote controller, a cellular phone, a personal digital assistant (PDA), and a portable multimedia player (PMP), or the like. Thebattery unit 510, as a power supply source of theelectronic device 500, supplies the battery voltage VDD to theMCU 400. - The
MCU 400 operates using the battery voltage VDD supplied from thebattery unit 510. TheMCU 400 monitors the battery voltage level VDD. According to the monitored battery voltage level, theMCU 400 determines whether to perform a reset operation, before performing a normal operation. TheMCU 400 may be constructed as described herein with reference to inFIG. 4 . The reset signal RESET, generated by the resetsignal generation unit 430 may be a system reset signal System RESET for resetting theelectronic device 500. - As mentioned herein, a method of driving an MCU of an electronic device using a battery according to an embodiment of the present invention can increase the data retention time of the MCU.
- While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it will be understood by those of ordinary skill in the art that various changes in form and details may be made therein without departing from the spirit and scope of the disclosure.
Claims (12)
1. A method of operating a micro controller unit comprising:
maintaining a stop mode operation, using the micro controller unit, when a battery level detected in response to a first interrupt signal from an external source is in a predetermined low voltage level range during the stop mode operation; and
performing a normal operation, using the micro controller unit, corresponding to a second interrupt signal from the external source without performing a reset operation, when a battery voltage level detected in response to the second interrupt signal is higher than a highest voltage level belonging to the predetermined low voltage level range,
wherein upon receiving at least one of the first and second interrupt signals:
turning on a low voltage detector in response to a respective received interrupt signal and detecting the battery voltage level supplied from the external using a turned-on low voltage detector; and
turning off the turned-on low voltage detector and maintaining the stop mode operation, when the detected battery voltage level is in the predetermined low voltage level range.
2. The method of claim 1 , further comprising maintaining the stop mode operation using the micro controller unit when the battery voltage level detected in response to the second interrupt signal is in the predetermined low voltage level range.
3. A method of operating a micro controller unit, the method comprising:
detecting a battery voltage level supplied from an external source in response to a first interrupt signal input from the external source;
performing a stop operation when a detected battery voltage level is in a predetermined voltage level range;
re-detecting a battery voltage level supplied from the external source in response to a second interrupt signal from the external source, during the stop operation; and
performing a normal operation corresponding to the second interrupt signal when the re-detected battery voltage level is higher than a highest voltage level belonging to the predetermined voltage level range,
wherein upon receiving at least one of the first and second interrupt signals:
turning on a low voltage detector in response to a respective received interrupt signal and detecting the battery voltage level supplied from the external using a turned-on low voltage detector; and
turning off the turned-on low voltage detector and maintaining the stop mode operation, when the detected battery voltage level is in the predetermined low voltage level rang.
4. The method of claim 3 , wherein the performance of the normal operation is executed without performing a reset operation.
5. A micro controller unit comprising:
a low voltage detection block detecting a battery voltage level supplied from an external source in response to an interrupt signal and outputting an operation mode control signal on the basis of a detected battery voltage level; and
a reset signal generation unit generating a system reset signal on the basis of the operation mode control signal,
wherein the low voltage detection block generates the operation mode control signal for disabling the reset signal generation unit, when the detected battery voltage level is in a predetermined voltage level range.
6. The micro controller unit of claim 5 , wherein the low voltage detection block is disabled in response to a stop command output from a processor.
7. The micro controller unit of claim 6 , further comprising an interrupt control unit which is enabled in response to an external interrupt signal and generates the interrupt signal.
8. The micro controller unit of claim 7 , wherein the low voltage detection block comprises:
a first low voltage detection circuit which is enabled in response to the interrupt signal, compares the battery voltage level supplied from the external source with a first reference voltage level, and outputs a first comparison signal on the basis of a comparison result; and
a detection control unit which is enabled in response to the interrupt signal and outputs the operation mode control signal on the basis of the first comparison signal.
9. The micro controller unit of claim 8 , wherein the low voltage detection block further comprises a second low voltage detection circuit comparing the battery voltage level supplied from the external source with a second reference voltage level and outputting a second comparison signal on the basis of the comparison result,
wherein the detection control unit generates the operation mode control signal for disabling the reset signal generation unit on the basis of the first comparison signal and the second comparison signal.
10. The micro controller unit of claim 9 , wherein the first low voltage detection circuit comprises:
a low voltage detector enabling unit which is turned on in response to the interrupt signal and generates a low voltage detector enabling signal; and
a low voltage detector which is turned on in response to the low voltage detector enabling signal, compares the battery voltage level supplied from the external with the first reference voltage level, and outputs the first comparison signal on the basis of the comparison result.
11. An electronic device comprising:
a battery power unit supplying a battery voltage; and
a micro controller unit operating using the battery voltage supplied from the battery power unit,
wherein the micro controller unit comprises:
a low voltage detection block detecting a battery voltage level supplied from an external source in response to an interrupt signal and outputting an operation mode control signal according to a detected battery voltage level; and
a reset signal generation unit generating a system reset signal according to the operation mode control signal,
wherein the low voltage detection block generates the operation mode control signal for disabling the reset signal generation unit, when the detected battery voltage level is in a predetermined voltage level range.
12. The electronic device of claim 11 , wherein the electronic device is a remote controller.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US12/969,031 US20110082958A1 (en) | 2007-02-07 | 2010-12-15 | Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU |
Applications Claiming Priority (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020070012561A KR100897767B1 (en) | 2007-02-07 | 2007-02-07 | Method and MCU capable of further preserving and holding data |
KR10-2007-0012561 | 2007-02-07 | ||
US11/850,583 US7873769B2 (en) | 2007-02-07 | 2007-09-05 | Micro controller unit (MCU) capable of increasing data retention time and method of driving the MCU |
US12/969,031 US20110082958A1 (en) | 2007-02-07 | 2010-12-15 | Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/850,583 Continuation US7873769B2 (en) | 2007-02-07 | 2007-09-05 | Micro controller unit (MCU) capable of increasing data retention time and method of driving the MCU |
Publications (1)
Publication Number | Publication Date |
---|---|
US20110082958A1 true US20110082958A1 (en) | 2011-04-07 |
Family
ID=39677144
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/850,583 Active 2028-08-10 US7873769B2 (en) | 2007-02-07 | 2007-09-05 | Micro controller unit (MCU) capable of increasing data retention time and method of driving the MCU |
US12/969,031 Abandoned US20110082958A1 (en) | 2007-02-07 | 2010-12-15 | Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/850,583 Active 2028-08-10 US7873769B2 (en) | 2007-02-07 | 2007-09-05 | Micro controller unit (MCU) capable of increasing data retention time and method of driving the MCU |
Country Status (2)
Country | Link |
---|---|
US (2) | US7873769B2 (en) |
KR (1) | KR100897767B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120155171A1 (en) * | 2010-12-17 | 2012-06-21 | Komine Yuji | Memory system |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9454197B2 (en) * | 2011-01-28 | 2016-09-27 | Renesas Electronics Corporation | Controller and semiconductor system |
US8605401B2 (en) * | 2011-04-29 | 2013-12-10 | Altera Corporation | Systems and methods for securing a programmable device against an over-voltage attack |
US9189056B2 (en) * | 2012-12-26 | 2015-11-17 | Intel Corporation | Mixed cell type battery module and uses thereof |
JP2019046951A (en) * | 2017-09-01 | 2019-03-22 | ルネサスエレクトロニクス株式会社 | Semiconductor device, semiconductor system, and manufacturing method for semiconductor device |
KR102248686B1 (en) * | 2020-02-14 | 2021-05-04 | 엘에스일렉트릭(주) | Outside memory access system |
CN112709032A (en) * | 2021-01-19 | 2021-04-27 | 晋江市建陌五金科技有限公司 | Clothing size increasing machine and using method thereof |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR950016026A (en) | 1993-11-06 | 1995-06-17 | 윤종용 | Input stage control circuit of satellite broadcasting receiver |
US5560023A (en) * | 1994-09-07 | 1996-09-24 | International Business Machines Corporation | Automatic backup system for advanced power management |
KR20010069304A (en) | 2001-03-05 | 2001-07-25 | 이창규 | Portable apparatus using volatile memory and method for keeping data thereby |
KR100416374B1 (en) * | 2001-04-26 | 2004-01-31 | 삼성전자주식회사 | Low-power reset circuit for microcontroller |
US7293188B2 (en) * | 2002-11-12 | 2007-11-06 | Freescale Semiconductor, Inc. | Low voltage detection system |
TWI310178B (en) * | 2004-09-22 | 2009-05-21 | Teac Corp | Data recording regeneration system |
JP2006101609A (en) * | 2004-09-29 | 2006-04-13 | Hitachi Ltd | Circuit for controlling charging and discharging of secondary battery and sensing wireless terminal |
-
2007
- 2007-02-07 KR KR1020070012561A patent/KR100897767B1/en active IP Right Grant
- 2007-09-05 US US11/850,583 patent/US7873769B2/en active Active
-
2010
- 2010-12-15 US US12/969,031 patent/US20110082958A1/en not_active Abandoned
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120155171A1 (en) * | 2010-12-17 | 2012-06-21 | Komine Yuji | Memory system |
Also Published As
Publication number | Publication date |
---|---|
KR100897767B1 (en) | 2009-05-15 |
US20080189461A1 (en) | 2008-08-07 |
US7873769B2 (en) | 2011-01-18 |
KR20080073846A (en) | 2008-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20110082958A1 (en) | Micro Controller Unit (MCU) Capable of Increasing Data Retention Time and Method of Driving the MCU | |
US7643368B2 (en) | Power control circuit for semiconductor IC | |
US8055889B2 (en) | BIOS management device and method for managing BIOS setting value | |
KR102088808B1 (en) | SYSTEM ON CHIP INCLUDING DUAL POWER RAIL AND VOLTAGE SUPPLY MEt0HD THEREOF | |
US7930575B2 (en) | Microcontroller for controlling power shutdown process | |
US8880924B2 (en) | Hot-plugging of multi-core processor | |
US9471140B2 (en) | Valid context status retention in processor power mode management | |
US7516347B2 (en) | Electronic device having power-down mode and method of reducing power consumption | |
US9819223B2 (en) | Power supply device and power supply method using the same | |
US7490266B2 (en) | Integrated circuit and processing system with improved power source monitoring and methods for use therewith | |
US6713994B2 (en) | Power saving integrated circuit and method of controlling the same | |
US9880610B2 (en) | Power supplying method, power supplying system, and electronic device | |
JP2022175280A (en) | Information processing device and control method for information device | |
JP2008217509A (en) | Power supply voltage adjustment circuit and microcomputer | |
WO2024099124A1 (en) | Charging control method and apparatus, and electronic device | |
TW200937179A (en) | Self-configurable multi-regulator ASIC core power delivery technical field | |
JP2004095149A (en) | Semiconductor memory device indicating internal voltage level by using ready/busy pin | |
JP6638068B2 (en) | System power supply circuit, electronic device, and protection method for electronic device | |
US20140169115A1 (en) | Auxiliary power device and user system including the same | |
US20070168717A1 (en) | Method of Data Protection for Computers | |
US20110307731A1 (en) | Method capable of preventing erroneous data writing and computer system | |
US20160085292A1 (en) | Electronic device | |
US20140365806A1 (en) | Peripheral apparatus and control method thereof | |
US11641160B1 (en) | Power providing circuit and power providing method thereof | |
TWI489458B (en) | Operation system and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |