Method and apparatus for implementing general-purpose serial bus USB OTG

A channel and data line technology, applied in the field of realizing the universal serial bus USB OTG, can solve the problems of high cost, bus competition, inability to adapt, etc., and achieve the effect of wide application range, convenient use and low cost

Active Publication Date: 2009-02-04
LEADCORE TECH
View PDF0 Cites 73 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0032] In summary, for the first device with USB OTG function, it separates the USB master and slave controllers from the USB forwarding circuit, and designs the USB forwarding circuit and the USB OTG controller into a controller chip. The scheme is more suitable for early digital processors or ASICs that are difficult to integrate forwarding circuits, and with the development of chip analog-digital hybrid technology, most of the processors currently used in PDA or mobile phone terminals have realized a complete USB host, The slave device controller circuit, that is, the USB controller and the USB forwarding circuit are integrated together. Therefore, due to the cumbersome control interface of the device, the high cost of two dedicated chips and the mismatch with the existing processor interface, etc., It has been unable to meet the needs of realizing USB OTG function based on the current mobile phone or PDA and other handheld device platforms
[0033] For the second device with USB OTG function, since the USB OTG control chip used therein has integrated the master and slave controller modules, a set of processor platforms with master and slave controllers will be wasted. Master and slave controllers, resulting in an increase in cost
In addition, since control and data access will occupy the asynchronous bus of the processor, it will cause bus contention between other asynchronous bus interface devices and USB device access, greatly affecting the performance of the system

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 and apparatus for implementing general-purpose serial bus USB OTG
  • Method and apparatus for implementing general-purpose serial bus USB OTG
  • Method and apparatus for implementing general-purpose serial bus USB OTG

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] On the premise that the existing baseband processing chip or application processing chip has realized the USB master-slave device controller function but has not yet realized the USB OTG function, the present invention proposes a simple control circuit and power supply circuit outside the processor chip, To cooperate with the processor chip to realize the USB OTG function, that is, to automatically recognize the device mode of the external device, and switch the main processor to the device mode corresponding to the external device according to the recognition result. At the same time, according to the requirements of the USB OTG specification, it supports the HNP protocol and the SRP protocol.

[0068] The specific implementation manner of the present invention will be described below in conjunction with the accompanying drawings.

[0069] Based on the baseband processor or application processor with USB master and slave device controllers, the present invention adds 4...

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 method which realizes the universal serial bus USB OTG and includes that the processor detects the principal- subordinate identification interface signal though the second GPIO and judges the level of the principal-subordinate identification interface signal; if the principal-subordinate identification interface signal is low level, the USB principle device controller is started; if the principal-subordinate identification interface signal is high level, the USB subordinate device controller is started; meanwhile, the invention also discloses a device which realizes the universal serial bus USB OTG; the device comprises a processor, a plurality of analog switches, a power module and a MINI_AB interface module; wherein, the processor includes a USB principle device controller, a USB subordinate device controller, four GPIO interfaces, two data interface signals, a power interface signal and a principal-subordinate identification interface signal. The method and the device which realize the universal serial bus USB OTG provide the client with a set of universal serial bus USB OTG solution which has the advantages of simple circuit, low cost, convenient application, wide application range and reliable performance.

Description

technical field [0001] The invention mainly relates to the field of computer data communication, in particular to a method and device for realizing the universal serial bus USB OTG. Background technique [0002] Universal Serial Bus (USB, Universal Serial Bus) OTG (On The Go) technology refers to a technology in which a device with a USB interface directly performs data communication without a computer. The identity directly communicates data with another set of specific peripheral devices. At the end of 2001, the USB Developer Forum released a supplementary specification of the USB2.0 protocol dedicated to the "removable interconnection" between USB peripheral devices, namely the USB OTG specification, which includes the following points: [0003] Support point-to-point communication between devices, especially for the case where the devices at both ends of the data communication support the USBOTG specification, a host circulation protocol HNP (HostNegotiation Protocol) t...

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/38
Inventor 史公正刘峰
Owner LEADCORE TECH
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