cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 ADC scan mode different HighThreshold values for different channels

BBurg
Associate

Hello,

I use the ADC1 with 5 channels in scan mode to obsurve different voltages.

Is it possible to define different AnalogWDGConfig.HighThreshold values for the channels?

Thanks,

Birgit

1 REPLY 1
GwenoleB
ST Employee

Hello @BBurg,

Unfortunately, Analog Watchdog is linked to ADC instance and could be configure for a single channel only or all channels in the same time.

There is probably a way to change the High Threshold on-the-fly based on DMA triggered by ADC but it has to be tested and timing can be a constraint.
I could have a look on this proposal.

 

Best Regards,

Gwénolé