ADC Counts are correct in debugging mode but not in normal mode

I am working on ADS1241 24 bit ADC. My ADC counts are correct in debugging mode but not in normal mode with or without breakpoints.I am using Keil uvision5 and STLink Debugger.

More questions in this forum