On-the-Fly DDS Synthesis Meets Port IO on Teensy 4.1

StanfordEE

Well-known member
Friends,
Here is my latest tutorial, which brings on-the-fly DDS synthesis (16-bit) to port IO on the Teensy 4.1. It can go surprisingly fast, and through careful testing, I show that the arm_sin_q31() function is the fastest way to compute the sample values and has no time jitter. After introducing the arm library, and noting a GCC compiler quirk along the way, a full DDS synthesizer is demonstrated with the LTC1597 16-bit CMOS DAC and the DAC8512 12-bit, voltage-out DAC to set the amplitude on-the-fly by hardware (prior tutorial on PCM5102A used on-the-fly math amplitude control instead). I walk through a typical reconstruction filter design flow that isn't overkill in the sense that in-band spurs usually set the spur-free dynamic range (SFDR) for such a circuit

I found this a lot of fun to put together, and another demonstration of the power of the Teensy 4.1!

Happy synthesizing!
Greg

On-the-Fly DDS with Parallel IO
 
Back
Top