CN113468093A - Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment - Google Patents

Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment Download PDF

Info

Publication number
CN113468093A
CN113468093A CN202110713702.4A CN202110713702A CN113468093A CN 113468093 A CN113468093 A CN 113468093A CN 202110713702 A CN202110713702 A CN 202110713702A CN 113468093 A CN113468093 A CN 113468093A
Authority
CN
China
Prior art keywords
usb
signal line
usb chip
differential signal
chip
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.)
Pending
Application number
CN202110713702.4A
Other languages
Chinese (zh)
Inventor
张倬
张敏
陈毓良
黄华成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Codefair Semiconductor Technology Co ltd
Original Assignee
Xiamen Codefair Semiconductor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Codefair Semiconductor Technology Co ltd filed Critical Xiamen Codefair Semiconductor Technology Co ltd
Priority to CN202110713702.4A priority Critical patent/CN113468093A/en
Publication of CN113468093A publication Critical patent/CN113468093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the invention provides an industrial Universal Serial Bus (USB) chip, a wake-up method thereof and electronic equipment. The industrial-grade universal serial bus USB chip comprises: the USB controller is used for controlling the USB chip to enter a dormant state when receiving an interrupt signal from a host connected with the USB chip; and the awakening interface is connected to a differential signal line of the USB chip and electrically connected with the USB controller, and is used for awakening the USB chip according to level turnover on the awakening interface. Through the awakening interface connected to the differential signal line of the USB chip, after all parts/modules of the USB chip enter a dormant state, awakening of the USB chip can be automatically triggered according to level turnover on the awakening interface, so that awakening of the USB chip is achieved through a simple structure and an awakening mechanism, power consumption of the USB chip is reduced, and ultra-low power consumption is achieved in an industrial application scene.

