FXLS8974CF Linux Driver?

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

FXLS8974CF Linux Driver?

1,100 次查看
DillonM
Contributor II

I am currently attempting to choose an accelerometer to replace our old MMA8451Q we used on previous products. It seems that the FXLS8974CF is the latest version. Our products run Linux, and therefore I need a Linux driver to support the FXLS8974CF accelerometer. It seems there is a driver available for download but it is not for Linux. I see that some work has been done to get a Linux driver pushed to the kernel mainline, but it does not seem to be completed yet. Is that the case? When can I expect a Linux Kernel driver for the FXLS8974CF to be available?

 

Thanks!

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

1,075 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello, 

Please accept my apologies. Please find the example code attached. 

I mean that such devices share some features and registers. So, the example code may be useful for you. 

Regards,

David 

0 项奖励
回复

1,083 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello,

I hope all is great with you. Thank you for using the NXP communities.

First, you are correct. The FXLS8974CF is a great option as a replacement for your device.

In this case, I can gladly share a baremetal example (attached). You may use it as a reference for your LINUX driver. Please note that the FXLS8974CF, FXLS8967AF, FXLS8962 and FXLS8964 are all software compatible.

 

Besides, please also check the following links that might be useful for you. These are not NXP official.

https://github.com/gscholer/SDK_2.6.0_LPCXpresso54114/blob/master/LPCXpresso54114_manifest_v3_4.xml

https://gitee.com/seventeen17/nxpSDK/blob/master/MKL27Z64xxx4_manifest_v3_6.xml

https://gitee.com/seventeen17/nxpSDK/blob/master/EVK-MIMXRT1010_manifest_v3_5.xml

I hope this information helps.

Regards,

David

0 项奖励
回复

1,079 次查看
DillonM
Contributor II

Thank you for your reply.

Was the baremetal example successfully attached?

Also, what do you mean exactly by "software compatible"? Is this an alternative to interfacing with the hardware via a driver but rather directly through user-space software? Do you happen to know if this is possible or reasonable in a Linux system (from user-space rather than kernel space)?

0 项奖励
回复