This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0L1304: Internal temperature sensor - factory calibration

Part Number: MSPM0L1304


Dear users of the E2E forum!

I am using the MSPM0L1304 (PG2). I was hoping to be able to use the internal temperature sensor with the factory-trimmed values. I can read the trim value in the memory:

The location of the trim value is described in the RM as follows (0x41C4003C):

We see a value of 400 in the flash (interpreted as 16Bit Unsigned), with 12-Bit resolution and 1.4V reference (described in RM), it corresponds to 136mV output voltage of the temperature sensor. The value of 400 differs greatly of from the exemplary value in the RM: 1857.

When I read out the temperature sensor with the 3.3V reference and 12-Bit resolution, I obtain values of approximately 850 corresponding to a voltage of 685mV.

When I read out the ADC channel with the 1.4V reference, I obtain a value of approximately 1858 corresponding to a voltage of 635mV. Values are measured at approximately 25°C.

The difference voltage amounts to approximately 500mV which would result in a temperature difference of approximately 250°C (-2.04mV/°C).

This temperature difference is not plausible.

Do I somehow misinterpret the trim value stored in the flash?