cancel
Showing results for 
Search instead for 
Did you mean: 

Dual Host RTOS USBH_Init

paul2
Senior
Posted on November 23, 2017 at 17:17

Hi,

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?

Thanks.

#usb
1 REPLY 1
paul2
Senior
Posted on November 27, 2017 at 22:09

Hi,

are there any specific RTOS changes/settings which need to be made in order to handle two FS USB Host interfaces?

Thanks.