TEMP — Temperature sensor

The temperature sensor measures die temperature over the temperature range of the device. Linearity compensation can be implemented if required by the application.

Listed here are the main features for TEMP:

  • Temperature range is greater than or equal to operating temperature of the device
  • Resolution is 0.25 degrees

TEMP is started by triggering the START task.

When the temperature measurement is completed, a DATARDY event will be generated and the result of the measurement can be read from the TEMP register.

To achieve the measurement accuracy stated in the electrical specification, the crystal oscillator must be selected as the HFCLK source, see CLOCK — Clock control for more information.

When the temperature measurement is completed, TEMP analog electronics power down to save power.

TEMP only supports one-shot operation, meaning that every TEMP measurement has to be explicitly started using the START task.

Registers

Table 1. Instances
Base addressPeripheralInstanceDescriptionConfiguration
0x4000C000TEMPTEMPTemperature sensor  
Table 2. Register Overview
RegisterOffsetDescription
TASKS_START0x000Start temperature measurement 
TASKS_STOP0x004Stop temperature measurement 
EVENTS_DATARDY0x100Temperature measurement complete, data ready 
INTENSET0x304Enable interrupt 
INTENCLR0x308Disable interrupt 
TEMP0x508Temperature in °C (0.25° steps) 
A00x520Slope of 1st piece wise linear function 
A10x524Slope of 2nd piece wise linear function 
A20x528Slope of 3rd piece wise linear function 
A30x52CSlope of 4th piece wise linear function 
A40x530Slope of 5th piece wise linear function 
A50x534Slope of 6th piece wise linear function 
B00x540y-intercept of 1st piece wise linear function 
B10x544y-intercept of 2nd piece wise linear function 
B20x548y-intercept of 3rd piece wise linear function 
B30x54Cy-intercept of 4th piece wise linear function 
B40x550y-intercept of 5th piece wise linear function 
B50x554y-intercept of 6th piece wise linear function 
T00x560End point of 1st piece wise linear function 
T10x564End point of 2nd piece wise linear function 
T20x568End point of 3rd piece wise linear function 
T30x56CEnd point of 4th piece wise linear function 
T40x570End point of 5th piece wise linear function 

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id                               A
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWDATARDY  

Write '1' to Enable interrupt for DATARDY event

See EVENTS_DATARDY

   Set1Enable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
Id                               A
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWDATARDY  

Write '1' to Disable interrupt for DATARDY event

See EVENTS_DATARDY

   Clear1Disable
   Disabled0Read: Disabled
   Enabled1Read: Enabled
 

TEMP

Address offset: 0x508

Temperature in °C (0.25° steps)

Bit number313029282726252423222120191817161514131211109876543210
IdAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARTEMP  

Temperature in °C (0.25° steps)

Result of temperature measurement. Die temperature in °C, 2's complement format, 0.25 °C steps

Decision point: DATARDY

 

A0

Address offset: 0x520

Slope of 1st piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000032000000000000000000000001100100000
IdRWFieldValue IdValueDescription
ARWA0  Slope of 1st piece wise linear function
 

A1

Address offset: 0x524

Slope of 2nd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000034300000000000000000000001101000011
IdRWFieldValue IdValueDescription
ARWA1  Slope of 2nd piece wise linear function
 

A2

Address offset: 0x528

Slope of 3rd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000035D00000000000000000000001101011101
IdRWFieldValue IdValueDescription
ARWA2  Slope of 3rd piece wise linear function
 

A3

Address offset: 0x52C

Slope of 4th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000040000000000000000000000010000000000
IdRWFieldValue IdValueDescription
ARWA3  Slope of 4th piece wise linear function
 

A4

Address offset: 0x530

Slope of 5th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000047F00000000000000000000010001111111
IdRWFieldValue IdValueDescription
ARWA4  Slope of 5th piece wise linear function
 

A5

Address offset: 0x534

Slope of 6th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                    AAAAAAAAAAAA
Reset 0x0000037B00000000000000000000001101111011
IdRWFieldValue IdValueDescription
ARWA5  Slope of 6th piece wise linear function
 

B0

Address offset: 0x540

y-intercept of 1st piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x00003FCC00000000000000000011111111001100
IdRWFieldValue IdValueDescription
ARWB0  y-intercept of 1st piece wise linear function
 

B1

Address offset: 0x544

y-intercept of 2nd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x00003F9800000000000000000011111110011000
IdRWFieldValue IdValueDescription
ARWB1  y-intercept of 2nd piece wise linear function
 

B2

Address offset: 0x548

y-intercept of 3rd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x00003F9800000000000000000011111110011000
IdRWFieldValue IdValueDescription
ARWB2  y-intercept of 3rd piece wise linear function
 

B3

Address offset: 0x54C

y-intercept of 4th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x0000001200000000000000000000000000010010
IdRWFieldValue IdValueDescription
ARWB3  y-intercept of 4th piece wise linear function
 

B4

Address offset: 0x550

y-intercept of 5th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x0000006A00000000000000000000000001101010
IdRWFieldValue IdValueDescription
ARWB4  y-intercept of 5th piece wise linear function
 

B5

Address offset: 0x554

y-intercept of 6th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                  AAAAAAAAAAAAAA
Reset 0x00003DD000000000000000000011110111010000
IdRWFieldValue IdValueDescription
ARWB5  y-intercept of 6th piece wise linear function
 

T0

Address offset: 0x560

End point of 1st piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x000000E200000000000000000000000011100010
IdRWFieldValue IdValueDescription
ARWT0  End point of 1st piece wise linear function
 

T1

Address offset: 0x564

End point of 2nd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IdRWFieldValue IdValueDescription
ARWT1  End point of 2nd piece wise linear function
 

T2

Address offset: 0x568

End point of 3rd piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000001400000000000000000000000000010100
IdRWFieldValue IdValueDescription
ARWT2  End point of 3rd piece wise linear function
 

T3

Address offset: 0x56C

End point of 4th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000001900000000000000000000000000011001
IdRWFieldValue IdValueDescription
ARWT3  End point of 4th piece wise linear function
 

T4

Address offset: 0x570

End point of 5th piece wise linear function

Bit number313029282726252423222120191817161514131211109876543210
Id                        AAAAAAAA
Reset 0x0000005000000000000000000000000001010000
IdRWFieldValue IdValueDescription
ARWT4  End point of 5th piece wise linear function
 

Electrical specification

Temperature Sensor Electrical Specification

SymbolDescriptionMin.Typ.Max.Units
tTEMPTime required for temperature measurement36µs
TTEMP,RANGETemperature sensor range-4085°C
TTEMP,ACCTemperature sensor accuracy-55°C
TTEMP,RESTemperature sensor resolution0.25°C
TTEMP,STBSample to sample stability at constant device temperature+/-0.25°C
TTEMP,OFFSTSample offset at 25°C-2.52.5°C