stm32h743 adc1 eos flag will not be set until I read the DR
Hi all,
recently I am trying to use ADC to sample 4 channel current signals. Since there is no critical time requirement, I plan to use scan mode. In my opinion, the ADC will automatically complete four channel signal conversion stuff, then set the EOS flag, which can lead to an interrupt. afterwards, I can read all four channel conversion result in the interrupt service routine.
but when I have finish the design, and then try to debug, I found that, the EOS interrupt will never be enterred. Then I try a lot of methods, and finally found that, if I read the DR some time after I start the ADC conversion, then the interrupt can be enterred ! Besides, I found that, I can not even get the EOS flag, if I just poll for it forever!
I suspect that, this could be a STM32H743 chip logic issue, because, I have use the similar method for ADC sampling with STM32F4 series.
Can anyone give me some hints? thanks a lot!
