Interface system, switching method, USB key and UART terminal

An interface system and USB interface technology, applied in the field of data communication, can solve problems such as misunderstanding, connection failure, and inability to switch to UART communication

Active Publication Date: 2013-04-03
北京明华联盟科技有限公司
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] If the terminal connected to the USB Key is not ready, the signals on the D-pin and D+ pin are uncertain; for example, connecting the USB Key to a UART (Universal Asynchronous Receiver / Transmitter, Universal Asynchronous Transmitter) terminal device When on the UART port of the UART terminal device, the UART port of the UART terminal device needs to be initialized for a certain period of time after power-on; after the UART terminal is turned on, if the UART port initialization is not completed at this time, the signal of the D- pin or D+ pin is Uncertain; if it is low, the USB Key will mistakenly think that it is connected to a USB terminal, thereby performing USB initialization, resulting in connection failure
If it is a USB Key powered by a built-in battery, after using the built-in power supply to turn it on, if the connected USB terminal or UART terminal is not turned on at this time, the levels of pins D- and D+ are also uncertain. The mode of the interface will also cause the connection to fail
After the USB Key powered by the built-in battery establishes communication with the USB terminal, if the USB key is not turned off at this time, if the UART terminal is inserted again, it will not be able to switch to UART communication; otherwise, the USB key powered by the built-in battery is connected to the UART terminal After the communication is established, if the USB key is not turned off, if the USB terminal is inserted again, the communication interface of the USB key cannot be switched to USB communication.

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
  • Interface system, switching method, USB key and UART terminal
  • Interface system, switching method, USB key and UART terminal
  • Interface system, switching method, USB key and UART terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0050] refer to figure 1 , figure 1 It is a schematic diagram of the interface structure of the USB key of the present invention; as figure 1 As shown, the interface of Mini USB and Micro USB is defined as: pin 1 is the power supply VCC pin, pin 2 is the signal D- pin, pin 3 is the signal D+ pin, pin 4 is the signal ID pin, Pin 5 is the ground GND pin. Among them, the ID pin can only be used in the OTG function; figure 1 The Mini USB and Micro USB interface packages shown are divided into Mini-A, B and AB interfaces; if the USB key is only used as a slave device, the B interface mode is used, and the terminal controller judges the access by the level of the ID pin...

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 an interface system for a USB key, a switching method, a USB key and a UART (Universal Asynchronous Receiver/Transmitter) terminal. The interface system for the USB key comprises a USB key circuit and a terminal interface circuit connected with the USB key circuit, wherein the terminal interface circuit comprises a USB interface circuit or a UART interface circuit; the USB key circuit comprises a USB key interface of which an ID pin is connected with a GND pin of the USB key interface through a resistor R1; and an ID pin of the UART interface circuit is connected with a VCC pin of the UART interface circuit. The benefit that the interface mode is quickly switched according to judgment to the ID pin of the USB key interface is achieved, and as for the USB key powered by a built-in battery, the interface mode can be automatically switched according to the difference of connected terminal equipment in the non-stop state.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to an interface system and switching method for a USB key, a USB key and a UART terminal. Background technique [0002] In the commonly used switching technology, the level of the D- pin or D+ pin is judged after the USB key (smart key device) is powered on; if it is high level, the USB key enters the UART interface connection; if it is low level , and the USB key enters the USB (Universal Serial Bus, Universal Serial Bus) connection state. [0003] If the terminal connected to the USB Key is not ready, the signals on the D-pin and D+ pin are uncertain; for example, connecting the USB Key to a UART (Universal Asynchronous Receiver / Transmitter, Universal Asynchronous Transmitter) terminal device When on the UART port of the UART terminal device, the UART port of the UART terminal device needs to be initialized for a certain period of time after power-on; after the UART te...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/40
Inventor 陈柳章
Owner 北京明华联盟科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products