Hi Team,
The picture above shows the description of the parameters of the offset and equivalent of the internal temperature sensor in the 28035 datasheet.
The picture below shows the description of the internal temperature sensor in TRM.
Question 1. I did not find any description similar to those in the pictures above in the 28379D and 28388D datasheets and TRMs. Could you please tell me where to find the introduction of 28379 and 28388 internal temperature sensors, namely TSLOPE and TOFFSET?
I have the following questions about the function “ADC_getTemperatureC” in the “adc_ex3_temp_sensor” routine of 28379:
I used the LaunchPad of 28379D to look at the values of the two addresses above during the debugging process
Question 2. The values of 0x7036E and 0x70372 are both 0x28A9. Could you please tell me what 0x28A9 represents?
Question 3. This question is similar to question 1. I couldn't find any description about TOFFET and TSLOPE in the 28379 datasheet or TRM. Could you please tell me why?
If I hadn’t read the TRM of 035, I wouldn’t know that TSLOPE is in Q15 format. According to the slope value 0x14A5 (5285) observed during debugging, the equivalent of the internal temperature sensor of 28379D is 5285÷32768=0.16℃/LSB, which is similar to 035.
Question 4. I don't quite understand the principle of the highlighted part of the code below, but the purpose of this code should be to convert the floating-point type temp into an integer one from the debugging point of view, right? But I still want to understand the principle.
Question 5. Regarding the description of the parameters of the internal temperature sensor, I did not find it in the 28388 datasheet or TRM. Could you please tell me where I could find it?
Kind regards,
Katherine