cancel
Showing results for 
Search instead for 
Did you mean: 

USBX ThreadX doesn't recognize device attached

nico23
Senior II

I'm trying to implement the USBX Audio class using the board STM32U5A9J-DK and the USBC port present on the board.

I've opened the default project from TouchGFX selecting the ThreadX one. I then opened the .ioc file in the CubeMX and activated the USB_OTG_HS in Device_Only Mode. I then went into the Middleware section and activated the USBX Core System, Device CoreStack HS and Device Controllers HS and then, under the Device Class HS I've turned ON the Audio Class.

I then copied the code in this example (usbx/Projects/STM32H743I-EVAL/Applications/USBX/Ux_Device_Audio).

The code correctly compiles and execute (the GUI still works and entering into the debug mode I'm seeing the USBX has been initialize).

The issue comes when I connect the board using the USBC to the PC. I'm seeing the LED in the board turning ON, basically confirming the USBC port is connected but, the callback that should execute the function USBD_AUDIO_Activate when the USB Audio class is attached doesn't fire. The PC seems to not recognize anything attached to it

What I'm doing wrong?

0 REPLIES 0