Hello
i have a problem with my arduino Due sampling rate, when i read the ADC_MR register i get (0x10380200) so the sampling rate should (40uS) but when i run this code below i get (5uS per sample) so where is the problem here?
t=micros();
SensorVAL = analogRead(sensorPin);
act=micros()-t;
Serial.println(SensorVAL );
Serial.println(act);