Pages: [1]   Go Down
Author Topic: Maximum speed for DAC's  (Read 1598 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I wondering if is possible to use a DAC of Arduino2 as "arbitrary" waveform generator.
I imagine is possible to simply "write" a numeric value (a vector of values from a file for example), isn't it? Which is the maximum rate?

Instead, using the standard Arduino Library, what is the maximum frequency?

Thank you very much

Davide 
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27418
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What is "Arduino2"?
I think best performance may be achieved  with SPI data sent to an external DAC.
Default data rate is 4 MHz; actual data rate will depend on how much processing your code does between messages that are sent out, and your method of controlling the chip select line.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

St. Leonards-on-Sea, E. Sussex, UK.
Offline Offline
Sr. Member
****
Karma: 2
Posts: 301
Ancient developer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

He probably means Due - isn't that Italian for 2?
Logged

Leon Heller
G1HSM

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sorry for the late.... and thank you to CrossRoads for the suggestions.

Yes, Due in Italian means 2.

Also if I can obtain the best performance in terms of rate with an external Dac I would like to use one of the two internal DACs of ArduinoDue even with a low rate.


Logged

Pages: [1]   Go Up
Jump to: