This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

2 USB Hosts multiplexed in 1 TIVA TM4C1237H6

Hi all,

I am using TIVA TM4C1237H controller .I wish to interface Keyboard and Pendrive to it.I am using FSUSB11MTX for multiplexing them.Using a  GPIO pin I select the FSUSB11MTX . Now Iam able to interface 2 keyboards and switch between them .But while using pendrive I am able to transfer files as long as there is no device in the other port.As soon as I connect any device in other port the system hangs and shows unknown device for both ports.I guess there is issue in creating interrupts.

My requirement :

My controller has one USB port.I wish to interface a keyboard and pendrive.
Most of the time I am using a keyboard but for dumping some data ,I sometime require a pendrive.
On pressing a particular key in the keyboard , the D+ and D- lines of the USB shifts from keyboard to pendrive .
After successful data dumping D+ and D- lines shifts back to keyboard.

Till now all seems to work nicely as expected for the first time after power-up.

But when I do data dumping again , the controller fails to enumerate the pendrive , and data dumping fails .The  control comes back to keyboard without data dumping.If I restart the system , then again the above scenario.

I dont wish to restart the machine , every time for this.

Regards,
Dhanush Nair