AnsweredAssumed Answered

How to perform I/O operation for USB Device MSC in background?

Question asked by gladyshev.oleg on Oct 8, 2015
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?

Outcomes