Home › Forums › snickerdoodle › • General › Zynq SoC temperature measurement
Tagged: zynq, temperature, voltage, soc, 7000
- AuthorPosts
Hi,
I was wondering if anyone knows the set of commands which measure the temperature of the Zynq SoC in the Ubuntu OS. I have had a look through the device files and am not sure if the registers are mapped in the OS image. I do see that there are registers which report the device temp and voltage, though not sure how to access them.
Either way would be handy to monitor the temperature and device voltage to prevent current draw problems.
Best Regards, Jarez
@jarez95, going back through some older forum posts, it looks like the previous reply never posted for this one…my apologies for that. Were you able to get this sorted out by chance?
In case you (and/or others) are still wondering:
You’ll first have to instantiate the XADC wizard on the block diagram and enable the AXI Lite port. Then you’ll have to create a dts entry for it.
For reference, here is the Xilinx Wiki entry for the XADC: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842132/XADC
The ADI forum actually has a ‘somewhat’ complete answer: https://ez.analog.com/linux-software-drivers/f/q-a/97533/adding-xadc-to-zynq-devicetree
But just to clarify/reemphasize: You will definitely have to add the XADC wizard to the block diagram for it to work.
Hope that helps. Let me know if you have additional questions or need assistance with anything else.
-RC
- AuthorPosts
- You must be logged in to reply to this topic.