AnsweredAssumed Answered

ADC, continuously stream in from IIO, using the provided ADI SPI driver

Question asked by flatmax on Nov 13, 2013
Latest reply on Nov 14, 2013 by larsc

Hi there,

 

A driver exists for a codec which I want to use to continuously stream in ADC data :

http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/iio/adc/ad7476.c?id=HEAD

 

Is there any example code on how to continuously stream in ADC data from the codec without dropping samples ?

 

I would like to be able to read data in blocks of say 10ms (10k samples) although it could be less or more.

I was thinking that when a block is finished, it can be passed to the user whilst another block is being filled.

 

thanks

Matt

Outcomes