Linux driver for MPL3115A2

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

Linux driver for MPL3115A2

1,046 Views
gvchougala
Contributor I

I am not able to find out Linux driver for MPL3115A2 sensor. We are using IMAX8MQ-EVK board and want to integrate MPL3115A2 sensor. 

I appreciate your help. 

Labels (1)
Tags (1)
0 Kudos
2 Replies

876 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi,

I would recommend you to download and have a look at the MPL3115A2 Pressure Sensor Linux Driver for Android Devices (REV 1.0).

 

Hope it helps.

 

Best regards,

Tomas

0 Kudos

876 Views
gvchougala
Contributor I

Hi,

We used the driver from GitHub for MPL3115A2 sensor. Link to driver on the Github is https://github.com/torvalds/linux/blob/master/drivers/iio/pressure/mpl3115.c

 

We have connected the MPL3115 sensor to IMX8MQ-EVK board.

 

We are able to probe the sensor but not able to find a way on how to read from the sensor. We tried  to read /sys/class/i2c-dev/i2c-1/device/1-0060/iio\:device0/in_temp_scale but it doesn’t exist.

 

We are able to see till /sys/class/i2c-dev/i2c-1/device/1-0060/ but not the iio\:device0/in_temp_scale

 

We would appreciate if you can help us on how to read the data from sensor on the Linux platform. 

Thanks,

Girija

0 Kudos