Question
usb otg dual role selection from cube mx
- June 24, 2023
- 3 replies
- 3430 views
Hello,
I am using STM32L4 series controller. I want to use USB OTG in dual mode where I want to run USB device and Host on same application. facing an issue when I select USB_OTG_FS as OTG/Dual_Role_device using cubemx tool then in middleware USB_HOST and USB_DEVICE options become disable. if I am choosing USB_OTG_FS as host only selection then it works (enable USB_HOST in middleware selection) and same working for device only selection. I have attached snapshot as reference.
Even I have check with F4 series, still not working.
In case CubeIDE does not support to generate usb dual mode middleware then could you provide any alternatives way where I can integrate at my end.