Description

Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment
Technical Field
The embodiment of the invention relates to low-power-consumption electronic equipment, in particular to an industrial Universal Serial Bus (USB) chip, a wake-up method thereof and electronic equipment.
Background
At present, more and more electronic devices/devices adopt a USB (universal serial bus) interface supporting plug and play to interact with a connection host, such as a flash memory, an internet banking U-shield, a keyboard, a mouse and other peripheral devices of a computer. A USB chip and a USB interface for connecting to a host are integrated within these devices/devices.
In order to realize low power consumption, when the connection host enters the sleep mode, a signal, such as a suspend signal, is sent to the peripheral devices connected (through the USB interface), so that the peripheral devices enter a low power consumption state, and USB chips in the peripheral devices enter the sleep state. After the connection host finishes dormancy, a resume signal can be sent to the peripheral equipment through the USB interface, the USB chip and the peripheral equipment are awakened, and the USB chip and the peripheral equipment are enabled to resume normal work.
In the existing hardware implementation scheme for waking up the USB chip, as shown in fig. 1, after entering the sleep state, the USB module (chip) still needs to detect the differential signal line of the host interface. When the level inversion on the differential signal line is detected, the USB chip exits the sleep state. Therefore, the USB chip cannot completely enter the sleep state, which affects the overall power consumption of the USB chip.
Disclosure of Invention
The embodiment of the invention aims to provide a wake-up scheme of the industrial USB chip realized by hardware, so that the power consumption of the industrial USB chip is effectively reduced.
According to an aspect of the present invention, there is provided an industrial-grade universal serial bus USB chip, comprising: the USB controller is used for controlling the USB chip to enter a dormant state when receiving an interrupt signal from a host connected with the USB chip; and the awakening interface is connected to a differential signal line of the USB chip and electrically connected with the USB controller, and is used for awakening the USB chip according to level turnover on the awakening interface.
Optionally, the differential signal line includes a differential signal line DP and a differential signal line DM.
Optionally, the number of the wake-up interfaces is two, and the two wake-up interfaces are respectively connected to the differential signal line DP and the differential signal line DM.
Optionally, the wake-up interface is a general purpose input/output GPIO interface having a wake-up function.
According to another aspect of the present invention, there is provided a wake-up method for an industrial USB chip, wherein the USB chip has the structure of any one of the USB chips described above, and the wake-up method includes: when an interrupt signal from a host connected with the USB chip is received, the USB controller controls the USB chip to enter a dormant state; in a dormant state, when the level of the awakening interface is turned over, the USB chip is triggered to be automatically awakened, so that the USB chip enters a working state.
Optionally, the differential signal line includes a differential signal line DP and a differential signal line DM, the wake-up interface is two GPIO interfaces, and the two GPIO interfaces are respectively connected to the differential signal line DP and the differential signal line DM. Wherein, the level upset that takes place on awakening the interface includes: and level inversion occurs on the GPIO interface connected to the differential signal line DP, and/or level inversion occurs on the GPIO interface connected to the differential signal line DM.
According to a further aspect of the invention there is provided an electronic device comprising any of the industrial-grade universal serial bus, USB, chips described above.
According to the industrial-grade universal serial bus USB chip, the awakening method thereof and the electronic device, the awakening interface with the awakening function connected to the differential signal line is utilized, the USB chip can be awakened according to the level inversion on the awakening interface after the whole USB chip enters the dormant state, the chip is not required to continuously monitor the signal change of the differential signal line in the dormant state, and therefore the power consumption of the USB chip can be reduced.
Drawings
FIG. 1 is a schematic diagram of a hardware implementation of a prior art wake-up USB chip;
FIG. 2 is a diagram illustrating a hardware implementation for waking up an industrial-grade USB chip according to an embodiment of the present invention;
FIG. 3 is a flow chart of a method for waking up an industrial-grade USB chip according to an embodiment of the present invention.
Detailed Description
The following detailed description of embodiments of the invention is provided in conjunction with the accompanying drawings (like numerals indicate like elements throughout the several views) and examples. The following examples are intended to illustrate the invention but are not intended to limit the scope of the invention.
FIG. 2 is a diagram illustrating a hardware implementation for waking up an industrial-grade USB chip according to an embodiment of the present invention.
Referring to fig. 2, an industrial-grade universal serial bus USB chip 200 according to an embodiment of the present invention includes at least a USB controller 210 and a wake-up interface 220. The USB chip 200 also includes differential signal lines 230 and other components/modules for implementing the necessary functions of the USB chip.
Wherein, when receiving an interrupt signal from a host connected to the USB chip 200, the USB controller 210 is configured to control the USB chip 200 to enter a sleep state.
The wake-up interface 220 is electrically connected to the USB controller 210 and connected to the differential signal line 230 of the USB chip, and is configured to wake up the USB chip 200 according to a level flip on the wake-up interface, so that each component/module (including the differential signal line 230) of the USB chip 200 enters an operating state.
In general, the differential signal line 230 includes a differential signal line DP on which a positive differential signal D + is transmitted and a differential signal line DM on which a negative differential signal D-is transmitted.
According to an embodiment of the present invention, a general purpose input output GPIO interface with wake-up function is adopted as the wake-up interface 220. By using the GPIO interface with the wake-up function connected to the differential signal line 230, the USB chip 200 can be woken up according to the level inversion on the GPIO interface after the entire USB chip 200 enters the sleep state, so that the power consumption of the USB chip can be reduced, and ultra-low power consumption can be achieved in an industrial application scenario.
The following describes the processing of the method for waking up the industrial-grade USB chip according to the embodiment of the present invention with reference to fig. 3.
FIG. 3 is a flow chart of a method for waking up an industrial-grade USB chip according to an embodiment of the present invention. Here, the industrial-grade USB chip may be the USB chip 200 having any one of the aforementioned structures.
When the host connected to the USB chip 200 enters the sleep state, it sends an interrupt signal to the peripheral devices (including the USB chip) connected thereto. The interrupt signal is sent, for example, through a differential signal line connecting the USB chip.
At this time, referring to fig. 3, in step S310, when an interrupt signal is received from a host connected to the USB chip 200, the USB controller 210 controls the USB chip 200 to enter a sleep state.
The interrupt signal, such as the suspend signal, can be detected by conventional signal detection means. When an interrupt signal from a host connected to the USB chip 200 is detected, the USB controller 210 may control the respective components of the USB chip 200 to enter a sleep state without detecting a differential signal line of a host interface.
When the host is awakened after the USB chip 200 enters a sleep state together with the host connected thereto, the host sends a resume signal to the peripheral devices (including the USB chip) connected thereto. The resume signal (e.g., resume signal) is sent, for example, over a differential signal line connecting the USB chips. At this point, a level flip will occur on the wake-up interface 220 connected to the differential signal lines of the USB chip.
In step S320, in the sleep state, when the level of the wake-up interface 220 is turned over, the wake-up USB chip 200 is triggered to be automatically woken up, so that each component of the USB chip 200 enters a working state.
When the level of the wake-up interface 220 with the wake-up function is turned over, the USB chip 200 may be automatically triggered to wake up, so that the USB chip 200 may automatically wake up without continuously monitoring the signal on the differential signal line in a sleep state.
According to the foregoing exemplary embodiment of the present invention, the differential signal line 230 includes the differential signal line DP and the differential signal line DM, and the wake-up interface 220 is two GPIO interfaces; the two GPIO interfaces are connected to the differential signal line DP and the differential signal line DM, respectively.
Specifically, the level flipping on the wake-up interface 220 may include: and level inversion occurs on the GPIO interface connected to the differential signal line DP, and/or level inversion occurs on the GPIO interface connected to the differential signal line DM.
The level flip of the GPIO interface connected to any of the differential signal lines may trigger the USB chip 200 to wake up, or of course, the USB chip 200 may be woken up when the level flip of the GPIO interface connected to the differential signal line DP and the GPIO interface connected to the differential signal line DM occurs.
According to the industrial-grade universal serial bus USB chip and the awakening method thereof, through the awakening interface connected to the differential signal line of the USB chip, after each part/module of the USB chip enters a dormant state, awakening of the USB chip can be automatically triggered according to level inversion generated on the awakening interface, so that awakening of the USB chip is achieved through a simple structure and an awakening mechanism, power consumption of the USB chip is reduced, and ultra-low power consumption is achieved in an industrial-grade application scene.
The embodiment of the invention also provides electronic equipment comprising any one industrial-grade USB chip.
The above embodiments are only for illustrating the embodiments of the present invention and not for limiting the embodiments of the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the embodiments of the present invention, so that all equivalent technical solutions also belong to the scope of the embodiments of the present invention, and the scope of patent protection of the embodiments of the present invention should be defined by the claims.

