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.

CCS/TMS320F28379D: Displaying a sine wave graph from a tmu example

Part Number: TMS320F28379D
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

Hi everyone,

I'm trying to display a sine wave graph from an example of control suite studio called tmu_sinegen, however, It doesn't have much information

of how to display the sine wave graph. What are the correctly properties?

 Can anyone help me?

Thank you so much!

  • Hello,

    The correct properties would depend on your application and the type of visualization you are looking for. What I can suggest is where to get more information on all the various properties. You can find it in the CCS Help (Help ->  Help Contents)

    Thanks

    ki

  • Hi Ki-Soo Lee,

    Actually, I'm trying to know how the tmu sine generation example from control suite works. I don't know how to configurate the properties because I don't know what are the registers that contains the information to get the start point of the sine wave for example.

    Thanks a lot.
  • Actually, I'm trying to know how the tmu sine generation example from control suite works. I don't know how to configurate the properties because I don't know what are the registers that contains the information to get the start point of the sine wave for example.
  • ELLEN COSTA said:
    Actually, I'm trying to know how the tmu sine generation example from control suite works.

    I will move this thread to the C2000 forum. The experts there are most familiar with the controlSUITE examples and can best guide you.

    Thanks

    ki

  • If you look at the dialog and go through each item it would answer your question,

    Here is an example of how it is done

    acquisition buffer size is the size of the array you want to see, which in this example case is VECTOR_SIZE, which is 1024

    DSP Data type, this is the data type of the array, if you look at the code this is floating point 

    Start Address, is the address of the buffer which is &tmuOutput etc... depending on which buffer you want to see.

    Q value is don;t care for you because this is floating point. 

  • Hi Manish,

    that helped me. The next point is displaying two different sine waves.

    Thanks a lot.