2015-10-08 02:29 AM
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