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.

AWR6843: In CCS debug, how to stop the RTI counter (with COS=0) when in suspend mode (pause or break point...)

Part Number: AWR6843

Champs,

When running AWR6843 application in CCS debug mode, as below capture, RTI counter are still running when in suspend mode (pause or break point).

>

>

From TRM, "COS" bit of RTIGCTRL register can control the behavior as below description.

   * COS (0) - Counters are stop while in halting debug mode

   * COS (1) - Counters are running while in halting debug mode

However, with COS bit "0", RTI counters are still running.

So, is there something more to make it stop at the debug suspend mode (pause or break point...)?

Best regards,

Hayden

  • Hi Hayden, 

    The RTI timer will still continue to tick.

    In AWR6843, RTI can be suspended by writing 3’b111 into [5:3] of the below register. COS bit in RTI needs to be configured to 0 along with the below register to suspend RTI when connected to MSS. The register definition is given below 

    The register writing can be added to the code 

        uint32_t* regAddr = (uint32_t*)0xFFFFFFB4;

        *regAddr =*regAddr |  0x38;

    Regards, 

    Sudharshan K N