gopiballava
New member
Hi,
I would like to read two SPI ADCs at a consistent rate. I've got code working that reads them asynchronously, but I'd prefer to use a timer interrupt. Probably trigger at 2x the read rate, first interrupt would start the sampling, second would read the data, repeat.
Any suggestions? I'm open to bizarre hacks like generating pulses and feeding them back in to interrupt pins.
Thanks.
I would like to read two SPI ADCs at a consistent rate. I've got code working that reads them asynchronously, but I'd prefer to use a timer interrupt. Probably trigger at 2x the read rate, first interrupt would start the sampling, second would read the data, repeat.
Any suggestions? I'm open to bizarre hacks like generating pulses and feeding them back in to interrupt pins.
Thanks.