2017-11-22 08:48 AM
I try to use the lis3dh in FIFO_STREAM mode and HighRes mode. But when I read the values they seem to only be 10bit values.
(I am setting CTRL_REG4 = 0x08, CTRL_REG5=0x40 and ODR=100Hz.)
According to AN3308 16-bits values are stored in the FIFO. In the LIS3DH datasheet, on the front page it says '16-bit data output FIFO'. But further down in section 3.6 I read 'The LIS3DH contains a 10-bit, 32-level FIFO.'.
Has any one managed to get 12-bit values from the FIFO?
BR
/Tomas2017-11-22 12:25 PM
You are right, it is not very well written in the datasheet.
The FIFO can store only 10-bit values. When you read the values you actualy read 16-bit value 2 bytes, but only left 10-bits are used.