AD9833 waveform generator

Feb 26, 2025 Last reply: 1 year ago 3 Replies

Did anyone successfully use the AD9833 waveform generator chip? Was there anything dodgy in the serial data interface? I can't seem to make it behave. Even the reset command does different things on successive writes.



The serial interface signals look fine on the scope, but the chip refuses to comply. I randomly get low-level sine-like output, or full 5V swing square waves, or just a flat 340mV, but nothing like what I'm actually trying to obtain.



Jeroen Belleman


We haven't used that chip, but ADI does totally bizarre digital parts of otherwise excellent analog ICs.

One chip has an SPI interface where one sends an SPI command to tell the chip which clock edge that the SPI interface uses.

You could get the eval board and scope it. Good luck asking for actual support.

What controller are you trying to use the AD9833 with? A quick Google search finds plenty of drivers and libraries for various micros.

Peter

I'm just bit-banging it from an ATtiny2313.

Prompted by your suggestion, I perused some code samples on the web, and I do basically the same thing. The devil is in the details though.

Thanks, Jeroen Belleman

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required