Arduino Due Timer Interrupts How To?

Hello, I am trying to create arbitrary waveforms from the Arduino Due using an external DAC (DAC8574 to be exact). I was planning to have the waveforms sampled at a constant rate of around 16K SPS. I would therefore like to setup a timer interrupt so that every 62.5uS (or so) I can have the Arduino use the I2C bus to send the next value for the DAC to output. I have found very little explanatory information on how to do timer interrupts on the Due and really need some help on this front.

https://github.com/antodom/tc_lib

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.