Error setting sampling frequency on lsm6dso - nrf52833

Hi all,

I am running the lsm6dso zephyr sample on my nrf52833 dev kit. I am unable to set the sampling frequency. I get this error after flashing:

This is my overlay file:

My SDK version is 2.7 and I am on Zephyr 3.6.99

My debugger suggests that the issue could be from this case failing in i2c_nrfx_twim.c

However, the IMU address is listed at 7 bits long in the datasheet.

Does anyone have any suggestions?

Parents Reply
  • Hi Håkon,

    You were right, there was some missing connections. I have verified all of the connections now.

    I can write to the sensor but I cannot read from the sensor. 

    I have verified that I can get the "WhoAmI" register (0x6C) 

    I still get a device not ready error. 

    When I use a debugger, I get the init_res value to be 5, which i believe is an input output error. Is it possible that I still have a configuration issue with my device tree? 

    Best,

    Regina

Children
Related