2025-06-19 6:22 PM - last edited on 2025-06-20 1:16 AM by Peter BENSCH
The measurement data of LIS2MDL was read in the application. Both the Y and Z axes were normal, and their data changed with the position. However, the data of the X axis was abnormal, and its value was the same as TEMP_OUT. Moreover, it was not related to the position. As shown in the screenshot below.
Chip settings: CFG_REG_A = 0X80
Dear friends, could you please help me figure out what the problem is?
Thank you!
2025-06-26 6:37 AM
Hi @MPME_240117 ,
Have you already used our official drivers to exclude issues related to your code?
You can find them on Github.