Hi Anish, Diagnostic mode is enabled by setting "DIAG_EN" bit. Diagnostics sequence starts when this bit is set. At the end of the sequence, all fault status are stored in the DIAG: Diagnostics Flag Register. Afterwards, the DIAG_EN register bit self-clears to 0. Note that the diagnostics enable bit is automatically reset after the diagnostics completes (16 ms). During the diagnostics mode, ADC data are invalid because of the toggling diagnostics switches. So basically set DIA_EN bit and read the output flags after 16mS. For further details please refer to section 8.4.2 of the datasheet. Regards, Prabin
↧