Skip to main content
Associate
November 5, 2024
Question

LSM6DSO no data in FIFO

  • November 5, 2024
  • 1 reply
  • 760 views

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

 

1 reply

XUEZHIAuthor
Associate
November 18, 2024

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 

Federica Bossi
Technical Moderator
December 6, 2024

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.