Skip to main content
Visitor II
November 27, 2019
Question

Analog window watchdog filter configuration problem

  • November 27, 2019
  • 1 reply
  • 853 views

When using STM32G431RBT6, Only if the filter is configured to 0 can the interrupt be entered normally, otherwise the interrupt is always not entered. AnalogWDGConfig.FilteringConfig = ADC_AWD_FILTERING_NONE.

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 27, 2019

    Hello,

    First please update your nickname to get rid of this Userxxxxx.

    Then, could you please let me know which analog watchdog are you configuring?

    If it is not the analog watchdog 1, then it is normal to use only the value ADC_AWD_FILTERING_NONE.

    In fact, the  Analog watchdog filtering feature is available only with AWD1. That is why AWDFILT bit (Analog watchdog filtering parameter) is available only for ADC_TR1 (relative to analog watchdog 1).

    -Amel

    Visitor II
    November 27, 2019

    Hello, Amel NASRI

    Thanks for your suggestion and reply.I have configured an analog watchdog 1. However, the filter can only be configured to be 0 so that it can work properly, otherwise the interrupt will not be entered (no interrupt flags will be generated).