I’m having some issues getting a dual FS USB Host RTOS configuration running based on a STM32F746 target.
Connection events and callbacks events work correctly.
When I use the USBH_Init() function for initialising USB FS1, the function is returning a valid Thread ID. The USB FS1 interface works like it should.
phost->thread = osThreadCreate (osThread(USBH_Thread), phost);
When I execute USBH_Init() a second time initialising USB FS2, the function is returning “0”. The USB FS2 interface doesn’t work.
Why is USBH_Init() returning a “0” thread when initialising USB FS2?