cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I read example of USB OTG driver for STM32F4x?

Vyacheslav Azarov
Associate III

Hello everyone,

I want use USB port as USB OTG but firmware do not support this mode, instead Device and Host modes separately. Where can I read example of USB OTG driver implementation for free?

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions

OTG is implemented in the pre-Cube, SPL version of the USB drivers, but be prepared that they are written in a very different style from Cube.

https://community.st.com/s/question/0D50X0000BaKnNQ/usb-otg-device-host-switching-using-usb-id-pin-example-

JW

View solution in original post

2 REPLIES 2

OTG is implemented in the pre-Cube, SPL version of the USB drivers, but be prepared that they are written in a very different style from Cube.

https://community.st.com/s/question/0D50X0000BaKnNQ/usb-otg-device-host-switching-using-usb-id-pin-example-

JW

Thanks again, it very helpful also.