How to perform I/O operation for USB Device MSC in background?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-10-08 2:29 AM
Posted on October 08, 2015 at 11:29
Hello,
I am trying to use USB Device Library from STM Cube to make a Mass storage device. All works fine now, the device detected by hosts and performs read/write operations. But I've noticed that I/O operations from usbd_storage.c file called directly from USB interrupt. This is not good for me because underlying physical memory connected tu MCU via slow interface and I/O execution time for sector transferring relatively big. Is it possible to use this library in ''acync'' IO mode? Or I should make USB interrupt with lowest prio and let the interrupt to read data directly? #stm32cube-usb-msc #interrupts
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
