Reading temperature from LMS7002M

#1

Hi guys ,
I have SPI communication between LMS7002M and a python script .Can I read on-chip absolute temperature from a register on LMS7002M ? I have found 4 registers which show voltages related to temperature from Programming and Calibration guide of LMS7002M .
1.0x0601[5]–Temperature Reference comparator value
2.0x0601[4]–Temperature VPTAT comparator value
3.0x0606[15:8]–Stores the temperature reference value.
4.0x0606[7:0]–Stores the voltage proportional to absolute temperature value.

#2

Here’s code to read temperature: https://github.com/myriadrf/LimeSuite/blob/5f4118d41c84393725ee02bd6ca172a80e75590e/src/lms7002m/LMS7002M.cpp#L2704

But there is an open issue stating that it can be wrong: https://github.com/myriadrf/LimeSuite/issues/212