Linux driver for MPL3115A2

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linux driver for MPL3115A2

1,903件の閲覧回数
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,733件の閲覧回数
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,733件の閲覧回数
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 件の賞賛
返信