AnsweredAssumed Answered

Hello, I debug why MMA8452Q motion when the output is not interrupted? INT1 no change

Question asked by jack rong on Apr 2, 2016
Latest reply on Apr 10, 2016 by jack rong

Hello, I debug why MMA8452Q motion when the output is not interrupted? INT1 no change

 

Initialization. System 2.8V power supply

 

void Init_MMA8452()       //initialization 
{
        Single_Write_MMA8452(0x2A,0x18);  //100HZ  ODR
     Single_Write_MMA8452(0x15,0xD8);  // The motion detection threshold set, X, Y axis
     Single_Write_MMA8452(0x17,0X30);  //Set the threshold for the 48 motion detection
     Single_Write_MMA8452(0x18,0x0A);  // 100 milliseconds to shake the time
        Single_Write_MMA8452(0x2D,0x04);   // Set motion interrupt
        Single_Write_MMA8452(0x2E,0x04);   //Set the interrupt pin for INT1 motion

        Single_Write_MMA8452(0x2A,0x19);   // Active mode
 
}

Outcomes