I am having hard time to understand how to interpret properly the 16-bits output of the 19-bits ADC, how it is implemented in the library.
In the example given by Melexis (see below), for positive and negative numbers, the 19th bit (left-most) stays at 0. Why so ? Does it mean that this bit is useless ?
The 18th bit seems to represent the sign of the measurement data, is it correct ?
If yes, this means that it's not possible to know the sign of the magnetic field for RES = 0x1 0x0, because we don't have access to this bit. Isn't it ?
Therefore, in the readMeasurement method : xi,yi,zi should be declared as uint16_t for this resolution settings and int16_t for RES = 0x2 ?
Hi,
I am having hard time to understand how to interpret properly the 16-bits output of the 19-bits ADC, how it is implemented in the library.