From: Matthias Klumpp <matthias@tenstral.net>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>, linux-iio@vger.kernel.org
Subject: Re: Problems with using IIO buffers
Date: Tue, 10 Jan 2017 14:29:23 +0100 [thread overview]
Message-ID: <CAKNHny9saYXafENh0EcAvCw8fVtfK5LoiwusSpUMiCh0Fkh_ng@mail.gmail.com> (raw)
In-Reply-To: <CAKNHny-OvwLC9c3tvyiyd7F+89QUAtkYEk2Va0JHEzgGGjPVWg@mail.gmail.com>
Hi!
The iio_dummy test module works now with the iio_generic_buffer test
program :-) (libiio still doesn't do what I want though).
My own driver does recognize the trigger call but does not acquire
data, likely due to a mask that is set to something I don't implement
yet (maybe checking for IIO_CHAN_INFO_RAW was not enough).
In any case, it looks like I need to continuously trigger the
(software) trigger to move data into the buffer - is there any way to
automate that, i.e. by saying "give me X samples" or "acquire data for
3ms"? Or do I always need to trigger from userspace or use a hardware
trigger?
Regards,
Matthias
next prev parent reply other threads:[~2017-01-10 13:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-20 10:18 Problems with using IIO buffers Matthias Klumpp
2016-12-20 10:46 ` Peter Meerwald-Stadler
[not found] ` <CAKNHny_yV-FV9smGfrX2wR-T7M5uCk9WWG4xNGBMXrAuwVy2ZA@mail.gmail.com>
2016-12-20 16:30 ` Peter Meerwald-Stadler
2016-12-20 16:49 ` Matthias Klumpp
2016-12-30 18:34 ` Jonathan Cameron
2017-01-09 1:59 ` Matthias Klumpp
2017-01-10 13:29 ` Matthias Klumpp [this message]
2017-01-10 14:18 ` jic23
-- strict thread matches above, loose matches on Subject: below --
2017-01-27 18:53 Mani Sadhasivam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKNHny9saYXafENh0EcAvCw8fVtfK5LoiwusSpUMiCh0Fkh_ng@mail.gmail.com \
--to=matthias@tenstral.net \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).