Part Number: TS3USB30
Currently I am building a circuit to control using an Arduino the flow communication between Android-PC and Android-Microcontroller, since the connection android-PC requires android to be in accessory mode, and the connection Android-Microcontroller requires Host mode, I have made a small circuit to control the OTG pin, now that I implemented it, I am able to swtich them, initially the device starts with Android-PC connected, they have connection to each other, the connection Android-microcontroller works perfectly aswell, but when I swtich back to connect Android-PC again, the connection does not establish, I tried many things, but it never starts via software, I have to remove the USB cable and connect it manually to be able to establish the connection, I dont know if I am missing something, but I have seen some bullt-in switch solution and they are able to perform this switching without this problem, am I doing something wrong?
what signal you switch? USB? can you send schematic?
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Brian Zhou:
I am switching using U1 the USB J-PC1 with J-Android, and J-android with J-Walt
In reply to Juan Pablo Villa Serna:
can you explain how it works?
Of course, the relevant device is U1, I connected OE to a pin named BOOTLOADER that remains always in 0 for this operation.
The pin SEL controls the switching using the arduino via software, and U1 connects PC which its connector is J-PC1 to Android which its connector is J-Android. Or it connects PC to another device called WALT which its connector is J-WALT.
When I start the arduino, the connection between PC and Android starts initially, the PC is able to recognize the Android, then when I swtich the pin SEL, the connector changes to Android WALT, this connection works aswell. But when I swtich it back again to PC-Android, the PC does not detecs the Android device, and the only way to establish again the connection is by pulling out and plugging in the connector again manually.
data path for u1 should be J-android to J-pc1 or J-android to J-walt.
what signal between J-android to J-pc1, USB?
Correct, USB 2.0
how is Vbus of J-PC1 connected?
VBUS of J-PC1 is open, since I dont need to provide power supply to the PC, I am using an external 5VDC source to provide power to J-Android and J-Walt
in your system, which is host, which is device?
In the system when Android and Walt are connected, Android is host, when I switch to connect Android to PC, PC is host, I control the OTG pin using the transistor Q1 and the signal SEL from the arduino.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.