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.

66AK2L06: DEMO2 and Web Interface GUI Does Not Work Properly

Part Number: 66AK2L06
Other Parts Discussed in Thread: RFSDK, ADC14X250, , DAC38J84

Hi All,

We want to sample analog signal in high speed with 66AK2L EVM. 

We setup the boards by using the Optimized Radar System Design Using 66AK2L06 - DSP+ARM SoC and ADC14X250

We fed the ADC by the signal generator. We only want to sample the analog signal. Thats why we use only the ADC board and the LMK board. LMK and ADC is configured. 

Setup photo is attached. 

We follow RFSDK Installation Guide Release 02.00.07.00 Notes. 

But we cannot make 1x1-1xLTE80-HC-JESD121121x-DEMO2 work.

On the last step, in linux console;

radio reset
radio select 1x1-1xLTE80-HC-JESD121121x-DEMO2
radio init
Program LMK and ADC (66AK2L06_dac491_adc245_demo2.cfg & ADC14X250_Cal.cfg)
Playback program
Playback start

all are ok. But when we open the browser;

we can not change the radio state to on -->  Radio Control "on", error occurs 
"Operation failed (Response header: 'rfsdk.error: rfsdkService.Iqn2Start() API call failed with status 'RFSDK_API_RESULT_APISEQ_IQN_INVALID_STATE' (86) '"

Similary load playback gives error. And also reset gives errors. 

We check all the steps, what can you advise?

WEB Page :