Claims (7)

1. An industrial-grade Universal Serial Bus (USB) chip, comprising:
the USB controller is used for controlling the USB chip to enter a dormant state when receiving an interrupt signal from a host connected with the USB chip;
and the awakening interface is connected to a differential signal line of the USB chip and electrically connected with the USB controller, and is used for awakening the USB chip according to level turnover on the awakening interface.
2. The USB chip according to claim 1, wherein the differential signal line includes a differential signal line DP and a differential signal line DM.
3. The USB chip according to claim 2, wherein the number of the wake-up interfaces is two, and the two wake-up interfaces are respectively connected to the differential signal line DP and the differential signal line DM.
4. The USB chip according to claim 2, wherein the wake-up interface is a general purpose input output GPIO interface with wake-up function.
5. A wake-up method for an industrial USB chip, wherein the USB chip has the structure of the USB chip as claimed in any one of claims 1 to 4, the wake-up method comprising:
when an interrupt signal from a host connected with the USB chip is received, the USB controller controls the USB chip to enter a dormant state;
in a dormant state, when the level of the awakening interface is turned over, the USB chip is triggered to be awakened automatically, so that the USB chip enters a working state.
6. The method of claim 5, wherein the differential signal line comprises a differential signal line DP and a differential signal line DM, wherein the wake-up interface is two GPIO interfaces respectively connected to the differential signal line DP and the differential signal line DM,
wherein, the level upset that takes place on awakening the interface includes:
a level flip occurs on the GPIO interface connected to the differential signal line DP, and/or,
and the GPIO interface connected to the differential signal line DM is subjected to level inversion.
7. An electronic device comprising the industrial-grade Universal Serial Bus (USB) chip as claimed in any one of claims 1 to 4.
CN202110713702.4A 2021-06-25 2021-06-25 Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment Pending CN113468093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110713702.4A CN113468093A (en) 2021-06-25 2021-06-25 Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110713702.4A CN113468093A (en) 2021-06-25 2021-06-25 Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment

