cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get value using ADC interrupt continuously without DMA using stm32f7

Magnet
Associate II

When I press Reset B2 button on the Nucleo ADC takes value, otherwise it waits! 

anyone helpp??

2 REPLIES 2
S.Ma
Principal

change this

ADC_HandleStruct.Init.ExternalTrigConv			=	ADC_SOFTWARE_START;

Make a timer which output a PWM channel and connect it to the ADC trigger input pin and use it as external trigger for an ADC conversion repeteadly. Every conversion complete, grab the value and fill a buffer (SW DMA).

Hi,

I changed the config as you said and I triggered the input pin manually and/or changed potantiometer (because I dont have ability to use PWM yet).

but It is not working.. any missing of Timer or another?