cancel
Showing results for 
Search instead for 
Did you mean: 

ADC

ishu
Associate II

I want to read  voltage of an  analog waveform  of 1khz after 50us of every rising edge and skip other reading of every cycle how to configure adc in stm32 if anyone have code for this please help.. 

1 REPLY 1
Sarra.S
ST Employee

Hello @ishu, welcome to ST Community,

Which stm32 are you using?

First, you'll need to use a TIM update event to trig the ADC value capture

once done, if you're using more than ADC channel, you can use DMA following this video

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.