ICM-20948: Using FIFO for accelerometer data

By dimitom , 14 February 2019

Hello,

I am trying to use the FIFO for acquiring continues accelerometer data, but no data becomes available when reading the FIFO_R_W register over SPI. Is the following configuration correct?

    The CLKSEL in PWR_MGMT_1 is set to the default(auto).
    The SLEEP bit is unset in PWR_MGMT_1
    FIFO_MODE is configured for Stream
    FIFO_EN_2 is enabled with ACCEL_FIFO_EN for Accelerometer data
    Then, the data should become available at FIFO_R_W

The datasheet only says "look at the Register descriptions", so I would expect the FIFO to work with the above configuration. Is there special timing or procedure for the FIFO configuration?

Thanks,
Dimi

phpbb Topic ID
37413