nitin vishnoi

MMA8452 accelerometer sensor not working after device wakeup

Discussion created by nitin vishnoi on Feb 13, 2012


  We are using MMA8452 accelerometer sensor in one of our android based target board.

   Driver for the acccelerometer (mma8452.c) working fine in normal conditions.Once the device entered into the sleep mode ,though the suspend and resume callback functions are getting called  we are not able to read the X,Y,Z register values through I2C.

   This chip driver is registered as a input polled device.It doest have the interrupt handling capabilities.Is there any settings required to make driver to work porperly after wakeup in android.