2017-04-28 04:30 AM
Hello All,
I'm working on STM32L476 Evaluation board as USB Mass Storage device(Full Speed). I'm planning to improve the throughput for file transfer through USB Mass Storage. So i planned to use DMA for transfer and i enabled 'Enable internal IP DMA' (present in Parameter Settings of USB_OTG_FS Configuration) option in CubeMX. I haven't observed any difference in the source code generated with option enabled to that of the one that is disabled.
I'm not sure if i'm missing anything here. Does the DMA support exist? If so can any one please guide me to use DMA for USB Mass Storage transfers.
Thanks,
Harinath
2017-04-28 08:03 AM
If CubeMX did everything for everyone you could be replaced by a robot. Review the documentation to understand how the part actually works, and what modes/methods may be possible.
The ceiling for FS MSC is about 700-800 KBps when large blocks are used, writes to flash can be demonstrably slower.