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.

How to export/import variable values in code composer in real time without slowing down my program?

Hello,I'm using code composer and I need to know how to export variable data to Matlab and reimport the modified data, I found out using breakpoint may be the solution, but the breakpoints are slowing down my program drastically. I'm working with audio signals and when I export data to Matlab,Code composer halts the program to write the .dat file and then return to run the program, the time code composer uses to write the variable data is slowing down the program,resulting on "hollows" in the audio signal, causing cuts on the audio.

I'm using the TMSC5535 EZDSP and Code Composer 4

  • Hi Diego,

    Why don't you use a communication protocol to do so? UART/SCI seems like the best option.

    Regards,
    Gautam
  • Could you give a link that tells me how to use it?

  • C5535 eZdsp has builtin XDS100 debugger interface. I know stand-alone XDS100 has the 2nd UART channel. But I don't know if the builtin XDS100 has it or not. You got to check this at first. If it has then it is quite easy for you to solve the problem.
    (1) Ensure the 2nd UART channel is enabled in your PC. You can check it in Device Manager in Windows.
    (2) In C5535, design a UART driver. The baud rate depends on your data throughput.
    (3) In PC, check if you can export data from Matlab to a COM port. The 2nd UART channel will be listed as a COM port in Windows. I guess the answer is NO. So, you have to design a PC program and design a communication protocol between PC and C5535.

    As you can see, it is not how to "use" it. It is how to "design" it.