Hello,
I'm currently using ADS1298, and having a trouble in using it in high speed sampling rate.
I'm currently converting analog signal, slightly differently from regular usage.
In order to reduce power consumption, I'm trying to make analog signal occur only at a time when converting is carried out ( since my system requires using high current LED to acquire analog signal, it takes a lot of current)
After finding out the time consumed for converting depends on the data sampling rate, (e.g. it takes whole 4ms in 250 SPS mode)
I changed the SPS to 8K mode, even though I didn't need that much speed (about 100 SPS is enough for my system).
And, I tried to ignore 79 conversion results out of 80, turned on the analog signal before 80th conversion begins ( right after 79th conversion DRDY occurs), and then, only retrieve 80th conversion results, which would result in 100 SPS.
I checked the analog signal stabilization time with oscilloscope, which was about 10us. Given the sampling frequency (8K), I think 10us can be ignored since conversion time is 125us.
But, the result was failure. Data rate was 100SPS, however conversion didn't work, and was different from oscilloscope waveform.
I tried turning on my analog signal a little bit earlier, like turning on at 78th conversion, 77th conversion, and so on, and turns out when I turned it on at 76th conversion, I got the right ADC results.
With turn of at 76th conversion, I could only reduce power to 4/80 of original power consumption. Still need more reduction.
One more problem is when using ADS1298 in high speed data rate, it seems I don't have enough time to retrieve the data.
I'm using 5CH (1~5ch), but I only got 3ch's right data, and rest of 2 CHs(4~5) were not properly converted.
If I took the SPS down to 4K, 2K, 1K, and all conversions were getting done well. (From at 2K, all coversion started to work well)
My system clock is 1.8M, and I'm having a suspicion that my system clock is low, so SPI communication is not fast enough to retrieve 5ch data with in 125us.
However, with simple math, given SPI speed (system clock/2), it would only take about (3(conversion header)+3(byte per one conversion)*5(# of channel))(total byte)*8(bit per byte) = 144us, assuming that the rest of 3ch are ignored.
The system MCU processed the data retrieval first right after DRDY signal occurs, so I guessed, with the current clock speed, the current system is enough for 4K SPS (250us per one conversion). But, still the last CH(#5) was not properly retrieved.
In summary,
1)In high speed conversion rate, how early should the analog signal be stabilized before the conversion?
My guess was in 8K mode, just 125us eariler before DRDY signal occurs is enough.
2)In high speed conversion rate(8K), to retrieve multi channel data (5ch) without data corruption, how fast the system clock(SPI clock) should be?
Why the results like these are happening? Am I doing something wrong? or Am I misunderstanding operation of ADS1298?
Please, help me out.
Thank you in advance.