KR100295987B1 - Method for converting suspend/active mode in usb core - Google Patents

Method for converting suspend/active mode in usb core Download PDF

Info

Publication number
KR100295987B1
KR100295987B1 KR1019970061612A KR19970061612A KR100295987B1 KR 100295987 B1 KR100295987 B1 KR 100295987B1 KR 1019970061612 A KR1019970061612 A KR 1019970061612A KR 19970061612 A KR19970061612 A KR 19970061612A KR 100295987 B1 KR100295987 B1 KR 100295987B1
Authority
KR
South Korea
Prior art keywords
power
active mode
mode
microcomputer
switch
Prior art date
Application number
KR1019970061612A
Other languages
Korean (ko)
Other versions
KR19990040828A (en
Inventor
조상진
Original Assignee
구자홍
엘지전자 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 구자홍, 엘지전자 주식회사 filed Critical 구자홍
Priority to KR1019970061612A priority Critical patent/KR100295987B1/en
Publication of KR19990040828A publication Critical patent/KR19990040828A/en
Application granted granted Critical
Publication of KR100295987B1 publication Critical patent/KR100295987B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/30Arrangements for executing machine instructions, e.g. instruction decode
    • G06F9/30003Arrangements for executing specific machine instructions
    • G06F9/30076Arrangements for executing specific machine instructions to perform miscellaneous control operations, e.g. NOP
    • G06F9/30083Power or thermal control instructions

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Power Sources (AREA)
  • Microcomputers (AREA)

Abstract

PURPOSE: A method for converting a suspend/active mode in a USB(Universal Serial Bus) core is provided to decrease power consumption by converting the active mode into the suspend mode in an external ROM embedding a program including a suspend mode conversion function and recovering the suspend mode as the active mode without the fault of a device. CONSTITUTION: If a suspend mode conversion command is inputted(S11), a decoder turns on an internal switch for supplying a power to various element circuits of a microcomputer so that a minimum power is supplied to the internal portion of the microcomputer(S12). The decoder provides a signal to an interrupt generator during a delay time(Td) for generating an interrupt(S13). The microcomputer executes a program of a designated specific address in an external ROM by the generated interrupt(S14). A switch is turned on by the execution of the program for blocking a power supplied to a peripheral circuit unit(S15). The embedded program blocks that the power is supplied to the peripheral circuit unit, and enters an idle state(S16). The signal, which turns on the internal switch, is outputted after the delay time(Td) for blocking the power of the external ROM(S19).

Description

USB 코어의 절전/활성모드 전환방법How to switch the power saving / active mode of the USB core

본 발명은 USB 코어의 절전/활성모드 전환방법에 관한 것으로서, 더욱 상세하게는 USB 코어가 내장된 마이콤의 외부에 위치한 롬에 대해서도 롬내의 프로그램 수행에 장애없이 절전모드로 전환하고 절전모드에서 다시 활성모드로 복원시킬 수 있는 USB 코어의 절전/활성모드 전환방법에 관한 것이다.The present invention relates to a method for switching the power saving / active mode of a USB core, and more particularly, to a ROM located outside of a microcomputer with a built-in USB core, to enter a power saving mode without interrupting program execution in the ROM, and to resume the power saving mode. The present invention relates to a power saving / active mode switching method of a USB core that can be restored to a mode.

도 5 는 USB 코어(Universal Serial Bus, 이하 "USB"라 함)가 내장된 마이콤(μ- computer)인 8×930A(H)×(50)를 사용한 USB 제품의 개괄적인 구성을 도시한 것으로서, PC(Personal Computer) 연결잭(Jack)(10); 상기 PC 연결잭(10)으로부터 출력되는 데이타를 수신하여 처리하는 마이콤(50); 상기 마이콤(50)의 제어에 의해 실행될 프로그램이 저장된 롬(ROM : Read Only Memory)(60); 및 상기 마이콤(50)의 제어에 의해 목적한 기능이 수행되는 주변회로부(70);를 포함하여 구성되어 있으며, 상기 마이콤(50)은 상기 PC 연결잭(10)으로부터 전송되는 데이타 및 신호를 해독하는 디코더(20)가 내장된 코어부(30);와 상기 디코더(20)에서 해독된 신호에 따라 상기 외부 롬(60)에 내장된 프로그램을 실행하기 위한 인터럽트를 발생시키는 인터럽트 발생기(40);를 포함하여 구성되어 있다. 또한, 상기 마이콤(50)에 연결되는 상기 PC 연결잭(10)은 5V, GND 그리고 차동(differential) 데이타 전송라인인 D+와 D- 신호선으로 이루어져 있다.FIG. 5 illustrates a general configuration of a USB product using a 8 × 930A (H) × 50, which is a microcomputer with a USB core (Universal Serial Bus, hereinafter referred to as “USB”). A personal computer (Jack) jack 10; A microcomputer 50 for receiving and processing data output from the PC connection jack 10; A ROM (ROM: Read Only Memory) 60 in which a program to be executed under the control of the microcomputer 50 is stored; And a peripheral circuit unit 70 for performing a desired function under the control of the microcomputer 50, wherein the microcomputer 50 decodes data and signals transmitted from the PC connection jack 10. A core unit 30 having a decoder 20 embedded therein; and an interrupt generator 40 generating an interrupt for executing a program embedded in the external ROM 60 according to a signal decoded by the decoder 20. It is configured to include. In addition, the PC connection jack 10 connected to the microcomputer 50 is composed of 5V, GND and D + and D− signal lines which are differential data transmission lines.

상기와 같이 구성된 USB 제품에서는, 상기 PC 연결잭(10)에서 공급되는 5V 전원을 외부 장치가 사용하게 되는데, 이 전원은 정상모드(활성 모드)시에는 최대 500 mA 로 공급가능하나, 절전(suspend)모드 시에는 500 μA 만 공급함으로써 절전모드로 진입하게 되므로, PC 와 상기 접속규격으로 연결되는 외부 장치는 상기 전류 한계를 준수하도록 설계되어야 한다.In the USB product configured as described above, the external device uses the 5V power supplied from the PC connection jack 10, which can be supplied at a maximum of 500 mA in the normal mode (active mode), but is suspend. The mode enters the power saving mode by supplying only 500 μA. Therefore, the external device connected to the PC and the connection standard must be designed to comply with the current limit.

절전모드 진입명령은, PC 와 상기 마이콤(50)간의 모든 데이타 전송 및 명령처리가 이루어지는 상기 차동데이타 전송라인인 D+와 D- 신호선에 의해 상기 마이콤(50) 내의 상기 코어부(30)에 전달되고, 상기 코어부(30) 내의 상기 디코더(20)는 PC 로부터 입력되는 신호를 검출하다가, 절전모드 진입명령이 입력되었음이 확인되면, 상기 마이콤(50) 내부의 대부분의 요소에의 전원공급을 위한 스위치(SW1)를 끊어 상기 코어부(30)를 제외한 대부분의 전력소모를 차단시켜 상기 마이콤(50)의 소비전력을 최소화시킨다.The power saving mode entry command is transmitted to the core unit 30 in the microcomputer 50 by the D + and D− signal lines, which are the differential data transmission lines where all data transmission and command processing between the PC and the microcomputer 50 are performed. When the decoder 20 in the core unit 30 detects a signal input from the PC and determines that a power saving mode entry command has been input, the decoder 20 supplies power to most elements in the microcomputer 50. The power consumption of the microcomputer 50 is minimized by cutting off the switch SW1 to cut off most of the power consumption except for the core unit 30.

이어서, 상기 디코더(20)는 상기 인터럽트 발생기(40)를 제어하여 인터럽트 신호를 발생시키고, 상기 인터럽트에 의해 실행개시되는 외부 롬(60)에 기 내장된 프로그램은 전원제어신호(A)를 이용하여 스위치(SW3)을 개방시킴으로써 상기 주변회로부(70)의 전원을 차단시킨 후, 휴지(idle)상태로 돌아간다. 이때는 상기 PC 연결잭(10)의 5V 라인을 통해 PC 로부터 공급되는 전류가 500 μA 이하가 되므로, 5V 전원을 사용하는 상기 마이콤(50), 상기 외부 롬(60) 및 상기 주변회로부(70)의 전체 전류 소모는 상기 조건에 맞도록 설계되어야 한다.Subsequently, the decoder 20 controls the interrupt generator 40 to generate an interrupt signal, and a program built in the external ROM 60 started by the interrupt uses a power control signal A. By opening the switch SW3, the peripheral circuit unit 70 is turned off, and then returns to an idle state. In this case, since the current supplied from the PC through the 5V line of the PC connection jack 10 becomes 500 μA or less, the entirety of the microcomputer 50, the external ROM 60, and the peripheral circuit unit 70 using a 5V power supply. Current consumption must be designed to meet the above conditions.

한편, 상기와 같은 과정을 거쳐 일시중지(절전) 모드로 진입한 장치는 PC 로부터 활성모드 재개(resume) 명령을 대기하고 있다가, 상기 D+, D- 신호선을 통해 명령이 입력되면, 상기 디코더(20)에서 이를 해독하여 상기 마이콤(50) 내부의 절전 블록에 다시 전원을 공급하고, 인터럽트를 발생시켜 상기 외부 롬(60)에 내장된 프로그램을 구동시켜 상기 주변회로부(70)에도 다시 전원공급을 재개하도록 함으로써 장치가 전체적으로 활성모드로 돌아오게 된다.On the other hand, the device entering the suspend (power saving) mode through the above process is waiting for the resume command of the active mode from the PC, when the command is input through the D +, D- signal line, the decoder ( 20) and decrypts it to supply power to the power saving block inside the microcomputer 50, generate an interrupt, and drive the program embedded in the external ROM 60 to supply power to the peripheral circuit unit 70 again. Resuming will bring the device back to full active mode.

그러나, 상기와 같이 이루어지는 종래의 절전/활성모드 전환방법은, 상기 마이콤(50) 및 상기 주변회로부(70)가 일단 절전모드로 진입한 상태에서도 상기 코어부(50)가 상기 외부 롬(60)에는 계속 공급전원을 인가하고, 상기 롬(60)의 칩선택단자(CS)는 항상 'LOW'이므로 공급전력을 사용하게 되어 상기 롬(60)의 소비전력을 100 μA 이하로 낮출 수 없었다. 따라서, 상기 외부 롬(60)을 상기 마이콤(50)의 내부에 내장하지 않는 한, 상기 외부 롬(60)에 대해서는 다른 구성 요소와는 달리 절전모드를 구현할 수가 없다는 문제점이 있었다.However, in the conventional power saving / active mode switching method as described above, the core unit 50 is connected to the external ROM 60 even when the microcomputer 50 and the peripheral circuit unit 70 enter the power saving mode. Since the supply power is continuously applied to the chip, the chip select terminal CS of the ROM 60 is always 'LOW', and thus the supply power is used, and thus the power consumption of the ROM 60 cannot be lowered to 100 μA or less. Accordingly, unless the external ROM 60 is embedded in the microcomputer 50, the external ROM 60 may not implement a power saving mode unlike other components.

따라서, 본 발명은 상기와 같은 문제점을 해결하기 위하여 창작된 것으로서, 마이콤의 외부에 롬이 구비된 경우에도, 이를 절전모드로 전환하고 또한 활성모드로 복귀시킬 수 있는 USB 코어의 절전/활성모드 전환방법을 제공하는 데 그 목적이 있는 것이다.Therefore, the present invention was created to solve the above problems, even when the ROM is provided on the outside of the microcomputer, the power saving / active mode switching of the USB core that can switch to the power saving mode and also return to the active mode The purpose is to provide a method.

제1도는 본 발명에 따른 USB 코어의 절전/활성모드 전환방법을 구현하기 위한 USB 제품의 일 실시예를 도시한 구성도이고,1 is a block diagram showing an embodiment of a USB product for implementing a power saving / active mode switching method of the USB core according to the present invention,

제2도는 본 발명에 따른 USB 코어의 절전모드 전환방법의 흐름을 도시한 흐름도이고,2 is a flowchart illustrating a flow of a power saving mode switching method of a USB core according to the present invention;

제3도는 본 발명에 따른 USB 코어의 활성모드 전환방법의 흐름을 도시한 흐름도이고,3 is a flowchart illustrating a flow of a method of switching an active mode of a USB core according to the present invention;

제4도는 룸의 전원공급/차단의 타이밍도이고,4 is a timing diagram of powering on / off the room,

제5도는 USB 코어 내장형 마이콤을 채택한 종래의 USB 제품을 도시한 구성도이다.5 is a block diagram showing a conventional USB product that employs a USB core built-in microcomputer.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

10 : PC(Personal Computer) 20 : 디코더(decoder)10: PC (Personal Computer) 20: Decoder

30 : USB(Universal Serial Bus) 코어 40 : 인터럽트 발생기30: Universal Serial Bus (USB) Core 40: Interrupt Generator

50 : 마이콤 60 : 룸(ROM)50: micom 60: room (ROM)

70 : 주변 회로부 SW1,SW2,SW2',SW3 : 스위치70: Peripheral circuit section SW1, SW2, SW2 ', SW3: Switch

상기와 같은 목적을 달성하기 위한 본 발명에 따른 USB 코어의 절전모드 전환방법은, 활성모드에서 절전모드로의 전환요청시, 읽기전용 메모리내의 특정 프로그램을 실행시켜 외부 주변장치에의 전원공급을 차단하는 제 1 단계; 및 상기 주변장치에의 전원공급 차단 완료후 소정 시간 경과시, 상기 외부 읽기전용 메모리에의 전원사용을 억제하는 제 2 단계;를 포함하여 이루어지는 것에 특징이 있으며, 본 발명에 따른 USB 코어의 활성모드 전환방법은, 절전모드에서 활성모드로의 전환요청시, 외부 읽기전용 메모리에의 전원공급을 재개하는 제 1 단계; 및 상기 전원공급 재개 완료 후 소정시간 경과시, 외부 읽기전용 메모리에 기록된 특정 프로그램을 실행시켜 외부 주변장치에의 전원공급을 재개하는 제 2 단계;를 포함하여 이루어지는 것에 다른 특징이 있는 것이다.In the power saving mode switching method of the USB core in accordance with the present invention for achieving the above object, when a request for switching from the active mode to the power saving mode, by executing a specific program in the read-only memory to cut off the power supply to the external peripheral device A first step of making; And a second step of suppressing the use of power to the external read-only memory when a predetermined time elapses after the power supply to the peripheral device is completed. The active mode of the USB core according to the present invention is characterized in that it comprises a. The switching method includes: a first step of resuming power supply to an external read-only memory upon request for switching from a power saving mode to an active mode; And a second step of resuming the power supply to an external peripheral device by executing a specific program recorded in an external read-only memory when a predetermined time has elapsed after the power supply resume completion is completed.

상기와 같이 이루어지는 본 발명에 따른 USB 코어의 절전/활성모드 전환방법에서는, PC로부터 절전/활성모드 전환명령이 입력되면 USB 코어 내부의 디코더가 이를 해독한 후, 해독된 명령에 따라 먼저 마이콤 내부의 전원공급을 차단한다.In the power saving / active mode switching method of the USB core according to the present invention made as described above, when a power saving / active mode switching command is input from a PC, the decoder inside the USB core decrypts the same, and then, first, according to the decrypted command, Shut off the power supply.

이때, 상기 디코더는 종래와는 달리 상기 외부 읽기전용 메모리의 모드전환을 위한 신호를 추가로 출력하도록 하되, 절전모드 전환시에는 상기 주변장치의 모드전환 후에 상기 읽기전용 메모리의 절전모드전환을 수행하고, 활성모드 복귀시에는 상기 주변장치의 모드전환 전에 먼저 상기 읽기전용 메모리의 활성모드 전환을 수행함으로써, 상기 외부 주변장치의 모드 전환에 아무런 지장을 주지 않으면서도 상기 외부 읽기전용 메모리의 모드전환을 수행할 수 있게 되어, 전체적인 전력소모를 보다 줄일수 있게 되는 것이다.In this case, unlike the conventional method, the decoder additionally outputs a signal for mode switching of the external read-only memory, and when switching the power saving mode, performs a power saving mode switching of the read-only memory after mode switching of the peripheral device. When the active mode is returned, the active mode switching of the read-only memory is performed before the mode switching of the peripheral device, thereby performing mode switching of the external read-only memory without affecting the mode switching of the external peripheral device. By doing so, the overall power consumption can be further reduced.

이하, 본 발명에 따른 USB 코어의 절전/활성모드 전환방법의 일 실시예에 대해 첨부된 도면에 의거하여 상세히 설명한다.Hereinafter, an embodiment of a power saving / active mode switching method of a USB core according to the present invention will be described in detail with reference to the accompanying drawings.

도 1 은 본 발명에 따른 USB 코어의 절전/활성모드 전환방법의 일실시예를 적용하기 위한 USB 코어 내장 마이콤을 사용한 USB 제품의 일부를 도시한 구성도로서, 종래와 동일한 동작을 수행하는 PC 연결잭(10); 마이콤(50); 롬(ROM)(60); 및 주변회로부(70);를 포함하여 구성되어 있고, 상기 마이콤(50) 또한 디코더(20)가 내장된 코어부(30);와 인터럽트 발생기(40);를 포함하여 구성되어 있으며, 도 1a의 실시예에서는 상기 디코더(20)에 의해 상기 롬(60)에 전원공급을 단속하는 스위치(SW2)가 더 포함되고, 도 1b의 실시예에서는 상기 디코더(20)에 의해 상기 롬(60)을 대기상태(standby mode)로 전환시키기 위한 스위치(SW2')가 더 포함되어 있다.1 is a block diagram showing a part of a USB product using a micro-core built-in microcomputer for applying an embodiment of the method for switching the power saving / active mode of the USB core according to the present invention, a PC connection jack performing the same operation as the conventional 10; Micom 50; ROM 60; And a peripheral circuit unit 70; and the microcomputer 50 also includes a core unit 30 in which the decoder 20 is embedded; and an interrupt generator 40; In the embodiment, the switch 20 further includes a switch SW2 intermittent to supply the ROM 60 by the decoder 20. In the embodiment of FIG. 1B, the decoder 20 waits for the ROM 60. A switch SW2 'is further included for switching to a standby mode.

도 2 와 도 3 은 본 발명에 다른 USB 코어의 절전/활성모드 전환방법의 일실시예의 흐름을 도시한 것으로서, 이하에서는 도 1 의 구성도를 참조하여 도 2와 도 3 의 모드 전환방법에 대하여 상세히 설명한다.2 and 3 illustrate a flow of an embodiment of a power saving / active mode switching method of a USB core according to the present invention. Hereinafter, the mode switching method of FIGS. 2 and 3 will be described with reference to the configuration diagram of FIG. 1. It explains in detail.

도 2 및 도 3 과 같이 이루어지는 본 발명에 따른 USB 코어의 절전/활성모드 전환방법의 일 실시예에서는, 먼저 상기 디코더(20)가 상기 PC 연결잭 (10)을 통해 전송되는 신호를 계속하여 확인하다가 절전모드 전환명령이 입력되었음이 확인되면(S11), 상기 5V 라인을 통해 공급되는 전원을, 상기 마이콤(50) 내부의 각종 요소회로에 전달하는 내부 스위치(SW1)를 개방시켜 상기 마이콤(50) 내부에 최소한의 전력이 공급되도록 한다(S12).In the embodiment of the method for switching the power saving / active mode of the USB core according to the present invention as shown in FIGS. 2 and 3, first, the decoder 20 continuously checks the signal transmitted through the PC connection jack 10. When it is confirmed that a power saving mode switch command is input (S11), the microcomputer 50 is opened by opening an internal switch SW1 for transmitting power supplied through the 5V line to various element circuits in the microcomputer 50. Minimal power is supplied to the inside (S12).

또한, 상기 코어부(30)는 상기 내부 스위치(SW1)를 개방시킨 신호를, 도 4 에 도시된 바와 같이 소정 시간(Td)만큼 지연시킨 '외부전원 단속신호'를 출력하게 되는데, 이 지연시간(Td) 동안 상기 디코더(20)는 상기 인터럽트 발생기(40)에 신호를 인가하여 인터럽트를 발생시키도록 하고(S13), 상기 마이콤(50)은 발생된 인터럽트에 의해, 상기 외부 롬(60)내의 지정된 특정 어드레스의 프로그램을 실행하게 되는데(S14), 이 프로그램 실행에 의해 스위치(SW3)가 개방되어 상기 주변회로부(70)에 공급되는 전원을 차단하게 된다(S15).In addition, the core unit 30 outputs an 'external power interruption signal' which delays the signal of opening the internal switch SW1 by a predetermined time Td, as shown in FIG. During (Td), the decoder 20 applies a signal to the interrupt generator 40 to generate an interrupt (S13), and the microcomputer 50 generates an interrupt in the external ROM 60 by the generated interrupt. The program of the specified specific address is executed (S14), and the switch SW3 is opened by the execution of the program to cut off the power supplied to the peripheral circuit unit 70 (S15).

상기 내장 프로그램은 상기 주변회로부(70)에의 전원공급을 차단시킨 후, 휴지(idle)상태로 진입하게 되는데, 이때까지 상기 내부 스위치(SW1)를 개방시킨 신호는 상기 코어부(30)에서 지연되고 있다가 상기 내장 프로그램이 수행완료되고 휴지상태로 진입된 것이 확실할 충분한 시간(Td) 후에 비로서 출력되어 상기 외부 롬(60)의 전원을 차단하게 된다(S19). 이에 따라 상기 내장 프로그램의 실행이 완전히 중단되고 상기 롬(60)에서는 전력이 소모되지 않게 된다(S19).The built-in program cuts off the power supply to the peripheral circuit unit 70 and enters an idle state. At this time, the signal for opening the internal switch SW1 is delayed in the core unit 30. After a sufficient time (Td) to be sure that the built-in program is completed and enters the idle state is output as a ratio to cut off the power of the external ROM (60) (S19). Accordingly, execution of the embedded program is completely stopped and power is not consumed in the ROM 60 (S19).

상기와 같이 절전모드로 전환한 후 다시 활성모드로 재전환하는 명령이 있게되면, 도 3 에서와 같은 과정을 따라 활성모드로 복귀하게 되는데, 먼저 상기 디코더(20)는 상기 PC 연결잭(10)을 통해 PC 로부터 전송되는 신호를 계속하여 확인하다가 활성모드 전환명령이 입력되었음이 확인되면(S31), 상기 내부 스위치(SW1)를 단락시켜 상기 마이콤(50) 내부에 전원을 재공급함과 동시에(S32), 상기 '외부전원 단속신호'를 반전시켜 상기 스위치(SW2)를 복원시키고 이에 따라 상기 외부 롬(60)에 전원을 재공급한다(S33).If there is a command to switch back to the active mode after switching to the power saving mode as described above, to return to the active mode by the process as shown in Figure 3, first, the decoder 20 is connected to the PC jack 10 While continuously checking the signal transmitted from the PC through the active mode switch command (S31), the internal switch SW1 is shorted to supply power to the microcomputer 50 at the same time (S32). Inverting the 'external power interruption signal' restores the switch SW2 and accordingly supplies power to the external ROM 60 (S33).

상기 외부 롬(60)에의 전원공급 후, 전원공급에 의해 소자가 안정화되어 동작가능 상태가 될 때까지의 안정화 시간(도 4 의 T1)이 경과한 뒤(S34), 상기 디코더(20)가 상기 인터럽트 발생기(40)로 하여금 인터럽트를 발생시키도록 하여(S35), 상기 외부 롬(60)내의 기 지정된 프로그램이 실행되도록 한다(S36). 이 프로그램 실행에 의해 스위치(SW3)가 복귀되어 상기 주변회로부(70)에 전원이 재공급됨으로써(S37), 절전모드로의 전환시 전원공급이 차단되었던 모든 구성요소들에 대하여 다시 전원공급이 재개되는 활성모드로의 전환이 완전하게 이루어지게 된다.After the supply of power to the external ROM 60, after the stabilization time (T1 in FIG. 4) has elapsed until the device is stabilized and becomes operable by the supply of power (S34), the decoder 20 The interrupt generator 40 causes an interrupt to be generated (S35), so that a predetermined program in the external ROM 60 is executed (S36). By executing this program, the switch SW3 is returned and the power is supplied to the peripheral circuit unit 70 again (S37), whereby the power supply is resumed for all components that were cut off when the power saving mode was switched. The transition to the active mode is completed.

도 1a의 실시예에서는 상기 외부 롬(60)으로 공급되는 전력소모를 억제키 위하여 상기 외부 롬(60)에 공급되는 전원경로상의 상기 스위치(SW2)를 개방시키는 방법을 사용하였으나, 이와는 달리 도 1b 의 실시예에서는 상기 외부 롬(60)의 칩선택단자(CS)에 인가되는 상태를, 상기 '외부전원 단속신호'를 통해 도 1a 의 실시예에서와 동일한 시점에 반전시킴으로써 절전모드 전환시에는 상기 외부 롬(60)이 대기(standby)모드로 진입하도록 하여 전력소모가 최소화되도록 하고, 활성모드 복귀시에는 상기 외부 롬(60)내의 데이타 읽기 동작이 적절한 시점전에 가능해지게 되어, 상기 외부 롬(60)내의 프로그램에 의해 상기 주변회로부(70)에 전원공급이 재개되게 된다.In the embodiment of FIG. 1A, a method of opening the switch SW2 on a power path supplied to the external ROM 60 to suppress power consumption supplied to the external ROM 60 is different from that of FIG. 1B. In the embodiment of the present invention, the state applied to the chip selection terminal CS of the external ROM 60 is inverted at the same time as in the embodiment of FIG. When the external ROM 60 enters the standby mode, power consumption is minimized, and upon returning to the active mode, data read operation in the external ROM 60 becomes possible before an appropriate point in time. The power supply to the peripheral circuit unit 70 is resumed by the program in parentheses.

상기와 같이 이루어지는 본 발명에 따른 USB 코어의 절전/활성모드 전환방법은, 절전모드 전환기능을 포함하는 프로그램이 내장된 외부 롬 자체에 대해서도 절전모드로 전환하고, 절전모드에서는 장치의 장애없이 완전하게 활성모드로 복귀할 수 있도록 함으로써, 전력소모를 보다 줄일 수 있도록 하는 매우 유용한 발명인 것이다.The power saving / active mode switching method of the USB core according to the present invention made as described above switches to the power saving mode even for the external ROM itself in which the program including the power saving mode switching function is embedded, and in the power saving mode, the device is completely disabled without any trouble. By being able to return to the active mode, it is a very useful invention to further reduce the power consumption.

Claims (5)

활성모드에서 절전모드로의 전환요청시, 읽기전용 메모리내의 특정 프로그램을 실행시켜 외부 주변장치에의 전원공급을 차단하는 제 1 단계; 및 상기 주변장치에의 전원공급 차단 완료후 소정 시간 경과시, 상기 외부 읽기전용 메모리에의 전원사용을 억제하는 제 2 단계;를 포함하여 이루어지는 USB 코어의 절전모드 전환방법.A first step of interrupting power supply to an external peripheral device by executing a specific program in a read-only memory upon request of switching from an active mode to a power saving mode; And a second step of restraining the use of power to the external read-only memory when a predetermined time elapses after the power supply to the peripheral device is completed. 제1항에 있어서, 상기 전원사용의 억제는 상기 외부 읽기전용 메모리에 공급되는 전원의 차단에 의해 이루어지는 것을 특징으로 하는 USB 코어의 절전모드 전환방법.The method of claim 1, wherein the suppression of the use of the power supply is made by cutting off the power supplied to the external read-only memory. 제1항에 있어서, 상기 전원사용의 억제는 상기 외부 읽기전용 메모리의 대기모드 전환에 의해 이루어지는 것을 특징으로 하는 USB 코어의 절전모드 전환방법.The method of claim 1, wherein the use of the power supply is suppressed by switching a standby mode of the external read-only memory. 절전모드에서 활성모드로의 전환요청시, 외부 읽기전용 메모리에의 전원공급을 재개하는 제 1 단계; 및 상기 전원공급 재개 완료 후 소정시간 경과시, 외부 읽기전용 메모리에 기록된 특정 프로그램을 실행시켜 외부 주변장치에의 전원공급을 재개하는 제 2 단계;를 포함하여 이루어지는 것을 특징으로 하는 USB 코어의 활성모드 전환방법.A first step of resuming power supply to an external read-only memory upon request to switch from a power saving mode to an active mode; And a second step of resuming the power supply to an external peripheral device by executing a specific program recorded in an external read-only memory when a predetermined time has elapsed after the power supply resume completion is completed. How to switch modes. 절전모드에서 활성모드로의 전환요청시, 외부 읽기전용 메모리를 대기모드에서 활성모드로 전환하는 제 1 단계; 및 상기 활성모드 전환완료 후 소정시간 경과시, 외부 읽기전용 메모리에 기록된 특정 프로그램을 실행시켜 외부 주변장치에의 전원공급을 재개하는 제 2 단계;를 포함하여 이루어지는 것을 특징으로 하는 USB 코어의 활성모드 전환방법.A first step of switching an external read-only memory from a standby mode to an active mode upon request to switch from a power saving mode to an active mode; And a second step of resuming power supply to an external peripheral device by executing a specific program recorded in an external read-only memory when a predetermined time elapses after the switching of the active mode is completed. How to switch modes.
KR1019970061612A 1997-11-18 1997-11-18 Method for converting suspend/active mode in usb core KR100295987B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970061612A KR100295987B1 (en) 1997-11-18 1997-11-18 Method for converting suspend/active mode in usb core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970061612A KR100295987B1 (en) 1997-11-18 1997-11-18 Method for converting suspend/active mode in usb core

Publications (2)

Publication Number Publication Date
KR19990040828A KR19990040828A (en) 1999-06-05
KR100295987B1 true KR100295987B1 (en) 2001-10-24

Family

ID=37527936

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970061612A KR100295987B1 (en) 1997-11-18 1997-11-18 Method for converting suspend/active mode in usb core

Country Status (1)

Country Link
KR (1) KR100295987B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101236393B1 (en) 2005-09-24 2013-02-22 삼성전자주식회사 Electric device and control method thereof

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101128352B1 (en) * 2005-02-18 2012-03-26 삼성전자주식회사 Usb controller and method for controlling the suspend mode of the same
KR102067725B1 (en) 2018-10-05 2020-01-17 주식회사 제이디 Apparatus for inspecting the radial ball bearing

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101236393B1 (en) 2005-09-24 2013-02-22 삼성전자주식회사 Electric device and control method thereof

Also Published As

Publication number Publication date
KR19990040828A (en) 1999-06-05

Similar Documents

Publication Publication Date Title
US8214670B2 (en) Semiconductor integrated circuit device having internal circuit with plural power supply regions
KR100798020B1 (en) Data processing circuit with a cache memory and apparatus containing such a circuit
US5664203A (en) Peripheral device input-initiated resume system for combined hibernation system and back-up power supply for computer
KR970071210A (en) Computer systems
JPH10133783A (en) Power-saving mode switching method of computer having function for saving power during use of network
JPH10117449A (en) Method and device for switching power source
US5237698A (en) Microcomputer
KR0162599B1 (en) Power control system
KR100765586B1 (en) Controlling signal states and leakage current during a sleep mode
JPS59200326A (en) Data processing system
WO2003085501A1 (en) Multiple power source semiconductor integrated circuit
KR100295987B1 (en) Method for converting suspend/active mode in usb core
KR100448274B1 (en) A power supply control device for cutting off stand-by electric power and for saving electric power, a control method thereof and a power saving system
KR20010005090A (en) Power supply device for suppling different power corresponding to operation mode
US5587675A (en) Multiclock controller
JPH05189100A (en) Information processor
US6118267A (en) Apparatus for switching a reference voltage between high and low impedance states
JPS59142624A (en) Battery saving system
JP2000341430A (en) Communications equipment
KR100471080B1 (en) circuit for power control in computer system
KR100278279B1 (en) Clock generator having clock generating controller
JPH04167113A (en) Information processor
JP2008129969A (en) Power supply backup system and electronic equipment provided with the same
JPH1097340A (en) Portable information unit
JP2000250666A (en) Central processor and method for reducing power consumption of its central processor

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20090331

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee