08-07-2019 09:40 AM - edited 08-07-2019 09:48 AM
Hello, When I try to execute the read_write example or self_test example present in github (link: https://github.com/Xilinx/embeddedsw/blob/master/XilinxProcessorIPLib/drivers/rfdc/examples/xrfdc_read_write_example.c) it executes fine, but I do not see any wave or output in my oscilloscope. I created my own Block in vivado, I made sure the ADC and DAC are enabled and Enable PLL is checked. I am not clear on why there is no sine wave or any output signal detected in the Oscilloscope. If some one has a working example on how to do this in XSDK (baremetal) approach, please share with me. (I do not want to generate the signal using the RF User Interface , but via baremetal application)
I also have got ADC 225 and DAC 229 enabled in my design which corresponds to Tile 1. But the example that i used from github, they uses Tile=0x00. The code still works fine but if I change it to Tile = 0x01, the code fails. Not clear on why it is happening like this. Please help me understand on the tile concept also.
08-07-2019 01:20 PM
I presume you are using zcu111 and your 'created my own Block' is creating a waveform over axis.
A few things to look at:
I have attached a design that plays URAM/BRAM contents to the DAC and captures ADC to URAM/BRAM. You can use xsct to read/write your waveforms.
Regarding tile 0 vs tile 1 issue, I noticed this a while ago and created a CR so hopefully it makes it into the next version of tools. There were functions that would check if the tile was enabled, access it, then move to the next tile. So if tile 0 was not enabled, no further tiles would get processed. Tile 0 needs to be enable anyway if you are using MTS.
09-19-2019 06:59 AM
Could please take a look at the following thread
I was able make some progress but stuck with waveform generation.