How to use ADC both in external triggered and regular conversion mode?
I am using STM32F031 family microcontroller and want to configure the ADC.
My application requires current sensing and voltage sensing. For critical measurement like current during PWM ON time, I am using the ADC in external trigger mode, triggered by the PWM timer channel.
However, for voltage sensing, I do not want the ADC to be externally triggered during the PWM ON time, instead, want to use it in regular conversion mode.
How can I achieve this, since I cannot see an option to combine both triggered and regular conversion modes of ADC? Any inputs will be helpful.
Regards,
GD