Jump to content
  • 0

Zedboard Zynq 7000 XADC Header


Bharath

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 comment
Share on other sites

2 answers to this question

Recommended Posts

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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...