This should not be a problem.The real problem is the Middleware USB_HOST and USM_DEVICE disabled.Reading other old questions (2015 https://community.st.com/s/question/0D50X00009XkgMdSAJ/mx-usb-and-host-vs-device-support) I think the only solution is ...