Hi,
ADC12 channels 0-6 are taken for other ADC readings, so I want to output the temperature on ADC12MEM7.
Until now, an external Temperature sensor has been used. I need to read the MSP430's internal temperature sensor.
In the User's Guide:
28.2.8 Using the Integrated Temperature Sensor
To use the on-chip temperature sensor, select the analog input channel INCHx = 1010. Any other
configuration is done as if an external channel were selected, including reference selection and
conversion-memory selection.
The temperature sensor is part of the reference. Therefore, for devices with
the REF module, in addition to the input channels selection INCHx = 1010, configuring ADC12REFON = 1
(for REFMSTR = 0) or REFON = 1 (for REFMSTR = 1) is required to enable the temperature sensor.
For the MSP430F54xx (non-A) devices, which do not include the REF module, selecting the temperature
sensor by configuring INCHx = 1010 automatically enables the reference generator required for the
temperature sensor. Any other configuration is done as if an external channel were selected, including
reference selection and conversion-memory selection.
I tried to use the example program msp430x54x_adc12_10.c - but I'm not getting any values that resemble temperature values...
Any help would be appreciated.
Thanks,
Mechi

