Method and apparatus for automatically switching between USB host and device
AssigneeMoai Electronics Corporation
InventorsPeng-Fei Lin, Kuo-Chen Chuang
Life of this patent
Estimating the term…
Loading patent…
AssigneeMoai Electronics Corporation
InventorsPeng-Fei Lin, Kuo-Chen Chuang
Estimating the term…
An apparatus and method for automatically switching between USB host and device is provided. In a device with a USB interface, the present invention automatically switches between a USB host and USB device by detecting the handshake protocol of the D+ and D− pins of the USB interface. The apparatus for automatically switching between USB host and device includes ah host mode element, a device mode element, a random auto-switcher, and a detection element. The random auto-switcher switches the connection to the host mode element or the device mode element at random time. The detection element monitors the handshake protocol of the D+ and D− pins of USB interface and the external USB-interface device to determine whether the host mode or the device mode is in use. When the present invention detects the external USB-interfaced device is a host, the present invention switches to become a USB device. Similarly, when the present invention detects the external USB-interfaced device is a USB device, the present invention switches to become a USB host.
An apparatus for automatically switching between a USB host and a USB device, applicable to a device with USB interface, said apparatus comprising:
A method for automatically switching between a USB host and a USB device, applicable to a device with a USB interface, said method comprising the steps of:
Dependencies are inferred from the claim text.