2.1.18.3 Temperature Monitor
For the Temperature Monitor, the analog‑to‑digital converter (ADC) result represents temperature in degrees Kelvin (K).
When using the internal reference voltage (VREF = 2.56 V) and a 10‑bit resolution, each least significant bit (LSB) of the ADC result corresponds to 1 K. This relationship generalizes for the internal VREF as follows:
- 8‑bit mode: 1 LSB = 4 K
- 10‑bit mode: 1 LSB = 1 K
- 12‑bit mode: 1 LSB = 0.25 K
- Examples
- 8‑bit mode:
ADC value =
01001010b(74)Temperature = 74 * 4 = 296 K
- 10‑bit mode:
ADC value =
0100101010b(298)Temperature = 298 * 1 = 298 K
- 12‑bit mode:
ADC value =
000100101010b(298)Temperature = 298 * 0.25 = 74.5 K
- Temperature Conversion Constant
The temperature conversion constant is defined as:
K = 2.30358 * 0.0000087248
These constants are derived from the diode equation.
- Threshold Calculation
The calculated threshold for the Temperature Monitor is determined using the following equation:
Calculated Threshold = User Threshold(K)* K * Gain
where:
- User Threshold (K): Is the temperature threshold specified by the user.
- K : Is the temperature conversion constant.
- Gain: Is the gain applied by the Temperature Monitor (Gain = 12.5).
