English
Language : 

RFM42 Datasheet, PDF (38/110 Pages) –
RFM42/43
7.4. Temperature Sensor
An analog temperature sensor is integrated into the module. The temperature sensor will be automatically enabled
when the temperature sensor is selected as the input of the ADC or when the analog temp voltage is selected on
the analog test bus. The temperature sensor value may be digitized using the general-purpose ADC and read out
over the SPI through "Register 10h. ADC Sensor Amplifier Offset". The range of the temperature sensor is selectable
to configure to the desired application and performance. The table below demonstrates the settings for the different
temperature ranges and performance.
To use the Temp Sensor:
1. Set input for ADC to be Temperature Sensor, "Register 0Fh. ADC Configuration"—adcsel[2:0] = 000
2. Set Reference for ADC, "Register 0Fh. ADC Configuration"—adcref[1:0] = 00
3. Set Temperature Range for ADC, "Register 12h. Temperature Sensor Calibration"—tsrange[1:0]
4. Set entsoffs = 1, "Register 12h. Temperature Sensor Calibration"
5. Trigger ADC Reading, "Register 0Fh. ADC Configuration"—adcstart = 1
6. Read-out Value—Read Address in "Register 11h. ADC Value"
Function/Descr
POR
Add R/W
D7
D6
D5
D4
D3
D2
D1
D0
iption
Def.
Temperature
12 R/W
tsrange[1] tsrange[0] entsoffs entstrim vbgtrim[3] vbgtrim[2] vbgtrim[2] vbgtrim[2] 20h
Sensor Control
13 R/W
Temperature
Value Offset
tvoffs[7]
tvoffs[7] tvoffs[7] tvoffs[7] tvoffs[7]
tvoffs[7]
tvoffs[7]
tvoffs[7]
00h
Table 14. Temperature Sensor Range
entoff tsrange[1] tsrange[0]
Temp. range Unit Slope
ADC8 LSB
1
0
0
–64 … 64 °C
°C 8 mV/°C
0.5 °C
1
0
1
–64 … 192
°C 4 mV/°C
1 °C
1
1
0
0 … 128
°C 8 mV/°C
0.5 °C
1
1
1
–40 … 216
°F 4 mV/°F
1 °F
0*
1
0
0 … 341
°K 3 mV/°K
1.333 °K
*Note: Absolute temperature mode, no temperature shift. This mode is only for test purposes. POR value of
EN_TOFF is 1.
Control to adjust the temperature sensor accuracy is available by adjusting the bandgap voltage. By enabling the
envbgcal and using the vbgcal[3:0] bits to trim the bandgap the temperature sensor accuracy may be fine tuned in
the final application. The slope of the temperature sensor is very linear and monotonic but the exact accuracy or
offset in temperature is difficult to control better than ±10 °C. With the vbgtrim or bandgap trim though the initial
temperature offset can be easily adjusted and be better than ±3 °C.
The different ranges for the temperature sensor and ADC8 are demonstrated in Figure 18. The value of the ADC8
may be translated to a temperature reading by ADC8Value x ADC8 LSB + Lowest Temperature in Temp Range.
For instance for a tsrange = 00, Temp = ADC8Value x 0.5 – 64.
38
Tel: +86-755-82973805 Fax: +86-755-82973550 E-mail: sales@hoperf.com http://www.hoperf.com