Hi everybody,
I am going to control Analog Devices AD9834 DDS using a PIC16F877A micro controller using PORTB of uC via 3wire(SCK,SDI,FSYNC) SPI communication. FSELECT and PSELECT Pins permenentaly grounded. RESET pin is connected in one of the pin in PORTB. I uses 20MHz master clock for AD9834 DDS device to generate a 19kHz sine wave output. Kindly suggest a pseudo code or C code for the firmware of PIC16F877A to control/program AD9834 DDS.
I am going to control Analog Devices AD9834 DDS using a PIC16F877A micro controller using PORTB of uC via 3wire(SCK,SDI,FSYNC) SPI communication. FSELECT and PSELECT Pins permenentaly grounded. RESET pin is connected in one of the pin in PORTB. I uses 20MHz master clock for AD9834 DDS device to generate a 19kHz sine wave output. Kindly suggest a pseudo code or C code for the firmware of PIC16F877A to control/program AD9834 DDS.