Skip to main content
askari.nima
Associate III
February 25, 2016
Question

Stm32 dma question

  • February 25, 2016
  • 1 reply
  • 468 views
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 ?
    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    February 25, 2016
    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..