AnsweredAssumed Answered

STM32F4 AD9833 SPI

Question asked by hedili.solen on Nov 2, 2014
Latest reply on Sep 29, 2016 by talvar.sulochana

I'm using an STM32F4 discovery board and I'm trying to control the DDS waveform generator chip AD9833 with it. I'm not very experienced with ARM. I have a AD9833 module like in the picture:

Datasheet of AD9833:

Now, I happen to find a program that runs with Arduino, I've tested it and got no problem. I wanted to change that code so it is compatible with STM32F4. I used SPI tutorials and managed to get a successful compile but I do not see the desired signals on the oscilloscope. I used the PA5 and PA7 as the SPI pins for SCK and MOSI and PE3 for the FSYNC. Could you please help with this issue, I really appreciate it. I've put both the Arduino and my code on the zip file which can be downloaded:

Thank so much for the help!