USB mass storage STM32f103rb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-24 9:35 PM
Hi,,
I am using STM32F103rb for my project,, Here i need to Transfer data into the Pendrive.
I am very new to USB protocol, So can you please suggest me any refernece for this task?
Akhil Francis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-24 9:44 PM
I don't think you can do that with this MCU. The USB function is only USB device. You need a MCU with USB host function, or OTG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-24 10:00 PM
This CPU only support USB device. You need one support USB host in order to connect other USB device. Please Google USB host.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-24 11:53 PM
this coontroller has USB 2.0 full-speed interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-25 5:03 AM
hi, thanks for your reply,
Then how can i take the data through USB?
can i use Mass storage?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-25 7:16 AM
Hello Francis, STM32F103 can't do it. Get at least STM32F105, or better, STM32F405. They support mass storage and you can connect your USB disk to them.
The code is available as example in the HAL library.
Edison_CZ
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-25 11:17 PM
Hi, thanks for your reply,.
But i Got a usb library for Stm32f103 from STM32 website, i mentioning the name below
'
STSW-STM32121
'.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-07-26 2:37 AM
Dear Francis, please learn the difference between USB HOST, DEVICE and OTG.
As many stated here, you need HOST to connect your USB stick, the library offers only DEVICE driver because mentioned STM32s implement USB DEVICE peripheral.
