Arduino Due DDS w inline assembly and direct register access

Hello arduino-friends,

I was looking for a way to output sin waves and came across this tutorial:

It was a good point to start from and i set up my implementation of DDS on Due, to make it as fast
as I could get it. I’d like to share the result with you. Any kind of feedback is very welcome.

I also added some pictures of the timing i took with my scope, you find a 100khz sin on channel 1 and a toggled pin for the interrupt on channel2, which is set after the interrupt routine is called and cleared after the code is executed.

Good night!

Due_DDS_ASM_FAST.ino (3.84 KB)