Very helpful. Was finally able to get the device working. Not really a while lot of useful info out there on this device, save this video and the datasheet. Thank you for taking the time.
Glad you got your device working. There seem to be a lot of sketches out there from others but the best way to learn is do it yourself. That was the approach I took when I set out to work with this chip. This video was about sharing what I learned. Thanks for the comment.
1- you can use spi.transfer16 instead of two spi.transfer because the AD9834 can receive 16 bits in a single transmission. 2- check use the proper spi channel of your microcontroller, instead of use the terminology vspi hspi fspi, use the number of your channel available, 0,1,2 or 3.
I didn’t post this sketch as it was mainly just a test exercise. It’s a very basic sketch. You should be able to get the code lines by just watching the video. You’ll have to jot them down or maybe take some screen shots.
Cool stuff. Thanks for taking the time to go through all the details of initializing the chip. Very helpful. 👍
Very helpful. Was finally able to get the device working. Not really a while lot of useful info out there on this device, save this video and the datasheet. Thank you for taking the time.
Glad you got your device working. There seem to be a lot of sketches out there from others but the best way to learn is do it yourself. That was the approach I took when I set out to work with this chip. This video was about sharing what I learned. Thanks for the comment.
1- you can use spi.transfer16 instead of two spi.transfer because the AD9834 can receive 16 bits in a single transmission.
2- check use the proper spi channel of your microcontroller, instead of use the terminology vspi hspi fspi, use the number of your channel available, 0,1,2 or 3.
Very useful walkthrough ...cheers.
Where can I find this sketch? This is the only thing available that shows programming with the IDE. Any help would be appreciated
I didn’t post this sketch as it was mainly just a test exercise. It’s a very basic sketch. You should be able to get the code lines by just watching the video. You’ll have to jot them down or maybe take some screen shots.
Thanks for all, but for you and others , is so hard to let us to see the .ino source?