All of lore.kernel.org
 help / color / mirror / Atom feed
* adis16220 capture event
@ 2010-05-11  7:59 Barry Song
  2010-05-11 11:30 ` Jonathan Cameron
  0 siblings, 1 reply; 5+ messages in thread
From: Barry Song @ 2010-05-11  7:59 UTC (permalink / raw)
  To: jic23; +Cc: linux-iio

[-- Attachment #1: Type: text/plain, Size: 960 bytes --]

Jonathan,
adis16260 in drivers/staging/iio/gyro/ has been ready too.
Do you have time to take a look at the datasheet of adis16220? I think it is
much different. The chip has no register to show the current sample value.
It only has a capture buffer mode.  For every capture(by manual or by period
at least 1 second), the ADIS16220 produces and stores 1024
samples of acceleration and analog input channel data into the capture
buffers. It has no a fixed frequency to sample, by depends on user commands
or timer to trigger a capture.
I think current iio doesn't support it at all:
1. sysfs node is useless to show current value
2. it doesn't sample periodically, so ring is useless too.
Its work flow is:
capture -> 1024 data -> capture -> 1024 data -> capture -> 1024 data ....
I want to add a binary sysfs node for capture buffer. Every time, users
begin a capture, after finishing, read 1024 data from the binary node.

Do you have any idea?

Thanks
Barry

[-- Attachment #2: Type: text/html, Size: 1043 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-05-12 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  7:59 adis16220 capture event Barry Song
2010-05-11 11:30 ` Jonathan Cameron
2010-05-11 15:07   ` Barry Song
2010-05-11 17:33     ` Jonathan Cameron
2010-05-12 13:41       ` Barry Song

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.