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 store data

Other Parts Discussed in Thread: TMS320F28335

Hi, I am a new user in TMS320F28335, and the board is used to control an inverter of a motor controller.

Now I want to export the value of a variable "speed" that is obtained through RS232 and use the values in Matlab. What should I do?

Thanks very much!

Liu Xiaolu

  • Hello,

    Please let us know the exact version of CCS. The way to export a value can vary depending on your CCS version.

    Thanks

    ki

  • My ccs is v4.1.

    Best.

    Liu

  • On 4.1, you have a few options. But I'd like a bit more information before suggesting one.

    What is the use case for exporting the variable value? Do you want to periodically export the value automatically? Can the target be halted when your export the value, or are you looking for something non intrusive? 

    Thanks

    ki

  • The explore board is used to control the inverter of a motor. I want to export all the values of a certain variable as long as the board is working.

    For example, the motor will be controlled for a period of T and the speed of the motor is feedback to the DSP board through RS232. I would like of export the speed value and read it in Matlab, in which a low pass filter will be applied.

    Hope I express myself fully.

    Best.

    Liu