2023-06-23 08:19 AM
Hello, everyone. I'm using the STM32F407IGT6 MCU.
In my hardware, there are two USB connectors: USB A, for transferring/receiving data from a mass storage device, and USB B, for virtual communication with a PC.
I would like to know if there is any way to configure my MCU to act as a host or as a device depending on which connector is being used.
Note: I am aware that my MCU has USB OTG support, but the examples I have seen are only for one connector, USB B. So, I am confused about how to configure my MCU to work in this way.