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/TMS320F28335: Watch Expressions Update Rate

Part Number: TMS320F28335

Tool/software: Code Composer Studio

I am trying to view and graph a variable that updates once per 25 ms. The variable is stored in a 20 value buffer in the DSP memory, and I can view the contents of the buffer in my Expressions panel. However, instead of updating the whole buffer once per 500 ms, it updates roughly once per 20 s. 

I have changed the update period in Window > Preferences > Code Composer Studio > Debug to 100 ms, but it is still very slow. The Graph view updates at the same rate as the Watch Expression.

I am connected to the DSP via an XDS510LC JTAG emulator and a Spectrum Digital eZdsp expansion board. CCS Version: 8.2.0.00007 on Windows 10.

  • Hello,

    Jamie Shaffer said:
    However, instead of updating the whole buffer once per 500 ms, it updates roughly once per 20 s. 

    With continuous refresh enabled, you only see a refresh every 20 seconds in the Expressions view (despite the variable value changing every 25ms)? Did I understand that correctly?

    ki

  • Hello Ki,

    Thanks for your response. The variable, which is updated once per 25 ms, is stored in a FIFO buffer. The buffer is an array of length 20 so that the entire buffer is updated once every 500 ms, and so I would expect every value in the buffer to be updated when the Expressions view refreshes (at the default refresh rate of 500 ms). However, only one value in the buffer changes on each refresh. 

    I hope that answers your question.

    Jamie

  • Hello Ki,

    I tested my code further and found that some of my buffers are updating faster than others. The same buffers that are taking longer to update require more computation to fill. I still don't know what the problem is, but I no longer think the issue is with any part of CCS or my DSP.

    Jamie