Hey Everbody
It's about over to interface my AD9833 (DDS chip) with the microcontroller PIC18F2550
The AD9833 chip makes SPI communication possibly with an microcontrollers and give me the next connections:
FSYNC : Active Low Control Input.
This is the frame synchronization signal for the input data.
When FSYNC is taken low, the internal logic is informed that a new word is being loaded into the device.
SDATA: Serial Data Input. The 16-bit serial data-word is applied to this input
SCLK : Serial Clock Input. Data is clocked into the AD9833 on each falling SCLK edge.
The PIC18F2550 have the next connections:
=================================
SCK : Synchronous serial clock input/output for SPI mode
SDI : SPI data in (input)
SDO : SPI data out (output)
Qestion 1
=======
How can I connected my AD9833 via SPI communication with my microcontroller PIC18F2550 ?
I have been connected my AD9833 with my PIC18F2550 in this order:
AD9833 Device Microcontroller Device
============ ================
SCLK (input) SCK (output)
FSYNC (input) SDO (output)
SDATA (input) SDI (input)
If it's not possible to connected in this way, is there then an alternative manner because I'm going one using my
current devices normally the AD9833 and the PIC18F2550 because both they support SPI protocol
Question 2
========
In which mode can I the I/O pins for the data communication SPI?
Question 3
=======
If somebody examples of SPI communication in Master en Slave mode?
