cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32 dma question

askari.nima
Associate II
Posted on February 25, 2016 at 08:39

I use stm32f407 microcontroller and  I have a problem with spi send DMA mode.

I use send data to vs1011 chip . when I use send data without DMA , Play sound wihout any problem. but when I enable DMA , vs1011 chip can not play sound , I think When send 32 byte data with DMA , all 32 byte data send without delay between bytes.

how can I put some delay between each byte on 32 byte data ?
1 REPLY 1
Posted on February 25, 2016 at 12:33

You'd have to trigger the DMA with a timer set to a suitable pace.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..