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.

TM4C123GH6PM: Reliable USB connection for TM4C123GH6PM ?

Part Number: TM4C123GH6PM

We want to connect a USB-A to TM4C123GH6PM. Normally, if it was a micro USB, there are two extra pins are connected to MCU: USB0ID and USB0VBUS. The USB library of Tiva also used these pins. But they're not included in USB-A or USB-B, there are only D- and D+ with power pins.  So we tricked the Tiva with connected these pins to VBUS and GND, as inspired from Tiva DK's schematic. What do you recommend about using USB-A with TM4C123GH6PM for a reliable connection? There is our schematic:

  • Hello Metin,

    You can configure the USB stack to not use VBUS or ID by using the following TivaWare API: USBStackModeSet(0, eUSBModeForceDevice, 0);

    Using eUSBModeForceDevice (or eUSBModeForceHost if in Host mode, works the same!) will allow for the VBUS and ID pins to be not monitored by the USB controller, so you can even use those pins for other operations, or you could just leave them available for other future USB applications.

    I would say taking the approach of the DK board is fine, but if you use the USBModeForce option, you don't need to force those connections and can gain further flexibility with your design.