Skip to main content
Nimit Vachhani
Associate III
Aug 13, 2019 6:44 AM UTC
Solved

STM32F103RE USB HOST FOR KEY DISK

Greetings Everybody,

I am confused whether i cam make STM32F103RE to work as usb host for mass storage ? In CUBE MX it says mass storage class but does it mean i can connect my USB disk to it and transfer data to it ?

I know STM32F207ZG has the support of USB OTG and it is working fine as i am logging data to the connected usb disk... Can i have this feature in STM32F103RE ?

Any advice would be of great help.

Thanks.

This topic has been closed for replies.
Andrew Neil
Andrew NeilBest answer
Super User
Aug 13, 2019 11:13 AM UTC

"Can i have this feature in STM32F103RE ?"

Like @Community member​ , I think not - but what does the datasheet tell you? That will be the definitive answer!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.

10 replies

Tesla DeLorean
Guru
Aug 13, 2019 8:07 AM UTC

I'm thinking not, but check if there are host examples in the CubeF1 trees for the EVAL boards.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Andrew Neil
Andrew NeilBest answer
Super User
Aug 13, 2019 11:13 AM UTC

"Can i have this feature in STM32F103RE ?"

Like @Community member​ , I think not - but what does the datasheet tell you? That will be the definitive answer!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Nimit Vachhani
Associate III
Aug 13, 2019 11:53 AM UTC

Well it does not have otg host support... Nothing regarding this is mentioned in data sheet. Thanks for the info...

Andrew Neil
Super User
Aug 13, 2019 12:36 PM UTC

The datasheet tells you that it has USB Device:

0690X00000A9UskQAF.png

So that's not Host (nor OTG).

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Nimit Vachhani
Associate III
Aug 14, 2019 5:36 AM UTC

Checked... It will not work as usb host device. I will work as usb device when connected with the compatible operating system. It uses bulk transfer method...