Hello,
I am working with ADS131E08 ADC. I have done ADC interface with one controller and I am using FreeRTOS.
ADC initialization is done before RTOS start scheduler.
Where I have two task, one task is for simple print massage other task is for read ADC data over SPI communication using (RDATAC mode). Both task has same priority.
Also I have configured external interrupt to detect every DRDY interrupt. I have configured CONFIG1 to 16kSPS DATA RATE.
In interrupt ISR I just increase one variable(whenever interrupt occurs count variable get increment).
In ADC read task monitor the count variable of ISR. If the count is greater then 0 then provide SCLK for 27 byte to read ADC data.
when ADC read task start run initially I am able to read data around 50 to 60 time but after certain of time ADC data is 0 and DRDY interrupt get stop.
Could you help me to find out why DRDY get stop from ADC?