Getting started with the DUE (Part 1)

Part [-1012

Back to green horn status!

Form my point of vue, the DUE board seems to open the way to real DSP, audio applications, thanks to its 32 bits architecture, memory access performances and speeeeed!

So that It will not be a big surprise if my first steps in the DUE world are in the direction of DSP. First things first, I tried to play with ADC and DAC. I did a little reading at the revised reference material, specially analogfRead(), analogWrite(), and at the newly introduced analogReadResolution() and analogWriteResolution(). Then came the time for playing with hardware and the big question marks!?!?

On my first attempts to generate a DC signal out of one of the DAC ports, I noticed that they were performing like the outputs were not rail to rail! I checked that on a scope which confirmed that… Finally, I checked the “DUE forum” and found the answer. The full explanation can be found in the “SAM3S Series” Data sheet, § “12-Bit DAC Characteristics”



The output voltatge ranges from 1/6 to 5/6 of the reference voltage! So that we will have to map the output value to the corresponding range!

Next post on same subject

One Comment

  1. TheKitty says:

    I have been working on Arduino projects and have moved to the Due to see how the power of a stronger processor may be used. In working with a person on Google+, I mentioned he might want to use an FFT library which led me to search for them. Then I thought Due would be perfect for FFT but most Arduino implementations use assembly except yours. Now I see you are experimenting with Due also, wonderful! I look forward to your posts as you experiment with this board. As for me I’d really like to connect an Adafruit amplified electret to a Due, get the FFT, and display the frequency domain on an Adafruit LCD. Regards, Mike

Leave a Reply

You must be logged in to post a comment.