I am interested in obtaining 10 or 12 bit A to D samples at a rate of 4 k Samples per Second, or more. I am considering adding an SPI compatible AtoD such as National Semi's ADC121SO21 (50-200 ksps, 12 bit, 5 BV) to a ZX-24. I want to dump the samples into an array, and then process them after the sampling is completed.
I know this chip can do the sampling much faster than my requirements, but I wondered if anyone has experience along these lines with the ZX-24 yet? I wondered what sampling rate one might reasonably obtain, running in the foreground, without any concurrent background tasks?
I can order some chips, but wondered what others might had already determined.
Thanks, JC
Digital Sampling Speed
Yes, I would store about 25 mSec of data, about 100, 2 byte values, in the ZX-24's RAM, post process, and upload the data to a PC. No EEPROM or other slow device. A higher sampling rate would be nice, but 4 ksps meets the minimal requirements.
I am just not sure what one might expect speed wise using an SPI interface for a read and store loop on the ZX. My only experience with SPI was bit banged, and I hope the internal routines are an order of magnitude faster
I figured this is a pretty common task, so perhaps someone had already played with it, and could provide some rough numbers.
JC
I am just not sure what one might expect speed wise using an SPI interface for a read and store loop on the ZX. My only experience with SPI was bit banged, and I hope the internal routines are an order of magnitude faster
I figured this is a pretty common task, so perhaps someone had already played with it, and could provide some rough numbers.
JC
There is a discussion of SPI speed on another thread about using flash card storage.
about503.html
should get you there. A few microseconds per byte looks possible. That should be much faster than you need.
about503.html
should get you there. A few microseconds per byte looks possible. That should be much faster than you need.
mwf