[quote:4aa2b62f61]But I would like to take 2nd channel sample a short time after 1st channel, and then treat them as a differential voltage measurement. [/quote:4aa2b62f61]
That's not a good idea... You have to switch the MUX register and there will be lot of delay. See the manual on switching MUX. Or, look for an Xmega that has two separate ADCs (there are several). Then you don't need to switch MUX.
It is diificult to find out if there are Megas with two ADCs since the Atmel selection guides are just listing "Channels" and generally those are MUXed channels. My research ended with the conclusion that Megas just have one (muxed) ADC.
Regards, Meister
↧