Pages: [1]   Go Down
Author Topic: dac/adc/usb example might be interesting read  (Read 1118 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 2
Posts: 109
ArduiYES!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found an example "sketch" for a sam3s,
but I feel the code is instructive for the Due as well.
I do not expect this to run on a  Due.

it shows the dac and adc being driven by a timer, and consuming/producing
arrays of data by using the PMC dma.
for me this solved how to run DAC and ADC in parallel.

http://www.at91.com/component/resource/article/Academy/43-Hands-on/1197-sam3s-ek-phone-demo.html
just use the zip file, the separate pdf is the wrong one.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 17
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This can be done also on the Due but it is a bit touchy regarding hardware. You can be inspired by the SAM3S-EK schematics to reproduce the system on a proto shield.

As far as I know, SAM3X and SAM3S share a very similar ADC and DAC... ;-)
Logged

Pages: [1]   Go Up
Jump to: