• 0
AlexSilva

Reading ADC

Question

Hello everyone,

I've bought a Zybo Z7 with a XC7Z010. I can see on the schematics that the pin 19 (IMON) of the IC26 (TPS25940ARVC) is connected to the pin K9 (VP_0) of the SoC. A resistor from this pin to GND converts current IMON to proportional voltage, used as analog current monitor.

So the question is: what do I have to do to read this voltage? I'd like to be able to read it and display it on the terminal after SSH'ing into the board.

Thank you in advance!

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @AlexSilva,

You need to incorporate the XADC IP Core into your design using vp/vn as described in the reference manual in section 1.4 Current Monitoring. Here is a forum thread that has a completed xadc design using the zedboard which has a zynq processor that should be a good reference for your design.

thank you,

Jon

 

 

 

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now