Other Parts Discussed in Thread: HDC1080
Hello,
I have gone through SNAA312 application note. I am bit confused with the statement "the 2 LSBs D1 and D0 are always 0".
1) Whether D0 and D1 are lower two bits in TEMPERATURE[15-0] or lower two bits of TEMPERATURE[15-8] MSB.
When I read temperature I am getting below values. Where D0 and D1 of TEMPERATURE[15-8] MSB is always 0.
25775 : 0x64AF : 0110 0100 1010 1111
25783 : 0x64B7 : 0110 0100 1011 0111
25794 : 0x64C2 : 0110 0100 1100 0010
2) Even examples in SNAA312 is misleading.
TEMPERATURELSB = 0x293B
10555 : 0x293B : 0010 1001 0011 1011 Where both D0 & D1 in TEMPERATURE[15-0] and TEMPERATURE[15-8] are not zero.
HUMIDITYLSB = 0x42DC
17116 : 0x42DC : 0100 0010 1101 1100 Where D0 & D1 in TEMPERATURE[15-8] are not zero.
To avoid all these confusions, better to mark D0 and D1 in register descriptions itself.
3) To cross-check, I changed resolution settings. Previously I used 0x01 to trigger measurement with 14-bit resolution. Now I changed to 0xA1 to trigger measurement with 8-bit resolution. But I am getting
For Temperature
25950 : 0x655E : 0110 0101 0101 1110 Where both D0 & D1 in TEMPERATURE[15-0] and TEMPERATURE[15-8] are not zero.
I am bit confused with 14-bit / 8-bit resolution and with the statement "the 2 LSBs D1 and D0 are always 0".
Thanks & Regards
Vishnu Beema