cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DS12 - Does Wake Up interrupt block other interrupts

Benjamin Becker
Associate
Posted on August 01, 2017 at 21:23

I'm trying to configure my LIS2DS12 accelerometer such that I can receive both wake and tap events. Whenever I enable (set the INT1_WU pin in ctrl4) I don't get tap events. I have three cases:

1. enable just the wake up interrupt: wake up interrupts occur

2. enable just the double tap event: tap interrupts occur

3. enable both the double tap and wake up interrupts: only wake up events occur.

Is there a way to be able to see both interrupts?

Register values when I try to configure both interrupts:

status: 0000, 1001 [FIFO_THS][WU_IA][SLP_STATE][DTAP]--[STAP][6D_IA][FF_IA][DRDY]

statdu: 0000, 1001 [OVR][WU_IA][SLP_STATE][DTAP]--[STAP][6D_IA][FF_IA][DRDY]

func_ck: 0000, 0000 [TILT_INT][FS_SRC][SIG_MOT]--[RST_SIG_MOT][RST_PED][STP_DET][GATE_FUNC]

tapsrc : 0010, 0100 [0][TAP_IA][STAP][DTAP]--[TAPSGN][XTAP][YTAP][ZTAP]

wkupsrc: 0000, 0000 [0][0][FF_IA][SLP_STAT]--[WU_IA][X_WU][Y_WU][Z_WU]

6d src: 0010, 0000 [0][6d_IA][ZH][ZL]--[YH][YL][XH][XL]

wkupths: 10, 4 [SINGLE_DOUBLE_TAP][SLEEP_ON]--[WU_THS]

wkupdur: 0 0, 0 0 [FF_DUR5][WU_DUR]--[INT1_Fss7][SLEEP_DUR]

ctrl1: 6, 200 [ODR]--[FS][HF_ODR][BDU]

ctrl2: 0000, 0100 [Boot][SOFT_RESET][0][FUNC_CFG_EN]--[FDS_SLOPE][IF_ADD_INC][I2C_DISABLE][SIM]

ctrl3: 011, 1100 [ST2:1][TAP_X_EN][TAP_Y_EN]--[TAP_Z_EN][LIR][H_LACTIVE][PP_OD]

ctrl4: 0010, 1000 [INT1_MASTER_DRDY][INT1_S_TAP][INT1_WU][INT1_FF]--[INT_TAP][INT1_6D][INT1_FTH][INT1_DRDY]

fifoctrl: 00, 0000 [FMODE[2:0]][INT2_SETP_COUNT_OV]--[MODULE_TO_FIFO][0][0]IF_CS_PU_DIS]

0 REPLIES 0