cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any kind of guide to communicate with USB memory in the STM32G0 series?

beginner-jp
Associate II

Hello.

I would like to use the STM32G0B0RE to write and read about 1KB of text data from an STM microcontroller to a USB memory device.
When I looked for sample code to do this, I could not find any.
So is there some kind of beginner's guide for writing and reading to USB memory using the STM32G0B0?

Best regards.

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @beginner-jp ,

Yes I assume that the example pointed by Tesla is the MSC_Standalone one like https://github.com/STMicroelectronics/STM32CubeG0/tree/master/Projects/STM32G0C1E-EV/Applications/USB_Host/MSC_Standalone .

You can also follow the steps described in this MOOC to build your own example.

-Amel

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.

View solution in original post

3 REPLIES 3

Look at STM32 MSC USB HOST examples with a file system. Most Flash Sticks will use FAT file system.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

 

Thank you for your reply.
Which one is the STM32 MSC USB HOST sample?
MSC_Standalone? or
https://controllerstech.com/stm32-usb-host-msc/  ?

Hi @beginner-jp ,

Yes I assume that the example pointed by Tesla is the MSC_Standalone one like https://github.com/STMicroelectronics/STM32CubeG0/tree/master/Projects/STM32G0C1E-EV/Applications/USB_Host/MSC_Standalone .

You can also follow the steps described in this MOOC to build your own example.

-Amel

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.