F407 & SDIO & DMA on official core
F407 & SDIO & DMA on official core
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.
Re: F407 & SDIO & DMA on official core
You can but you have to implement it yourself.
You have an example in the project section.
You have an example in the project section.
Re: F407 & SDIO & DMA on official core
Thanks for a suggestion. Can you clarify, that "project" section you are talking about?
Re: F407 & SDIO & DMA on official core
Sorry. It is code snippet. viewtopic.php?t=110