2026-04-27 7:11 AM - last edited on 2026-04-27 7:25 AM by Andrew Neil
Hello everyone,
I'm working with the LIS2MDL sensor (steval_mki181v1) , i made a connection between it and the nrf5340 and I configured it over I2C with pull-up resistors enabled.
-VDD -- > VDD
-VDDio --> VDD
-CS --> VDD
-PIN I2C :: SCL to SCL et SDA to SDA
-GND t GND
Current configuration:
I2C communication working (i got the chip id 0x40)
Block Data Update (BDU) enabled
Output Data Rate tested at 10 Hz or50 Hz
Offset cancellation enabled
Continuous mode enabled
However, I noticed that the values I read from the sensor remain almost always the same and do not update as expected, as shown in the photo below.
Could anyone help me understand what might be causing this issue or guide me on how to troubleshoot it?
Any help would be greatly appreciated. Thank you!