Problem on changing Rx data format setting

When I change the Rx data formant by calling API command setRxDataFormat() after the initialization completes, I can see that the parameters in taliseRxDataFormat_t by using getRxDataFormat(). However those looks being reset to the initial values when toggling RX_ENABLE. Should I call any other command to hold the new setting of Rx data formant?  

Top Replies

Parents Reply Children
  • 0
    •  Analog Employees 
    on Apr 10, 2019 2:48 AM over 1 year ago in reply to gverma

    I have some additional information about this issue. 

    - Call TALISE_setRxDataFormat() and set formatSelect to TAL_GAIN_WITH_FLOATING POINT after the initial configuration done. And then verify that formatSelect is correctly set by calling TALISE_getRxDataFormat() before toggling Rx Enable signal. However it looks change to TAL_GAIN_COMPENSATION_DISABLED which is the default after toggling Rx Enable.

    -  Also changing the state of Rx by changing rxEnable from inactive to active after all initial configuration done, can see same as above.

    - verify all paraments in the structure taliseRxDataFormat_t rxDataFormat. Only formatSelect reset to the default in the above test.  

    This is strange behavior.

    If you have any suggestion I should check anything, please let me know.   

  • +1
    •  Analog Employees 
    on Apr 29, 2019 9:17 AM over 1 year ago in reply to M-koba

    In GUI you need to select required gain compensation mode and generate stream, as this changes are added in stream.

     If it is not enabled and stream is generated then in SPI mode you can configure and use any GC mode using API, but in pin mode this mode will be overwritten by streams as the mode was not selected.

  • Thanks but I want to use pin mode with gain compensation mode in TDD. would you let me know how I should configure the chip?

  • 0
    •  Analog Employees 
    on May 9, 2019 10:25 AM over 1 year ago in reply to Anonymous

    You can configure the chip using GUI for your use case requirement.

    Based on the configuration settings, the TES sets up structure member values that are then used by API commands. The TES allows the user to create a *.c file that contains all of these initial values. This file can be imported into a user system that uses the ADRV9008-1, ADRV9008-2, and ADRV9009 APIs. To generate the *.c files, the user must click the Tools > Save .c Init Script option. This will generate the stream.bin file which can be used for software integration.

  • 0
    •  Analog Employees 
    on May 16, 2019 12:26 PM over 1 year ago in reply to PVALAVAN

    generated stream processor image looks same as the default and i can't see an improvement with that new stream processor.

    Should I create the files after verifying Rx works well in gain compensation mode?