2019-08-12 11:44 PM
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.
Solved! Go to Solution.
2019-08-13 04:13 AM
"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!
2019-08-13 01:07 AM
I'm thinking not, but check if there are host examples in the CubeF1 trees for the EVAL boards.
2019-08-13 04:13 AM
"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!
2019-08-13 04:53 AM
Well it does not have otg host support... Nothing regarding this is mentioned in data sheet. Thanks for the info...
2019-08-13 05:36 AM
The datasheet tells you that it has USB Device:
So that's not Host (nor OTG).
2019-08-13 08:11 AM
Perhaps should be looking at the STM32F105/107 devices, or one of the newer L4 devices that isn't 12-13 years old.
STM32Cube_FW_F1_V1.8.0\Projects\STM3210C_EVAL\Applications\USB_Host\CDC_Standalone
STM32Cube_FW_F1_V1.8.0\Projects\STM3210C_EVAL\Applications\USB_Host\MSC_Standalone
STM32Cube_FW_F1_V1.8.0\Projects\STM3210C_EVAL\Applications\USB_Host\MSC_RTOS
2019-08-13 08:24 AM
Indeed - back then, USB Host in a microcontroller was rare ...
2019-08-13 10:34 PM
Will it be compatible with STM32F103 devices ?
2019-08-13 10:36 PM
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...
2019-08-14 03:09 AM
Will what be compatible?
And in what way, "compatible" ?
We've established that the STM32F103RE has no USB Host capability - so there is nothing there to be compatible with!