I am having trouble controlling ADC interrupt routine
I am using the ADC on an stmf030 nucleo board
I am having trouble with controlling the interrupts.
I am scanning two channels, have eoc & eos enabled to cause an interrupt
I am using software trigger.
My main issue is:
The ADC ISR keeps firing away without waiting for a trigger. This was
confirmed using a counter in the ISR that increments each time the routine is run.
Software trigger was confirmed by the function LL_ADC_REG_GetTriggerSource(ADC1).
Intially I trigger the ADC in an init routine to get the first conversion started.
Anyone have any ideas, I've spent a lot of time with this, and I should of figured it out by now.
Thanks