Skip to main content
Visitor II
October 10, 2024
Solved

DMA mapping for STM32F407 series

  • October 10, 2024
  • 2 replies
  • 2857 views

What is the meaning of These requests are available on STM32F42xxx and STM32F43xxx only for DMA1 and These requests are available on STM32F42xxx and STM32F43xxx for DMA2.
What should ı use for the mapping ?

tinkerer_of_universe_0-1728549436946.png

 

    This topic has been closed for replies.
    Best answer by mƎALLEm

    @tinkerer_of_universe wrote:

    Which channel should I choose for transferring CDR register data?


    CDR on which ADC? as I said, each one has its channel and stream as shown in the table.

     


    @tinkerer_of_universe wrote:

    Does this sentence have no relevance to STM32F407
    These requests are available on STM32F42xxx and STM32F43xxx only for DMA1 and These requests are available on STM32F42xxx and STM32F43xxx for DMA2.


    This note is related to some peripheral mappings:

    SofLit_0-1728551169495.png

    So these requests are available only on STM32F42xxx and STM32F43xxx products.

    2 replies

    Super User
    October 10, 2024

    For some reason, the forum can't display your image:

    AndrewNeil_0-1728549235630.png

    Note that you can just paste straight into the post so that the image is immediately visible.

    Visitor II
    October 10, 2024

    Thank you ı fix the image

     

    Technical Moderator
    October 10, 2024

    Hell @tinkerer_of_universe and welcome to the community,

    For example, if you want to trigger DMA transfer using ADC3 end of conversion, you need to select Stream 0 / Channel 2.

    SofLit_1-1728550074683.png

    Example from HAL:

     

    hdma_adc.Instance = DMA2_Stream0;
    hdma_adc.Init.Channel = DMA_CHANNEL_2;

     

    For more details, please review the AN4031  "Using the STM32F2, STM32F4 and STM32F7 Series".
    DMA controller 

    Figure 1. DMA block diagram

    SofLit_0-1728550326200.png

    Visitor II
    October 10, 2024

    Which channel should I choose for transferring CDR register data?
    also
    Does this sentence have no relevance to STM32F407
    These requests are available on STM32F42xxx and STM32F43xxx only for DMA1 and These requests are available on STM32F42xxx and STM32F43xxx for DMA2.

    mƎALLEmAnswer
    Technical Moderator
    October 10, 2024

    @tinkerer_of_universe wrote:

    Which channel should I choose for transferring CDR register data?


    CDR on which ADC? as I said, each one has its channel and stream as shown in the table.

     


    @tinkerer_of_universe wrote:

    Does this sentence have no relevance to STM32F407
    These requests are available on STM32F42xxx and STM32F43xxx only for DMA1 and These requests are available on STM32F42xxx and STM32F43xxx for DMA2.


    This note is related to some peripheral mappings:

    SofLit_0-1728551169495.png

    So these requests are available only on STM32F42xxx and STM32F43xxx products.