I've pretty much copied the UG-272 schematic and made a board up, but when testing I just get a static 300mV output.
On power up there's 300mV, drops down to about 100mV, then down to 0V and back to 300mV.
I've followed the AN-1070 and followed their basic example to create a 400Hz sine wave. I'm using CCS compiler on a dspic33, below are some snip-its:
// SPI Config
#USE SPI (DI=PIN_F7, DO=PIN_F8, CLK=PIN_F6, ENABLE=PIN_B2, MSB_FIRST, STREAM=AD9833, ENABLE_ACTIVE=0, MODE=1, BAUD=400000, BITS=16)
// setup sinewave
spi_xfer(AD9833, 0x2100, 16); delay_ms(2000); spi_xfer(AD9833, 0x50C7, 16); delay_ms(200); spi_xfer(AD9833, 0x4000, 16); delay_ms(200); spi_xfer(AD9833, 0xC000, 16); delay_ms(200); spi_xfer(AD9833, 0x2000, 16);
Here's my schematic, my oscillator is 16MHz so I'm not expecting to get 400Hz as per the app note. Oscillator running fine, 3V3 present and I've examined the SPI data which is correct, the only thing left to try is replace the IC, any ideas what's wrong anyone please?
I found on the Eval board they had a 10nF cap on the output, I had 100nF, removed this and checked output, then I had a 600mV signal oscillating, but not sine wave, put the 10nF on and now 350mV flat again! Included the layout for ref too.