Skip to main content
danielviksporre9
Associate II
April 14, 2010
Question

Seting up DMA with STM32F10x_StdPeriph_Lib_V3.2.0 ?

  • April 14, 2010
  • 2 replies
  • 728 views
Posted on April 14, 2010 at 16:14

Seting up DMA with STM32F10x_StdPeriph_Lib_V3.2.0 ?

    This topic has been closed for replies.

    2 replies

    danielviksporre9
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:47

    Does any one know if there is any example of DMA with circular buffer, and with interrupt on the full and half full flag? I can't find any...

    danielviksporre9
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 13:47

    I guess that I found some of the answers myself. Have I got this right?

    /* This will set it to it's defaults, as it were set after a reset */

    DMA_DeInit(DMA1_Channel4);  /* DMA1 channel4 */

    /* This will enable the clock for DMA1 */

    RCC_AHBPeriphClockCmd(RCC_AHBPeriph_DMA1, ENABLE);