Multiple ADC Channels (using registers)
Hello all, I am currently working on a project in which I need to sample 5 ADC channels every 50 ms. As of now, I am trying to use TIM2's TRGO (interrupt triggered every 50 ms) to trigger the conversion of a regular sequence of 5 ADC channels (PA0 - PA4) and save these values by reading the ADC's data register in the ADC IRQ (triggered by the EOC interrupt flag). For some reason, I cannot figure out why the EOC interrupt is only triggered once, at the beginning of the program. If anyone could help, I would greatly appreciate it.
I will post my code if needed (I am using the Keil uVision 5 IDE). Thanks in advance.
