PSOC5 SPI and AD7793 | Cypress Semiconductor
PSOC5 SPI and AD7793
I am trying to communicate with analog Devices part AD7793 using SPI with a PSOC5.
I have CY8CKIT-050 and the AD7793 Evalutaion KIT (I need more ADC channels so I need AD7793 for these extra channels). I wired the signals mosi, miso, cs , clk and GND beween both EVK.
AD support this devices with a generic diver that can be download from http://wiki.analog.com/resources/tools-software/uc-drivers/renesas/ad7793
I also attach the project on PSOC with a vey simple main.c. I Just want to check the AD7793 is there using function AD7793_init();.
I am not able to talk with AD7793. Can anyone have a look to the SPI communication function and check if there is any wrong.?
Thanks in advance,