cancel
Showing results for 
Search instead for 
Did you mean: 

How to use LSM6DSO32X

sygo
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Federica Bossi
ST Employee

Hi @sygo ,

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

Please, refer to this PID.

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.

View solution in original post

5 REPLIES 5
Federica Bossi
ST Employee

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 :)

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.
sygo
Associate II

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

sygo
Associate II

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

Thank you

Federica Bossi
ST Employee

Hi @sygo ,

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

Please, refer to this PID.

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.

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