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.

Real-time Graph problem on CCSv5

Hi

I’m facing a strange problem using the Graph of CCS v5.

 

1- When the code is running, the graph shows a wrong waveform:

 

2- When I click suspend, the graph shows a correct waveform:

 

 

Obs: Is the same code, the only difference is the figure 1 is running the code, and figure 2 the code was suspended. 

 

Some mistake is happening on plotting the real-time Graph.

There are any way to fix this problem?
Any idea?

Thanks!

  • Hello,

    Since real-time mode and auto-refresh is enabled, for part 1, the graph should be constantly updating while in part 2, it would not be (unless you enabled interrupts to be handled while halted and the graph data is dependent on that).

    ki

  • Hello Ki

    I have the same problem. However, my program is very short so I'm pretty sure that there's a lot of time for data transfer.  I even tried to put the CPU into idle mode, but still not enough time for graph refresh. How is that happening? How can I set the data transfer at the time when DSP enters idle mode? Any solutions for this?

    Thank you very much.

    Bin Li

  • The real-time data in the buffer is being updated while the graphing function is accessing it.  Therefore, the graph shows data segents from several different bufferloads.

  • Hi Ki,

    I have the same problem with CCS 6.1.3.
    Is there any way to fix it?
    Thanks.

    h.h