This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

XTCIEVMK2LX: Usage of ADC14X250EVM with XTCIEVMK2LX

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!

  • Hi Huioon Kim,

    I've forwarded this to the RFSDK experts. Their feedback should be posted here.

    BR
    Tsvetolin Shulev
  • ello,

    The 14x250 ADC configuration, has an external clock divider.   The standard programming is x1, so you need a 245.76Msps clock.

    There are several clock device EVMs that can generate the proper clock, lmk04828.

    There is a DEMO2 configuration, that uses the ADC, DAC, and DLC.  

    There is a DEMO2_JESDlpbk, you can use this to test your software from 1 Tx to 1 Rx, samples at 122.88Msps.

    In this email is a modified radio select (etc\radio), modified use-case (etc\radio\use-case) , and modified DFE tgtcfg file (usr/share/radio/dfe).

    you need to rename  when you extract the .rs (radio select) it has no extension

                                                                                            .uc (use case)  it has no extension

    Please use JESD loopback first.

    Regards,

    Radio Joe

    DEMO2_noTx.zip

  • Dear, Joe. Good to see you again. :)

    Well, I have to use a 250Mhz signal generator! I'm not sure if it's available for me or not, anyway I gotta ask my colleague. Thank you for the answer.

    About the LMK04828, the ADC EVM has the chip on board as I know, and I need to modify the hardware to utilize it. Otherwise I need to purchase the LMK04828 EVM as you mentioned. I will consider that, too.

    I have one more question. You recommended me to use the JESDlpbk configuration first, what is it exactly? There are two radio configurations I can select in DEMO2, 1x1-1xLTE80-HC-JESD121121x-DEMO2 and 1x1-1xLTE80-HC-JESD121121x-JESDlpbk, and I don't know how different they are. I thought I need a real test (where the analog input is given by external source, not a DAC), so I tried the *-DEMO2 configuration. I also tried the *-JESDlpbk configuration, but the results have no difference whether I connect the ADC board to the DSP board or not. So, I'm curious what exactly each configuration does.

    Always thank you for your kind answer, Joe. Great help to me! :)