Skip to main content
Associate III
December 7, 2019
Solved

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

  • December 7, 2019
  • 2 replies
  • 1441 views

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

This topic has been closed for replies.
Best answer by waclawek.jan

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

2 replies

waclawek.jan
waclawek.janBest answer
Super User
December 7, 2019

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

Associate III
December 7, 2019

Thanks again, it very helpful also.