2016-03-18 07:43 AM
Hello,
i want to use the analog watch-dog 1 interrupt with the STM32F334.I configure the peripheral with CubeMx.But the interrupt is never serviced. I must enable the EOC or EOS interrupt to get the Analog watch-dog call-back serviced.I just use 1 ADC channel in continous mode (no trigger).If i look at the registers when debugging, the flags for analog watch-dog are correct and the interrupt enable bit is set.I don't know what to do anymore.Is there a example ?ThanksPhilippe2016-03-30 08:56 AM
Hi Philippe,
1- Is the IRQ handler enabled in your stm32f3xx_it.c file?2- Refer to the example STM32Cube_FW_F3_V1.4.0\Projects\STM32F302R8-Nucleo\Examples\ADC\ADC_AnalogWatchdog. It provides a short description of how to use the ADC peripheral to perform conversions with analog watchdog and out-of-window interruptions enabled.You can take this example as start point to make required updates in the project generated with CubeMX for F334.-Mayla-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.