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:

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

Instances

InstanceBase addressDescription
TEMP0x4000C000Temperature sensor

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 first piecewise linear function
A10x524Slope of second piecewise linear function
A20x528Slope of third piecewise linear function
A30x52CSlope of fourth piecewise linear function
A40x530Slope of fifth piecewise linear function
A50x534Slope of sixth piecewise linear function
B00x540y-intercept of first piecewise linear function
B10x544y-intercept of second piecewise linear function
B20x548y-intercept of third piecewise linear function
B30x54Cy-intercept of fourth piecewise linear function
B40x550y-intercept of fifth piecewise linear function
B50x554y-intercept of sixth piecewise linear function
T00x560End point of first piecewise linear function
T10x564End point of second piecewise linear function
T20x568End point of third piecewise linear function
T30x56CEnd point of fourth piecewise linear function
T40x570End point of fifth piecewise linear function

TASKS_START

Address offset: 0x000

Start temperature measurement

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_STARTStart temperature measurement
Trigger1Trigger task

TASKS_STOP

Address offset: 0x004

Stop temperature measurement

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
AWTASKS_STOPStop temperature measurement
Trigger1Trigger task

EVENTS_DATARDY

Address offset: 0x100

Temperature measurement complete, data ready

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWEVENTS_DATARDYTemperature measurement complete, data ready
NotGenerated0Event not generated
Generated1Event generated

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWDATARDYWrite '1' to enable interrupt for event DATARDY
Set1Enable
Disabled0Read: Disabled
Enabled1Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWDATARDYWrite '1' to disable interrupt for event DATARDY
Clear1Disable
Disabled0Read: Disabled
Enabled1Read: Enabled

TEMP

Address offset: 0x508

Temperature in °C (0.25° steps)

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue 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 first piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000032600000000000000000000001100100110
IDR/WFieldValue IDValueDescription
ARWA0Slope of first piecewise linear function

A1

Address offset: 0x524

Slope of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000034800000000000000000000001101001000
IDR/WFieldValue IDValueDescription
ARWA1Slope of second piecewise linear function

A2

Address offset: 0x528

Slope of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000003AA00000000000000000000001110101010
IDR/WFieldValue IDValueDescription
ARWA2Slope of third piecewise linear function

A3

Address offset: 0x52C

Slope of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000040E00000000000000000000010000001110
IDR/WFieldValue IDValueDescription
ARWA3Slope of fourth piecewise linear function

A4

Address offset: 0x530

Slope of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000004BD00000000000000000000010010111101
IDR/WFieldValue IDValueDescription
ARWA4Slope of fifth piecewise linear function

A5

Address offset: 0x534

Slope of sixth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000005A300000000000000000000010110100011
IDR/WFieldValue IDValueDescription
ARWA5Slope of sixth piecewise linear function

B0

Address offset: 0x540

y-intercept of first piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x00003FEF00000000000000000011111111101111
IDR/WFieldValue IDValueDescription
ARWB0y-intercept of first piecewise linear function

B1

Address offset: 0x544

y-intercept of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x00003FBE00000000000000000011111110111110
IDR/WFieldValue IDValueDescription
ARWB1y-intercept of second piecewise linear function

B2

Address offset: 0x548

y-intercept of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x00003FBE00000000000000000011111110111110
IDR/WFieldValue IDValueDescription
ARWB2y-intercept of third piecewise linear function

B3

Address offset: 0x54C

y-intercept of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x0000001200000000000000000000000000010010
IDR/WFieldValue IDValueDescription
ARWB3y-intercept of fourth piecewise linear function

B4

Address offset: 0x550

y-intercept of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x0000012400000000000000000000000100100100
IDR/WFieldValue IDValueDescription
ARWB4y-intercept of fifth piecewise linear function

B5

Address offset: 0x554

y-intercept of sixth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAA
Reset 0x0000027C00000000000000000000001001111100
IDR/WFieldValue IDValueDescription
ARWB5y-intercept of sixth piecewise linear function

T0

Address offset: 0x560

End point of first piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x000000E200000000000000000000000011100010
IDR/WFieldValue IDValueDescription
ARWT0End point of first piecewise linear function

T1

Address offset: 0x564

End point of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
ARWT1End point of second piecewise linear function

T2

Address offset: 0x568

End point of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000001900000000000000000000000000011001
IDR/WFieldValue IDValueDescription
ARWT2End point of third piecewise linear function

T3

Address offset: 0x56C

End point of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000003C00000000000000000000000000111100
IDR/WFieldValue IDValueDescription
ARWT3End point of fourth piecewise linear function

T4

Address offset: 0x570

End point of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000005000000000000000000000000001010000
IDR/WFieldValue IDValueDescription
ARWT4End point of fifth piecewise 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.250.25°C
TTEMP,OFFSTSample offset at 25°C-2.52.5°C