# New Sensor for Xilinx Versal Sysmon Interface

**URL:** <https://cern-ipmc-forum.web.cern.ch/t/new-sensor-for-xilinx-versal-sysmon-interface/390>\
**Category:** Sensors\
**Created:** [October 8, 2025, 11:57am UTC](https://cern-ipmc-forum.web.cern.ch/t/new-sensor-for-xilinx-versal-sysmon-interface/390 "2025-10-08T11:57:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rhowen](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/r/b5e925/32.png) [@rhowen](https://cern-ipmc-forum.web.cern.ch/u/rhowen)\
**Post date:** [October 8, 2025, 11:57am UTC](https://cern-ipmc-forum.web.cern.ch/t/new-sensor-for-xilinx-versal-sysmon-interface/390/1 "2025-10-08T11:57:20Z")

</div>

Dear IPMC Experts,

I am attempting to implement a sensor to read the temperature of a Xilinx versal FPGA via the sysmon interface (for ATLAS L0 Global GCM project).

I have found  
`https://cern-ipmc-forum.web.cern.ch/t/ipmc-reading-data-from-xilinx-fpga-using-sysmon/98` , `https://cern-ipmc-forum.web.cern.ch/t/re-cern-ipmc-question/199` and `https://gitlab.cern.ch/ep-ese-be-xtca/ipmc-project/-/blob/master/ipmc-sensors/sensor_xcvu125.c?ref_type=heads` for the ultrascale platform but unfortunately Xilinx have moved from a 32b command to a 56b command `https://adaptivesupport.amd.com/s/article/Versal-Sysmon-Using-I2C?language=en_US` .

From the the above references I have pieced together `https://gitlab.cern.ch/atlas-tdaq-p2-firmware/global-trigger/ipmc/-/merge_requests/7/diffs` but have not tested in HW yet as I got cold feet using undocumented functions which are presumably usually abstracted for a good reason.

I want to ask if you have a suggestion of the best way to proceed adding this sensor? Is it better to ask you to add a i2c\_dev\_read\_7bytesReg function ?

Kind regards

Rhys

---

<div class="post-metadata">

**Author:** ![haass](https://cern-ipmc-forum.web.cern.ch/letter_avatar_proxy/v4/letter/h/f9ae1b/32.png) [@haass](https://cern-ipmc-forum.web.cern.ch/u/haass)\
**Post date:** [October 8, 2025, 1:52pm UTC](https://cern-ipmc-forum.web.cern.ch/t/new-sensor-for-xilinx-versal-sysmon-interface/390/2 "2025-10-08T13:52:40Z")

</div>

Hello Rhys,

your code looks ok, I think this should work. However I’m afraid we can’t test this ourselves, since we don’t have any hardware with an IPMC and a Versal FPGA connected by I2C. So you will have to try it on your hardware. Please let me know how it goes. I would also like to add your sensor driver to the ipmc-project repository so that others may profit from this (like for the xcvu125 sensor driver).

cheers,

Stefan
