F407 & SDIO & DMA on official core
Posted: Sat Sep 30, 2023 7:10 am
Hello, i'll describe my problem - may be someone has a better option for me.) I have a project (FREERTOS + STM32SD + STM32F407) where first task constantly sample an ADC with period of 250 us. And I have another task, where sdcard routines work. I buffer data to a 16384 B array and try to write to uSD in background. (I mean sdCard task is lower priority than other tasks.) 16384 B array data writes to uSD in about 8.5 ms. If I raise priority for uSD task, everything seems normal, but ADC task get no time. An obvious solution - is to use DMA. Can I use DMA with STM32Duino? Any help appreciated.