Linux driver for MPL3115A2

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linux driver for MPL3115A2

1,291 次查看
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. 

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,121 次查看
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 项奖励
回复

1,121 次查看
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 项奖励
回复