Go Down

Topic: CTC and ADC autotrigger (Read 434 times) previous topic - next topic

memotick

Is it possible to use an interrupt from TIMER1_COMPA_vect as an autotrigger source for ADC conversion?

According to the spec, it appears that only COMPB can be used to auto trigger the ADC.  Am I missing something?

If the autotrigger isn't possible, I can manually trigger a conversion I guess.

I am using UNO btw

Coding Badly

Is it possible to use an interrupt from TIMER1_COMPA_vect as an autotrigger source for ADC conversion?


Doesn't look like it.

Quote
If the autotrigger isn't possible, I can manually trigger a conversion I guess.


As long as your application can tolerate the latency.

Magician

Run two channel in parallel, loading same value to A and B. In this case channel A keep frequency  , and B triggers ADC . Click on a link below, I used this technics in a few latest blogs, there is a code for UNO.

Go Up