Test Setup :

  • Helllo,
    The RFSDK Web page needs to initialize the frame work to the Design 2 at the beginning before you start the linux console programming. When you select the ADS14x250 demo, it configures the linux RFSDK environment.

    Also the Green board does not look like the DLC card that is in the User Guide, as an alternative, you can plug the ADC 14x250 into the FMC connector on the Lamarr EVM, and feed the clock to the ADC board.

    In following the Getting Started and User Guide, we usually have a prescribed set of steps.

    In the documentation you can look at the DLC card schematic, it may be what the Green adapter is doing.

    tidub94a , and tiep006- are the references.
    this is discussed in another E2E post " e2e.ti.com/.../2466712 "

    Regards,
    Joe QUintal
  • Hello Radio-Joe, 
    Thanks for your response.

    Green board the same with DLC card that is in the User Guide.

    We examined tidub94a , we did all of them. But still it is not work..

    We tried both of RFSDK2_02.00.07.00 and RFSDK2_02.00.05.00

    Then we set green board apart from K2L-ADC board -like you said-  and fed ADC board externally with nearly 242MHZ


    But unfortunately we can not make radio on again.
    The same error occured as I mentioned earlier..

    Do you have any other recommendations ?

  • Hello,

    I would follow the DEMO2 Getting Started and User Guide.  Talking with another application engineer,

    RFSDK 2.03 was used for the initial testing.  I suggest you try that version.

    There is also a key that when you get the graphic for Demo 2, try the JESD loop back first, as this is not dependent on the ADC and DLC hardware.

    Once that works, you can make sure the ADC is programmed, and that there is JESD204 Sync field data output from the ADC before the RFSDK steps.

    Regards,

    Joe Quintal

  • Please also check the other E2E tickets for the 66AK2L06 and 14x250, several users reported the demo works after following the troubleshooting steps. (search for 66ak2l06 and 14x250
    Regards,
    Joe Quintal
  • Hello,

    I had to follow the Demo2 Getting Started Guide, to manually set the board file and reboot the EVM.

    I then used the linux console to enter the commands, and used the webpage to display the results.

    4. Create a soft link to the default board configuration to finalize the installation

    root@k2l-evm:/# cd /etc/radio/board

    root@k2l-evm:/etc/radio/board# ln -s lamarr-evm-demo2-mcsdk3147 default

    root@k2l-evm:/etc/radio/board# ls -l default

    lrwxrwxrwx 1 root 42005 18 Dec 12 21:30 default → lamarr-evm-demo2-mcsdk3147

    5. Reboot Linux on the EVM.

    root@k2l-evm:~# radio reset

    root@k2l-evm:~# radio select 1x1-1xLTE80-HC-JESD121121x-JESDlpbk

    root@k2l-evm:~# radio init

    root@k2l-evm:~# playback program

    root@k2l-evm:~# playback start

    root@k2l-evm:~# radio on 18300 300

    load 1 1 /usr/share/radio/patterns/rf-verif/LTE80_122p88_twotone_m1_2_m7.bin

    In my case, this method works with RFSDK, and webpage can display data.

    Status page

    BBTx from DSP memory

    Tx output before JESD

    Rx input after Fs/4 down conversion

    BBRx DSP memory

    This should validate that the software is configured without the dataconverters.  The next step is to follow the user Guide for the dataconverter setup, before starting the radio.,

    REgards,

    Joe Quintal

  • Hello,
    I don't see any additional questions, where you able to replicate the results with the combined script, and viewing the web page.
    There are no web page modifications currently, I have contacted the developers to explain the board selection, and main control page seem to have errors in RFSDK 2.07.
    Please use the method outlined above, as a test, and report results.
    Regards,
    Joe Quintal
  • Hi Joe,

    Thanks for your responses.

    I did what you said above. 

    It worked.  -only Rx feedback and Rx Signal Capture are little different-   ( conditions : 66AK2L EVM  + DLC + ADC Board  --->  MCSDK 3.01.04.0,  RFSDK 02.00.07.0,  1x1-1xLTE80-HC-JESD121121x-JESDlpbk  @ linux console )
    ( BUT, Web interface still does not work. I cannot make radio off, radio on, or anything else. We can use Web interface to ONLY display result ?  )

    Then,
    i saw loopback demo works fine with commands at linux console, i tried 1x1-1xLTE80-HC-JESD121121x-DEMO2 to see real analog signal.
    I used the linux console to enter the commands :

    radio reset
    radio select 1x1-1xLTE80-HC-JESD121121x-DEMO2
    radio init
    playback program
    playback start
    radio on 18300 300

    But it does not work.  (also web interface does not work !)
    I want to solve this problem.
    Why i cannot capture real analog signal ?

     

     

     

    in the meanwhile -->

    66AK2L EVM  + DLC + ADC Board
    MCSDK_3.01.02.05
    RFSDK2_02.00.03.00

    Both Web Interface and linux console works fine.  ( Loopback and DEMO2 with real analog signal )

     

     

     

  • Hello,

    I have contacted the developers about the webpage, they do not have a fix for this, it is on their backlog to fix.

    So you have to do the configuration part using the board select (important), and script.

    If you can get the JESD loopback data on the graphs above, this indicates the base RFSDK is working.

    In your note, you indicate you do not use the DAC38J84, in this case, you will need  a different use case file, possibly a different DFE configuration file.  If you are following the user guide, you need the DAC38J84 (so the JESD initialization is working), you can still use the analog signal from the Synthesizer / IQ modulator.

    The next step is to follow the User Guide to connect the DLC, ADC, program the ADC, and run the script steps

    as before changing the radio select for the version that does not use JESDloopback. (1×1-1xLTE80-HC-JESD121121x-DEMO2)

    "tidep-0060"" TI design guide, refers to test procedure

    "www.ti.com/.../tidub89.pdf" test procedure, it discusses the hardware connections.

    In section 2.2 of the do you have the hardware connected as described?

    Did you acquire the DAC38J84 EVM to do the standard demo2 test?

    Following section 3 in the tidub94a, you need to tell us if there are specific errors.  Section 3.2 needs to be modified now, to use the Linux console script, and use the web page for visualization only.    At 3.2 step9,  radio init has to have no errors, playback start, playback run, radio on, would return errors on the linux console.

    When you have completed these steps, In trying to determine the problem with the dataconverter attached, the RFSDK fault message for Tx or Rx side needs to be investigated.   I have attached a DFE GEL file, if you start CCS and attach to DSP 2nd core (which is unused by RFSDK), you can get the DFE JESD Status.

    DFE2d.gel  

    Tx side Lane0,1 work with the DAC38J84.

    Rx side Lane0 works with the ADC14X250.

    To check the JESD204 status (after loading the GEL file)  Scripts -> JESD Checks -> Bottom JESD Check Status

    earliest and latest lanes.
    C66xx_2: GEL Output: JESDTX status 
    C66xx_2: GEL Output: JESDTX FIFO error lane 0 = 0x00000000 
    C66xx_2: GEL Output: JESDTX FIFO error lane 1 = 0x00000000 
    C66xx_2: GEL Output: JESDTX FIFO error lane 2 = 0x00000000 
    C66xx_2: GEL Output: JESDTX FIFO error lane 3 = 0x00000000 
    C66xx_2: GEL Output: JESDTX First Sync Request (should be 1) = 0x00000011 
    C66xx_2: GEL Output: JESDTX Sync State = 0x00002222 
    C66xx_2: GEL Output: JESDRX status 
    C66xx_2: GEL Output: JESDRX FIFO error lane 0 = 0x00000B00 
    C66xx_2: GEL Output: JESDRX FIFO error lane 1 = 0x00000B00 
    C66xx_2: GEL Output: JESDRX FIFO error lane 2 = 0x00000B00 
    C66xx_2: GEL Output: JESDRX FIFO error lane 3 = 0x00000B00 
    C66xx_2: GEL Output: JESDRX CS STATUS = 0x00002222 
    C66xx_2: GEL Output: JESDRX FS STATUS = 0x00001111 
    C66xx_2: GEL Output: JESDRX lane 0, status = 0x00000000 
    C66xx_2: GEL Output: JESDRX lane 1, status = 0x00000000 
    C66xx_2: GEL Output: JESDRX lane 2, status = 0x00000000 
    C66xx_2: GEL Output: JESDRX lane 3, status = 0x00000000 
    note, normally the JESDRxFIFO error status is 0, this is JESD loopback so errors are OK.
    JESDTx FIFO should be 0.
    Sync State Tx should be 2 (per used lane), Rx CS Status should be 2 (per used lane), Rx FS Status should be 1 (per used lane)
    The  JESD troubleshooting notes are attached.
    If you want to try this experimental method, you have to patch these files into the RFSDK, follow the read me file.
    To use them, in your linux terminal script change the radio select to the new name.
    You shouldn't get Tx JESD204 errors then.
    Regards,
    Joe Quintal
  • Thanks for your help Joe,

    I will try, and inform you tomarrow.
  • Hi Joe,

    Sorry for late response.

    As you suggested, we used RFSDK 2.03.
    And we succeed to run playback demo properly . Both web interface and linux console worked.

    We paused working with RFSDK2.07 for now.
    I will inform you, when we try .