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!