Hello Eric,
we are using same code of serdes_diag_test_init() with phy type as XGE, which is present in C:\ti\pdk_keystone2\packages\ti\diag\serdes_diag\test\src\serdes_diag_test_main.c.
Now SERDES_DIAG_TEST_OPERATING_MODE is set as diagnostic mode as below
#define SERDES_DIAG_TEST_OPERATING_MODE CSL_SERDES_DIAGNOSTIC_MODE
I believe for fully functional of 10G serdes we need to set SERDES_DIAG_TEST_OPERATING_MODE=CSL_SERDES_FUNCTIONAL_MODE
Now if I set #define SERDES_DIAG_TEST_OPERATING_MODE CSL_SERDES_FUNCTIONAL_MODE
it is stuck at CSL_SerdesWaitForSigDet() please see the screen shot below.
what is the difference between Diagnostic mode and functional mode????
we need to set it to functional mode for sending packets thorugh serdes?
Regards
Manjunath