Ok, that got away. This forum SW is pretty horrible. In ubuntu the cursor jumps around :/.
So I'm evaluating ADXL375 in our system and I'm having little problems getting the interrupts working properly and fifo in general. In fifo-bypass mode I can read the acceleremoter status OK. But when i turn on the stream mode or try to configure the interrupt funtionality, I can get no valid data.
In stream mode, if I read the fifo status ( x seconds after initialization), the fifo status register (0x39) says either 0x00. Same for accelerometer values, they are zero when I read them from data registers.
In interrupt mode I can occasionally see activity on pin, but after nice rise, the pin control is unreleased and the pin state resumes in very lax curve. However I've seen the activity in the HW only couple of times. Most often the chip may say that there's single shock (register 0x30 bit d6) trigger event happened (register 0x39 d7). However no data in fifo. Also read from data registers give 0.
In read function I first read fifo status. If the data-amount is non-zero I read that amount of data, if it's zero I read data registers once.
After all that I allways read the interrupt register.
As sidenote, should I always write 0x00 to 0x2d register before touching any of the other registers? does it matter if I just write 0x00, or should I read it first and clear the measure bit?
Ok, the problem with interrupt signal form and triggering was due problem in HW integration.
However now I can get the interrupt and see the status OK in the INT register, but fifo remains empty.
Let's continue the discussion in the other thread you started.
Retrieving data ...