@KurtE, I've tried using the ADClite files that you previously shared. I did manage to switch between the two ADCs. However, somehow the reading on ADC0 seems to be closer to the waveform: less noise, and periodic. When...
Thanks @KurtE. I'll give this a go. For analogRead() statements for two pins with 1 average and 10 bits of resolution, it takes about 10us to complete. Let's see if using separate ADCs makes any difference.
Based on the manual, 0.85 us is possible. Also, analogReadAveraging(X), where X<4, should turn off hardware averaging, is that correct?
void analogReadAveraging(unsigned int num)
{
uint32_t mode, mode1;
...
Thanks. I'm guessing this is because of the sampling rate limitation? How about for much lower frequencies? Is there a way to assign analog pins to specific ADC? I am yet to try Bumbler's T4 ADC Library V0. Maybe I'll...
Hi KurtE,
Any idea how to assign pins to a particular ADC, similar to analogRead(XX, ADC_0/ADC_1) in adc.h? I am trying to sample a 15 MHz sine wave using two analog pins and I want them to happen simultaneously. If...