I have been having issues getting the AD7193 to calibrate.
I try to write the following to the AD7193, waiting for a return to low on the Dout/RDY line after each write
ADCWrite(0x10000157); // (10) write to config register, (000157) channel 1 enabled, reference detect enabled, buffer enabled, 128 gain
ADCWrite(0x089833C0); //(08) write to mode register, (9833C0) Calibrate Zero, status appended, internal clock, parity enabled, clock divide, 960 FW
ADCWrite(0x08B833C0); //same but calibrate full scale
ADCWrite(0x081823C0); //(08 write to mode register, (1823C0) Continuous conversion, status appended, internal clock, parity enabled, clock divide, 960 FW
ADCWrite(0x5CFFFFFF); Start conversions
The Dout/RDY line fails to return low after the calibrate zero command, what could i be doing wrong? If both calibration commands are removed my application works fine, including reading data from the AD7193.