Hi, I'm using an AD5933 with ATxmega128A1U through an I2C interface with MCLK=1MHz. Everything seems to be working fine and I have been able to write data onto the slave successfully. The problem is, however, that I still can't read data from it. On the output of the oscilloscope, I expect a 0x90 value with NACK, but I keep getting 0x00 with NACK. I would really appreciate any help with this issue.
P.S.: I have attached my C code, along with screenshots of the output of the oscilloscope and also the schematics of the circuit I'm using.