Hi,
I am using a BMM350 and I am struggling to understand the data I get. According to the manual, the data in the registers are signed integers ("Data registers for X,Y and Z magnetic channel and temperature channel provide data in 24bit registers in 21bit signed-integer format (21LSBs used)").
For a signed integer I would expect for positive values to start with 0 and for negative values to start with 1. Furthermore I would exspect that turning the sensor by 180° would change the sign of the measurement, turning a positive into a negative reading and vice versa. Please comment if I made any wrong assumptions up to this point.
When using the sensor I always get positive readings and the MSB-byte is always zero. Based on above understanding I would expect to be able to turn a positive reading into a negative one by turning the sensor upside down and then the MSB-byte should contain a different value then zero. This is true for all three axis.
Thanks for helping