I am trying to make Timer 1 trigger ADC 1 in injected mode to sample 4 channels but I can’t get it to work. The Timer interrupt is running but the ADC interrupt is only generated 1 time. I have tried to start the ADC from the timer interrupt with SW and that works but the sampling time varies and I need defined sampling time. I am using timer 1 CC4 signal to trigger the ADC. The registers in timer 1 and ADC 1 looks ok but it does not work. I am running Arduino framework and the device is STM32F103C8T6. Any idea where I can find help? My SW now looks like crap after all trials and changes.
Regards