AnsweredAssumed Answered

Unable to work the MMA8652 self test

Question asked by Samuel Conti on Nov 9, 2016
Latest reply on Nov 10, 2016 by Samuel Conti

Hello,

 

I try to use the self test of MMA8652 without success. The component returns the same value in self test mode as in normal mode.

 

My procedure :

 

- Set Active Mode (Control Register 1 = 0x019 / Control Register 2 = 0x00 / XYZ Data Config Register = 0x02)

-  Read 3 axis in non self test mode

- Set Self test mode (Control Register 1 = 0x019 / Control Register 2 = 0x80 / XYZ Data Config Register = 0x02)

-  Read 3 axis in self test mode

- Set Standby mode (Control Register 1 = 0x018 / Control Register 2 = 0x00 / XYZ Data Config Register = 0x02)

- Compare

 

I don't find why it doesn't work, do I forget something ? delay, bad config, etc....

 

Sam,

Outcomes