linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sean Nyekjaer <sean@geanix.com>
To: Lorenzo Bianconi <lorenzo@kernel.org>
Cc: linux-iio <linux-iio@vger.kernel.org>
Subject: Re: iio: imu: st_lsm6dsx: sample rate?
Date: Thu, 6 May 2021 10:27:07 +0200	[thread overview]
Message-ID: <daf1b37e-9f46-bbee-e82d-0d4fa78facd4@geanix.com> (raw)
In-Reply-To: <YJOnNb4+3OFnLLC1@lore-desk>

On 06/05/2021 10.22, Lorenzo Bianconi wrote:
>> Hi,
>>
>> Any specific reason to why the 12.5Hz sample rate is implemented as 13Hz ?
>>
> 
> Hi Sean,
> 
> what is the device you are referring to? I guess now all devices support
> 12.5Hz.
> 
> Regards,
> Lorenzo
> 
At least the two devices we are using.
ISM330DLC and LSM6DSLTR, they do not support 13Hz sampling rate, but 12.5Hz.
I think we should expose the correct 12.5Hz to user space.

Should do a patch? (It could potentially break some implementations)

/Sean

  reply	other threads:[~2021-05-06  8:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-04 10:22 iio: imu: st_lsm6dsx: sample rate? Sean Nyekjaer
2021-05-06  8:22 ` Lorenzo Bianconi
2021-05-06  8:27   ` Sean Nyekjaer [this message]
2021-05-07 10:01   ` Sean Nyekjaer

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=daf1b37e-9f46-bbee-e82d-0d4fa78facd4@geanix.com \
    --to=sean@geanix.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=lorenzo@kernel.org \
    /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).