Fernando Ginez da Silva

How to read data from i.mx53 QSB's mma8450 accelerometer?

Discussion created by Fernando Ginez da Silva on Jul 26, 2011
Latest reply on Jul 19, 2012 by Max Bonazzi

Hi!

I need some help to read data from the accelerometer sensor included in i.Mx53 QSB.

I've installed the mma8450 device driver and during system boot I can see this messages:

 

check mma8450 chip ID
mma8450 0-001c: build time Jul  1 2011 08:22:07
input: mma8450 as /devices/virtual/input/input3
add mma8450 i2c driver

 

Now, how can I read data from each axis, and how can I set sensor configuration (eg.: change sensivity)?

 

Thanks in advance!

_____________________

Fernando Ginez da Silva

Outcomes