Skip to main content
Visitor II
November 22, 2017
Question

LIS3DH: Number of bits in FIFO?

  • November 22, 2017
  • 1 reply
  • 717 views
Posted on November 22, 2017 at 17:48

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

/Tomas
    This topic has been closed for replies.

    1 reply

    ST Employee
    November 22, 2017
    Posted on November 22, 2017 at 21:25

    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.