SPI Linux driver for FXOS8700 chip

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

SPI Linux driver for FXOS8700 chip

跳至解决方案
2,056 次查看
titusstalin
Contributor V

Hello Experts,

I want to interface the below chip (FXOS8700) using SPI interface. It also supports i2c interface. In my imx6 board, I have interfaced this chip via SPI bus and want the driver for that.

http://www.nxp.com/products/sensors/6-axis-sensors/digital-sensor-3d-accelerometer-2g-4g-8g-plus-3d-...

I can find the FXOS8700 linux drivers for i2c interface but not able to find for SPI interface.

Any one can provide me the SPI driver for FX0S8700 chip?

Thansk for your support.

Regards,

Titus S.

标签 (1)
0 项奖励
回复
1 解答
1,664 次查看
titusstalin
Contributor V
0 项奖励
回复
2 回复数
1,664 次查看
diegoadrian
NXP Employee
NXP Employee

Hello Titus,

Thank you for writing.

Unfortunately, we do not have a Linux SPI driver for the FXOS8700. You can adapt the I2C driver that we provide, with the Linux SPI driver. The configuration will be the same, you only need to change the part of the I2C's communication.

I hope this can help you.

Best Regards,

Diego.

0 项奖励
回复
1,665 次查看
titusstalin
Contributor V

Here is the driver for the FXOS8700 SPI interface.

fxos8700: add SPI driver · warpboard/linux-imx6@5ccf63f · GitHub 

0 项奖励
回复