SPRUJ53B April 2024 – September 2024 TMS320F28P550SJ , TMS320F28P559SJ-Q1
To use the USB controller, the peripheral clock must be enabled using the System Control module PCLKCR11 register. In addition, the USB PHY signals must be connected to the respective pins using the GPIO module GPAAMSEL and GPBAMSEL registers. Set bit 23 in GPAAMSEL for USB0DM (GPIO23) and bit 9 in GPBAMSEL for USB0DP (GPIO41).
Set up the USBCLKDIV so a 60MHz output clock is provided to the USB module. This fixed frequency is required for all USB operations. See the System Control and Interrupts chapter for more details.
In host mode, the USB controller is responsible for supplying power to the bus. To avoid incorrectly supplying voltage to the bus, the external power control signal, USB0EPEN, must be kept inactive on start-up. This can be done by connecting the USB0EPEN and USB0PFLT pins to the USB controller as soon as possible.