Re: Has anyone used the USB HS port used as a USB FS on STM32F4?


Aurelien Jarno
 

Hi,

On 2018-07-06 12:27, Yannis Damigos wrote:
Hi,

STM32F429 SoCs support OTG FS USB. Check 96b_carbon board as a
reference to enable it.
You should also configure pinmux for PB14 and PB15.
I don't think that's possible. PB14 and PB15 can only be mapped to the
full-speed OTG_HS PHY, not the to the full-speed OTG_FS PHY (yes, this
is confusing).

I don't think there is a way to enable both ports at the same time given
how the USB API is designed (it doesn't take a usb device in argument).
That said it would be nice if we can choose either via Kconfig or via
device tree which of the two OTG ports to use on STM32F4 and STM32F7
families. Any suggestion how to do that?

I am interesting to get the OTG_HS working on the STM32F723 at some
point, as it has an integrated full speed PHY.

Aurelien

--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net

Join devel@lists.zephyrproject.org to automatically receive all group messages.