2025-10-02 2:29 PM
The first watchdog successfully generates
/** Configure Analog WatchDog 1
*/
AnalogWDGConfig.WatchdogNumber = ADC_ANALOGWATCHDOG_1;
AnalogWDGConfig.WatchdogMode = ADC_ANALOGWATCHDOG_SINGLE_REG;
AnalogWDGConfig.HighThreshold = 20;
AnalogWDGConfig.LowThreshold = 4;
AnalogWDGConfig.Channel = ADC_CHANNEL_1;
AnalogWDGConfig.ITMode = ENABLE;
if (HAL_ADC_AnalogWDGConfig(&hadc1, &AnalogWDGConfig) != HAL_OK)
{
Error_Handler();
}The second watchdog generates... nothing. When I write out similar code myself for the second watchdog then it starts working. The IOC interface looks like
Solved! Go to Solution.
2025-10-02 3:55 PM
Did you enable it?
2025-10-02 3:55 PM
Did you enable it?
2025-10-03 12:44 AM
Hello @avidroneg
Could you share an ioc in order to further investigate the problem.
KR, Souhaib
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.
2025-10-03 6:42 AM
Thanks very much; that was the issue. I didn't see that "rank" can expand.