Skip to main content
Lars Beiderbecke
Senior III
October 28, 2019
Question

How to configure Drive_VBUS_FS in CubeMX for not driving?

  • October 28, 2019
  • 4 replies
  • 3137 views

I'm currently configuring a USB Host for HID in CubeMX. Everything seems clear, but I don't know how to configure the Drive_VBUS_FS option.

On my board, I decided to provide 5V to VBUS directly (with ESD and overcurrent protection), but without involving the STM32. This makes me wonder if VBUS sensing is possible at all?

And for the Drive_VBUS_FS, I don't want to drive VBUS, but there is no such option available except for keeping the selection at Undefined, which seems to be an invalid state.

So how do I configure this properly with my board layout, or is the layout not correct?

4 replies

Rick Hamilton
Associate III
March 12, 2020

I have the same question....

Luca De Marchi
Visitor II
September 25, 2020

I have the same question....

Lars Beiderbecke
Senior III
September 25, 2020

I've learned (and tried successfully) that you leave Drive_VBUS_FS as undefined. So no VBUS driving, and no VBUS sensing.

Luca De Marchi
Visitor II
September 25, 2020

Thanks!

Zaher
Senior II
May 29, 2024

The following option: 'NO_SW_VBUS_DRIVE_FS' in the latest version of STM32CubeMX has solved this issue!