stm32f103c usb spi flash mass storage

Post here first, or if you can't find a relevant section!
Post Reply
eldiamond
Posts: 1
Joined: Fri Nov 13, 2020 12:33 pm

stm32f103c usb spi flash mass storage

Post by eldiamond »

Hello, everyone!
I'm newbie in STM32, but it much prefer than anyone in Atmel family!
I want to make custom device which will collect sensor data and save it to 25QH32 chip via SPI. This part is implemented ;)
Next part is much interesting) I need to give all collected data to user. STM32F103C have USB interface on-boar, so the best solution i see, is mass storage device)
Internet says that there is the way to make it all thru HAL, but i'm not sure how exactly do this
So there is the question, how i can make it? Is there any libraries? How make all routines by interrupts?

mrburnette
Posts: 311
Joined: Thu Dec 19, 2019 1:23 am
Answers: 1

Re: stm32f103c usb spi flash mass storage

Post by mrburnette »

New users are asked to read:
viewtopic.php?f=2&t=301
eldiamond wrote:
Mon Nov 16, 2020 9:12 am
...
I need to give all collected data to user. STM32F103C have USB interface on-boar, so the best solution i see, is mass storage device)
...
A good read:
http://www.emcu.it/STM32/STM32_USB_Devi ... t_OTG.html

Moving to a uC with USB Host as discussed in the article is recommended. OR, give your customer SD cards since you can use one of several SD-Card libraries to write using an SD-FAT file system.
[url]https://stm32duinoforum.com/forum/ ... _4443.html[/url]

Post Reply

Return to “General discussion”