Hi there,
I hope you can help me. I am using ADS1255 with 8Mhz Clock and 7500SPS.
The ADS1255 is communicating with an Arduino Uno board via SPI. I am using this library https://github.com/adienakhmad/ADS1256.
I'm waiting for DRDY goes low and then read the channel.
PWDN & RESET is tied to 3V3.
Normally, if I only read from the ADS1255 in a while loop where no other functions causes greater delays, everything works fine and I get the data.
But if I add some things in the while loop, which causes delays (for example Print functions) then sometimes my program hang up @adc.waitDRDY(); where I am waiting that DRDY goes low so that I can read new Data input. But the problem is that the DRDY is held high and I dont know why.
If I add the command SELFCAL after the delays, before I wait for DRDY so that I can read new data, the problem is gone.
So it seems that the cause is that DRDY is sometimes (sometimes after 5 seconds, sometimes after 45 seconds) held high. But I really dont know why. Also it seems to make a difference how fast I take the Samples. It seems that lower sample rates doesnt really cause this problem so often than higher sample rates.
Do you have any suggestion what it could be? Maybe some timing issues anywhere?
I hope you can help me. If you need some further information please tell me.
Kind Regards,
Lukas