Skip to main content
paul2
Associate III
November 23, 2017
Question

Dual Host RTOS USBH_Init

  • November 23, 2017
  • 1 reply
  • 742 views
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
This topic has been closed for replies.

1 reply

paul2
paul2Author
Associate III
November 27, 2017
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.