Reading CPU temp on an Intel Atom 330
Posted: Sun Mar 25, 2012 5:06 am
Hi all,
I am trying to read the CPU temperature (and case temperature if possible) on an Intel Atom 330. According to the processor datasheet, the CPU has an on-die digital thermal sensor which I verified with CPUID.
The problem is that IA32_THERM_STATUS MSR register, which is used for getting the DTS reading, indicates that the temperature reading that I get from the DTS is not valid (i.e. bit 31 is not set). Actually, the IA32_THERM_STATUS MSR has a value of 0x85F0000.
I also read the IA32_THERM_INTERRUPT MSR register and I found it to have a value of 0. That means that the value in both the temperature thresholds (Threshold #1 Value, Threshold #2 Value) is zero. I suspected that maybe my DTS reading is indicated as invalid because it is above the temperature thresholds limits which are both zero.
I’ve set a value to both temperature thresholds equal to Tjmax but I still get an “invalid reading” indication when reading the IA32_THERM_STATUS register.
Something last: it’s mentioned in the processor datasheet that the DTS will output a temperature relative to the maximum supported operating temperature of the processor (Tjmax).
Because it’s not implicitly mentioned, is it safe to assume that Tjmax is equal to the catastrophic processor temperature which is 125°C (it is mentioned that the processor will stop all execution when the junction temperature exceeds approximately 125°C)?
Do you guys have any idea what could be wrong?
Thanks in advance.
UPDATE: When I set the Threshold #1 and Threshold #2 values to 125°C, the bits (Thermal Threshold #1 and Thermal Threshold #2 bits) that indicate if the actual temperature is currently higher than or equal to the value set for each threshold respectively, are set. That means that it is indicated that currently the temperature is above 125°C!
I am trying to read the CPU temperature (and case temperature if possible) on an Intel Atom 330. According to the processor datasheet, the CPU has an on-die digital thermal sensor which I verified with CPUID.
The problem is that IA32_THERM_STATUS MSR register, which is used for getting the DTS reading, indicates that the temperature reading that I get from the DTS is not valid (i.e. bit 31 is not set). Actually, the IA32_THERM_STATUS MSR has a value of 0x85F0000.
I also read the IA32_THERM_INTERRUPT MSR register and I found it to have a value of 0. That means that the value in both the temperature thresholds (Threshold #1 Value, Threshold #2 Value) is zero. I suspected that maybe my DTS reading is indicated as invalid because it is above the temperature thresholds limits which are both zero.
I’ve set a value to both temperature thresholds equal to Tjmax but I still get an “invalid reading” indication when reading the IA32_THERM_STATUS register.
Something last: it’s mentioned in the processor datasheet that the DTS will output a temperature relative to the maximum supported operating temperature of the processor (Tjmax).
Because it’s not implicitly mentioned, is it safe to assume that Tjmax is equal to the catastrophic processor temperature which is 125°C (it is mentioned that the processor will stop all execution when the junction temperature exceeds approximately 125°C)?
Do you guys have any idea what could be wrong?
Thanks in advance.
UPDATE: When I set the Threshold #1 and Threshold #2 values to 125°C, the bits (Thermal Threshold #1 and Thermal Threshold #2 bits) that indicate if the actual temperature is currently higher than or equal to the value set for each threshold respectively, are set. That means that it is indicated that currently the temperature is above 125°C!