AnsweredAssumed Answered

Procedure to set up Jesd for ad9371 from user space

Question asked by Abhisheknaik on Apr 13, 2017
Latest reply on Apr 20, 2017 by gverma

Hello Guys,

                 I am developing a user space application for initializing and configuring AD9371... I am using windows TES for generating appropriate data structure, mykonos api source code, UG-992. I refering to headless.c for developing user space application.

I have folowing doubts.. Please help me out

 

1> But I am not  sure how to implement software logic to make BBIC JESD is reset and ready to receive CGS chars.

/*************************************************************************/
/***** SYSTEM JESD bring up procedure *****/
/*************************************************************************/
/*** < Action: Make sure SYSREF is stopped/disabled > ***/
ad9371_sysref_req( SYSREF_CONT_ON ) ;
/*** < Action: Make sure BBIC JESD is reset and ready to recieve CGS chars> ***/

if ((mykError = MYKONOS_enableSysrefToRxFramer(&mykDevice, 1)) != MYKONOS_ERR_OK)
{
/*** < Info: errorString will contain log error string in order to debug failure > ***/
errorString = getMykonosErrorMessage(mykError);
printf ( "%s\n", errorString) ;
}

 

2> How to implement software logic for verifyinfg Synchronization for JESD

/*************************************************************************/
/***** Enable SYSREF to Mykonos and BBIC *****/
/*************************************************************************/
/*** < Action: Sends SYSREF Here > ***/
ad9371_sysref_req( SYSREF_CONT_ON ) ;

 

/*** < Info: Mykonos is actively transmitting CGS from the RxFramer> ***/

/*** < Info: Mykonos is actively transmitting CGS from the ObsRxFramer> ***/

/*** < Action: Insert User: BBIC JESD Sync Verification Code Here > ***/

Please share any example code/logic  for JESD link establishment procedure

Outcomes