Help with Dual ADC simultaneous, No DMA, ADC1 with 2 injected channels, ADC 2 with 2 injected channels
I need to have ADC1 and ADC2 run sumultaneously. Each ADC has 2 injected channels. I want to start the ADC once and then have it constantly run converting the 4 injected channels, putting the result in the 4 associated JDR registers and raising a flag in the ADC conversion complete interrupt to tell my main program that data is available for me to read from the 4 JDR registers.
Is that possible, if so can someone kindly provide example code?
The ADC on this uC is so complicated, I can not make heads or tails of anything.
