Skip to main content
Visitor II
November 9, 2023
Solved

How to use LSM6DSO32X

  • November 9, 2023
  • 4 replies
  • 1762 views

Hi,

I am using LSM6DSO32X using SPI communication in TI AM2634 Chip.
By default, I made a packet of Ctrl1_xl and Ctrl2_xl to 0x10b0 0x1110, and the Accel data and GYRO data were output.
I saw Datasheet, but it's too hard to understand what each register is playing.

Can you tell me the appropriate Register setting example?
Can you tell me how to use LPF?
The figure shows the data output to my register settings.
From the top left, Accel X, Y, Z, Gyro P, R, Y.

 

Also, how do you correct each Accel value and GYRO value?

Do I have to implement it in my own software?

 

Thank you

제목 없음.png

    This topic has been closed for replies.
    Best answer by Federica Bossi

    Hi @sygo ,

    For more information and explanation about the FSM and MLC, please refer to AN5629 and AN5656.

    Please, refer to this PID.

    4 replies

    Technical Moderator
    November 9, 2023

    Hi @sygo ,

    Please, take a look at our PID where you can find a lot of examples that can help you for all the different LSM6DSO32X applications :)

    sygoAuthor
    Visitor II
    November 10, 2023

    Thanks for letting me know

    But I still don't know much about FSM and MLC.

    In the example, looking at the implementation of the lsm6dso32x_fsm_enable_get function, FUNCCFG_ACCESS is initialized to 0x10.

    Then I check the FSM_ENABLE_A register, but I don't know what it does.

    Also, I don't know what an embedded function is.

    Can you tell me the operating sequence of this sensor?

    It's very basic, but it's too difficult for me, i'm sorry.

    Thank you

    sygoAuthor
    Visitor II
    November 10, 2023

    Can you tell me the example name that only shows the data that just calibrated the value during the example?

    Thank you

    Technical Moderator
    November 10, 2023

    Hi @sygo ,

    For more information and explanation about the FSM and MLC, please refer to AN5629 and AN5656.

    Please, refer to this PID.

    sygoAuthor
    Visitor II
    November 14, 2023

    Sorry, but I have one more question.

    I had success implementing it on other platforms using PID.

    But I don't know if this is the right value.

    I used the lsm6dso32x_offset example of PID.

    The picture below is when the board with IMU is stationary.

    Are these values ​​correct?

    Thank you

    스크린샷 2023-11-14 151807.png