I use device MK64FN1M0vDC12.
I want to set ADC triggered by timer and sequential conversion.
I want the ADC convert several channel each trigger.
it can be done?
Hi @AsafTv
Hope you are well and many thank for your patience.
Regarding your question about if it is possible to do an ADC conversion every trigger by the timer, yes it is possible, it is just necessary to have some callbacks in your code, and when the timer is getting into the ISR you call the first ADC channel conversion and when this one is done, you call the 2nd ADC channel conversion function, and so on, this is only one option, but there are other.
Also I see that you opened another thread in out community about DMA getting triggered by the end of ADC conversion, for this case, essentially I can suggest you the same method as before with callback because is a very effective way to have some functions running immediately after an ADC conversion flag is activated.
Hope the information was helpful, please let me know if you have more questions. I will appreciate it.
Sincerely,
Pablo Avalos.