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.

[参考译文] TMS320F28388S:手动复位 USB 硬件

Guru**** 2529560 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1565163/tms320f28388s-manual-reset-of-usb-hw

器件型号:TMS320F28388S


工具/软件:

您好、

我已经查看了 USB 寄存器、无法找到任何方法来对 USB 进行代码重置。  我希望我错过了一些东西。  有没有办法做到这一点?

谢谢您、

教育

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    教育、  

     USBPOWER 寄存器中只有几个位(RESET 和 SOFTCONN 位) 。 您可以尝试设置这些位来复位 USB。

    也可以使用以下 API 禁用和启用 USB 的时钟

    SysCtl_disablePeripheral (SYSCTL_PERIPH_CLK_USBA);

    SysCtl_enablePeripheral (SYSCTL_PERIPH_CLK_USBA);

    此致
    Siddharth