All,
I'm trying to get a handle on the ADS131 square wave test signal. I'm collecting data from an ADS131 over SPI from a MSP430 microprocessor and writing to an micro-SD card (using the F5529 Experimenter's Board). Everything's being driven by an external oscillator at 2.0 MHz.
My problem: there may be missing data. I know there must be missing data, because based upon code changes, I get different periods (I write to disk, pull the data, and plot it). The internal ADS131 test signal is supposed to 'pulse'---I'm assuming this is the period, please correct me if I'm wrong---at f_CLK / 2**21 or f_CLK / 2**20 depending upon set register settings. This gives a period (distance between two pulses) of either 0.95 or 1.91 seconds. I'm currently using the non-default setting of f_CLK / 2**20. Sampling rate is at 4ksp. I expect a difference of 3814 samples period. I'm measuring differences of 1970 with fluctuations depending upon how I write the data to disk.
I know the details are a bit simple for exact advice, but I'm hoping you can help me with the following.
1. Do the periods that I've mentioned make sense? Around 1 to 2 seconds for the internal square wave.
2. Are there good strategies for quantifying missing data?
I can provide further details if necessary.
Thank you,
Sean