Sarbani Posted November 10, 2022 Share Posted November 10, 2022 Hi. I want to give external signal to XADC, sample it, and store the data to RAM and later I want to monitor those data. How do I do it? (I am a beginner) Link to comment Share on other sites More sharing options...
0 JColvin Posted November 11, 2022 Share Posted November 11, 2022 Hi @Sarbani, What FPGA or SoC board are you using? The answer to your question will vary quite a bit depending on what system you are using. When you say "RAM" are you exclusively referring to BRAM or are you using RAM as a generic storage term? Digilent has some existing XADC demos though most of them, such as the demos for the Arty A7, https://digilent.com/reference/programmable-logic/arty-a7/demos/xadc, and the Zybo Z7, https://digilent.com/reference/programmable-logic/zybo-z7/demos/xadc, are set up to take data from the XADC and directly process it in the hardware to dynamically adjust the brightness of the on-board LEDs; there is no "storage" of the XADC data being done in these demos. The XADC demo for the Cora Z7, https://digilent.com/reference/programmable-logic/cora-z7/demos/xadc, reads data from the XADC, sends it to the on-board processor, which then controls both the relative brightness of the on-board LED as well as sending the data over UART to be displayed on a host computer serial terminal. It does not directly store the XADC data in RAM, though it would be easier to implement since the processor is already involved and has access to the RAM. Thanks, JColvin Link to comment Share on other sites More sharing options...
0 Sarbani Posted November 11, 2022 Author Share Posted November 11, 2022 Hello. The board is Arty-a7 and yes its BRAM. Actually I have done the LED brightness controlling program mentioned in https://digilent.com/reference/programmable-logic/arty-a7/demos/xadc, and able to check the output on PC using debugging process( through JITAG). Actually I want to monitor the externally given inputs to the ADC(like I want to know what is it storing, what are the sampled data). Thank you Link to comment Share on other sites More sharing options...
Question
Sarbani
Hi. I want to give external signal to XADC, sample it, and store the data to RAM and later I want to monitor those data. How do I do it? (I am a beginner)
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now