AnsweredAssumed Answered

STM32F105 USB OTG Host Device Mode switching

Question asked by Critch.Colin on Mar 19, 2014
Latest reply on Mar 24, 2014 by Critch.Colin

Hi,

I have integrated the Host MSD and Device VCP into a project. I am struggling to find an example of how to switch between the Host/device mode when a ‘A’ USB cable (flash stick ) and a ‘B’ USB cable (connected to PC for VCP serial port ). I am using the project DRD example from the STM32_USB-Host-Device_Lib_V2.1.0 examples. Can anyone point me in the right direction ( to an example ) of mode switching?

 

Many thanks

Outcomes