I am using AM625 processor and ADS8686S chip connected to SPI ( AD7616 linux drivers as they both have same register set) . I use the device in Software mode and the device tree configuration is as below,
&main_spi0 {
ti,spi-num-cs = <2>;
status = "okay";
spidev@0 {
compatible = "rohm,dh2228fv";
reg = <0>;
spi-max-frequency = <23000000>;
};
adc@1 {
compatible = "adi,ad7616";
reg = <1>;
spi-max-frequency = <1000000>;
spi-cpol;
label = "ad7616";
avcc-supply = <®_5v_dummy>; // Reference the 5V dummy regulator
//avcc-supply = <®_3v3>; // Reference the 5V dummy regulator
interrupt-parent = <&mcu_gpio0>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>; // (A6) DI_1V8_BUSY_AFE_1 SODIMM 61
reset-gpios = <&main_gpio0 3 GPIO_ACTIVE_LOW>; //(E25) OSPI0_D0 GPIO0_3 RESET SODIMM 56
adi,conversion-start-gpios = <&main_gpio0 4 GPIO_ACTIVE_HIGH>; // OSPI0_D1 (G24) OSPI0_D1 GPIO0_4 SODIMM 58
adi,sw-mode;
};
I see below signals on my MOSI,MISO CLOCK, RESET AND CONVST AND Busy pin. But each time I try to read the values of analog channel it returns timeout error.