🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

How to use DMA config and dma enable option with STM32

User: "MD Monzur Murshed"
Altair Community Member
Updated by MD Monzur Murshed

How can I use DMA config and DMA enable option with STM32 . coude you Plsease any one share  detail dcumentation  and with multiple  real  example of implementation of  DMA config and DMA enable option with STM32.

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "sreejithmnair"
    Altair Employee
    Updated by sreejithmnair

    Hi Monzur,

    Attached one STM32F334R8 DMA Interrupt example. 

    Like any other Interrupt service routine, You write your logic(read/write) inside a compound block and enable the the compound block with DMA channel interrupt. Memory access call back will be executed as soon as the interrupt triggers.

    In the attached example.

    - Initialize the ADC1 and enabled it 

    - Triggered the ADC using PWM1

    - ADC result captured inside DMA Interrupt call back.

    - Updated the monitor buffer with result.

    I will share you more example with detailed step soon.

    Regards

    Sreejith