Supercharge Your Innovation With Domain-Expert AI Agents!

Controllable USB (Universal Serial Bus) master-slave mode exchange method

A main mode, EZ-USB-FX3 technology, applied in the USB field, can solve problems such as inapplicability, achieve the effect of ensuring normal work, avoiding transmission interruption, and optimizing user experience

Active Publication Date: 2021-05-14
HANGZHOU XINHAN PHOTOELECTRIC SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The present invention mainly solves the technical problem that the original technical solution cannot be applied to master-slave switching between Android devices and other embedded devices, and provides a controllable USB master-slave mode interchange method, which is written on the EZ-USB-FX3 platform AOA protocol configuration, when the power of the Android master device is insufficient, it will be replaced by the slave mode. The original slave device will be replaced by the master mode after the master device is connected to the external power supply, which can not only ensure the normal operation of the USB system, but also realize the charging of the Android device. After the charging of the Android device is completed, the master-slave mode can be re-exchanged in a controllable manner, and continue to work normally, avoiding transmission interruption, and greatly optimizing the user experience

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
  • Controllable USB (Universal Serial Bus) master-slave mode exchange method
  • Controllable USB (Universal Serial Bus) master-slave mode exchange method
  • Controllable USB (Universal Serial Bus) master-slave mode exchange method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The technical solutions of the present invention will be further specifically described below through the embodiments and in conjunction with the accompanying drawings. Embodiment: a kind of controllable USB master-slave mode exchange method of this embodiment, such as figure 1 , figure 2 shown, including the following steps:

[0032] (1) Initialize EZ-USB-FX3 and power it on to enter slave mode.

[0033] (2) EZ-USB-FX3 communicates with the device, the device is in the main mode, provides Vbus, drives EZ-USB-FX3 to work normally, and the CC pin is pulled down. The USB used for connection is a type-C interface USB.

[0034] (3) EZ-USB-FX3 is connected to an external power supply, enters the master mode and monitors in real time whether there is a USB slave device connected; the device requirement is a device capable of opening AOA, that is, a device above android2.3. When the power of the connected device is insufficient, the EZ-USB-FX3 is connected to an external ...

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 invention discloses a controllable USB (universal serial bus) master-slave mode interchange method, which comprises the following steps of initializing an EZ-USB-FX3 (Ethernet Z-USB-FX3), electrifying the EZ-USB-FX3, and entering a slave mode; communicating with equipment; connecting the EZ-USB-FX3 externally connected with a power supply, entering a master mode and monitoring whether USB slave equipment is accessed or not in real time; judging whether the equipment is specified equipment; inquiring whether AOA configuration is supported or not; configuring and starting an AOA mode; judging whether the mode is an AOA mode or not; switching the equipment to a slave mode to establish connection and continuing to work normally; and after equipment charging is completed, sending an instruction, switching to a main mode, and continuing normal work. According to the technical scheme, the AOA protocol configuration is written on the EZ-USB-FX3 platform, the mode is changed into the slave mode under the condition that the electric quantity of the Android master equipment is insufficient, and the original slave equipment is changed into the master mode after the master equipment is externally connected with the power supply, so that the normal work of the USB system can be ensured, the function of charging the Android equipment is realized, the transmission interruption is avoided, and the user experience is greatly optimized.

Description

technical field [0001] The invention relates to the technical field of USB, in particular to a controllable USB master-slave mode interchange method. Background technique [0002] In the USB protocol, the device in the master mode assumes the power supply task of the slave device. The vast majority of android devices on the market do not support current input from the Vbus pin while the USB interface is in use in the main mode, that is, they do not support data output while charging inward through the USB interface. Therefore, in some occasions where a passive slave device is to be used, it will be affected by the above situation, resulting in a portable (built-in battery) Android master device having to stop working normally for charging after working in USB master mode for a period of time. [0003] The AOA protocol is a protocol introduced by Google to implement USB communication between Android devices and peripheral devices. The peripheral USB communication device can...

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/42
CPCG06F13/4282
Inventor 顾宏毛琨煜沈新华谢洪星任禹行吕涛
Owner HANGZHOU XINHAN PHOTOELECTRIC SCI & TECH
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