As some background information, we used STM32CubeMX version 6.5.0 to generate the drivers for a custom hid device that runs on a STM32L4R9AI processor. When the usb cable is inserted, MX_USB_DEVICE_Init() is called which is stm’s code in a file calle...