Part Number: XTCIEVMK2LX
Hello, experts.
I have XTCIEVMK2LX and ADC14X250EVM, and wanna get some data from the ADC and process it on the DSP cores of the EVMK2L. I connected the ADC board with the EVMK2L directly via the FMC1 connector without a DLC board unlike the reference design #2 of EVMK2L, which is because I found that I don't need the DLC board when I'm using the ADC board only without a DAC board (Reference: e2e.ti.com/.../2094136. In this case, however, I need to supply external clock to the ADC board using a signal generator.
I set up the H/W and S/W (including RFSDK) according to related documents: SLAU625 (ADC14X250EVM user's guide), TIDUB94A (Design #2 getting started guide), and RFSDK installation guide, only except that I supply 50Mhz signal as the input clock for the ADC board. I guess that's not so critical. (I asked about this to the high speed converter forum but no answer yet.)
I tried to run following commands:
root@k2l-evm:~# radio reset root@k2l-evm:~# radio select 1x1-1xLTE80-HC-JESD121121x-DEMO2 root@k2l-evm:~# radio init Program the LMK, reset the AFE, and load the firmware. The press RETURN. root@k2l-evm:~# playback program root@k2l-evm:~# playback start root@k2l-evm:~# radio on 18300 300 Turn the AFE on, and check its JESD RX status. Then press RETURN. Traceback (most recent call last): File "/usr/bin/radio", line 108, in <module> command.onecmd(' '.join(sys.argv[1:])) File "/usr/lib/python2.7/cmd.py", line 221, in onecmd return func(arg) File "/usr/lib/python2.7/rfsdk/command.py", line 1161, in do_on self.radio.radio_on(ul, dl) File "/usr/lib/python2.7/rfsdk/radio.py", line 498, in radio_on self.afe[i].write(0x40000048,0x00086060) AttributeError: StubbedAFE instance has no attribute 'write' root@k2l-evm:~#
I open the source code, radio.py, and found that the StubbedAFE class doesn't have the 'write' method (is this a bug?), so I added it as follows:
class StubbedAFE: ... def status(self): if self.debug: print "AFE.status %d" % (self.id,) return AFE_SStatusRes() def write(self, address, data): if self.debug: print "AFE.write %d" % (self.id,) ...
And then re-run the commands:
root@k2l-evm:~# radio reset root@k2l-evm:~# radio init Program the LMK, reset the AFE, and load the firmware. The press RETURN. root@k2l-evm:~# playback program root@k2l-evm:~# playback start root@k2l-evm:~# radio on 18300 300 Turn the AFE on, and check its JESD RX status. Then press RETURN. ERROR: Downlink JESD interface failed to configure correctly root@k2l-evm:~#
Now, as you can see, I've got the above error message. I could find the message in the source code, it seems to be because of JESD connection timeout.
How can I run the demo successfully? Should I buy the DAC and DLC boards included in the reference design? I think it's enough for my purpose without them.
My goal is quite simple: get data from an ADC board and process it on the DSP board, but very difficult to achieve for me. (some may know my questions' history.)
Any suggestion or small hint for me?
Thank you very much!