Intel® Stratix® 10 Analog to Digital Converter User Guide

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

4.2. Reading the Intel® Stratix® 10 Internal Temperature Sensing Diodes

To sample the Intel® Stratix® 10 die temperature using the internal TSDs of the core fabric, transceiver tiles, and HBM2 stacks, use the Temperature Sensor IP core.
Figure 7. Waveform Example: Sampling Temperature from Channels 0, 1, and 3


Note: Set only valid bits in the cmd_data word. Otherwise, the response from the temperature sensor is undefined.
  1. During device initialization, before the device enters user mode:
    • Assert the reset port of the Temperature Sensor IP core to keep it in reset mode.
    • Keep the cmd_valid and cmd_data signal at "0".
  2. After the device enters user mode, simultaneously assert a logic high to the cmd_valid signal and send the cmd_data value. For each sampling, assert cmd_valid for a period of only one to three clock cycles. When you are not acquiring the temperature sensor readout, deassert cmd_valid.
    The cmd_data signal is a 9-bit bitmask that specifies from which channel to sample the temperature.
    When you assert cmd_valid while cmd_ready is high, the IP core requests from the SDM the most recent temperature values of the channels you specify in cmd_data. After sending the request, the IP core drives cmd_ready low and waits for response from the SDM.
  3. Each time the rsp_valid signal goes high, indicating that the temperature value is ready, read the rsp_data and rsp_channel response signals.
    The rsp_valid signal goes high once for each bit in the cmd_data word. The first valid data in the cycle is available when rsp_valid asserts while the rsp_startofpacket signal is high. The last valid data in the cycle is available when rsp_valid asserts while the rsp_endofpacket signal is high. For each valid response, the rsp_data signal provides the temperature value while the rsp_channel signal indicates from which channel the temperature was sampled.
The value in rsp_data is a signed 32-bit fixed point binary number, with 8 bits below the binary point.
Note: For IP core instantiation guidelines, you must refer to the Intel® Stratix® 10 Reset Release IP section in the Intel® Stratix® 10 Configuration User Guide.

Did you find the information on this page useful?

Characters remaining:

Feedback Message