• AD9833 waveform generator

    From Jeroen Belleman@21:1/5 to All on Wed Feb 26 15:47:19 2025
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From john larkin@21:1/5 to jeroen@nospam.please on Wed Feb 26 07:37:34 2025
    On Wed, 26 Feb 2025 15:47:19 +0100, Jeroen Belleman
    <jeroen@nospam.please> wrote:

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeroen Belleman@21:1/5 to Pete on Thu Feb 27 12:10:10 2025
    On 2/27/25 09:17, Pete wrote:
    On 27/02/2025 1:47 am, Jeroen Belleman wrote:
    Did anyone successfully use the AD9833 waveform generator
    chip?

    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pete@21:1/5 to Jeroen Belleman on Thu Feb 27 19:17:52 2025
    On 27/02/2025 1:47 am, Jeroen Belleman wrote:
    Did anyone successfully use the AD9833 waveform generator
    chip?

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

    Peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)