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.

TSW14J58EVM: AFE7950EVM Program configuration and waveform generation

Part Number: TSW14J58EVM
Other Parts Discussed in Thread: AFE7950EVM,

problems.docx

Dear TI team,

The two instruments are TSW14J58EVM and AFE7950EVM.

In the attached file I describe the current problem in detail.

I’m not sure if the software is installed correctly, can you show me how to configure the two software and how to use the software to generate the waveform?

Thank you very much!

All the best!

Jintao

  • Hi Jintao,

    The issue seems to be that the latest version of the AFE79xx GUI is not being used. The new version of the application is now called "AFE79xx" instead of "Latte" and contains scripts for using the TSW14J58 + AFE79xxEVM. Can you please download and install the latest version of the AFE79xx GUI, version 2.5, which is found in the AFE79xx secure folder? In the secure folder you will also find that we provide a bringup guide for the AFE + J58 setup, 'AFE79xx_TSW14J58_Bringup.zip', that should be followed. 

    Regards,

    David Chaparro

  • Thank you so much for your reply!
    I download the latest version of the AFE79xx GUI, version 2.5. The AFE79xxEVM_TSW14J58_Bringup file has found.
    When I get to step 2, I get an error when I run Setup script, and I get an error when I run devInit script.
    I have put the screenshot of the program error in the attached file, hoping to get your help.
    Thanks again!

    Best regards,

    Jintao

    problems 3.27.docx

  • Hi Zhu,

    Can you confirm that both USB cables are connected on the TSW14J58? If going through a USB hub we recommend bypassing this and connecting the USB cables directly to the PC.

    Can you also share the version of the TSW14J58 that you have (Version name should be DC182_A#)? This should be located in the corner of the board that is farthest from the power jack. 

    Regards,

    David Chaparro 

  • Hi,

    All USB cables are connected directly to the PC, the version of the TSW14J58 is DC182_A9.

    Best regards,

    Jintao

  • Hi,

    I have solved the problem in step 2 above. However, when I get to step 4, there is a new error, and so is Step 5. The specific error information is explained in the attached file, hope to get your help!

    Best regards,

    Jintao

    problems 3.28.docx

  • Hi Zhu,

    It is possible that the issue is related to the power to the EVM. Can you confirm that both the AFE7905EVM and TSW14J58 power supplies are set to 5.5V with a current limit of 5A?

    Also, are you able to share errors that are being displayed in the AFE79xx GUI log window? 

    Regards,

    David Chaparro 

  • Hi,

    Thank you very much for your help! I have now fixed the above problem, but when I run the SendTone.py and AFE.selectCh scripts, the signal displayed is different from the example. I try to change the signal parameters but an error will be reported. How and where should I change the signal parameters to generate the signal I need? (I put the specific screenshot in the attached file)

    In addition, I want to display the generated signal on an external instrument, how do I do this? Hope to get your help!

    Best regards,

    Jintao

    problems 3.29.docx

  • Hi Zhu,

    The NCO frequencies are set in the AFE bringup script, using the parameters given below. When running the SendTone.py script you should see an output from the DAC at the NCO + 20MHz. For example, if connecting TxA to a spectrum analyzer you should see the output at 5.42GHz. 

    To get a similar FFT on the ADC side you should input a signal of 5.42GHz into RxA and then capture in the GUI window, in the Complex Tab. 

    		#####	RX	#####
    sysParams.rxNco0		= 	[[5400,5400],			#Band0, Band1 for RXA 
    							[500,500],        		#Band0, Band1 for RXB 
    							[2500,2500],        	#Band0, Band1 for RXC 
    							[1800,1800]]        	#Band0, Band1 for RXD 
    
    		#####	FB	#####
    sysParams.fbNco0		= 	[500,1800]				#Band0 for FB1 and FB2 
    
    		#####	TX	#####
    sysParams.txNco0		= 	[[5400,5400],			#Band0, Band1 for TXA 
    							[500,500],        		#Band0, Band1 for TXB 
    							[2500,2500],        	#Band0, Band1 for TXC 
    							[1800,1800]]        	#Band0, Band1 for TXD
    

    Regards,

    David Chaparro 

  • Hi,

    Thank you so much! I have changed the parameters you provided and can indeed output the signal of the correct frequency.What do the numbers after sysParams.ddcFactorRx, sysParams.ddcFactorFb, sysParams.ducFactorTx represent in the script? Is that the sampling rate? And what does it mean when the two numbers in the sysParams.txNco0 parameter are set to different values? For example [500, 1800].

    In addition, I want to generate a linear FM signal, what parameters need to be changed? Or can you provide me with an example? Looking forward to your reply!

    Best regards,

    Jintao

  • Hi Zhu,

    The ddcFactor and ducFactor are the decimation and interpolation factors for the ADCs and DACs. The sampling rates are given in the FadcRx, FadcFb, and Fdac parameters. 

    The two numbers in the sysParams.txNco0 parameter are for the two bands. In the AFE each channel can support single or dual band and each band will have its own NCO. If using single band then the second value will not be used and can be ignored. 

    I recommend referencing the AFE79xx_Configuration_Guide, which is available in the AFE79xx secure folder, for additional information on the AFE parameters as this document will cover all of the parameters you are referencing. 

    Regards,

    David Chaparro 

  • Hi,

    Thank you very much for your reply. The above problem has been solved.

    However, I encountered a new problem when I tried to save data with an ADC. I tried to use the AFE.saveCaptureData() command, the program will report an error, I tried the command shown in the picture, but was unsuccessful. Can you give me a specific example of a save command?

    In addition, I also tried to EXPORT the csv file from the CGUI interface with export, but I could not find the exported csv file, can you tell me where it will be stored after export?

    Thanks again for your help!

    Best regards,

    Jintao

  • Hi Zhu,

    The issue that you are facing with the function to save data is the path you are using. To use this correctly you should use double backslash in the entire path.

    Please try the following: AFE.saveCaptureData("D:\\Matlab\MatUserDoc\\test.csv")

     I would recommend to use the function to save the data as teh EXPORT from the CGUI seems to not be functioning correctly. I will check with our team on how to fix the Export or where the data is being saved. 

    Regards,

    David Chaparro