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.

TMS320F28377S: USB device reset - API

Part Number: TMS320F28377S


 We want to reset the USB controller at run time. The USB acts as a device.

Right now, we are using the following Code to reset the USB controller.

            EALLOW;

            CpuSysRegs.PCLKCR11.bit.USB_A = 0; //disable usb peripheral clock

            EDIS;

            DELAY_US(500);

            EALLOW;

            CpuSysRegs.PCLKCR11.bit.USB_A = 1;  // enable usb peripheral

            EDIS;

 is it right way to reset the USB controller ? or do we have any API to reset the USB communication. please provide your suggestions.

Thanks,

Rajkumar