AnsweredAssumed Answered

LIS3DSH INT1

Question asked by alharthi.waleed on Jul 9, 2014
Latest reply on Aug 4, 2015 by SANEL
Hi Guys,

I'm trying to generate Interrupt on INT1 to allow LIS3DSH to wake up my uController in order to read and manipulate the data. the below code with Registers configuration was used but not luck so far:
/* Send Configuration command for MASK1_A */
   sendToLis3dsh( 0x5A, 0xFF);
/* Send Configuration command for MASK1_B */
   sendToLis3dsh( 0x59, 0xFF);
/* Send Configuration command for SETT1 */
   sendToLis3dsh( 0x5B, 0x82);
/* Send Configuration command for CTRL_REG1 */
   sendToLis3dsh( 0x21, 0x01);
/* Send Configuration command for CTRL_REG2 */
   sendToLis3dsh( 0x22, 0x00);
/* Send Configuration command for CTRL_REG3 */
   sendToLis3dsh( 0x23, 0x48);
/* Send Configuration command for CTRL_REG4 */
   sendToLis3dsh( 0x20, 0x67);

/* Send Configuration command for CTRL_REG5 */

   sendToLis3dsh( 0x24, 0x00);

/* Send Configuration command for THRS1_1 */

   sendToLis3dsh( 0x57, 0x55);

/* Send Configuration command for ST1_1 */

   sendToLis3dsh( 0x40, 0x05);

/* Send Configuration command for ST1_2 */

   sendToLis3dsh( 0x41, 0x11);


appreciate your kind and prompt help

Outcomes