Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for responding to USB slave device by USB master device and related device

A master device and USB interface technology, applied in the field of USB slave device control methods and related devices, can solve the problems of unable to send instructions to the USB master device, high power consumption of the USB device, and inability of the USB master device to respond to USB slave device operation commands, etc.

Active Publication Date: 2019-07-16
HUAWEI TECH CO LTD
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When the USB controller, USB physical layer module, etc. enter the suspended state, data cannot be transmitted between the USB master device and the USB slave device, and the USB master device cannot respond to the operation instructions of the USB slave device. When the volume is increased, the USB slave device cannot send this command to the USB master device, and the USB master device cannot respond to the command
[0005] If the USB master device needs to respond to the commands sent by the USB slave device in a timely manner, the USB controller and USB PHY of the USB master device and the USB controller and USB PHY of the USB slave device need to be kept powered on, resulting in high power consumption of the USB device.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for responding to USB slave device by USB master device and related device
  • Method for responding to USB slave device by USB master device and related device
  • Method for responding to USB slave device by USB master device and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] The following will clearly and completely describe the prior art or the technical solutions in the embodiments of the present invention with reference to the accompanying drawings.

[0065] A kind of USB interface involved in the embodiment of the present invention is introduced below, please refer to figure 1 , figure 1 It is a schematic explanatory diagram of pins of a USB interface provided by an embodiment of the present invention, and the USB interface provides pins for the following signal lines:

[0066] At least one power signal pin (VBUS) is used to provide power;

[0067] At least two differential signal pins (D+, D-) are used to transmit differential signals;

[0068] At least one ground pin (GND) for grounding;

[0069] At least one auxiliary pin (SU) can customize its function. In this application, SU is used to transmit interrupt signals.

[0070] In an embodiment of the present invention, the USB interface may be a USB-C interface, and the USB-C inter...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a method for responding to a USB slave device by a USB master device and a related device. The method comprises the following steps of using the USB slave device to receive a first instruction inputted through the input device; generating an interrupt signal according to the first instruction; outputting the interrupt signal to the master USB slave device through the auxiliary pin of the first USB interface; when the USB main device detects that the level signal of the auxiliary pin in the second USB interface is an interrupt signal, powering on the second USB module to enable the suspended USB bus to recover to a normal working state; using the USB slave device to send a first instruction to the USB master device through the differential signal pinof the first USB interface; furthermore, using the USB master device to receive the first instruction through the differential signal pin of the second USB interface and execute the first operation,so that the USB master device in a suspended state responds to the USB slave device instruction.

Description

technical field [0001] The invention relates to the field of electronic communication, in particular to a method for controlling a USB slave device and related devices. Background technique [0002] Universal Serial Bus (USB) is an external bus standard used to regulate the connection and communication between computers, mobile phones, etc. and external devices. The USB interface supports the plug-and-play and hot-swap functions of the device. [0003] A USB device (such as a USB master device or a USB slave device) can support the suspend state, and can enter the suspend state from any level state, so that the USB bus stops data transmission. When the USB device finds that the idle state duration on the USB bus exceeds 3.0ms, the USB controller of the USB device can be powered down, and the USB physical layer module (USB PHY) can be powered down, thereby entering a suspend (suspend) state to reduce The energy consumption of the equipment. [0004] When the USB controller...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F13/42G06F13/40
CPCG06F13/4282G06F13/4068
Inventor 刘宇王纪会钱进任博
Owner HUAWEI TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More