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. Please look into the matter today itself ,as soon as possible.The development process is now interrupted by this minor USB glitch.
Regards, Dhanush Nair
Hi Tsuneo,
I am using code of HOST USBkeyboard from tiva dk-tm4c129x example.My keyboard is working fine when my controller is not busy in doing other things like ADC read,write,uart,lcd,etc.(ADC read write is little time consuming).But when i add my ADC read write code with keyboard code then keyboard becomes very slow. When i press key on keyboard then USB keyboard callback gets called after 1sec and for key release USB keyboard callback also gets called very slowly.
I cross checked this thing thing by removing ADC function and by adding delay() functions ,but i am facing the same problem. why interrupt is coming very slow when controller is doing other things with keyboard routine.
Thread hijack...
hiii Per Westermark,
Why thread hijack ?????????????????????/