cancel
Showing results for 
Search instead for 
Did you mean: 

stm32g0b1rct6 usb host (MSC) flash drive not working

Berlin-raj123
Associate III

Hi, I have a customized STM32G0B1RCT6 board, and I'm trying to use its USB host function to connect to a flash drive. I used the file handling function to create a text file and store text files from the controller to the USB. I tried the same steps on the STM32F429I-DISC1 board, and it worked well. However, it's not working on my G0B1RCT6 customized board. Why is this happening, and how can I interface the USB host with the STM32G0B1RCT6 Controller?

Screenshot 2024-09-11 102712.png

On the STM32F429I-DISC1 board, the power supply is coming from the EN and ENABLE pin connected to OTG_FS_PSO, which is in turn connected to PC4. How can I determine the VBUS power supply on the STM32G0B1RCT6?

Anyway, I am sending my code.

1 ACCEPTED SOLUTION

Accepted Solutions
FBL
ST Employee

Hi @Berlin-raj123 

You can follow the example provided here STM32CubeG0/Projects/STM32G0C1E-EV/Applications/USB_Host/MSC_Standalone at master · STMicroelectronics/STM32CubeG0 (github.com)

and schematics here MB1352 (st.com)

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

1 REPLY 1
FBL
ST Employee

Hi @Berlin-raj123 

You can follow the example provided here STM32CubeG0/Projects/STM32G0C1E-EV/Applications/USB_Host/MSC_Standalone at master · STMicroelectronics/STM32CubeG0 (github.com)

and schematics here MB1352 (st.com)

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!