English
Language : 

C8051F54X_14 Datasheet, PDF (60/275 Pages) Silicon Laboratories – Mixed Signal ISP Flash MCU Family
C8051F54x
6.2. Temperature Sensor
An on-chip temperature sensor is included on the C8051F54x devices which can be directly accessed via
the ADC multiplexer in single-ended configuration. To use the ADC to measure the temperature sensor,
the ADC multiplexer channel should be configured to connect to the temperature sensor. The temperature
sensor transfer function is shown in Figure 6.3. The output voltage (VTEMP) is the positive ADC input is
selected by bits AD0MX[4:0] in register ADC0MX. The TEMPE bit in register REF0CN enables/disables
the temperature sensor, as described in SFR Definition 7.1. While disabled, the temperature sensor
defaults to a high impedance state and any ADC measurements performed on the sensor will result in
meaningless data. Refer to Table 6.10 for the slope and offset parameters of the temperature sensor.
VTEMP = (Slope x TempC) + Offset
TempC = (VTEMP - Offset) / Slope
Slope (V / deg C)
Offset (V at 0 Celsius)
Temperature
Figure 6.3. Temperature Sensor Transfer Function
60
Rev. 1.1