2018-06-14 11:28 PM
Hi,
1. Write 64h in CTRL1 // Turn on the accelerometer // ODR = 200 Hz, High-Performance
2. Write 04h in CTRL6 // FS 2 g LOW_NOISE enabled
3. Write 20h in CTRL7 // Do not use low-pass filter for 6D, enable interrupts
4. Write 40h in TAP_THS_X // Set 6D threshold (6D_THS[1:0] = 10b = 60 degrees)
5. Write 80h in CTRL4_INT1_PAD_CTRL // 6D interrupt driven to INT1 pin
interrupt set in SIXD_SRC register but didn't get any interrupt from INT1
2018-06-19 12:50 AM
You configuration is OK, but the interrupt is active for only 1/ODR time, see following picture.
If you want you can enable latched interrupt by writing 0x10 to CTRL3 register, then the interrupt will stay active until you read the interrupt source register.