Tool/software:
Greetings,
I have looked at the USB registers, and I can't find any way to have the code reset the USB. I'm hoping I missed something. Is there a way to do that?
Thank you,
Ed
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.
Tool/software:
Greetings,
I have looked at the USB registers, and I can't find any way to have the code reset the USB. I'm hoping I missed something. Is there a way to do that?
Thank you,
Ed
Ed,
There are few bits in the USBPOWER register (RESET and SOFTCONN bits) . You can try setting these bits to reset the USB.
Or you can disable and enable the clock to the USB using the following APIs
SysCtl_disablePeripheral(SYSCTL_PERIPH_CLK_USBA);
SysCtl_enablePeripheral(SYSCTL_PERIPH_CLK_USBA);