ADC analog watch-dog interrupt
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-18 7:43 AM
Posted on March 18, 2016 at 15:43
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 ?ThanksPhilippe
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2016-03-30 8:56 AM
Posted on March 30, 2016 at 17:56
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.
