Hi,
I am facing a problem with SPI communication between AFE4490 and my controller(atmega8).
spi read function always returns 0.
in BG, TX_ref pins i am getting voltages, mentioned in the datasheet
i am writing to a register(0x02) a value and reading it. spi_read bit in CONTROL0 register is enabled. but it is returning 0 whille reading.
the frame i am sending is in the format mentioned in the datasheet. ie first 8 bits address(A7-A0), 24 bits data(D23-D0).
SPISTE pin is enabled by pulling down to low. AFE_PDN, reset pins are connected to high.
Please let me know is there any mistake in the above setup.