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

Table 1. Instances
Base address Domain Peripheral Instance Secure mapping DMA security Description Configuration
0x41010000 NETWORK TEMP TEMP NS NA

Temperature sensor

   
Table 2. Register overview
Register Offset Security Description
TASKS_START 0x000  

Start temperature measurement

 
TASKS_STOP 0x004  

Stop temperature measurement

 
SUBSCRIBE_START 0x080  

Subscribe configuration for task START

 
SUBSCRIBE_STOP 0x084  

Subscribe configuration for task STOP

 
EVENTS_DATARDY 0x100  

Temperature measurement complete, data ready

 
PUBLISH_DATARDY 0x180  

Publish configuration for event DATARDY

 
INTENSET 0x304  

Enable interrupt

 
INTENCLR 0x308  

Disable interrupt

 
TEMP 0x508  

Temperature in °C (0.25° steps)

 
A0 0x520  

Slope of 1st piece wise linear function

 
A1 0x524  

Slope of 2nd piece wise linear function

 
A2 0x528  

Slope of 3rd piece wise linear function

 
A3 0x52C  

Slope of 4th piece wise linear function

 
A4 0x530  

Slope of 5th piece wise linear function

 
A5 0x534  

Slope of 6th piece wise linear function

 
B0 0x540  

y-intercept of 1st piece wise linear function

 
B1 0x544  

y-intercept of 2nd piece wise linear function

 
B2 0x548  

y-intercept of 3rd piece wise linear function

 
B3 0x54C  

y-intercept of 4th piece wise linear function

 
B4 0x550  

y-intercept of 5th piece wise linear function

 
B5 0x554  

y-intercept of 6th piece wise linear function

 
T0 0x560  

End point of 1st piece wise linear function

 
T1 0x564  

End point of 2nd piece wise linear function

 
T2 0x568  

End point of 3rd piece wise linear function

 
T3 0x56C  

End point of 4th piece wise linear function

 
T4 0x570  

End point of 5th piece wise linear function

 

TASKS_START

Address offset: 0x000

Start temperature measurement

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A W

TASKS_START

   

Start temperature measurement

     

Trigger

1

Trigger task

TASKS_STOP

Address offset: 0x004

Stop temperature measurement

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A W

TASKS_STOP

   

Stop temperature measurement

     

Trigger

1

Trigger task

SUBSCRIBE_START

Address offset: 0x080

Subscribe configuration for task START

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B                                               A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

CHIDX

 

[255..0]

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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B                                               A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

CHIDX

 

[255..0]

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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID B                                               A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
A RW

CHIDX

 

[255..0]

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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                               A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
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 number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A A
Reset 0x00000000 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ID Access Field Value ID Value Description
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 1st piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x000002D9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 1 0 1 1 0 0 1
ID Access Field Value ID Value Description
A RW

A0

   

Slope of 1st piece wise linear function

A1

Address offset: 0x524

Slope of 2nd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000322 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 0 1 0
ID Access Field Value ID Value Description
A RW

A1

   

Slope of 2nd piece wise linear function

A2

Address offset: 0x528

Slope of 3rd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000355 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 1 0 1 0 1
ID Access Field Value ID Value Description
A RW

A2

   

Slope of 3rd piece wise linear function

A3

Address offset: 0x52C

Slope of 4th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x000003DF 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 1 1 1
ID Access Field Value ID Value Description
A RW

A3

   

Slope of 4th piece wise linear function

A4

Address offset: 0x530

Slope of 5th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x0000044E 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 1 1 1 0
ID Access Field Value ID Value Description
A RW

A4

   

Slope of 5th piece wise linear function

A5

Address offset: 0x534

Slope of 6th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x000004B7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 0 1 1 1
ID Access Field Value ID Value Description
A RW

A5

   

Slope of 6th piece wise linear function

B0

Address offset: 0x540

y-intercept of 1st piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000FC7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 0 1 1 1
ID Access Field Value ID Value Description
A RW

B0

   

y-intercept of 1st piece wise linear function

B1

Address offset: 0x544

y-intercept of 2nd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000F71 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 1 0 0 0 1
ID Access Field Value ID Value Description
A RW

B1

   

y-intercept of 2nd piece wise linear function

B2

Address offset: 0x548

y-intercept of 3rd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000F6C 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 0 1 1 0 0
ID Access Field Value ID Value Description
A RW

B2

   

y-intercept of 3rd piece wise linear function

B3

Address offset: 0x54C

y-intercept of 4th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x00000FCB 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 0 1 0 1 1
ID Access Field Value ID Value Description
A RW

B3

   

y-intercept of 4th piece wise linear function

B4

Address offset: 0x550

y-intercept of 5th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x0000004B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1
ID Access Field Value ID Value Description
A RW

B4

   

y-intercept of 5th piece wise linear function

B5

Address offset: 0x554

y-intercept of 6th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                         A A A A A A A A A A A A
Reset 0x000000F6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 1 1 0
ID Access Field Value ID Value Description
A RW

B5

   

y-intercept of 6th piece wise linear function

T0

Address offset: 0x560

End point of 1st piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                 A A A A A A A A
Reset 0x000000E1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 1
ID Access Field Value ID Value Description
A RW

T0

   

End point of 1st piece wise linear function

T1

Address offset: 0x564

End point of 2nd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                 A A A A A A A A
Reset 0x000000F9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 1
ID Access Field Value ID Value Description
A RW

T1

   

End point of 2nd piece wise linear function

T2

Address offset: 0x568

End point of 3rd piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                 A A A A A A A A
Reset 0x00000010 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0
ID Access Field Value ID Value Description
A RW

T2

   

End point of 3rd piece wise linear function

T3

Address offset: 0x56C

End point of 4th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                 A A A A A A A A
Reset 0x00000026 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0
ID Access Field Value ID Value Description
A RW

T3

   

End point of 4th piece wise linear function

T4

Address offset: 0x570

End point of 5th piece wise linear function

Bit number 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
ID                                                 A A A A A A A A
Reset 0x0000003F 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1
ID Access Field Value ID Value Description
A RW

T4

   

End point of 5th piece wise linear function

Electrical specification

Temperature Sensor Electrical Specification

Symbol Description Min. Typ. Max. Units
tTEMP

Time required for temperature measurement

.. .. .. µs
TTEMP,RANGE

Temperature sensor range

.. .. .. °C
TTEMP,ACC

Temperature sensor accuracy

.. .. .. °C
TTEMP,RES

Temperature sensor resolution

.. .. .. °C
TTEMP,STB

Sample to sample stability at constant device temperature

.. .. .. °C
TTEMP,OFFST

Sample offset at 25°C

.. .. .. °C

This document was last updated on
2019-12-09.
Please send us your feedback about the documentation! For technical questions, visit the Nordic Developer Zone.