I have a BASYS3 board and am using the XADC to measure input voltages on pins 1 and 7 of JXADC. I am using the XADC in continuous single channel mode by wiring .eoc_out into .den_in, and putting a DC voltage (0-1 volt) into pin 1 (and tying pin 7 to ground). Then I display the XADC output on the 4-digit display and it looks right. But I have a question about the timing, as I now want to put voltage signals in that have an AC component.
I'm looking at the document ug480_7Series_XADC.pdf for the timing, and see a diagram on page 72 that I believe applies. I've attached it.
The diagram shows 2 EOC pulses, and the timing for conversion N and acquisition for N+1 that happens at the same time. Do I assume that the 2nd EOC pulse in this diagram belongs to conversion N, so that if I use .eoc_out to latch the data, I will get the data for conversion N?
Question
drewphysics
I have a BASYS3 board and am using the XADC to measure input voltages on pins 1 and 7 of JXADC. I am using the XADC in continuous single channel mode by wiring .eoc_out into .den_in, and putting a DC voltage (0-1 volt) into pin 1 (and tying pin 7 to ground). Then I display the XADC output on the 4-digit display and it looks right. But I have a question about the timing, as I now want to put voltage signals in that have an AC component.
I'm looking at the document ug480_7Series_XADC.pdf for the timing, and see a diagram on page 72 that I believe applies. I've attached it.
The diagram shows 2 EOC pulses, and the timing for conversion N and acquisition for N+1 that happens at the same time. Do I assume that the 2nd EOC pulse in this diagram belongs to conversion N, so that if I use .eoc_out to latch the data, I will get the data for conversion N?
Link to comment
Share on other sites
15 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.