2016-06-28 07:35 AM
Hi,
I would like to write data to an USB stick using FatFS with a DMA stream. I haven't found anything on this topic yet. I have found some example using an SD card, but I cannot apply this examples to an USB stick. Is it possible to write to an USB stick with a DMA stream?2016-06-29 03:16 AM
Hi smrtkai,
Could you precise which Firmware are you using?Regards2016-07-01 01:03 AM
I am using the firmware generated by the latest version of STM32CubeMX.
2016-07-01 01:51 AM
Hi smrtkai,
May be you don't have DMA requests for USB !You should have a look in your related reference manual to have idea if DMA is supported.Regards2016-07-05 12:41 AM
I am using an STM32F429I-DISCO board and the manual states that there is an USB OTG HS DMA bus.
''This bus connects the USB OTG HS DMA master interface to the BusMatrix. This bus is used by the USB OTG DMA to load/store data to a memory. The targets of this bus are data memories: internal SRAMs (SRAM1, SRAM2, SRAM3), internal Flash memory, and external memories through the FSMC/FMC.''But unfortunately, I do not know how to configure it.2016-08-09 02:39 AM
Did you figure out how it works?
2016-08-23 05:15 AM
No. I think it is not possible to use DMA in combination with FatFS. But it is possible to use DMA with USB.