cancel
Showing results for 
Search instead for 
Did you mean: 

ADC conversion triggering with the falling/rising edge of the PWM signal

hesam moshiri
Associate III
Posted on July 08, 2018 at 10:35

Hi.

I want to generate a PWM pulse which might vary in terms of its frequency and duty cycle. It's easy to make it But I want to start reading ADC values using DMA (for example 100 samples) just after the pulse finished or started (falling edge/rising edge of the PWM signal). 

is it possible to make it?

1 REPLY 1

What STM32 part?

You can use a secondary or tertiary channel of TIM to trigger the ADC

Or perhaps master/slave configure them

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