Question
STM32F4 AD9833 SPI
Posted on November 02, 2014 at 11:38
Hello,
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:http://www.ebay.com/itm/like/281440408871Datasheet of AD9833:http://www.analog.com/static/imported-files/data_sheets/AD9833.pdfNow, 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:https://drive.google.com/file/d/0B30BBdr7Hh3MZUlidG9JMmZrQzA/view?usp=sharingThank so much for the help! #stm32f4 #discovery #spi