Question
How can a L4 be at the same time a USB host and a USB device ?
Hello,
I have a STM32L4 and I need it:
- To be able to communicate with a laptop via USB (PC = Host, L4 = Device)
- To be able to communicate with a custom made USB device which only support being a USB Device (L4 = Host, Custom device = Device)
I managed to use both the USB Host library and USB Device library separately but I don't know how to make them coexist in order to use them a the same time. As the L4 supports USB-OTG I guess this should be possible but I don't know how to do it. Is there a library for that ?
Thanks,
Benjamin
