[PIC] Need help to write a program to control AD9834 DDS using PIC16F877A micro controller

Status
Not open for further replies.

syams86

Newbie level 1
Joined
Jan 29, 2014
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
8
Hi,
I need help to write a program to control Analog Devices AD9834 DDS using a PIC16F877A micro controller. DDS chip is connected in PORTB of PIC16F877A uC. 3-Wire (SCK-->RB0,SDI-->RB1,FSYNC-->RB2) software SPI communication is used. The RESET Pin of DDS Chip is connected in RB3. FSELECT and PSELECT pin of DDS chip is grounded. I uses 20MHz master clock to generate 19kHz sinewave from DDS chip. Please provide a pseudo code or C code to program DDS chip connected to PIC uC. Thanks in advance.
 

Hey friend , Im facing the same problem as urs , which is writing the C code !! Please let me know if ur able to fix that and had your code done !
 
Last edited by a moderator:

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…