2015-09-28 04:05 AM
When ADC threshold is reached ADCy_AWDx_OUT is set and stays high as long as first conversion is between low and high threshold levels.
Where can I read this value? Is possible to configure interrupt for this transitions between low and high state at ADCy_AWDx_OUT ? Thanks2015-09-28 08:00 AM
Care to reveal which processor ?
Cheers, Hal2015-09-28 01:23 PM
STM32F303
I already found that it is related only to advanced timers as TIM1 and TIM8. I would like to achieve an interrupt only once when first ADC result is outside programmed threshold. ADCy_AWDx_OUT allowed this (it become high at first conversion which is higher than threshold and then stays high), but problem is because I get more than one interrupt because of noise.2015-09-30 07:10 AM
I believe you should monitor the status of AWD1, AWD2 or AWD3 flag in the ADC Interrupt & Status Register. It doesn't reset until you reset it with software.
Cheers, Hal