SPI Linux driver for FXOS8700 chip

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI Linux driver for FXOS8700 chip

Jump to solution
1,184 Views
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.

Labels (1)
0 Kudos
1 Solution
792 Views
titusstalin
Contributor V
0 Kudos
2 Replies
792 Views
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 Kudos
793 Views
titusstalin
Contributor V

Here is the driver for the FXOS8700 SPI interface.

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

0 Kudos