Author Archives: cjpn

Settings for the Arduino DAC

My settings and use of the Arduino DAC are detailed here. Most of the information in these notes is abstracted from the latest SAM3X8E datasheet. In the Atmel datsheet the DAC is described in the Section 44, Digital-to-Analog Converter Controller. … Continue reading

Posted in Arduino | Leave a comment

Output from audioTest program

The plot below shows a recording of the output from the audioTest program. The recording was made using Matlab and the audio data and its FFT plotted. The signal was a single tone of 2640Hz. The data is clean and … Continue reading

Posted in Arduino | Leave a comment

Settings for the Arduino Timers

The SAM3X8e processor has three timer counter modules and each of these has three channels giving nine timer counter channels in all. These channels can be independently programmed to carry out a wide range of different functions. For these experiments … Continue reading

Posted in Arduino | Leave a comment

Testing the Arduino ADC

The ADC is setup as described in the previous document. The code to do this is void adc_setup(void) { pmc_enable_periph_clk(ID_ADC); // start clocking the ADC – not really necessary // as tests show that after reset the ADC clock is … Continue reading

Posted in Arduino | Leave a comment

Settings for the Arduino ADC

My settings and use of the Arduino ADC are detailed here. Most of the information in these notes is abstracted from the latest SAM3X8E datasheet. Many of the connections to the SAM3X8E are mulitplexed, and this is the case for … Continue reading

Posted in Arduino | Leave a comment

Arduino ADC timing again

Continuing on  . . . I spoke to Atmel support and they told me that there is a problem with the TRACKTIM field and its implementation (“there is an issue with how tracking is implemented in the current SAM3X module. … Continue reading

Posted in Arduino | Leave a comment

More on Arduino ADC timing

Continuing on the previous thread … Looking at the timing diagrams in the Atmel SAM3X8e datasheet (Figures 40-2 and 40-3) together with the notes `Analog-to-Digital Converter in the SAM3S4′ for a simlar microntroller, it seems that part of my confusion … Continue reading

Posted in Arduino | Leave a comment