SLASFC9A December 2024 – June 2025 MSPM0L1116 , MSPM0L1117
PRODUCTION DATA
The temperature sensor provides a voltage output that changes linearly with device temperature. The temperature sensor output is internally connected to one of ADC input channels to enable a temperature-to-digital conversion.
A unit-specific single-point calibration value for the temperature sensor is provided in the factory constants memory region. This calibration value represents the ADC conversion result (in ADC code format) corresponding to the temperature sensor being measured in 12-bit mode with the 1.4V internal VREF at the factory trim temperature (TSTRIM).
The ADC and VREF configuration for the above measurement is as the following: RES=0 (12-bit mode), VRSEL=2h (Internal reference), BUFCONFIG=1h (1.4V VREF), ADC tSample=12.5µs. This calibration value can be used with the temperature sensor temperature coefficient (TSc) to estimate the device temperature.
An additional unit-specific calibration value (VTRIM_0K) is provided for use in calculating per-unit TSc performance. This calibration value represents the ADC conversion result (in ADC code format) corresponding to the temperature sensor being measured in 12-bit mode with the 1.4V internal VREF at 0°K (or -273.15°C) and is stored in the factory constants memory region (as TEMP_SENSE_0KELVIN at address 0x41C4.0040).
The temperature coefficient TSC can then be calculated using the formula below:
Example
To illustrate the process of calculating the temperature sensor coefficient using this method, an example is given below.
Example parameters:
VSAMPLE = 0.6427V
VTRIM_0K = 1.2033V
TSAMPLE = 30°C
The resulting unit-specific temperature coefficient is calculated as:
See the temperature sensor section of the MSPM0 L-Series 32MHz Microcontrollers Technical Reference Manual for guidance on estimating the device temperature with the factory trim value.