cancel
Showing results for 
Search instead for 
Did you mean: 

lsm6dsr driver fix?

suads
Associate III

Hello,

One of my previous post the driver for the sensor lsm6dsox hub mode 2 configuration, I have written that the function lsm6dsox_sh_read_data_raw_get was not working correctly. I managed to fix it.Now I see someone fixit

0693W000004IVG2QAO.png

Now I'm using lsm6dsr and the same function lsm6dsr_sh_read_data_raw_get needs to add the length.

And also this needs to be changed

typedef enum {

LSM6DSR_EXT_ON_INT2_PIN = 0,

LSM6DSR_XL_GY_DRDY = 1,

} lsm6dsr_start_config_t;

to

typedef enum {

LSM6DSR_XL_GY_DRDY = 0,

LSM6DSR_EXT_ON_INT2_PIN = 1,

} lsm6dsr_start_config_t;

Please can someone check and confirm.

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

Hi @suads​ ,

back to you again. Our experts suggestion is to directly open an issue or a pull request on the LSM6DSR or LSM6DSOX Github folder: every week all the open points will be validated and typically on Friday they'll be closed.

But ok, for this time no problem, the bug has been reported.

-Eleon

View solution in original post

2 REPLIES 2
Eleon BORLINI
ST Employee

Hi @suads​ ,

I think you are right, but let me please submit it internally to our experts.

Thank you for your bug reporting, also for the last time I didn't do the follow-up.

-Eleon

Eleon BORLINI
ST Employee

Hi @suads​ ,

back to you again. Our experts suggestion is to directly open an issue or a pull request on the LSM6DSR or LSM6DSOX Github folder: every week all the open points will be validated and typically on Friday they'll be closed.

But ok, for this time no problem, the bug has been reported.

-Eleon