Hi Paul,
There are a number of YouTube videos out there that show the AD9833 working well with an Arduino. I've been able to successfully, smoothly, and repeatedly able to get the AD9833 to run on a Nano using the AD9833.h library.
However, when I apply that same schematic to a Teensy 3.2 and recompile the same code for the Teensy3.2, I get mostly squarewave garbage. I use a pot to adjust the frequency. I can get one frequency at 3.3kHz. See attached .ino file. The library file is also attached.
I was able to implement your direct-register address sketch and it works as "advertised" - I do get 1.00kHz out. Thank you!
Now for the questions:
1. Are you aware of any compatibility issues between the Teensy and the AD9833.h library?
2. Can you suggest things to try to get this sketch (that uses the AD9833.h library) to work with a Teensy?
Thanks,
Dave
There are a number of YouTube videos out there that show the AD9833 working well with an Arduino. I've been able to successfully, smoothly, and repeatedly able to get the AD9833 to run on a Nano using the AD9833.h library.
However, when I apply that same schematic to a Teensy 3.2 and recompile the same code for the Teensy3.2, I get mostly squarewave garbage. I use a pot to adjust the frequency. I can get one frequency at 3.3kHz. See attached .ino file. The library file is also attached.
I was able to implement your direct-register address sketch and it works as "advertised" - I do get 1.00kHz out. Thank you!
Now for the questions:
1. Are you aware of any compatibility issues between the Teensy and the AD9833.h library?
2. Can you suggest things to try to get this sketch (that uses the AD9833.h library) to work with a Teensy?
Thanks,
Dave