I.Mx 6QP accelerometer Interface

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

I.Mx 6QP accelerometer Interface

303 Views
manishUniyal
Contributor I

Hi Everyone,

 

I want to interface the inbuilt NXP MMA8451 3-Axis Accelerometer in I.MX6QP Sabre Board.

Can anyone provide any support document or any reference.

Thanks

0 Kudos
1 Reply

293 Views
riteshmpatel
NXP TechSupport
NXP TechSupport

Hi @manishUniyal,

Hope you are doing well.

The accelerometer can be programmed through I2C interface. Please see the driver path as below with the link:

drivers/i2c/busses/i2c-lp.imx.c.

https://elixir.bootlin.com/linux/latest/source/drivers/i2c/busses/i2c-imx.c

 

In addition to this, one can also refer the below github link:

https://github.com/torvalds/linux/blob/master/drivers/iio/accel/mma8452.c

Thanks & Regards,

Ritesh M Patel

0 Kudos