Intel® Stratix® 10 Analog to Digital Converter User Guide

ID 683612
Date 2/09/2021
Public
Document Table of Contents

2.2.1.1. Temperature Calculation for the Internal Temperature Sensor

The Temperature Sensor IP core returns the Celsius temperature value in signed 32-bit fixed point binary format, with eight bits below binary point.

To convert the returned value into decimal, use two's complement operation on the signed integer portion. Then, add the decimal number to the unsigned 8-bit fraction ( ). For example, if the returned value is 0xFFFFE1C0, the temperature value is -30.25°C.

The unsigned 8-bit fraction is always zero for the temperature values returned by the transceiver tiles.