LSM6DSL Linux driver, Temperature sensor reading

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LSM6DSL Linux driver, Temperature sensor reading

Jump to solution
795 Views
_ZZ_
Contributor II

Hi,

Below is the Linux driver for lsm6dsl inertial module which has a temperature sensor in it. The driver doesn't seem to have any function or API to read the temperature sensor. Has anyone added the temperature reading to the driver ? 

https://elixir.bootlin.com/linux/latest/source/drivers/iio/imu/st_lsm6dsx

Thanks for any help,

 

Labels (1)
0 Kudos
Reply
1 Solution
772 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @_ZZ_,

I hope you are doing well.

Yes, the st_lsm6dsx driver has IIO channels for only the monitoring axis, it does not have any functionality to read the temperature.

One can contact sensor vendor regarding this issue,

Thanks & Regards,
Dhruvit Vasavada

View solution in original post

0 Kudos
Reply
1 Reply
773 Views
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @_ZZ_,

I hope you are doing well.

Yes, the st_lsm6dsx driver has IIO channels for only the monitoring axis, it does not have any functionality to read the temperature.

One can contact sensor vendor regarding this issue,

Thanks & Regards,
Dhruvit Vasavada

0 Kudos
Reply