Hello,
I had the same problem last week. In order to track the ADC sampling accurately, I wrote a kind of spying software that waits on ADC status register STRT (Regular channel Start flag), toggles a debug IO, waits for EOC (End of conversion flag) and toggles back the debug IO because I assumed that the ADC status register was still updated no matter what kind of mode it was running in. Can anyone confirm this fact ?
As some other contributors here, I could not find any combination of registers to perform this task (which is mandatory in the application I am working on).
As for now, I am tackling other issues but I will have to go back to this topic.
If you have any comment, please do.