Go Down

Topic: CTC and ADC autotrigger (Read 449 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy