This is the full out put of example one , one thing I can not understand is error is always 1 instead of 0 , I have tried two different sensor and the results are same Expected : 0x07 : PMU cmd busy : 0x0 Read : 0x07 : PMU cmd busy : 0x1 Expected : 0x02 : Error Register : 0x0 Read : 0x02 : Error Register : 0xFF Expected : 0x2E : Interrupt control : 0x86 Read : 0x2E : Interrupt control : 0x86 Data ready enabled\r Compensated Magnetometer and temperature data in NORMAL MODE Timestamp(ms), Mag_X(uT), Mag_Y(uT), Mag_Z(uT), Temperature(degC) -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 ***** AVERAGE MAG VALUE ***** Average_Mag_X(uT), Average_Mag_Y(uT), Average_Mag_Z(uT) -0.539288, -0.539323, -0.540135 Compensated Magnetometer and temperature data in SUSPEND MODE Timestamp(ms), Mag_X(uT), Mag_Y(uT), Mag_Z(uT), Temperature(degC) -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 Compensated Magnetometer and temperature data in NORMAL MODE Disable x and y axis, enable z axis Mag_X(uT), Mag_Y(uT), Mag_Z(uT), Temperature(degC) 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 nopsee this stuff --printsee this stuff --++printfnopsee this stuff --printsee this stuff --++printfnop -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 ***** AVERAGE MAG VALUE ***** Average_Mag_X(uT), Average_Mag_Y(uT), Average_Mag_Z(uT) -0.539288, -0.539323, -0.540135 Noise level x, Noise level y, Noise level z 0.539288, 0.539323, 0.540135 Compensated Magnetometer and temperature data in SUSPEND MODE Timestamp(ms), Mag_X(uT), Mag_Y(uT), Mag_Z(uT), Temperature(degC) -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 -1.078575, -1.078646, -1.080269, 25.239235 Compensated Magnetometer and temperature data in NORMAL MODE Disable x and y axis, enable z axis Mag_X(uT), Mag_Y(uT), Mag_Z(uT), Temperature(degC) 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235 0.000000, 0.000000, -1.080252, 25.239235
... View more