I am trying to set up the AD9371 on a custom board and am running into errors. I used the Filter wizard v1.8 to create a custom profile and imported that into the TES software tool to export the c files for API set up. When I run it goes error free until I get to the call to MYKONOS_setRfPllFrequency with TX_PLL as a parameter. This function call returns the error MYKONOS_ERR_SETRFPLL_ARMERROR. Stepping into the call it is the call to MYKONOS_waitArmCmdStatus that returns an error of MYKONOS_ERR_ARMCMDSTATUS_ARMERROR with a value for cmdStatusByte of 0x8. A previous call to MYKONOS_setRfPllFrequency with RX_PLL as a parameter succeeds.
Please make sure that you follow the "RF PLL FREQUENCY CHANGE PROCEDURE" given in UG-992.
Are you using No-OS or Linux driver?
Can you please share the sequence you are following for RF PLL set?
The failure occurs while executing step 10 of the initialization sequence outlined in the user guide. Directly after a successful call to MYKONOS_loadArmFromBinary and MYKONOS_getArmVersion (v5.2.2 is the value returned) I am using the NO-OS driver and to this point executed the commands exactly as found in headless.c
I realized I wasn't using the latest version of the filter wizard so I downloaded v1.10 and had the same results
Make sure that you are using the latest version of the TES GUI from the below link:
Are you able to program the chip successfully with the custom profile using TES GUI?
Are you able to initialize the device with any other standard profile?
Can you please share your custom profile?