Go Down

Topic: sampling frequency ADC - Arduino DUE (Read 326 times) previous topic - next topic

sagar89

can anyone please tell me what is the sampling frequency of Arduino DUE ?

for example, Arduino UNO has sampling frequency [16MHz/(prescalar*no.of clock cycles per instruction)]
I referred to the datasheet and have no idea how many clock cycles per instruction it will take in DUE...

Thanks...

Magician

1 MSPS.  20 cycles per conversion at 20 MHz max.

MarkT

To get maximum sampling rate you'll probably have to set up a timer and DMA channel to
automatically dump values into a memory buffer.  however analogRead() only takes a
couple of us or so (well at the last time i checked).  For audio sampling rates like 48kSPS
or 96kSPS an interrupt-driven conversion seems to work OK.
[ I won't respond to messages, use the forum please ]


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