Tool/software:
I am using the AWR6843. I would like to configure the register 'testpatternvldcfg' to create an LVDS test pattern. Could you please tell me how to set it up?
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.
Tool/software:
I am using the AWR6843. I would like to configure the register 'testpatternvldcfg' to create an LVDS test pattern. Could you please tell me how to set it up?
Hello,
Thank you for reaching out regarding the ADC test pattern. I would highly recommend looking over the adcbuf driver unit test code which includes a snippet for configuring the test pattern using the ADCBuf_control function, some input configuration parameters, and the ADCBufMMWave_CMD_CONF_TEST_PATTERN command. The main test file, test_adcbuf.c, can be found under <MMWAVE_SDK_INSTALL_DIR>/packages/ti/drivers/adcbuf/test/common and the code snippet is a part of the Test_ADCBUFContModeConfig function, specifically lines 302-316.
The ADCBuf_control function calls the ADCBUF_MMWave_control via function pointer which executes different functions based on a passed in command. In this case, the ADCBufMMWave_CMD_CONF_TEST_PATTERN calls the ADCBUFTestPatternConfig to configure ADC buffer test pattern registers including the TESTPATTERNVLDCFG register.
Let me know if you have any other questions.
Regards,
Kristien