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.

TM4c123 USB not responding after disconnect and connect

hi,

I am checking with TM4C123 usb and gone through the example usb_dev_serial, It is working fine. But when I put it in to my application its not working.

I tried to implement this with usbstidio.c .

The problem I am facing is when i remove the USB connection and insert the driver is getting detected( I am able to open com port ) , but no communication is happening. 

when i test this problem with Example code given it is working fine.

I tried to debug and every thing looks fine.Gone through the data sheets but unsuccessful.

the only difference between my code and there code is 

//
// Set the USB stack mode to USB Mode Force Device .
//
USBStackModeSet(0, eUSBModeForceDevice, 0);

Any suggestions are appreciable.

thanks & regards, 

  • Hello Shyam

    Are you using the EK-TM4C123 the R29 and R25 must be mounted for the USB Device. Else it must be forced into Device Mode. This is mentioned in the User Guide for EK-TM4C123.

    If it is a custom board then please share the schematics for the same.

    Regards
    Amit