Other Parts Discussed in Thread: SYSCONFIG
Hello. My name is Mori.
I checked the internal thermometer, but it didn't give me the expected results.
I checked when the outside temperature was 23.3℃, but the result was 4℃.
TEMP_SENSE0.DATA was set as 749 and the AD value was output as 1907. (Vref is 1.4v)
The AD value will be about 100 counts higher than expected.
• TSc = -1.8 mV/C
• TEMP_SENSE0.DATA = 749
• TSTRIM = 30℃
• ADCCODE = 1907
VSAMPLE(mv): 1907 * 1400 / 4096 ≒ 651
VTRIM(mv): 749 * 3300 / 4096 ≒ 603
TSAMPLE: (1/-1.8) * (651 - 603) + 30 ≒ 4
I have attached an image of the SysConfig settings.
Please let me know if there is anything wrong.