MMA8452 accelerometer sensor not working after device wakeup

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

MMA8452 accelerometer sensor not working after device wakeup

656 Views
nit123
Contributor I

Hi,

  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.

Tags (1)
0 Kudos
0 Replies