Help with Ad7793 code

Hello I am using the AD7793 ADC for the first time. I am also using the EVAL board . I have downloaded the generic C codes too. I am not able to receive the data from AD7793. I want to interface the AD7793 with Xmega128 micro controller.

Following are my pin connections

DIN - MOSI

DOUT - MISO

SCLK - SCK

CS- SS

Can someone please help and provide a working C code or give some example. It would be of a great help. Also if someone can send me the source code of the EVAL software so that I can check for the exact SPI commands.

Thank you

Parents Reply Children
No Data