Hi Marino, The register is there, but it sounds like we don't expose it through the API. This utility is out of date, but it can still be used to read the temperature value:
~/uhd/firmware/usrp3/x300$ python2 x300_debug.py --addr=192.168.10.2 --peek=0xA02C In that command, 192.168.10.2 is the IP address for the USRP's SFP port and 0xA02C is the address of the temperature register. That will return the raw ADC code from the XADC. To convert that to a temperature, use this equation: Temperature(°C) = XADC_Code * 503.975 / 4096 - 273.15 Thanks, Wade On Wed, Jun 21, 2023 at 7:45 AM cyberphox <[email protected]> wrote: > Thanks Marcus. I could not find any temperature sensors :( > > > On Thu, 15 Jun 2023 at 14:33, Marcus D. Leech <[email protected]> > wrote: > >> On 15/06/2023 06:31, cyberphox wrote: >> > Hi All >> > >> > I would like to read the FPGA core temperature of the Kintex within >> > the USRP2974, and any other temperature sensor available, ideally on >> > the RF boards. >> > >> > >> > Is there an API for this? >> > >> > thanks >> > marino >> You can use the "usrp_list_sensors" examples app to list all the sensors >> that are available to the API -- and look at the code >> to see how it uses the sensors API. >> >> >> _______________________________________________ >> USRP-users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> > _______________________________________________ > USRP-users mailing list -- [email protected] > To unsubscribe send an email to [email protected] >
_______________________________________________ USRP-users mailing list -- [email protected] To unsubscribe send an email to [email protected]
