Hi,
We are using ads7960 adc.
When we try to read the data from channel, It is giving 0xffff.
We are using 0x1000 command to read the data from first channel.
In the data sheet, the sclk value is mentioned as 20MHz. Is this the only required value for proper functioning?
My board file entry for spi device is:
{
.modalias = "ads7960",
.irq = -1,
.max_speed_hz = 20000000,
.bus_num = 1,
.chip_select = 0,
},
Can anybody tell, what am i doing wrong?
regards,
Praveen