cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0B1RCT6 USB_DRD_FS Doubt

Berlin-raj123
Associate III

hi,
Using STM32G0B0CET6
USB_DRD_FS---Host_Only_FS,
USB_HOST---Mass Storage Host Class,
FATFS---USB Disk

USB Interrupt---Enable.

 Screenshot 2024-09-26 145107.pngMy requirement: i just want to create  and write the file to usb_host.c and whenever i pluged the usb, the file automatically copied from microcontroller to pendrive. i did, its working fine but i have a doubt,

 Everything seems clear, but why should i configure to  Drive_VBUS_FS option.

On my board, I decided to provide 5V to VBUS directly . 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.

 

we don't have a additional pin of Drive_VBUS_FS, what should i do?

 

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

Hi @Berlin-raj123 

You referenced two different part numbers STM32G0B1RCT6 and STM32G0B0CET6.

VBUS sensing are mandatory for self-powered devices only. In your case, you can simply select in the configuration NO_VBUS_DRIVE is needed

FBL_0-1727452520021.png

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


I'm out of offce with limited access to my emails.
Happy New Year!

View solution in original post

2 REPLIES 2
FBL
ST Employee

Hi @Berlin-raj123 

You referenced two different part numbers STM32G0B1RCT6 and STM32G0B0CET6.

VBUS sensing are mandatory for self-powered devices only. In your case, you can simply select in the configuration NO_VBUS_DRIVE is needed

FBL_0-1727452520021.png

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.


I'm out of offce with limited access to my emails.
Happy New Year!

sorry for my mistakes. i used STM32G0B1RCT6