2024-09-26 02:56 AM
hi,
Using STM32G0B0CET6
USB_DRD_FS---Host_Only_FS,
USB_HOST---Mass Storage Host Class,
FATFS---USB Disk
USB Interrupt---Enable.
My 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?
Solved! Go to Solution.
2024-09-27 08:56 AM
VBUS sensing are mandatory for self-powered devices only. In your case, you can simply select in the configuration NO_VBUS_DRIVE is needed
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.
2024-09-27 08:56 AM
VBUS sensing are mandatory for self-powered devices only. In your case, you can simply select in the configuration NO_VBUS_DRIVE is needed
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.
2024-09-30 09:06 PM
sorry for my mistakes. i used STM32G0B1RCT6