Skip to main content
Ahmed Nabih
Associate II
July 23, 2022
Solved

What is the DMA peripheral flow control and when to use it? and can be used in UART Tx?

  • July 23, 2022
  • 1 reply
  • 1879 views

I am using STM32F411 and SDK v1.27.1.

I need to transmit data using DMA in UART

    This topic has been closed for replies.
    Best answer by waclawek.jan

    > What is the DMA peripheral flow control?

    0693W00000QLzVBQA1.png> and can be used in UART Tx?

    No. Only SDIO can perform as peripheral flow controller. Read the Flow controller subchapter of DMA chapter in RM.

    > I need to transmit data using DMA in UART

    Read the UART chapter in RM. Set up an UART and transmit using polling. If that works, read DMA chapter in RM, enable DMA in UART and set up the respective Stream in DMA.

    JW

    1 reply

    waclawek.jan
    waclawek.janBest answer
    Super User
    July 23, 2022

    > What is the DMA peripheral flow control?

    0693W00000QLzVBQA1.png> and can be used in UART Tx?

    No. Only SDIO can perform as peripheral flow controller. Read the Flow controller subchapter of DMA chapter in RM.

    > I need to transmit data using DMA in UART

    Read the UART chapter in RM. Set up an UART and transmit using polling. If that works, read DMA chapter in RM, enable DMA in UART and set up the respective Stream in DMA.

    JW