AN4879 · Application noteIntroduction to USB hardware and PCB guidelines using STM32 MCUs
Download .pdfOpen in the full document

OTG_HS PHY connected through ULPI

OTG_HS PHY connected through ULPI

The USB standards propose routing guidelines for high-speed USB platforms in the High Speed USB Platform Design Guidelines document available on the USB-IF website.

Note:

For a full-speed driver that is part of a high-speed driver, the impedance is 45 Ω ± 10%.

Recommendations:
  • Because the ULPI PHY is the controller of an ULPI CLK, a crystal oscillator is required to guarantee clock precision for the ULPI sampling and for the USB HS data sampling.
  • The OTG specification requires a capacitor (maximum value 4.7 μF) on VBUS.
  • The ESD protection chip, if used, has to be placed as close as possible to the USB connector.
Note:

The ULPI protocol allows automatic communication of system events, for example detection of Vbus presence. The OTG_HS controller has a bit to indicate a new session (SRQINT = 1).

Figure 13. USB HS via ULPI interface


External USB HS PHYs compatible via ULPI interface

The following table lists some external USB HS PHYs compatible through the ULPI interface.
Table 12. Compatible USB HS PHY
USB HS PHYTested on
BoardMCU
ISP1705AETSTM3240G-EVALSTM32F407
STM3241G-EvalSTM32F417
STM3221G-EvalSTM32F207
STM3220G-EVALSTM32F217
USB3300-EZKSTM32779I-EvalSTM32F777
STM32769I-EvalSTM32F769
STM32756G-EVALSTM32F756
STM32746G-EvalSTM32F746
STM32479I-EvalSTM32F479
STM32F446E-EvalSTM32F446
STM32F439I-EvalSTM32F439
STM32F429I-EvalSTM32F429
USB3320C-EZKSTM32H753I-EVALSTM32H753
STM32H743I-EVALSTM32H743
STM32F769I-DISCOSTM32F769
STM32F746G-DISCOSTM32F746

USB applications through the embedded OTG_HS PHY

To operate USB HS on STM32F7x3 devices there is no need to connect an external HS PHY via ULPI, as they already include an internal HS USB PHY.

There are some other recommendations in addition to those detailed for the embedded USB FS PHY:
  • An external capacitor of 2.2 μF must be connected on the VDD12OTGHS pin.
  • The HS PHY has an OTG_HS_REXT pin needed for calibration. This pin must be connected to GND via an external precision resistor (3 KΩ ± 1%).

STM32 on USB-IF integrators list

The list of the STM32 devices with certified USB peripherals is available on www.usb.org. The table below summarizes the certified USB peripherals by STM32 device.
Table 13. Certified USB peripherals
STM32 deviceCertified categorySpeed(s)TID
STM32F072PeripheralLS/FS40001561
STM32F103PeripheralLS/FS40000455
STM32F105PeripheralLS/FS40001571
STM32F205/7PeripheralLS/FS40001366
STM32F205/7PeripheralHS40001365
STM32F207Embedded hostFS120000252
STM32F207Embedded hostHS120000251
STM32F303PeripheralLS/FS40001494
STM32F373PeripheralLS/FS40001496
STM32F405/7PeripheralHS40001393
STM32F405/7PeripheralLS/FS40001394
STM32F407Embedded hostHS120000253
STM32F407Embedded hostFS120000256
STM32F723PeripheralHS40001777
STM32F723Embedded hostFS120000703
STM32F723Embedded hostHS120000702
STM32F723PeripheralLS/FS40001776
STM32L053PeripheralLS/FS40001612
STM32L152PeripheralLS/FS10730015
STM32L476,

STM32L476ZGT6U

PeripheralLS/FS40001658
STM32L476,

STM32L476ZGT6U

Embedded hostFS120000348
STM32 DeviceCertified categorySpeed(s)TID
STM32F723IEEmbedded hostHS120000702
STM32F723IEEmbedded hostFS120000703
STM32F723IEEmbedded hostHS40001777
STM32F769Peripheral Silicon > OtherFS8725
STM32F769Embedded Host SiliconHS10646
STM32L496Embedded hostFS120000831
STM32L496AGPeripheralLS/FS40001802
STM32L4P5Embedded Host SiliconFS7861
STM32L4R9Embedded HostFS7862
STM32L4R9Peripheral Silicon > OtherFS7840
STM32L562PeripheralFS6562
STM32H7B3Peripheral Silicon > OtherHS8741
STM32H7B3Embedded Host SiliconHS8724
STM32H7A3Embedded Host SiliconFS8709
STM32H7SEmbedded Host SiliconHS10643
STM32H7SPeripheral Silicon > OtherFS10644
STM32H503Peripheral Silicon > OtherHS9721
STM32H563Peripheral Silicon > OtherHS9717
STM32U585PeripheralFS7189
STM32U545Peripheral Silicon > OtherHS9722
STM32U599Peripheral Silicon > OtherFS10645
STM32G0CPeripheralFS7046
STM32G491PeripheralFS6563
STM32G474PeripheralFS6561
STM32WB55PeripheralFS2196

STM32MP13

STM32G0

Dual Role Device Silicon

Embedded Host Silicon

HS8088
STM32MP15PeripheralHS1735
STM32MP15Embedded hostHS2111