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.

The main features of TEMP are the following:

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

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

InstanceDomainBase addressTrustZoneSplit accessDescription
MapAttDMA
TEMPNETWORK0x41010000HFNSNANo

Temperature sensor

Register overview

RegisterOffsetTZDescription
TASKS_START0x000

Start temperature measurement

TASKS_STOP0x004

Stop temperature measurement

SUBSCRIBE_START0x080

Subscribe configuration for task START

SUBSCRIBE_STOP0x084

Subscribe configuration for task STOP

EVENTS_DATARDY0x100

Temperature measurement complete, data ready

PUBLISH_DATARDY0x180

Publish configuration for event DATARDY

INTENSET0x304

Enable interrupt

INTENCLR0x308

Disable interrupt

TEMP0x508

Temperature in °C (0.25° steps)

A00x520

Slope of first piecewise linear function

A10x524

Slope of second piecewise linear function

A20x528

Slope of third piecewise linear function

A30x52C

Slope of fourth piecewise linear function

A40x530

Slope of fifth piecewise linear function

A50x534

Slope of sixth piecewise linear function

B00x540

y-intercept of first piecewise linear function

B10x544

y-intercept of second piecewise linear function

B20x548

y-intercept of third piecewise linear function

B30x54C

y-intercept of fourth piecewise linear function

B40x550

y-intercept of fifth piecewise linear function

B50x554

y-intercept of sixth piecewise linear function

T00x560

Endpoint of first piecewise linear function

T10x564

Endpoint of second piecewise linear function

T20x568

Endpoint of third piecewise linear function

T30x56C

Endpoint of fourth piecewise linear function

T40x570

Endpoint of fifth piecewise linear function

TASKS_START

Address offset: 0x000

Start temperature measurement

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

W

TASKS_START

Start temperature measurement

Trigger

1

Trigger task

TASKS_STOP

Address offset: 0x004

Stop temperature measurement

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

W

TASKS_STOP

Stop temperature measurement

Trigger

1

Trigger task

SUBSCRIBE_START

Address offset: 0x080

Subscribe configuration for task START

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that task START will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable subscription

SUBSCRIBE_STOP

Address offset: 0x084

Subscribe configuration for task STOP

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that task STOP will subscribe to

B

RW

EN

Disabled

0

Disable subscription

Enabled

1

Enable subscription

EVENTS_DATARDY

Address offset: 0x100

Temperature measurement complete, data ready

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

EVENTS_DATARDY

Temperature measurement complete, data ready

NotGenerated

0

Event not generated

Generated

1

Event generated

PUBLISH_DATARDY

Address offset: 0x180

Publish configuration for event DATARDY

Bit number313029282726252423222120191817161514131211109876543210
IDBAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

CHIDX

[0..255]

DPPI channel that event DATARDY will publish to

B

RW

EN

Disabled

0

Disable publishing

Enabled

1

Enable publishing

INTENSET

Address offset: 0x304

Enable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

DATARDY

Write '1' to enable interrupt for event DATARDY

Set

1

Enable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

INTENCLR

Address offset: 0x308

Disable interrupt

Bit number313029282726252423222120191817161514131211109876543210
IDA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

RW

DATARDY

Write '1' to disable interrupt for event DATARDY

Clear

1

Disable

Disabled

0

Read: Disabled

Enabled

1

Read: Enabled

TEMP

Address offset: 0x508

Temperature in °C (0.25° steps)

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Reset 0x0000000000000000000000000000000000000000
IDR/WFieldValue IDValueDescription
A

R

TEMP

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 0x000002D900000000000000000000001011011001
IDR/WFieldValue IDValueDescription
A

RW

A0

Slope of first piecewise linear function

A1

Address offset: 0x524

Slope of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000032200000000000000000000001100100010
IDR/WFieldValue IDValueDescription
A

RW

A1

Slope of second piecewise linear function

A2

Address offset: 0x528

Slope of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000035500000000000000000000001101010101
IDR/WFieldValue IDValueDescription
A

RW

A2

Slope of third piecewise linear function

A3

Address offset: 0x52C

Slope of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000003DF00000000000000000000001111011111
IDR/WFieldValue IDValueDescription
A

RW

A3

Slope of fourth piecewise linear function

A4

Address offset: 0x530

Slope of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000044E00000000000000000000010001001110
IDR/WFieldValue IDValueDescription
A

RW

A4

Slope of fifth piecewise linear function

A5

Address offset: 0x534

Slope of sixth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000004B700000000000000000000010010110111
IDR/WFieldValue IDValueDescription
A

RW

A5

Slope of sixth piecewise linear function

B0

Address offset: 0x540

y-intercept of first piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x00000FC700000000000000000000111111000111
IDR/WFieldValue IDValueDescription
A

RW

B0

y-intercept of first piecewise linear function

B1

Address offset: 0x544

y-intercept of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x00000F7100000000000000000000111101110001
IDR/WFieldValue IDValueDescription
A

RW

B1

y-intercept of second piecewise linear function

B2

Address offset: 0x548

y-intercept of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x00000F6C00000000000000000000111101101100
IDR/WFieldValue IDValueDescription
A

RW

B2

y-intercept of third piecewise linear function

B3

Address offset: 0x54C

y-intercept of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x00000FCB00000000000000000000111111001011
IDR/WFieldValue IDValueDescription
A

RW

B3

y-intercept of fourth piecewise linear function

B4

Address offset: 0x550

y-intercept of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x0000004B00000000000000000000000001001011
IDR/WFieldValue IDValueDescription
A

RW

B4

y-intercept of fifth piecewise linear function

B5

Address offset: 0x554

y-intercept of sixth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAAAAAA
Reset 0x000000F600000000000000000000000011110110
IDR/WFieldValue IDValueDescription
A

RW

B5

y-intercept of sixth piecewise linear function

T0

Address offset: 0x560

Endpoint of first piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x000000E100000000000000000000000011100001
IDR/WFieldValue IDValueDescription
A

RW

T0

Endpoint of first piecewise linear function

T1

Address offset: 0x564

Endpoint of second piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x000000F900000000000000000000000011111001
IDR/WFieldValue IDValueDescription
A

RW

T1

Endpoint of second piecewise linear function

T2

Address offset: 0x568

Endpoint of third piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000001000000000000000000000000000010000
IDR/WFieldValue IDValueDescription
A

RW

T2

Endpoint of third piecewise linear function

T3

Address offset: 0x56C

Endpoint of fourth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000002600000000000000000000000000100110
IDR/WFieldValue IDValueDescription
A

RW

T3

Endpoint of fourth piecewise linear function

T4

Address offset: 0x570

Endpoint of fifth piecewise linear function

Bit number313029282726252423222120191817161514131211109876543210
IDAAAAAAAA
Reset 0x0000003F00000000000000000000000000111111
IDR/WFieldValue IDValueDescription
A

RW

T4

Endpoint of fifth piecewise linear function

Electrical specification

Temperature Sensor Electrical Specification

SymbolDescriptionMin.Typ.Max.Units
tTEMP

Time required for temperature measurement

36µs
TTEMP,RANGE

Temperature sensor range

-2070°C
TTEMP,ACC

Temperature sensor accuracy

-55°C
TTEMP,RANGE,EXT

Temperature sensor range, extended temperature range

-40105°C
TTEMP,ACC,EXT

Temperature sensor accuracy, extended temperature range

-77°C
TTEMP,RES

Temperature sensor resolution

0.25°C
TTEMP,STB

Sample to sample stability at constant device temperature

±0.25°C
TTEMP,OFFST

Sample offset at 25°C

-2.52.5°C