• 0

Zedboard Zynq 7000 XADC Header


Question

Hi,

I'm trying to measure an external Voltage connected to the AUX0 pin of the XADC header using Zedboard .While measuring the output I find that the  voltage is shows higher value by factor 3 or even 4 of the input differential voltage applied. I'm unable to figure out why this is happening. C code file is attached also.

I have followed the following thread while performing my project too

https://forum.digilentinc.com/topic/4311-zedboard-zynq-7000-xadc-header/?page=0#comment-16891

 

I have connected AUXP0 to 0.2 V  and AUXN0 to GND .

Could someone help on this??

 

 

 

helloworld.c

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hello @Bharath,

Your problem comes from here: "#define XAdcPs_RawToVoltage(AdcData)((((float)(AdcData))* (3.0f))/65536.0f)". The multiply with 3 it's only made in case of the power supply sensors. Please check power supply, unipolar mode and bipolar mode chapters from the fallowing link: https://www.xilinx.com/support/documentation/user_guides/ug480_7Series_XADC.pdf

Best Regards,

Bogdan Vanca 

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