cancel
Showing results for 
Search instead for 
Did you mean: 

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

srinath mallikarjunan
Associate II

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 ?

1 REPLY 1

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
Up vote any posts that you find helpful, it shows what's working..