mma8451 Driver

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

mma8451 Driver

1,338 次查看
deepanrajanbara
Contributor IV

Hi ,

We are currently working on MMA8451 module for our imx6 based custom board with Linux OS.The driver which is available in the default Kernel is currently in polling mode. how to convert the driver to interrupt based mode in the driver Please help as i am not able to find any method to convert the driver into interrupt based.

The driver file which i am using is in the following path /drivers/hwmon/mxc_mma8451.c .

Thank you,

Deepanraj.A

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

859 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Deepanraj

please look at example of such driver in

Device Drivers (9)
MMA845x Sensor Full Feature Linux Driver for Smart Devices (Rev1)(REV 1.0 )
https://www.nxp.com/products/sensors/motion-sensors/gyroscopes/nxp-sensor-drivers-for-android-linux-...

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复

859 次查看
deepanrajanbara
Contributor IV

i have configured the interrupt in Kernel.But i am not able to get any interrupt from the accelerometer.

0 项奖励
回复