Publications (1)

Publication Number Publication Date
CN113468093A true CN113468093A (en) 2021-10-01

Family

ID=77873073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110713702.4A Pending CN113468093A (en) 2021-06-25 2021-06-25 Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment

Country Status (1)

Country Link
CN (1) CN113468093A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938818A (en) * 2010-08-30 2011-01-05 中兴通讯股份有限公司 Two-way waking method, equipment and system based on USB
US20180011528A1 (en) * 2014-12-08 2018-01-11 Intel Corporation Interconnect wake response circuit and method
CN109451759A (en) * 2018-06-11 2019-03-08 深圳佳比泰智能照明股份有限公司 Remote controler and remote control method
CN109474853A (en) * 2018-11-27 2019-03-15 深圳Tcl新技术有限公司 A kind of television set wake-up circuit and the television set with it
CN109857243A (en) * 2017-11-28 2019-06-07 华为技术有限公司 System level chip, universal serial bus main equipment, system and awakening method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101938818A (en) * 2010-08-30 2011-01-05 中兴通讯股份有限公司 Two-way waking method, equipment and system based on USB
WO2012027991A1 (en) * 2010-08-30 2012-03-08 中兴通讯股份有限公司 Method, device and system for bidirectional wake-up based on universal serial bus
US20180011528A1 (en) * 2014-12-08 2018-01-11 Intel Corporation Interconnect wake response circuit and method
CN109857243A (en) * 2017-11-28 2019-06-07 华为技术有限公司 System level chip, universal serial bus main equipment, system and awakening method
CN109451759A (en) * 2018-06-11 2019-03-08 深圳佳比泰智能照明股份有限公司 Remote controler and remote control method
CN109474853A (en) * 2018-11-27 2019-03-15 深圳Tcl新技术有限公司 A kind of television set wake-up circuit and the television set with it

Similar Documents

Publication Publication Date Title
US9310838B2 (en) Power management method for switching power mode of a computer system based on detection of a human interface device
CN102999216B (en) A kind of low-power consumption touch control display module, the screen touch electronic device with this module and software systems thereof
EP2324407B1 (en) Circuit having a low power mode
US6567921B1 (en) Asynchronous low power mode bus controller circuit and method of low power mode operation
US20140173166A1 (en) Reduction of idle power in a communication port
KR20150087668A (en) Device for routing wakeup signal using physical layer for low power, method thereof, and data processing system having same
US20050114723A1 (en) Interruption control system and method
US20140223212A1 (en) Power management circuit, power management method, and computer system
US11809348B2 (en) Digital bus activity monitor
US8769326B2 (en) Computer system and operation method for changing operation state by capacitive button group
CN104182243A (en) Sleep state control system, computer system and sleep state detection method thereof
US11703935B2 (en) Mechanism for saving power on a bus interface
CN113094105B (en) Method for guaranteeing low power consumption state of USB device and waking up
US20090300395A1 (en) Power saving system and method
US9570922B2 (en) Charging method and electronic device
TWI421768B (en) Mobile communication apparatus and method of controlling the same
CN113468093A (en) Industrial-grade Universal Serial Bus (USB) chip, awakening method thereof and electronic equipment
CN104850417A (en) Method for information processing and electronic equipment
US8874890B2 (en) Server with plurality of network cards with remote restarting and wake-up functionality
TWI641944B (en) Electronic device having an auxiliary device for waking and an auxiliar method for waking applied therein
JP2007299367A (en) Data processing system and method for touch pad
JP2007299367A5 (en)
CN113094104A (en) Design method of detection circuit for awakening low-power-consumption circuit
CN100394357C (en) Power-saving mode adjusting method and its logic chip and computer system
CN219831808U (en) Wake-up device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211001