32-bit TriCore™ AURIX™ TC3xx microcontroller

About this document

Scope and purpose

This Application Note describes the integrated Die Temperature Sensor (DTS), the Core Die Temperature Sensor (DTSC) and their parameters defined in the TC39xB Data Sheet 1. In addition, temperature sensor warning threshold configuration and related (external) safety mechanisms are discussed.

Intended audience

This document is intended for all TC3xx users, especially for those with a high ambient temperature for TC3xx.

DTS/DTSC and parameters

About DTS and DTSC

The TC3xx has an integrated Die Temperature Sensor (DTS) and a Core Die Temperature Sensor (DTSC) on-chip. Both temperature sensors are technically the same. They are located near to hot spots on the TC3xx. The DTS is placed close to PMS (Power Management System) and AD converter cluster. The DTSC is located close to CPU core cluster. These locations are typical hot spots.

The following figures show the sensor locations on TC39x B-step and TC38x A-step.

Figure 1. DTS and DTSC locations on TC39x B-step


../figures/image4.png

Figure 2. DTS and DTSC locations on TC38x A-step


../figures/image5.png

Parameters in the TC39xB Data Sheet

The Data Sheet defines important parameters for DTS and DTSC, including measurement time, accuracy and working range.

Note: The following parameters have the same values for DTS and DTSC because they are instances of the same technology.
Table 1. Parameters for DTS and DTSC
ParameterSymbolRemark

Measurement time

tM

DTS and DTSC will output a result every tM(2.7 ms as defined in the Data Sheet)

Accuracy over temperature range

TNL

This is the error of temperature sensors, caused by technological limitations(±2°C as defined in the Data Sheet)

DTS temperature range

TSR

It defines the working range for temperature sensors

(-40°C to +170°C as defined in the Data Sheet)

For calibration reference accuracy, there is a potentially small difference between both temperature sensors due to different positions on the die.

Table 2. Parameters with different values for DTS and DTSC
ParameterSymbolRemark

Calibration reference accuracy

TCALACC of DTS

±1°C, as defined in the Data Sheet

TCALACC of DTSC

±2°C, as defined in the Data Sheet

DTSC is placed more towards the center of TC3xx, therefore the real calibration temperature could differ up to 1°C, reflected by the different limits of TCALACC for both DTS instances: TCALACC of DTSC - TCALACC of DTS

No run-time calibration for DTS or DTSC is needed. In production, calibration is done with high precision and a well-controlled stable temperature and test environment. In addition, calibration is done at the same time for both temperature sensors. Trimming data is stored in TC3xx and loaded by start-up software (SSW) by cold and warm PORST events.

The total error (TNL + TCALACC) is valid for the whole temperature range for both DTS and DTSC.

Heat distribution on die

Based on application specific scenarios, the actual temperature at the locations of DTS and DTSC can differ. This is because different application scenarios may have different task loads for individual components on the TC3xx. As defined in the Data Sheet, parameter “∆T Temperature difference between on chip temperature sensors” indicates the potential temperature difference.

Table 3. Temperature difference between on-chip temperature sensors
ParameterSymbolRemark

Temperature difference between on-chip temperature sensors

∆T

±3°C as defined in the Data Sheet

Note: The heat distribution is user specific because it is related to user application pattern, PCB design, heat dissipation methods etc.

Consideration in application

On the TC3xx, the Safety Management Unit (SMU) provides the possibility to generate an alarm when the device temperature reaches user configured warning level.

As there are two temperature sensors on the TC3xx, both have their individual threshold register. For DTSC, it is DTSCLIM.UPPER/LOWER and for DTS it is DTSLIM.UPPER/LOWER. The upper or lower limit of each sensor has its own alarm. In case any of the configured thresholds is violated, independent alarms can be generated.

When defining the limits for UPPER and LOWER thresholds, the inaccuracy of temperature sensor defined in the Data Sheet should be taken into account (TJ is the junction temperature specified in the Data Sheet):

Table 4. Temperature sensor threshold setting
ThresholdRegisterValue

DTS upper limit

DTSLIM.UPPER

TJ upper limit - |TNL| of DTS - |TCALACC| of DTS

DTS lower limit

DTSLIM.LOWER

TJ lower limit + |TNL| of DTS + |TCALACC| of DTS

DTSC upper limit

DTSCLIM.UPPER

TJ upper limit - |TNL| of DTSC - |TCALACC| of DTSC

DTSC lower limit

DTSCLIM.LOWER

TJ lower limit + |TNL| of DTSC + |TCALACC| of DTSC

If any of the alarms is triggered, the user should check the results of two sensors for plausibility to avoid latent faults in temperature sensors:

DTS and DTSC may report different measured values. This is because the two sensors are located at different places and the application specific scenario will generate different hot spots. For plausibility check criteria, the difference between DTS and DTSC reported temperatures can be up to 9°C as mentioned in external safety mechanism “ESM[SW]:DTS:DTS_RESULT” in AURIX™ TC3xx Safety Manual 1.10 2.

If a larger difference is observed between DTS and DTSC, hardware failure should be considered.

The tolerance of 9°C in plausibility check is derived from following parameters:

Table 5. Theoretical difference between two sensors
SourcesParameters in data sheetValue

Total error of DTS

TNL of DTS and TCALACC of DTS

±(TNL + TCALACC) = ± (2°C + 1°C) = ±3°C

Total error of DTSC

TNL of DTSC and TCALACC of DTSC

±(TNL + TCALACC) = ± (2°C + 2°C) = ±4°C

Temperature difference between on-chip temperature sensors

∆T

±3°C (see Table 3)

Calibration reference accuracy difference of DTS and DTSC

TCALACC of DTSC - TCALACC of DTS

1°C (see Table 2)

Overall tolerance between 2 sensors: Total error of DTS + Total error of DTSC + ∆T – Calibration reference accuracy difference of DTS and DTSC = 3°C + 4°C + 3°C – 1°C = 9°C

For other temperature sensor related (external) safety mechanisms, please refer to AURIX™ TC3xx Safety Manual V 1.10 2.

References

  1. TC39xB Data Sheet V 1.1
  2. AURIX™ TC3xx Safety Manual V 1.10
  3. AURIX™ TC3xx User Manual V 1.6

Revision history

Document revisionDateDescription of changes

V1.0

2020-10

Initial version

V1.1

2024-04-17

Template update; no content update.