Skip to main content
Visitor II
May 16, 2024
Question

STM32F103 ADC scan mode different HighThreshold values for different channels

  • May 16, 2024
  • 1 reply
  • 701 views

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

    This topic has been closed for replies.

    1 reply

    ST Employee
    May 16, 2024

    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é