Skip to main content
srinath mallikarjunan
Associate II
September 25, 2018
Question

ADC trigger with TIM1 CCR4 and transfer results to RAM using DMA

  • September 25, 2018
  • 1 reply
  • 611 views

I am working with STM32F303CB and want to use Standard Peripheral Library only.

How do i achieve the above ?

After DMA controller has transferred data to RAM, i want it to generate an interrupt.

How do i achieve this ?

    This topic has been closed for replies.

    1 reply

    Tesla DeLorean
    Guru
    September 25, 2018

    The Reference Manual should indicate the triggering sources

    Should be ADC+DMA examples in the SPL trees, review and adapt those.

    I've posted similar examples to the forum in the past.

    You'd configure the DMA to general HT and/or TC interrupts, and add an IRQHandler to service the whole, or half the buffer.

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..