I'm a Flowcode 4.5 user that want to ask some about SPI communication.
I have one DDS chip to generate 400hz sine waves that need 16 bit control via SPI. I have certainly confused to doing comunication DDS AD9833 with the PIC16F877A
what I have done were connect :
Pin RC3 to SCLK
Pin RC5 to SDATA
Pin RE2 as FSYNC (chip select).
I also split the large integer(16 bit) into 2 byte as High_byte and Low_byte in my program so that them could send via SPI.
Ok, here I have attached the following instruction from the application note AN-1070 and my program below.
https://docs.google.com/viewer?url=http ... N-1070.pdf
Really appreciate to any advise and would be great if some of you can help me.