AnsweredAssumed Answered

Enabling SPI DMA transfer in software

Question asked by karpavicius.linas on Nov 11, 2014
Hello,  i have strange problem that i can't fix.

Idea is simple, when i have data i need, i should re-enable DMA transfer for sending and receiving data in DMA_Mode_normal.

In reference manual, it says, that i should simply enable DMA stream, and DMA will start to copy data from address position as many times as it is configured inside DMA (asumption)
DMA_Cmd(DMA1_Stream5, ENABLE);
DMA_Cmd(DMA1_Stream6, ENABLE);
This does work for my DAC DMA transfer, but somehow it does not work for SPI DMA data transfer, any idea why ?

Right now i just made SPI as slow as possible, and using Circular buffer, it works, but i don't want to send data if i know, i don't change it,