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/TMS320F28035: DLOG Not Updating Values

Part Number: TMS320F28035


Tool/software: Code Composer Studio

Hi All,

I am using the F28035 card together with the TMDSHVMTRPFCKIT. I am following the provided document  to do some initial experiments. When I tried to switch from BuildLevel2 to BuildLevel3, the DLOG seemed not updating as usual. Here's the screen capture for BuildLevel 2

and here's the screen capture for BuildLevel3

and the graph setting capture

You can see under BuildLevel3, Ch1 is still showing the graph for BuildLevel2, even though it is actually programmed to show different signal (from svgen1.Ta to qep1.ElecTheta). The time stamp on the graph is still functioning, i.e. updating correctly. Also, in the variable window, qep1.ElecTheta is updating correctly.

My question is what's causing DLOG not updating and how to resolve this.

Thanks,

Baoyun

  • Can you try manually refreshing the graph window to see if this correctly updates the values? If not, have you tried manually zeroing the data buffer and then allowing the level 3 to run to repopulate the buffer?

    Sean
  • Hi Sean,

    Thanks for the prompt reply!

    Just tried manually refreshing, still not working. Also tried manually zeroing the data buffer, also not working, see the capture below.

    I think the graph is doing what it should be doing, but the DLOG buffer doesn't get what it should get.

    FYI, after I switch back to level2, it works perfectly.

    Thanks,

    Baoyun

  • Can you confirm you are entering the _DLOG_4CH_update function when the mainISR reaches the following section

    // ------------------------------------------------------------------------------
    // Call the DATALOG update function.
    // ------------------------------------------------------------------------------
    dlog.update(&dlog);


    Sean
  • Yes, it does enter the _DLOG_4CH_update function when the mainISR reaches to the dlog update line.

    Baoyun

  • It's possible then that the graph window data is not being triggered corrrectly. The datalog module used in HVPM_Sensored is trigger based, and it triggered off the 1st channel. The functionality is similar to an oscilloscope in that the threshold detection is used to flush and repopulate the buffer. Can you confirm that the 1st channel value is reaching the trigger value?

    Sean
  • Any update here? If there are no additional questions for now, I'll close the thread. Feel free to reply as needed

    Sean