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?
Sorry for delay in reply. Can you please list down the steps including what API cals you have made. If you generate a python script from TES GUI will be more helpful. I need to reproduce the issue you are seeing to understand it better.
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.
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?
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.
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?