8.8.2. On-Chip Temperature Sensor (TI MSP430) Introduction

The MSP430G2955 has a built-in temperature sensor. The device has to be calibrated before it can be used accurately. Resources Platform Integration

The sensor can be enabled by defining compile-time flag PLTFRM_ON_CHIP_TEMP_SENSOR_ENA. An example of using this sensor is illustrated in App Examples. Functions

void PLTFRM_onChipTempSensorInit(void)

Initializes the on-chip temperature sensor.

SINT16_t PLTFRM_readOnChipTempSensor(void)

Obtains the temperature value as sensed by the on-chip sensor.

Returns:Temperature value is return in unit of centi celsius.