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.

DAC38RF80EVM: help with Excel filed onto HSDC Pro - Excel

Part Number: DAC38RF80EVM

Dear Team

I have created my own matlab file to produce 1 tones such as 

Channel 1 = sin(2 Pi f1 t) as a test 

I am unsure what the data type is once this is saved to Microsoft Excel. I have seen there are files already existing on the folder with waveforms to be uploaded directly onto HSDC Pro.

 A) Single tone that is already on the folder

I would like to create my own tones but I am unsure the steps to this. The reason id like to create my own so that it provides the flexibility with adding phase differences to the signals and adding two tones without any issues. 

 B) This is the real and imaginary components to the signal I have created. I understand this is way off threshold for the signal to be read on HSDC pro. 

Could you provide a matlab file or any other way to produce complex signals such as the one on the Excel file? I have used the matlab interface in the folders to connect to the board. 

  • Hi Mohammed,

    The data format once in excel (and for uploading codes to HSDC Pro) is 32 bit integer (i32). To create your own tones, you will need to first scale the data to the desired amplitude and then convert this data to integer format. Now, change the 'Format' (to the right of the circle below) on HSDC Pro to 'complex'. Once you do this, you will notice the following will appear on the HSDC Pro.

    As you can see, for the complex data patterns, you will need to place the real data in column 1 and the imaginary data in column 2.

    Regards

  • Hi Chase

    Thanks for confirming this for me.

    Do you have any algorithms or codes that could help me produce these tones for the Excel format? 

    Or somebody to look at my matlab code? 

    Mohammed

  • Mohammed,

    I am happy to assist. Please send  me an email at the address listed in the PM containing:

    1. your real and imaginary components csv file
    2. your MATLAB code

    and I will take a look at this for you today.

    Thanks

  • Mohammed,

    Since I have resolved this for you offline, please mark an answer as correct to close this thread.

    Thanks