Syncronized analogRead

I need to make the analog measurement of two pins whose content is synchronized. The reference about analogRead() function says that each call takes about 100 us. With this delay, I can not do it sequentially because the syncronization is crucial.

There's a way to tell the ATMega to make two analogRead simultaneously?

If not, how mitigate this situation? (e.g. do samples with higher frequency.)

Thank you!

PS: I am new here, so I hope that the topic is in the right forum.

The processor has a single analog-to-digital converter. There is simply no way to perform two (or more) simultaneous analogReads.

You have several choices...

• Reduce the time between the two reads. According to the datasheet, there is a point at which the data quality is diminished.

• Add a second processor. Synchronizing the two and then sharing the data is fairly simple.

• Add one or more external analog-to-digital converters.