Re: Has anyone used the USB HS port used as a USB FS on STM32F4?
Li, Jun R
Hi Aurelien and Yannis,
Based on the datasheet of STM32F429(Page 40), the OTG_HS port supports both full-speed with its integrated transceiver or high-speed with an external Phy. So, the port can still be used as a full-speed USB port without any hardware efforts, which is the way I’m using it on a 429 board I have.
To support it, we just need to use the corresponding registers for OTG_HS. This is what I’m expecting. So, I’m wondering where the macro “USB” will be enabled? I think renaming it to something else like CONFIG_HAS_USB_OTG_HS would be more meaningful.
On 7/6/18, 07:00, "Yannis Damigos" <giannis.damigos@...> wrote:
> 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 misunderstood the question. I thought that OTG FS was mapped to PB14 / PB15.
I didn't tested usb_dc_stm32 using OTG_HS PHY.