Skip to main content
Graduate II
February 29, 2024
Question

VBUS Detection on STM32F769i Discovery Board

  • February 29, 2024
  • 1 reply
  • 1204 views

Hi team,

              I am using stm32f769 discovery board for implementing OTG HS(MSC) on it. After seeing it's schematic am bit confused regarding the VBUS pin handling. According to the below schematic VBUS is handling by USB3300 PHY.

I. VBUS Handling 

Shikamaru_0-1709191923215.png

In the above schematic , The power switch which is handling VBUS signal is connected to CPEN pin of USB3300 PHY. 

Shikamaru_1-1709192049328.png

according to the above table (Datasheet of USB3300), This pin is responsible for 5v supply. 

My intention here is that, I need to monitor this ID pin, Based on this ID pin decision will be taken in firmware to enable Device stack or Host stack.

 

II. Configuration in STMCubeIDE

while configuring HS in STMCubeIDE for OTG HS am getting below warning

Shikamaru_3-1709192480846.png

Kindly help me here.

 

Regards,

Shikamaru

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    April 3, 2024

    Hello @Shikamaru 

    About CPEN, it is kind of confusing to get power on VBUS from USB3320 PHY and 5V_USB_HS at the same time. But it needs external VBUS power source.

    To monitor ID pin, you mean to implement dual role OTG? 

    Would you please share you ioc file?