i am using AD7124-8 for processing 10 analog channel. Below the sequence of steps performed. When for the first time below sequence is executed, i am getting REF_DET_ERR (Reference detection. This flag indicates when the external reference being used by the ADC is open circuit or less than 0.7 V.) and surprisingly not getting REF_DET_ERR from second iteration.

1. Configure ADC Control register.

2. Configure Error enable register.

3. Configure all channel registers.

4. enable each channel and read data and error registers.

Could you please help me to understand this behaviour?