Skip to main content
Visitor II
April 29, 2021
Question

LSM6DS3 linux driver for ODR of 1666 Hz

  • April 29, 2021
  • 3 replies
  • 2682 views

Hello STM,

looking the the mainline kernel for the IMU line, i see some comments in the code that say the only supported ODRs are that of up to 416 Hz. is it possible to run the sensor in high performance mode with the current linux driver? Is there a patchset that provides support for this or is this something that is unsupported with linux?

https://elixir.bootlin.com/linux/v5.12-rc8/source/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx_core.c#L18

regards,

wes

    This topic has been closed for replies.

    3 replies

    ST Employee
    April 29, 2021

    Hi wes @Weden.1​ ,

    it should be possible -at least theoretically-, but I'm not an expert of these drivers.

    Please refer to the Linux drivers on Github, for the specific product LSM6DS3 (st_lsm6ds3).

    Here the limit is 416Hz too:

    #define ST_LSM6DS3_ODR_416HZ_VAL		0x06

    Probably it is enough to add a define with the values according to the codification you can find on the datasheet p.54.

    0693W00000AMu8UQAT.png 

    But for these kind of requests I suggest you to open an issue directly on Github (LINK:( ST experts will help you, usually within a week.

    Please keep me updated about your request.

    -Eleon

    Weden.1Author
    Visitor II
    April 29, 2021

    Thanks Eleon for the quick response. I just submitted a ticket to the github link you suggested. I'll keep you posted on how it goes.

    thanks for the help,

    -wes

    Weden.1Author
    Visitor II
    May 10, 2021

    Hi Eleon,

    i haven't heard back from anyone on the Github Issue link. is there somewhere else I could post, or some other person I could ask?

    thanks,

    -wes

    ST Employee
    May 10, 2021

    Hi wes @Weden.1​ ,

    Our internal experts (singular in fact, 1 expert...) has currently some problem to follow the Github issues due to requests overloading, but he is aware of the problem and (I hope) he'll reply soon.

    Please keep checked in the next days whether there are updates on the topic.

    -Eleon

    Weden.1Author
    Visitor II
    June 9, 2021

    any updates for this?