Many thanks for your quick reply Wade!

All the best
Marino


On Wed, 21 Jun 2023 at 16:44, Wade Fife <wade.f...@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 <cyberp...@gmail.com> wrote:
>
>> Thanks Marcus. I could not find any temperature sensors :(
>>
>>
>> On Thu, 15 Jun 2023 at 14:33, Marcus D. Leech <patchvonbr...@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-le...@lists.ettus.com
>>>
>> _______________________________________________
>> USRP-users mailing list -- usrp-users@lists.ettus.com
>> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>>
>
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to