Skip to main content
Associate
October 17, 2023
Question

LSM6DSO

  • October 17, 2023
  • 3 replies
  • 1513 views

I want to read Temperature data in register [20h,21h] , but the data I read are 0x00 , should I setting which register ?  

This topic has been closed for replies.

3 replies

Pierre_Paris
ST Employee
October 17, 2023

Hello @KevinHSU,

Thank you for your question.

  • What is the value of ODR_T_BATCH_[1:0] in FIFO_CTRL4 (0Ah) ? If it's 00, the temperature is not batched in FIFO (default). You need to select a data rate (eg : 11 for 52 Hz).
  • Also, can you check the TDA bit in the STATUS_REG (1Eh) ? It indicates if new data are available or not.

Best Regards,

Pierre

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.
KevinHSUAuthor
Associate
October 18, 2023

Hellow Pierre

The FIFO_CTRL4 (0Ah) value is 0x30 , so ODR_T_BATCH_[1:0] is "11" , and I check the 1Eh still 0x00 .

Do you have another suggestion

thanks

Pierre_Paris
ST Employee
October 18, 2023

Hello @KevinHSU,

  • What is the value of TAG_SENSOR_[4:0] in FIFO_DATA_OUT_TAG (78h) ?
  • And are you using the interrupt on INT2 pin, what is the value of INT2_CTRL (0Eh) register ?
  • Have you always respected the AMR ?

Best Regards,

Pierre

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.