I would like to provide separate USB connectors (Type-A for host and Mini-B for device ). I am using an STM32 processor with OTG support (includes Attach Detect Protocol). I will use a USB-rated analog switch to ensure that neither is connected at the same time. My main concern is how to detect the presence of the USB device plugged into the host port. Presumably, I could use ADP, but unsure how this would work. Also trying to determine how I could wake up from sleep when a USB device is plugged into the host port. I realize that OTG is designed for this purpose, but I don't want our customers to need an adapter cable to plug in thumbdrives and other devices. Anyone have any experience with this?