cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO no data in FIFO

XUEZHI
Associate II

FIFO_CTRL4 is 00A1 in hex , 10100001 in binary

FIFO_CTRL3 is 00AA in hex , 10101010 in binary

fifo_status1 is 00000000

fifo_status2 is 00100010

FIFO DATA OUT TAG IS 00100001

 

I have already set LSM6DSO like this but no data is inside the FIFO

Must I open and close embedded function?  I saw someone 's reply in the community 

riteRegister   ( LSM6DSOX_FUNC_CFG_ACCESS, 0x80 );            //Open Embedded Functions
    WriteRegisterBit( LSM6DSOX_EMB_FUNC_EN_A, 3, true );           //Enable Pedometer sensor in Adv Func
    WriteRegister   ( LSM6DSOX_EMB_FUNC_EN_B, 0x10);               //Enable false positive rejection
    WriteRegisterBit( LSM6DSOX_EMB_FUNC_FIFO_CFG, 6, true );       //Enable Step Counter Batching
    WriteRegister   ( LSM6DSOX_FUNC_CFG_ACCESS, 0x00);             //Close Embedded Functions

 

2 REPLIES 2
XUEZHI
Associate II

FIFO_STATUS1 is 0000 in hex , 00000000 in binary

FIFO_STATUS2 is 00A2 in hex , 10100010 in binary

FIFO_DATA_OUT_TAG is 0021 in hex , 00100001 in binary

 

FIFO_DATA_OUT_TAG does not change 

Hi @XUEZHI ,

Have you already tried to implement our official example that you can find on Github?

Let me know if this helps!

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.