Power Management User Guide: Agilex™ 5 FPGAs and SoCs

ID 813161
Date 7/08/2024
Public
Document Table of Contents

4.2.4. Retrieving Local Temperature Sensor Reading

To retrieve the temperature readings, provide the location code and sensor masks to the Mailbox Client with Avalon® Streaming Interface Intel® FPGA IP. The Mailbox Client with Avalon® Streaming Interface IP accepts a 32-bit value in fixed length hexadecimal format.

Bits [27..16] carry the local TSD location code while bits [15..0] represent the temperature channels in the location. Bits [31..28] are reserved.

Table 9.  Sensor Mask Function for Each Local TSD Location

For locations that have only a single local TSD, the sensor mask defaults to 0. You can specify only the location code. The Mailbox Client with Avalon® Streaming Interface IP returns an error if you try to retrieve temperature reading from an invalid temperature sensor or TSD location.

Function Sensor Location Max TSD Count Applicable Sensor Masks
Specify the local TSDs to read 0 1 [0]
1 4 [4..2]
3 3 [3..1]
4 4 [5..1]
Read the TSD with the highest temperature in the location All locations except location 0 Varies [0]
Table 10.  Examples for Reading Temperature through the SDM MailboxThis example is applicable to devices with two or more local TSDs in the location.
Location Channels to Read in the Location Hexadecimal Code to Send Values Returned
1 Temperature from all local TSDs in location 1 and the highest temperature in the location. 0x0001001D Returns five values—temperature for local TSDs 2, 3, and 4 in the location, and the highest temperature among them.
Temperature from TSD with the highest temperature in location 1. 0x00010001 Returns one value—the value of the TSD with the highest temperature in the location.