Discussion and technical support related to USRP, UHD, RFNoC
View all threadsHi 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
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.
Thanks Marcus. I could not find any temperature sensors :(
On Thu, 15 Jun 2023 at 14:33, Marcus D. Leech patchvonbraun@gmail.com
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 -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
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 cyberphox@gmail.com wrote:
Thanks Marcus. I could not find any temperature sensors :(
On Thu, 15 Jun 2023 at 14:33, Marcus D. Leech patchvonbraun@gmail.com
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 -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
Many thanks for your quick reply Wade!
All the best
Marino
On Wed, 21 Jun 2023 at 16:44, Wade Fife wade.fife@ettus.com wrote:
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 cyberphox@gmail.com wrote:
Thanks Marcus. I could not find any temperature sensors :(
On Thu, 15 Jun 2023 at 14:33, Marcus D. Leech patchvonbraun@gmail.com
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 -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-leave@lists.ettus.com