I was wondering if anyone had experience with the ZYBO board getting the XADC interface to work properly. I have the following diagram in Vivado 2014.4:
<Vivado2014_4_Diagram.JPG>
The associated XADC wizard settings are as follows:
<XADC_Wizard1.JPG>
<XADC_Wizard2.JPG>
This lets me get the temperature from the XADC, but I am getting 'weird' values for XADC pairs 0-3 (which are hardwired to the XADC PMOD connector on the ZYBO); there doesn't appear to be a dependence on temperature though... here is AUX0, for example:
<TempVsAUX0.JPG>
In relation to VpVn (VpVn - AUXn) I observe for all 4 AUX channels:
<WpWn_Minus_AUX.JPG>
I'm not quite sure why AUX1 always agrees with VpVn, especially because they are sampled at different places in the C code...
My source is as follows (null checks, comments, etc. removed for brevity):
<XADC_Source.JPG>
So, a few questions...
1) What is going on with the above? Anyone have any thoughts?
2) I didn't set up anything in the constraints (XDC) file for the XADC pins because I believe they are hardwired (and I get critical warnings when I do)... is this correct?
3) Are these the only four XADC inputs possible for the ZYBO (N/P pairs)? The wiring diagram seems to indicate this is the case... if it is, does anyone have a suggestion for an external ADC? Something well documented would be preferred.
Question
Squirrel
I was wondering if anyone had experience with the ZYBO board getting the XADC interface to work properly. I have the following diagram in Vivado 2014.4:
<Vivado2014_4_Diagram.JPG>
The associated XADC wizard settings are as follows:
<XADC_Wizard1.JPG>
<XADC_Wizard2.JPG>
This lets me get the temperature from the XADC, but I am getting 'weird' values for XADC pairs 0-3 (which are hardwired to the XADC PMOD connector on the ZYBO); there doesn't appear to be a dependence on temperature though... here is AUX0, for example:
<TempVsAUX0.JPG>
In relation to VpVn (VpVn - AUXn) I observe for all 4 AUX channels:
<WpWn_Minus_AUX.JPG>
I'm not quite sure why AUX1 always agrees with VpVn, especially because they are sampled at different places in the C code...
My source is as follows (null checks, comments, etc. removed for brevity):
<XADC_Source.JPG>
So, a few questions...
1) What is going on with the above? Anyone have any thoughts?
2) I didn't set up anything in the constraints (XDC) file for the XADC pins because I believe they are hardwired (and I get critical warnings when I do)... is this correct?
3) Are these the only four XADC inputs possible for the ZYBO (N/P pairs)? The wiring diagram seems to indicate this is the case... if it is, does anyone have a suggestion for an external ADC? Something well documented would be preferred.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.