News:

;) This forum is the property of Proton software developers

Main Menu

AD9833 SWEEP FREQUENCY SINEWAVE OUTPUT

Started by GDeSantis, May 14, 2023, 04:54 PM

Previous topic - Next topic

GDeSantis

AD9833 SWEEP FREQUENCY SINEWAVE OUTPUT

The attached program uses a PIC16F18323 to control an AD9833 Direct Digital Synthesis (DDS) module via an SPI interface.  The program provides a sweep frequency sinewave output from 1KHz to 2KHz at a fixed sweep rate.

Note that the program alternately switches between Frequency Registers 0 and 1 which is necessary to achieve a "seamless' frequency change.  This technique is also required if the DDS module is used in FSK applications.

Lastly, an Excel file is included in the zip file that shows 14-Bit and 16-bit frequency register values based on the AD9833 using a 25MHz clock.

GDeSantis

The wrong Excel file was included in the posting.  The correct file is attached.

Sorry for any inconvenience this may have created.