Any reviews of the AD9833?
SSteve
Posts: 808
I'm looking at using an AD9833 in a project. It looks great, but I was wondering if anyone has experience with one. It looks like a 1MHz clock will get me to 500kHz with .004Hz resolution. That would be more than ideal for what I'm working on.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
Comments
I'm familiar with some similar DDS's from Analog devices. They work great, but you need to understand the phase accumulation and jitter to really understand if it will work in your application. I am assuming you are after a sine/triangle output rather than square wave, because if you wanted square wave the prop itself can already do a similar thing with any one of its 16 cog counters, which have 32 bit phase accumulation as opposed to the AD9833's 28 bits
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
Post Edited (Leon) : 3/18/2010 2:21:10 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
be very chunky.
Go to Analog Devices site at http://designtools.analog.com/dtDDSWeb/dtDDSMain.aspx
and enter in some values for the AD9833 and you can see the analog wave produced.
I also attached an article explaining DDS.
I have a couple of chips myself and plan on playing with them in the near future.
Assuming I can solder successfully the tiny chip Ha.
Tom
I'm probably not going much above 30kHz (possibly 45kHz), so I should be ok. But with that awesome tool I'll know for sure. Thanks so much for the link.
Cool. I'll do some reading.
Well, there's this: www.ezprototypes.com/DipAdaptersMain.php and this: www.schmartboard.com/index.asp?page=products_so&id=60. Maybe one of those will help.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Leon Heller
Amateur radio callsign: G1HSM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
Been doing the same here. For me interfacing the AD9833·is a mule learning project.
Long term I will turn it into a test bench signal generator but allong the way I will
use it to learn propeller concepts and programming. Like you I used a cog counter to
generate the refrence clock, which I did on purpose to learn cog counters and because
I·figured it had jitter and I wanted to see what it looked like. Originally I generated 25MHZ
and I had to use trigger·hold off and bandwidth limit to even get a stable trace. Then I changed
to 20MHZ because that made frqa = to 2^28 and even power of 2 and the stability was·significantly
better. All a learning experiment. For the initial tests·I am just feeding it a blizzerd of fixed values.
That was also a learning event doing shift out and timing of the Fsync signal.
I am testing a driver I wrote and a spin program to put up a simple menu on the Parallax Serial Terminal
to·get away from the hand·building of data for it.
Here are some pics, took two chips for me to get it soldered, first one I broke off a pin. All part of experimenting
and learning.
Tom
I used the SPI_Spin object to do my bit-banging for me. I've attached my AD9833.spin object in case you want to take a look. I was just working on getting a sine wave as a proof of concept. I didn't try to provide access to every capability of the chip.
I'm lucky: a co-worker soldered the chip onto the carrier for me. I try to stick to software.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
OS-X: because making Unix user-friendly was easier than debugging Windows
links:
My band's website
Our album on the iTunes Music Store
Thank's for the info, when I get my code cleaned up a bit I will share it.
Right now it is a mix of what works and debug statements.
Are you also following the thread ultrasonic sinewaves which is a sine wave
only DDS. You say you only want a sine wave.
http://forums.parallax.com/showthread.php?p=895566
http://forums.parallax.com/showthread.php?p=898765
Tom